github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/dcdb/delete_account.go (about) 1 package dcdb 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 删除账号 8 // https://cloud.tencent.com/document/api/557/19995 9 10 type DeleteAccountRequest struct { 11 // 用户允许的访问 host 12 Host string `name:"Host"` 13 // 实例ID,形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。 14 InstanceId string `name:"InstanceId"` 15 // 区域 16 Region string `name:"Region"` 17 // 用户名 18 UserName string `name:"UserName"` 19 } 20 21 func (req *DeleteAccountRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteAccountResponse, error) { 22 resp := &DeleteAccountResponse{} 23 err := client.Request("dcdb", "DeleteAccount", "2018-04-11").Do(req, resp) 24 return resp, err 25 } 26 27 type DeleteAccountResponse struct { 28 github_com_morlay_goqcloud.TencentCloudBaseResponse 29 }