github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/dts/delete_sync_job.go (about) 1 package dts 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 删除灾备同步任务 8 // https://cloud.tencent.com/document/api/571/18572 9 10 type DeleteSyncJobRequest struct { 11 // 待删除的灾备同步任务ID 12 JobId string `name:"JobId"` 13 // 区域 14 Region string `name:"Region"` 15 } 16 17 func (req *DeleteSyncJobRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteSyncJobResponse, error) { 18 resp := &DeleteSyncJobResponse{} 19 err := client.Request("dts", "DeleteSyncJob", "2018-03-30").Do(req, resp) 20 return resp, err 21 } 22 23 type DeleteSyncJobResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 }