Domain name for API request: cynosdb.intl.tencentcloudapi.com.
This API is used to view the mapping relationship between databases and tables in an analysis cluster.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeLibraDBClusterTableMapping. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-07. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chengdu, ap-chongqing, ap-guangzhou, ap-hongkong, ap-jakarta, ap-nanjing, ap-seoul, ap-shanghai, ap-shenzhen-fsi, ap-singapore, ap-tokyo, eu-frankfurt, na-ashburn, na-siliconvalley, sa-saopaulo. |
| ClusterId | Yes | String | Analysis cluster ID |
| InstanceId | Yes | String | Analysis engine instance ID |
| NodeId | No | String | Node ID. |
| Offset | No | Integer | Offset. |
| Limit | No | Integer | Page record limit |
| SrcSchemas.N | No | Array of String | Source schema list |
| SrcTableName.N | No | Array of String | Source table list |
| StatusList.N | No | Array of String | Status list |
| MapSchemas.N | No | Array of String | Map database names |
| MapTableName.N | No | Array of String | Mapping table name |
| MapSchemaNotEmpty | No | Boolean | Whether to query records where the mapping database name is not empty |
| MapTableNameNotEmpty | No | Boolean | Whether to query records where the mapping table name is not empty |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCnt | Integer | Total number of records |
| TableMappings | Array of TableMappingObject | Database mapping information |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
View database/table mapping relationships in an analysis cluster
POST / HTTP/1.1
Host: cynosdb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeLibraDBClusterTableMapping
<Common request parameters>
{
"ClusterId": "libradb-ln26puh1",
"InstanceId": "libradb-ins-4v4hcwgs"
}
{
"Response": {
"RequestId": "253f5807-47f3-478a-b2d0-5de7bf3774f7",
"TableMappings": [],
"TotalCnt": 0
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários