github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/cdb/describe_backup_download_db_table_code.go (about) 1 package cdb 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 查询分库分表下载位点 8 // https://cloud.tencent.com/document/api/236/15838 9 10 type DescribeBackupDownloadDbTableCodeRequest struct { 11 // 待下载的数据库和数据表列表。 12 DatabaseTableList []*DatabaseTableList `name:"DatabaseTableList"` 13 // 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例ID相同。 14 InstanceId string `name:"InstanceId"` 15 // 区域 16 Region string `name:"Region"` 17 // 开始时间,格式为:2017-07-12 10:29:20。 18 StartTime string `name:"StartTime"` 19 } 20 21 func (req *DescribeBackupDownloadDbTableCodeRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeBackupDownloadDbTableCodeResponse, error) { 22 resp := &DescribeBackupDownloadDbTableCodeResponse{} 23 err := client.Request("cdb", "DescribeBackupDownloadDbTableCode", "2017-03-20").Do(req, resp) 24 return resp, err 25 } 26 27 type DescribeBackupDownloadDbTableCodeResponse struct { 28 github_com_morlay_goqcloud.TencentCloudBaseResponse 29 // 下载位点 30 DatabaseTableCode int64 `json:"DatabaseTableCode"` 31 }