All Products
Search
Document Center

Data Security Center:DescribeDataLimits

Last Updated:Jul 07, 2026

Queries the list of data assets, including authorized instances, databases, and buckets.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-sddp:DescribeDataLimits

get

*All Resource

*

  • acs:ResourceGroupId
None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the request and response. Valid values:

  • zh: Chinese.

  • en: English.

zh

PageSize

integer

No

The maximum number of entries to return on each page when you perform a paged query. For more information about paging, refer to the paging parameters.

10

CurrentPage

integer

No

Settings the page number of the current page when you perform a paged query. For more information about paging, refer to the paging parameters.

1

ResourceType

integer

No

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

  • 1: MaxCompute

  • 2: OSS

  • 3: ADS

  • 4: OTS

  • 5: RDS

  • 6: SELF_DB

1

ParentId

string

No

The ID of the parent asset to which the data asset belongs. Valid values:

  • The project name or ID for MaxCompute.

  • The bucket name or ID for OSS.

  • The instance name or ID, or the database name or ID for RDS.

1112

ServiceRegionId

string

No

The region where the asset resides.

cn-hangzhou

CheckStatus

integer

No

The data detection status. Valid values:

  • 0: ready.

  • 1: running.

  • 2: connectivity test in progress.

  • 3: connectivity test passed.

  • 4: connectivity test failed.

3

AuditStatus

integer

No

The audit status. Valid values:

  • 1: audit enabled.

  • 0: audit disabled.

1

EngineType

string

No

The database type. Valid values: MySQL, SQLServer, Oracle, PostgreSQL, MongoDB, and others.

MySQL

DatamaskStatus

integer

No

The data masking permission status. Valid values:

  • 1: enabled.

  • 0: disabled.

1

Enable

integer

No

The detection permission status. Valid values:

  • 1: enabled.

  • 0: disabled.

1

StartTime

integer

No

The start of the creation time range. Format: timestamp. Unit: milliseconds.

1616068534877

EndTime

integer

No

The end of the creation time range. Format: timestamp. Unit: milliseconds.

1616068534877

MemberAccount

integer

No

The ID of the member accounts.

**********8103

FeatureType

integer

No

This parameter is deprecated.

2

Response elements

Element

Type

Description

Example

object

CurrentPage

integer

The page number of the current page.

1

RequestId

string

The request ID.

769FB3C1-F4C9-42DF-9B72-7077A8989***

PageSize

integer

The maximum number of entries returned per page.

10

TotalCount

integer

The total number of entries returned.

200

Items

array<object>

The list of data assets.

object

The data asset details.

SupportEvent

boolean

Indicates whether anomalous activity detection is supported. Valid values:

  • true: Supported.

  • false: Not supported.

true

ErrorMessage

string

The failure reason.

Incorrect password.

CheckStatus

integer

The data detection status. Valid values:

  • 0: ready.

  • 1: running.

  • 2: connectivity test in progress.

  • 3: connectivity test passed.

  • 4: connectivity test failed.

3

LocalName

string

The name of the region where the data resides.

China (Hangzhou)

TenantName

string

The tenant alias.

insta_gram

NextStartTime

integer

The next execution time. Format: timestamp. Unit: milliseconds.

1676620236000

Port

integer

The port number of the self-managed database.

3306

CheckStatusName

string

The name of the data detection status.

Connectivity detection status

SamplingSize

integer

The sensitive data sampling size. Valid values: 0, 5, and 10. Unit: entries.

5

ParentId

string

The parent ID of the asset to query. Valid values: bucket, db, project, and others.

project

DatamaskStatus

integer

The data masking permission status. Valid values:

  • 1: enabled.

  • 0: disabled.

1

ProcessTotalCount

integer

The total number of tables or files.

100

ResourceType

integer

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

  • 1: MaxCompute

  • 2: OSS

  • 3: ADS

  • 4: OTS

  • 5: RDS

  • 6: SELF_DB

5

ErrorCode

string

The error code.

connect_network_error

OcrStatus

integer

The OCR status. Valid values:

  • 0: disabled.

  • 1: enabled.

1

LogStoreDay

integer

The raw log storage duration. Unit: days.

30

EventStatus

integer

The data leak prevention switch. Valid values:

  • 0: disabled.

  • 1: enabled (default).

1

SupportScan

boolean

Indicates whether scanning is supported. Valid values:

  • true: Supported.

  • false: Not supported.

