github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/cis/delete_container_instance.go (about) 1 package cis 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 删除容器实例 8 // https://cloud.tencent.com/document/api/858/17774 9 10 type DeleteContainerInstanceRequest struct { 11 // 容器实例名称 12 InstanceName string `name:"InstanceName"` 13 // 区域 14 Region string `name:"Region"` 15 } 16 17 func (req *DeleteContainerInstanceRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteContainerInstanceResponse, error) { 18 resp := &DeleteContainerInstanceResponse{} 19 err := client.Request("cis", "DeleteContainerInstance", "2018-04-08").Do(req, resp) 20 return resp, err 21 } 22 23 type DeleteContainerInstanceResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 // 操作信息 26 Msg string `json:"Msg"` 27 }