Query the information of created shared data groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeSDGs |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| 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"] |
|
| InstanceIds |
array |
No |
The AIC instance ID to be queried. |
|
|
string |
No |
The IDs of instances that you want to query. By default, all instances are queried. Note
If you specify the SDGIds and InstanceIds parameters at the same time, the query result is the intersection of the two conditions. |
["aic-1", "aic-2", "aic-3"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
3703C4AC-9396-458C-8F25-1D701334D309 |
| SDGs |
array<object> |
The information about the SDGs. |
|
|
array<object> |
The information about the SDGs. |
||
| AvaliableRegionIds |
array<object> |
The IDs of available edge nodes. |
|
|
object |
List of available nodes. |
||
| CreationTime |
string |
The time when the SDG was created on the node. |
2023-02-27 15:13:26 |
| RegionId |
string |
The ID of the edge node. |
cn-hangzhou-26 |
| SnapshotId |
string |
The ID of the snapshot. |
mock-clone_snapshot_id |
| Status |
string |
The status of the SDG on the node. Valid values:
|
success |
| CreationDiskType |
string |
The disk type of the master disk used to create the SDG. |
standard |
| CreationRegionId |
string |
The ID of the node on which the SDG is created. |
cn-hangzhou-26 |
| CreationTime |
string |
The time when the SDG was first created. |
2023-02-27 15:07:21 |
| DeployedInstanceIds |
array<object> |
The deployment information. |
|
|
object |
Deployment status information list |
||
| CreationTime |
string |
The time when the SDG was deployed on the instance. |
2023-02-27 16:48:43 |
| InstanceId |
string |
The ID of the instance. |
aic-5x20dyeos**** |
| Status |
string |
The deployment status. Valid values:
|
sdg_deploying |
| DeploymentType |
string |
The deployment type of the SDG. Valid values:
|
overlay |
| Description |
string |
The description of the SDG. |
TestSDG |
| ParentSDGId |
string |
The ID of the source SDG from which you want to create an SDG. The value of this parameter is the value of the FromSDGId parameter that you need to specify when you call the CreateSDG operation. |
sdg-xxxxx |
| SDGId |
string |
The ID of the SDG. |
sdg-30e1fdba7196bc**** |
| Size |
integer |
The size of the SDG. Unit: GB. |
20 |
| Status |
string |
The status of the SDG creation. Valid values:
|
success |
| UpdateTime |
string |
The time when the SDG was last updated. |
2023-02-27 16:04:39 |
| CreationInstanceId |
string |
The ID of the instance on which the SDG is created. |
aic-5x20dyeos**** |
| BillingType |
string |
Billing type |
Open |
| PerformanceLevel |
integer |
The sharing ratio of the SDG. |
100 |
| BillingCycle |
string |
The billing cycle of the shared disk. |
Hour |
Examples
Success response
JSON format
{
"RequestId": "3703C4AC-9396-458C-8F25-1D701334D309",
"SDGs": [
{
"AvaliableRegionIds": [
{
"CreationTime": "2023-02-27 15:13:26",
"RegionId": "cn-hangzhou-26",
"SnapshotId": "mock-clone_snapshot_id",
"Status": "success"
}
],
"CreationDiskType": "standard",
"CreationRegionId": "cn-hangzhou-26",
"CreationTime": "2023-02-27 15:07:21",
"DeployedInstanceIds": [
{
"CreationTime": "2023-02-27 16:48:43",
"InstanceId": "aic-5x20dyeos****",
"Status": "sdg_deploying",
"DeploymentType": "overlay"
}
],
"Description": "TestSDG",
"ParentSDGId": "sdg-xxxxx",
"SDGId": "sdg-30e1fdba7196bc****",
"Size": 20,
"Status": "success",
"UpdateTime": "2023-02-27 16:04:39",
"CreationInstanceId": "aic-5x20dyeos****",
"BillingType": "Open",
"PerformanceLevel": 100,
"BillingCycle": "Hour"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Interface.Call.Failed | %s. | Request failed |
| 400 | Parameter.Invalid | The parameter is invalid. Please check your parameters and try it again. | The parameter is invalid. |
| 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.