调用 DescribeSupportedValidationTypes 接口查看支持创建的数据校验类型。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
SrcDataSource | 否 |
| 数据校验任务的源端信息。 | |
DestDataSource | DataSource | 否 | 数据校验任务的目标端信息。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
SupportedDataValidationTypes | Array of String | FullRowCompare | 数据校验任务类型,取值如下:
|
POST /?Action=DescribeSupportedValidationTypes&Version=2022-10-01 HTTP/1.1 Content-Type: application/json Host:dts.volcengineapi.com X-Date: 20221001T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20221001/cn-beijing/dts/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645**** { "SrcDataSource": { "Category": "MongoDB", "CreateTime": 1734070854504, "DataSourceId": "1867454442941460509", "EndpointType": "Volc_Mongo", "ModifyTime": 1734070872597, "VolcMongoSettings": { "DBInstanceId": "mongo-replica-386df****", "DBInstanceName": "", "DeployType": "ReplicaSet", "MongoAuthSourceDB": "admin", "Password": "******", "RegionSettings": { "Region": "cn-beijing" }, "Username": "root" } }, "DestDataSource": { "Category": "MongoDB", "CreateTime": 1734070854506, "DataSourceId": "1867454442941460510", "EndpointType": "Volc_Mongo", "ModifyTime": 1734070873088, "VolcMongoSettings": { "DBInstanceId": "mongo-replica-d91799*******", "DBInstanceName": "", "DeployType": "ReplicaSet", "MongoAuthSourceDB": "admin", "Password": "******", "RegionSettings": { "Region": "cn-beijing" }, "Username": "root" } } }
{ "ResponseMetadata": { "RequestId": "202412171933221C103D469763D5FAA85C-a93101", "Action": "DescribeSupportedValidationTypes", "Version": "2022-10-01", "Service": "dts", "Region": "cn-beijing" }, "Result": { "SupportedDataValidationTypes": [ "FullRowCompare" ] } }
更多详情,请参见错误码。