github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/msp/deregister_migration_task.go (about) 1 package msp 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 取消注册迁移任务 8 // https://cloud.tencent.com/document/api/659/18605 9 10 type DeregisterMigrationTaskRequest struct { 11 // 区域 12 Region string `name:"Region"` 13 // 任务ID 14 TaskId string `name:"TaskId"` 15 } 16 17 func (req *DeregisterMigrationTaskRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeregisterMigrationTaskResponse, error) { 18 resp := &DeregisterMigrationTaskResponse{} 19 err := client.Request("msp", "DeregisterMigrationTask", "2018-03-19").Do(req, resp) 20 return resp, err 21 } 22 23 type DeregisterMigrationTaskResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 }