{"action":"created","issue":{"url":"https://api.github.com/repos/yunify/qingcloud-sdk-go/issues/107","repository_url":"https://api.github.com/repos/yunify/qingcloud-sdk-go","labels_url":"https://api.github.com/repos/yunify/qingcloud-sdk-go/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/yunify/qingcloud-sdk-go/issues/107/comments","events_url":"https://api.github.com/repos/yunify/qingcloud-sdk-go/issues/107/events","html_url":"https://github.com/yunify/qingcloud-sdk-go/issues/107","id":354079876,"node_id":"MDU6SXNzdWUzNTQwNzk4NzY=","number":107,"title":"Support NeonSAN volume","user":{"login":"wnxn","id":13119696,"node_id":"MDQ6VXNlcjEzMTE5Njk2","avatar_url":"https://avatars2.githubusercontent.com/u/13119696?v=4","gravatar_id":"","url":"https://api.github.com/users/wnxn","html_url":"https://github.com/wnxn","followers_url":"https://api.github.com/users/wnxn/followers","following_url":"https://api.github.com/users/wnxn/following{/other_user}","gists_url":"https://api.github.com/users/wnxn/gists{/gist_id}","starred_url":"https://api.github.com/users/wnxn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wnxn/subscriptions","organizations_url":"https://api.github.com/users/wnxn/orgs","repos_url":"https://api.github.com/users/wnxn/repos","events_url":"https://api.github.com/users/wnxn/events{/privacy}","received_events_url":"https://api.github.com/users/wnxn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-26T09:20:23Z","updated_at":"2018-12-19T14:59:49Z","closed_at":null,"author_association":"MEMBER","body":"Since NeonSAN volume can be created in QingCloud console, we would better support NeonSAN volume in QingCloud SDK Go."},"comment":{"url":"https://api.github.com/repos/yunify/qingcloud-sdk-go/issues/comments/448624992","html_url":"https://github.com/yunify/qingcloud-sdk-go/issues/107#issuecomment-448624992","issue_url":"https://api.github.com/repos/yunify/qingcloud-sdk-go/issues/107","id":448624992,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODYyNDk5Mg==","user":{"login":"huyujie","id":13507727,"node_id":"MDQ6VXNlcjEzNTA3NzI3","avatar_url":"https://avatars2.githubusercontent.com/u/13507727?v=4","gravatar_id":"","url":"https://api.github.com/users/huyujie","html_url":"https://github.com/huyujie","followers_url":"https://api.github.com/users/huyujie/followers","following_url":"https://api.github.com/users/huyujie/following{/other_user}","gists_url":"https://api.github.com/users/huyujie/gists{/gist_id}","starred_url":"https://api.github.com/users/huyujie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huyujie/subscriptions","organizations_url":"https://api.github.com/users/huyujie/orgs","repos_url":"https://api.github.com/users/huyujie/repos","events_url":"https://api.github.com/users/huyujie/events{/privacy}","received_events_url":"https://api.github.com/users/huyujie/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T14:59:48Z","updated_at":"2018-12-19T14:59:48Z","author_association":"MEMBER","body":"hi @wnxn @jerryjedi #113 has support neonsan volume, we can use just like this:\r\n```\r\npackage main\r\n\r\nimport (\r\n\t\"fmt\"\r\n\r\n\t\"github.com/yunify/qingcloud-sdk-go/config\"\r\n\tqc \"github.com/yunify/qingcloud-sdk-go/service\"\r\n)\r\n\r\nfunc main() {\r\n\tconf, _ := config.New(\"test\", \"test\")\r\n\r\n\tqcService, _ := qc.Init(conf)\r\n\r\n\ttestVolume, _ := qcService.Volume(\"test\")\r\n\t// iOutput, _ := testVolume.DescribeVolumes(\r\n\t// \t&qc.DescribeVolumesInput{\r\n\t// \t\tVolumeType: qc.Int(5),\r\n\t// \t\tVolumes:    qc.StringSlice([]string{\"vos-nirm3gac\"}),\r\n\t// \t},\r\n\t// )\r\n\tiOutput, _ := testVolume.DeleteVolumes(\r\n\t\t&qc.DeleteVolumesInput{\r\n\t\t\tVolumes: qc.StringSlice([]string{\"vos-xxxxxxxx\"}),\r\n\t\t},\r\n\t)\r\n\r\n\t//Print the return code.\r\n\tfmt.Println(qc.IntValue(iOutput.RetCode))\r\n\r\n\t//Print the first instance ID.\r\n\t// fmt.Println(qc.StringValue(iOutput.VolumeSet[0].VolumeName))\r\n}\r\n\r\n```"}}
{"actor":{"display_login":"huyujie"}}