You can call this operation to query the details of a data asset, for example, a MaxCompute project, a Relational Database Service (RDS) database, or an Object Storage Service (OSS) bucket, 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 DescribeDataLimitDetail

The operation that you want to perform. Set the value to DescribeDataLimitDetail.

Id Long Yes 123000

The unique ID of the data asset to query.

Note You can call the DescribeDataLimits operation to query the ID of the data asset.
Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
NetworkType Integer No 1

The network type of the data asset. Valid values:

  • 1: Virtual Private Cloud (VPC)
  • 2: classic network

Response parameters

Parameter Type Example Description
DataLimit

The details of the data asset.

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 passed

The name of the status of the connectivity test between the data asset and SDDP.

GmtCreate Long 145600000

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 111

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. 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.
RegionId String cn-***

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=DescribeDataLimitDetail
&<Common request parameters>

Sample success responses

XML format

<DescribeDataLimitDetail>
  <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>
  <DataLimit>
        <ResourceType>1</ResourceType>
        <Id>1</Id>
        <RegionId>cn-***</RegionId>
        <LocalName>China (Hangzhou)</LocalName>
        <ParentId>oss-bucket</ParentId>
        <UserName>tsts</UserName>
        <Password>******</Password>
        <Connector>jdbc:mysql://localhost:***</Connector>
  </DataLimit>
</DescribeDataLimitDetail>

JSON format

{
	"RequestId":"769FB3C1-F4C9-42DF-9B72-7077A8989C13",
	"DataLimit":{
		"ParentId":"oss-bucket",
		"ResourceType":1,
		"Connector":"jdbc:mysql://localhost:***",
		"Password":"******",
		"RegionId":"cn-***",
		"UserName":"tsts",
		"Id":1,
		"LocalName":"China (Hangzhou)"
	}
}

Error codes

For a list of error codes, visit the API Error Center.