You can call this operation to query data assets, for example, MaxCompute projects, Relational Database Service (RDS) databases, or Object Storage Service (OSS) buckets, that you authorize Sensitive Data Discovery and Protection (SDDP) to access.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeDataLimits |
The operation that you want to perform. Set the value to DescribeDataLimits. |
Lang | String | No | zh |
The language of the request and response. Valid values:
|
ParentId | String | No | 1112 |
The parent asset ID of the data asset. Examples:
|
ResourceType | Integer | No | 1 |
The type of the service to which the data asset belongs. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
DataLimitList |
The list of data assets that were queried. |
||
CheckStatus | Integer | 3 |
The status of the connectivity test between the data asset and SDDP. Valid values:
|
CheckStatusName | String | Connectivity test in progress |
The name of the status of the connectivity test between the data asset and SDDP. |
Connector | String | jdbc:mysql://localhost:*** |
The connection string of the RDS database. |
GmtCreate | Long | 12300000 |
The time when the data asset was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
Id | Long | 12 |
The unique ID of the data asset. |
LocalName | String | China (Hangzhou) |
The region where the data asset resides. |
ParentId | String | oss-bucket |
The parent asset ID of the data asset. |
RegionId | String | cn-hangzhou |
The region ID of the data asset. |
ResourceType | Long | 1 |
The type of the service to which the data asset belongs. Valid values:
|
ResourceTypeCode | String | MaxCompute |
The name of the service to which the data asset belongs. Valid values:
|
UserName | String | tsts |
The name of the user who owns the data asset. |
RequestId | String | 769FB3C1-F4C9-42DF-9B72-7077A8989C13 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeDataLimits
&<Common request parameters>
Sample success responses
XML
format
<DescribeDataLimits>
<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>
<DataLimitList>
<ResourceType>1</ResourceType>
<Id>1</Id>
<RegionId>cn-***</RegionId>
<LocalName>China (Hangzhou)</LocalName>
<ParentId>oss-bucket</ParentId>
<UserName>Username</UserName>
<Password>Password</Password>
<Connector>Connection string</Connector>
</DataLimitList>
</DescribeDataLimits>
JSON
format
{
"RequestId":"769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"DataLimitList":{
"ParentId":"oss-bucket",
"ResourceType":1,
"Connector":"Connection string",
"Password":"Password",
"RegionId":"cn-***",
"UserName":"Username",
"Id":1,
"LocalName":"China (Hangzhou)"
}
}
Error codes
For a list of error codes, visit the API Error Center.