Queries the storage usage of a Bastionhost instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:GetInstanceStoreInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Bastionhost instance. Note
You can call the DescribeInstances operation to obtain this parameter. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
The region ID of the Bastionhost instance. Note
For more information about the mapping between region IDs and region names, see Regions and zones. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Max |
integer |
The maximum storage capacity of the current Bastionhost instance. Unit: bytes |
102400 |
| RequestId |
string |
The unique identifier generated by Alibaba Cloud for this request. |
5EAB922E-F476-5DFA-9290-313C608E724B |
| Usage |
integer |
The used storage capacity of the current Bastionhost instance. Unit: bytes |
1024 |
Examples
Success response
JSON format
{
"Max": 102400,
"RequestId": "5EAB922E-F476-5DFA-9290-313C608E724B",
"Usage": 1024
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | The argument is invalid. |
| 500 | InternalError | An unknown error occurred. | An unknown error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.