Query the SDG mount status under a specific AIC instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeInstanceSDGStatus |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the AIC instance. |
aic-xxxxx |
| PageNumber |
integer |
No |
The number of the page to return. Pages start from page 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries returned on each page. |
10 |
| Status |
string |
No |
The deployment status of the SDG. |
success |
| SDGIds |
array |
No |
The IDs of SDGs that you want to query. By default, all SDGs are queried. |
|
|
string |
No |
The IDs of SDGs that you want to query. By default, all SDGs are queried. |
["sdg-1", "sdg-2", "sdg-3"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
C0003E8B-B930-4F59-ADC0-0E209A9012A8 |
| DeploymentStatus |
array<object> |
The deployment information of the SDGs. |
|
|
object |
The deployment information of the SDG. |
||
| InstanceId |
string |
The ID of the AIC instance. |
aic-xxxx |
| SDGId |
string |
The ID of the SDG. |
sdg-xxxxxxx |
| MountType |
string |
The deployment type of the SDG. |
shared |
| EnsRegionId |
string |
The ID of the edge node. |
cn-guangzhou-26 |
| Status |
string |
The deployment status of the SDG. |
success |
| Phase |
string |
Deployment Phase |
attach |
| UpdateTime |
string |
The time when the status was last updated. |
2023-02-17T02:44:31Z |
| BlockRwSplitSize |
integer |
The size of the writable layer for block devices, in GiB. A value of 0 indicates that the capability is not enabled. |
20 |
| CacheSize |
integer |
Cache size in GiB. A value of 0 indicates that the capability is not Enabled. |
20 |
| DiskType |
string |
Disk type of the mounted shared disk. |
standard |
| DiskAccessProtocol |
string |
The protocol type for accessing the mounted shared disk. |
iscsi |
| PageNumber |
integer |
The number of the page to return. Pages start from page 1. Default value: 1 |
1 |
| PageSize |
string |
The number of entries to return on each page. Default value: 10. |
10 |
| TotalCount |
string |
The total number of queried deployment records. |
1 |
Examples
Success response
JSON format
{
"RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8",
"DeploymentStatus": [
{
"InstanceId": "aic-xxxx",
"SDGId": "sdg-xxxxxxx",
"MountType": "shared",
"EnsRegionId": "cn-guangzhou-26",
"Status": "success",
"Phase": "attach",
"UpdateTime": "2023-02-17T02:44:31Z",
"BlockRwSplitSize": 20,
"CacheSize": 20,
"DiskType": "standard",
"DiskAccessProtocol": "iscsi"
}
],
"PageNumber": 1,
"PageSize": "10",
"TotalCount": "1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Interface.Call.Failed | %s. | Request failed |
| 400 | Interface.Call.Error | The interface call error | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.