Queries the list of authorized or unauthorized assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeParentInstance |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
integer |
No |
The page number when paging is used. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page when paging is used. Default value: 10. |
10 |
| ServiceRegionId |
string |
No |
The region where the asset resides. Valid values:
|
cn-shanghai |
| EngineType |
string |
No |
The engine type. Valid values:
|
MySQL |
| InstanceId |
string |
No |
The instance ID of the asset to which the column data in the data asset table belongs. |
rm-*******xx |
| DbName |
string |
No |
The database name. |
db_**t |
| ResourceType |
integer |
No |
Required. The product type. Valid values:
|
5 |
| CheckStatus |
integer |
No |
The database connection status of the instance or the database under the instance. Valid values:
|
3 |
| ClusterStatus |
string |
No |
The instance status. Valid values:
|
Running |
| AuthStatus |
integer |
No |
The authorization status of the data asset instance. Valid values:
|
0 |
| MemberAccount |
integer |
No |
The ID of the member accounts. |
**********8103 |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh_cn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
ACEF9334-BB50-525D-8CF3-6CF504E4D1B3 |
| CurrentPage |
integer |
The page number of the current page when paging is used. Default value: 1. |
1 |
| PageSize |
integer |
The maximum number of data asset instances displayed per page when paging is used. Default value: 10. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
3 |
| Items |
array<object> |
The list of data assets returned. |
|
|
object |
The asset details. |
||
| InstanceId |
string |
The instance ID. |
rm-*******t2vz |
| LocalName |
string |
The region name. Valid values:
|
cn-hangzhou |
| EngineType |
string |
The engine type. Valid values:
|
MySQL |
| ParentId |
string |
The identifier of the authorized asset. For structured data, the identifier is in the format of instance ID.database name. |
rm-******xxx.**st |
| DbNum |
string |
The number of databases under the instance. |
3 |
| ClusterStatus |
string |
The instance status. |
Running |
| TenantId |
string |
The tenant ID. This parameter is valid only for OceanBase assets. |
HB***-zh_CN |
| TenantName |
string |
The tenant name. This parameter is valid only for OceanBase assets. |
user1 |
| InstanceDescription |
string |
The description of the instance. |
instance description |
| ResourceType |
string |
The asset type name. Valid values:
|
RDS |
| UnConnectDbCount |
string |
The number of unconnected databases under the instance. |
1 |
| UnSupportOneClickAuthReason |
string |
The reason why one-click authorization is not supported. |
engine type not support |
| ConnectNode |
string |
The connection node type. This parameter is valid only for the MongoDB Asset Type. |
Primary |
| SupportConnectNodes |
string |
The supported connection nodes. Multiple nodes are separated by commas (,). |
Primary,Secondary |
| AuthStatus |
integer |
The authorization status of the data asset instance. Valid values:
|
1 |
| InstanceSize |
integer |
The storage size of the instance. This parameter is valid only for the OSS Asset Type. Unit: bytes. |
409600 |
| AuditStatus |
integer |
The audit authorization status. Valid values:
|
1 |
| MemberAccount |
integer |
The ID of the member accounts. |
**********8103 |
| AuthTime |
integer |
The time when the instance was authorized. Unit: milliseconds. |
1719882941000 |
| RegionId |
string |
The region where the asset resides. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "ACEF9334-BB50-525D-8CF3-6CF504E4D1B3",
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 3,
"Items": [
{
"InstanceId": "rm-*******t2vz",
"LocalName": "cn-hangzhou",
"EngineType": "MySQL",
"ParentId": "rm-******xxx.**st",
"DbNum": "3",
"ClusterStatus": "Running",
"TenantId": "HB***-zh_CN",
"TenantName": "user1",
"InstanceDescription": "instance description",
"ResourceType": "RDS",
"UnConnectDbCount": "1",
"UnSupportOneClickAuthReason": "engine type not support",
"ConnectNode": "Primary",
"SupportConnectNodes": "Primary,Secondary",
"AuthStatus": 1,
"InstanceSize": 409600,
"AuditStatus": 1,
"MemberAccount": 0,
"AuthTime": 1719882941000,
"RegionId": "cn-hangzhou"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.