Query the deployment status of SDG.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeSDGDeploymentStatus |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SDGId |
string |
Yes |
The ID of the SDG. |
sdg-xxxx |
| 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 |
| DeploymentType |
string |
No |
The deployment type. |
shared |
| Status |
string |
No |
The deployment status of the SDG. |
success |
| InstanceIds |
array |
No |
IDs of Android in Container (AIC) instances. |
|
|
string |
No |
The ID of the AIC instance. |
aic-xxxx |
|
| RegionIds |
array |
No |
The IDs of the nodes. |
|
|
string |
No |
The ID of the node. |
cn-hangzhou |
|
| DiskIds |
array |
No |
List of disk IDs. |
|
|
string |
No |
Disk ID |
d-xxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
68B85217-03B8-5141-9216-EA4D7C496B9A |
| DeploymentStatus |
array<object> |
The list of SDG deployment information. |
|
|
object |
|||
| InstanceId |
string |
The ID of the AIC instance. |
aic-xxxx |
| MountType |
string |
The deployment type. Valid values:
Valid values:
|
overlay |
| RegionId |
string |
The ID of the edge node. |
cn-hangzhou |
| Status |
string |
The deployment status of the SDG. Valid values:
Valid values:
|
success |
| Phase |
string |
The deployment phase of the SDG. |
attach |
| UpdateTime |
string |
The time when the status was last updated. |
2023-02-17T02:44:31Z |
| BlockRwSplitSize |
integer |
Writable layer size of the block device, in GiB. A value of 0 indicates that the capability is disabled. |
20 |
| CacheSize |
integer |
Cache size in GiB. A value of 0 indicates that the capability is disabled. |
20 |
| DiskType |
string |
Disk type of the mounted shared disk. |
standard |
| DiskAccessProtocol |
string |
Disk access protocol type of the mounted shared disk. |
iscsi |
| PageNumber |
integer |
The page number. Pages start from page 1. Default value: 1 |
1 |
| PageSize |
integer |
The number of entries to return on each page. Default value: 10. |
10 |
| TotalCount |
integer |
The total number of queried deployment records. |
100 |
Examples
Success response
JSON format
{
"RequestId": "68B85217-03B8-5141-9216-EA4D7C496B9A",
"DeploymentStatus": [
{
"InstanceId": "aic-xxxx",
"MountType": "overlay",
"RegionId": "cn-hangzhou",
"Status": "success",
"Phase": "attach",
"UpdateTime": "2023-02-17T02:44:31Z",
"BlockRwSplitSize": 20,
"CacheSize": 20,
"DiskType": "standard",
"DiskAccessProtocol": "iscsi"
}
],
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100
}
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.