Queries for shares that are associated with an express synchronization group or can be added to the group. The returned information includes details such as the gateway name, cluster ID, and share name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hcs-sgw:DescribeExpressSyncShares |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExpressSyncIds |
string |
Yes |
A list of express synchronization group IDs. The IDs are separated by commas. |
sync-0002xetjdlxne2sd***,sync-0004agfrbke1l39p*** |
| IsExternal |
boolean |
No |
Specifies whether to query the shares that have been added to the express synchronization group. Valid values:
Default value: false. |
true |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The description of the request result. |
successful |
| RequestId |
string |
The request ID. |
EA258616-36AD-4609-A0A6-2B17C28CBF88 |
| Code |
string |
The status code. A status code of 200 indicates that the request was successful. |
200 |
| Shares |
object |
||
| Share |
array<object> |
The information about the shares in the express synchronization group. |
|
|
object |
|||
| MnsQueue |
string |
The name of the message queue (Queue) that corresponds to the share in Alibaba Cloud Simple Message Queue (formerly MNS). |
sgw-express-sync-queue-gw-000245alq48e7ytgxq03*** |
| ExpressSyncId |
string |
The express synchronization ID. |
sb-0003c7qh5yuc1z6b8*** |
| GatewayId |
string |
The gateway ID. |
gw-000245alq48e7ytg*** |
| ExpressSyncState |
string |
The health status of the express synchronization group. Possible values:
|
MNSHealthy |
| GatewayName |
string |
The gateway name. |
|
| StorageBundleId |
string |
The gateway cluster ID. |
sb-0003c7qh5yuc1z6b8*** |
| SyncProgress |
integer |
The progress of the full synchronization of the share. This parameter is valid only when the share is added to an express synchronization group. Possible values:
|
100 |
| GatewayRegion |
string |
The region where the gateway is located. |
cn-hangzhou |
| ShareName |
string |
The share name. |
ji*** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"Message": "successful",
"RequestId": "EA258616-36AD-4609-A0A6-2B17C28CBF88",
"Code": "200",
"Shares": {
"Share": [
{
"MnsQueue": "sgw-express-sync-queue-gw-000245alq48e7ytgxq03***",
"ExpressSyncId": "sb-0003c7qh5yuc1z6b8***",
"GatewayId": "gw-000245alq48e7ytg***",
"ExpressSyncState": "MNSHealthy",
"GatewayName": "",
"StorageBundleId": "sb-0003c7qh5yuc1z6b8***",
"SyncProgress": 100,
"GatewayRegion": "cn-hangzhou",
"ShareName": "ji***"
}
]
},
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EmptyExpressSyncId | You must specify a valid ID for the sync group. | You must specify a valid ID for the sync group. |
| 400 | ExpressSyncNotExist | The specified sync group does not exist. You must specify a valid parameter. | The specified sync group does not exist. You must specify a valid parameter. |
| 400 | GatewayNotExist | The specified gateway does not exist. You must specify a valid parameter. | The specified gateway does not exist. You must specify a valid parameter. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.