github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/detach_ccn_instances.go (about) 1 package vpc 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 云联网解关联实例 8 // https://cloud.tencent.com/document/api/215/19198 9 10 type DetachCcnInstancesRequest struct { 11 // CCN实例ID。形如:ccn-f49l6u0z。 12 CcnId string `name:"CcnId"` 13 // 要解关联网络实例列表 14 Instances []*CcnInstance `name:"Instances"` 15 // 区域 16 Region string `name:"Region"` 17 } 18 19 func (req *DetachCcnInstancesRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DetachCcnInstancesResponse, error) { 20 resp := &DetachCcnInstancesResponse{} 21 err := client.Request("vpc", "DetachCcnInstances", "2017-03-12").Do(req, resp) 22 return resp, err 23 } 24 25 type DetachCcnInstancesResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }