Queries the data assets such as instances, databases, or buckets that Data Security Center (DSC) is authorized to access.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-sddp:DescribeDataLimits | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Valid values:
| zh |
PageSize | integer | No | The number of entries to return on each page. | 10 |
CurrentPage | integer | No | The number of the page to return. | 1 |
ResourceType | integer | No | The type of the service to which the data asset belongs. This parameter is required. Valid values:
| 1 |
ParentId | string | No | The parent ID of the data asset to be queried. Valid values:
| 1112 |
ServiceRegionId | string | No | The region in which the data asset resides. | cn-hangzhou |
CheckStatus | integer | No | The data detection status. Valid values:
| 3 |
AuditStatus | integer | No | Specifies whether to enable the security audit feature. Valid values:
| 1 |
EngineType | string | No | The type of the database engine. Valid values include MySQL, SQLServer, Oracle, PostgreSQL, and MongoDB. | MySQL |
DatamaskStatus | integer | No | Specifies whether DSC has the data de-identification permissions on the data asset. Valid values:
| 1 |
Enable | integer | No | Specifies whether DSC has the data detection permissions on the data asset. Valid values:
| 1 |
StartTime | long | No | The beginning of the time range to query The value is a UNIX timestamp. Unit: milliseconds. | 1616068534877 |
EndTime | long | No | The end of the time range to query The value is a UNIX timestamp. Unit: milliseconds. | 1616068534877 |
MemberAccount | long | No | The ID of the member. | **********8103 |
FeatureType | integer | No | This parameter is deprecated. | 2 |
Response parameters
Examples
Sample success responses
JSON
format
{
"CurrentPage": 1,
"RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989***",
"PageSize": 10,
"TotalCount": 200,
"Items": [
{
"SupportEvent": true,
"ErrorMessage": "The password is invalid.\n",
"CheckStatus": 3,
"LocalName": "China (Hangzhou)\n",
"TenantName": "insta_gram",
"NextStartTime": 1676620236000,
"Port": 3306,
"CheckStatusName": "Connectivity test status\n",
"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
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-08-09 | The response structure of the API has changed | View Change Details |
2024-04-18 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2024-03-25 | The request parameters of the API has changed | View Change Details |
2022-07-18 | API Description Update. The response structure of the API has changed | View Change Details |