github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/detach_classic_link_vpc.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/15777 9 10 type DetachClassicLinkVpcRequest struct { 11 // CVM实例ID查询。形如:ins-r8hr2upy。 12 InstanceIds []*string `name:"InstanceIds"` 13 // 区域 14 Region string `name:"Region"` 15 // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 16 VpcId string `name:"VpcId"` 17 } 18 19 func (req *DetachClassicLinkVpcRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DetachClassicLinkVpcResponse, error) { 20 resp := &DetachClassicLinkVpcResponse{} 21 err := client.Request("vpc", "DetachClassicLinkVpc", "2017-03-12").Do(req, resp) 22 return resp, err 23 } 24 25 type DetachClassicLinkVpcResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }