Queries information about a gateway cluster, including its region, timestamp, name, and description.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hcs-sgw:DescribeStorageBundle |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StorageBundleId |
string |
Yes |
The ID of the gateway cluster. |
sb-0007y2889yyxkuqov*** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Description |
string |
The description of the gateway cluster. |
|
| CreatedTime |
integer |
The UNIX timestamp when the gateway cluster was created. Unit: seconds. |
1657706998 |
| RequestId |
string |
The request ID. |
736C7733-FCED-4AFB-8407-C325F210CE03 |
| Message |
string |
The message that is returned. |
successful |
| StorageBundleId |
string |
The ID of the gateway cluster. |
sb-000dt67z4ijqfocpy*** |
| BackendBucketRegionId |
string |
The region where the gateway cluster is located. |
cn-shanghai |
| Code |
string |
The status code. A status code of 200 indicates that the request is successful. |
200 |
| Success |
boolean |
Indicates whether the request is successful. |
true |
| Name |
string |
The name of the gateway cluster. |
sdfa*** |
Examples
Success response
JSON format
{
"Description": "",
"CreatedTime": 1657706998,
"RequestId": "736C7733-FCED-4AFB-8407-C325F210CE03",
"Message": "successful",
"StorageBundleId": "sb-000dt67z4ijqfocpy***",
"BackendBucketRegionId": "cn-shanghai",
"Code": "200",
"Success": true,
"Name": "sdfa***"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EmptyStorageBundleId | You must enter a valid ID for the gateway cluster. | You must enter a valid ID for the gateway cluster. |
| 404 | StorageBundleNotExist | The name you specified for the gateway cluster does not exist. You must specify a valid parameter. | The name you specified for the gateway cluster 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.