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
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeInstances |
get |
*All Resource
|
|
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 |
| 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:
|
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:
|
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 |
| RiskLevelId |
integer |
The risk level ID of the data asset instance. A higher risk level ID indicates more sensitive data is detected.
|
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 |
| 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 |
| Name |
string |
The name of the data label. Valid values:
|
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.