Domain name for API request: csip.tencentcloudapi.com.
This API is used to query details of a database asset.
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: DescribeDbAssetInfo. |
Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
Region | No | String | Common Params. This parameter is not required. |
AssetId | Yes | String | Asset ID |
Parameter Name | Type | Description |
---|---|---|
Data | DbAssetInfo | Details of a database asset. Note: This field may return·null, indicating that no valid values can be obtained. |
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. |
API test
{
"AssetId": "cdb-nbq22l65"
}
{
"Response": {
"Data": {
"AssetId": "cdb-nbq22l65",
"AssetName": "cdb379810",
"AssetType": "MYSQL",
"CFWProtectLevel": 1,
"CFWStatus": 1,
"PrivateIp": "192.168.1.11:3306",
"PublicIp": "",
"Region": "ap-guangzhou",
"Tag": null,
"VpcId": "vpc-ds7fl5xn",
"VpcName": "illnggao-test01"
},
"RequestId": "d5a9e4b1-7007-4b6d-a35b-54ebfd16f8fc"
}
}
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.
Was this page helpful?