Queries the list of data assets, including authorized instances, databases, and buckets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDataLimits |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
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 |
| ParentId |
string |
No |
The ID of the parent asset to which the data asset belongs. Valid values:
|
1112 |
| ServiceRegionId |
string |
No |
The region where the asset resides. |
cn-hangzhou |
| CheckStatus |
integer |
No |
The data detection status. Valid values:
|
3 |
| AuditStatus |
integer |
No |
The audit status. Valid values:
|
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 |
| Enable |
integer |
No |
The detection permission status. Valid values:
|
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 |
| ErrorMessage |
string |
The failure reason. |
Incorrect password. |
| CheckStatus |
integer |
The data detection status. Valid values:
|
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 |
| 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:
|
5 |
| ErrorCode |
string |
The error code. |
connect_network_error |
| OcrStatus |
integer |
The OCR status. Valid values:
|
1 |
| LogStoreDay |
integer |
The raw log storage duration. Unit: days. |
30 |
| EventStatus |
integer |
The data leak prevention switch. Valid values:
|
1 |
| SupportScan |
boolean |
Indicates whether scanning is supported. Valid values:
|
true |
| LastFinishedTime |
integer |
The time when the last full scan was completed.
|
145600000 |
| UserName |
string |
The username of the data owner. |
tsts |
| AuditStatus |
integer |
The audit status. Valid values:
|
1 |
| SupportOcr |
boolean |
Indicates whether OCR is supported. Valid values:
|
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 |
| AutoScan |
integer |
Indicates whether automatic scanning is enabled. Valid values:
|
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 |
| ProcessStatus |
integer |
The scan status. Valid values:
|
3 |
| Id |
integer |
The unique ID of the data asset. |
1 |
| Enable |
integer |
The detection permission status. Valid values:
|
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.