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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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:

  • zh: Chinese
  • en: English
ParentId String No 1112

The parent asset ID of the data asset. Examples:

  • The name or ID of the MaxCompute project.
  • The name or ID of the OSS bucket.
  • The name or ID of the RDS instance or database.
ResourceType Integer No 1

The type of the service to which the data asset belongs. Valid values:

  • 1: MaxCompute
  • 2: OSS
  • 5: RDS

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:

  • 2: connectivity test in progress
  • 3: connectivity test passed
  • 4: connectivity test failed
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:

  • 1: MaxCompute
  • 2: OSS
  • 5: RDS
ResourceTypeCode String MaxCompute

The name of the service to which the data asset belongs. Valid values:

  • MaxCompute
  • OSS
  • RDS
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.