true

LastFinishedTime

integer

The time when the last full scan was completed.

  • Format: timestamp

  • Unit: milliseconds

145600000

UserName

string

The username of the data owner.

tsts

AuditStatus

integer

The audit status. Valid values:

  • 1: audit enabled.

  • 0: audit disabled.

1

SupportOcr

boolean

Indicates whether OCR is supported. Valid values:

  • true: Supported.

  • false: Not supported.

true

EngineType

string

The database type. Valid values: MySQL, SQLServer, Oracle, PostgreSQL, MongoDB, and others.

MySQL

InstanceId

string

The instance ID of the asset to which the data asset table belongs.

12332

TotalCount

integer

The total number of fields in the data asset table.

100

InstanceDescription

string

The description of the instance.

123

DbVersion

string

The database version.

2.0

RegionId

string

The region where the asset resides.

cn-hangzhou

GmtCreate

integer

The creation time. Format: timestamp. Unit: milliseconds.

145600000

SupportAudit

boolean

Indicates whether auditing is supported. Valid values:

  • true: Supported.

  • false: Not supported.

true

AutoScan

integer

Indicates whether automatic scanning is enabled. Valid values:

  • 0: disabled.

  • 1: enabled.

1

ResourceTypeCode

string

The product type code of the data source. Valid values: MaxCompute, OSS, ADS, OTS, RDS, and others.

RDS

SupportDatamask

boolean

Indicates whether data masking is supported. Valid values:

  • true: Supported.

  • false: Not supported.

true

ProcessStatus

integer

The scan status. Valid values:

  • -1: invalid.

  • 0: waiting.

  • 1: scanning.

  • 2: paused.

  • 3: completed.

3

Id

integer

The unique ID of the data asset.

1

Enable

integer

The detection permission status. Valid values:

  • 1: enabled.

  • 0: disabled.

1

SecurityGroupIdList

array

The list of security group IDs used by PrivateLink in agent-based auditing.

string

The security group ID used by PrivateLink in agent-based auditing.

sg-bp113yf20quxkvy****

VSwitchIdList

array

The list of vSwitch IDs used by PrivateLink in agent-based auditing.

string

The vSwitch ID used by PrivateLink in agent-based auditing.

vsw-bp1kk2mtrtey7o4ju****

VpcId

string

The VPC ID to which the data asset belongs.

vpc-2zevcqke6hh09c41****

MemberAccount

integer

The member accounts ID.

**********8103

LastStartTime

integer

The time when the last scan of the data asset started. Unit: milliseconds.

145600000

Examples

Success response

JSON format

{
  "CurrentPage": 1,
  "RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989***",
  "PageSize": 10,
  "TotalCount": 200,
  "Items": [
    {
      "SupportEvent": true,
      "ErrorMessage": "Incorrect password.",
      "CheckStatus": 3,
      "LocalName": "China (Hangzhou)",
      "TenantName": "insta_gram",
      "NextStartTime": 1676620236000,
      "Port": 3306,
      "CheckStatusName": "Connectivity detection status",
      "SamplingSize": 5,
      "ParentId": "project",
      "DatamaskStatus": 1,
      "ProcessTotalCount": 100,
      "ResourceType": 5,
      "ErrorCode": "connect_network_error",
      "OcrStatus": 1,
      "LogStoreDay": 30,
      "EventStatus": 1,
      "SupportScan": true,
      "LastFinishedTime": 145600000,
      "UserName": "tsts",
      "AuditStatus": 1,
      "SupportOcr": true,
      "EngineType": "MySQL",
      "InstanceId": "12332",
      "TotalCount": 100,
      "InstanceDescription": "123",
      "DbVersion": "2.0",
      "RegionId": "cn-hangzhou",
      "GmtCreate": 145600000,
      "SupportAudit": true,
      "AutoScan": 1,
      "ResourceTypeCode": "RDS",
      "SupportDatamask": true,
      "ProcessStatus": 3,
      "Id": 1,
      "Enable": 1,
      "SecurityGroupIdList": [
        "sg-bp113yf20quxkvy****"
      ],
      "VSwitchIdList": [
        "vsw-bp1kk2mtrtey7o4ju****"
      ],
      "VpcId": "vpc-2zevcqke6hh09c41****",
      "MemberAccount": 0,
      "LastStartTime": 145600000
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.