All Products
Search
Document Center

Data Security Center:DescribeInstances

Last Updated:Jul 07, 2026

Retrieves the list of data asset instances for authorized MaxCompute, ApsaraDB RDS, and OSS connections.

Operation description

When you call the DescribeInstances operation, you can set parameters such as search keywords and risk levels of data asset instances to retrieve a list of data asset instances that meet the specified conditions.

QPS limit

The single-user QPS limit for this operation is 10 calls per second. If the number of calls exceeds the limit, throttling is triggered, which may affect your business. Call this operation as needed.

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:DescribeInstances

get

*All Resource

*

  • acs:ResourceGroupId
None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the request and response. Default value: zh_cn. Valid values:

  • zh_cn: Chinese (Simplified).

  • en_us: English (US).

zh_cn

Name

string

No

The search keyword. Fuzzy match is supported. For example, if you enter data, all data entries that contain data in the search item are returned.

data

ProductId

integer

No

The ID of the product to which the data asset instance belongs. You can call the DescribeDataAssets operation to obtain the product ID.

1

RiskLevelId

integer

No

The risk level ID of the data asset instance. A higher risk level ID indicates more sensitive data is detected. Valid values:

  • 1: No sensitive data is detected. No risk.

  • 2: Sensitive data risk at level 1.

  • 3: Sensitive data risk at level 2.

  • 4: Sensitive data risk at level 3.

  • 5: Sensitive data risk at level 4.

  • 6: Sensitive data risk at level 5.

  • 7: Sensitive data risk at level 6.

  • 8: Sensitive data risk at level 7.

  • 9: Sensitive data risk at level 8.

  • 10: Sensitive data risk at level 9.

  • 11: Sensitive data risk at level 10.

2

RuleId

integer

No

The ID of the sensitive data detection rule that the data asset instance hits. You can call the DescribeRules operation and obtain the rule ID from the Id response parameter.

1111111

ServiceRegionId

string

No

The region of the data asset instance. For more information, see Supported regions.

cn-hangzhou

FeatureType

integer

No

This parameter is deprecated.

1

ProductCode

string

No

The name of the product to which the data asset instance belongs, such as MaxCompute, OSS, or RDS. For supported product names, see Data types from which sensitive data can be detected.

RDS

PageSize

integer

No

The maximum number of data asset instances to return on each page in a paged query. Default value: 10.

10

CurrentPage

integer

No

The page number of the current page in a paged query. Default value: 1.

1

Response elements

Element

Type

Description

Example

object

CurrentPage

integer

The page number of the current page.

1

RequestId

string

The request ID.

71064826-726F-4ADA-B879-05D8055476FB

PageSize

integer

The number of data asset instances on each page.

10

TotalCount

integer

The total number of data asset instances returned.

231

Items

array<object>

The details of the data asset instances returned.

array<object>

CreationTime

integer

The time when the data asset instance was created. The value is a UNIX timestamp. Unit: milliseconds.

1637226782000

LastFinishTime

integer

The time when the most recent scan of the data asset instance was completed. The value is a UNIX timestamp. Unit: milliseconds.

1637622793000

Owner

string

The Alibaba Cloud account that owns the data asset instance.

dtdep-239-******

TenantName

string

The name of the tenant.

tenant

Protection

boolean

The protection status of the data asset instance. Valid values:

  • true: Protected.

  • false: Not protected.

false

DepartName

string

The name of the department to which the data asset instance belongs.

***DemoCenter

Labelsec

boolean

The security status of the data asset instance. Valid values:

  • true: Secure.

  • false: Not secure.

true

RiskLevelId

integer

The risk level ID of the data asset instance. A higher risk level ID indicates more sensitive data is detected.

  • 1: No sensitive data is detected. No risk.

  • 2: Sensitive data risk at level 1.

  • 3: Sensitive data risk at level 2.

  • 4: Sensitive data risk at level 3.

  • 5: Sensitive data risk at level 4.

  • 6: Sensitive data risk at level 5.

  • 7: Sensitive data risk at level 6.

  • 8: Sensitive data risk at level 7.

  • 9: Sensitive data risk at level 8.

  • 10: Sensitive data risk at level 9.

  • 11: Sensitive data risk at level 10.

2

ProductId

string

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

5

Name

string

The name of the data asset instance.

gxdata

TotalCount

integer

The total number of data items in the data asset instance. For example, if the data asset is ApsaraDB RDS, this value indicates the total number of tables in the databases of the instance.

231

InstanceDescription

string

The description of the data asset instance.

instance dscription

RuleName

string

The name of the sensitive data detection rule that the data asset instance hits.

*** rule

Sensitive

boolean

Indicates whether the data asset instance contains sensitive data. Valid values:

  • true: Contains sensitive data.

  • false: Does not contain sensitive data.

true

RiskLevelName

string

The risk level name of the data asset instance.

S1

OdpsRiskLevelName

string

This parameter is deprecated.

1

SensitiveCount

integer

The total number of sensitive data items in the data asset instance. For example, if the data asset is ApsaraDB RDS, this value indicates the total number of sensitive tables in the databases of the instance.

123

Id

integer

The unique ID of the data asset instance recorded in Data Security Center.

11111

ProductCode

string

The name of the product to which the data asset instance belongs, such as MaxCompute, OSS, or RDS. For supported product names, see Data types from which sensitive data can be detected.

RDS

ModelTags

array<object>

The list of data tags.

object

The data tag object.

Id

integer

The ID of the data label. Valid values:

  • 101: Personal sensitive information

  • 102: Personal information

  • 107: General information

101

Name

string

The name of the data label. Valid values:

  • Personal sensitive information

  • Personal information

  • General information

personal sensitive data

MemberAliUid

string

If the management account has enabled multi-account management and the asset belongs to another member account, this field displays the UID of the member account.

12567890126

Examples

Success response

JSON format

{
  "CurrentPage": 1,
  "RequestId": "71064826-726F-4ADA-B879-05D8055476FB",
  "PageSize": 10,
  "TotalCount": 231,
  "Items": [
    {
      "CreationTime": 1637226782000,
      "LastFinishTime": 1637622793000,
      "Owner": "dtdep-239-******",
      "TenantName": "tenant",
      "Protection": false,
      "DepartName": "***DemoCenter",
      "Labelsec": true,
      "RiskLevelId": 2,
      "ProductId": "5",
      "Name": "gxdata",
      "TotalCount": 231,
      "InstanceDescription": "instance dscription",
      "RuleName": "*** rule",
      "Sensitive": true,
      "RiskLevelName": "S1",
      "OdpsRiskLevelName": "1",
      "SensitiveCount": 123,
      "Id": 11111,
      "ProductCode": "RDS",
      "ModelTags": [
        {
          "Id": 101,
          "Name": "personal sensitive data"
        }
      ],
      "MemberAliUid": "12567890126"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.