github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/accept_attach_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/20251 9 10 type AcceptAttachCcnInstancesRequest 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 *AcceptAttachCcnInstancesRequest) Invoke(client github_com_morlay_goqcloud.Client) (*AcceptAttachCcnInstancesResponse, error) { 20 resp := &AcceptAttachCcnInstancesResponse{} 21 err := client.Request("vpc", "AcceptAttachCcnInstances", "2017-03-12").Do(req, resp) 22 return resp, err 23 } 24 25 type AcceptAttachCcnInstancesResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }