Queries all zones in a region and the file system types supported by each zone.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeZones |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the zone resides. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| FileSystemType |
string |
No |
The file system type. Valid values:
|
standard |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A70BEE5D-76D3-49FB-B58F-1F398211**** |
| Zones |
object |
||
| Zone |
array<object> |
The zone information. |
|
|
array<object> |
|||
| Capacity |
object |
||
| Protocol |
array |
A reserved parameter for the API operation. This parameter does not take effect. You can ignore this parameter. |
|
|
string |
A reserved parameter for the API operation. This parameter does not take effect. You can ignore this parameter. |
nfs |
|
| InstanceTypes |
object |
||
| InstanceType |
array<object> |
The instance type information. |
|
|
object |
|||
| ProtocolType |
string |
The file transfer protocol type.
|
nfs |
| StorageType |
string |
The storage type.
|
Capacity |
| Performance |
object |
||
| Protocol |
array |
A reserved parameter for the API operation. This parameter does not take effect. You can ignore this parameter. |
|
|
string |
A reserved parameter for the API operation. This parameter does not take effect. You can ignore this parameter. |
nfs |
|
| ZoneId |
string |
The zone ID. |
cn-hangzhou-b |
Examples
Success response
JSON format
{
"RequestId": "A70BEE5D-76D3-49FB-B58F-1F398211****",
"Zones": {
"Zone": [
{
"Capacity": {
"Protocol": [
"nfs"
]
},
"InstanceTypes": {
"InstanceType": [
{
"ProtocolType": "nfs",
"StorageType": "Capacity"
}
]
},
"Performance": {
"Protocol": [
"nfs"
]
},
"ZoneId": "cn-hangzhou-b"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | The request failed due to an unknown error. Please try again later. |
| 404 | InvalidRegionId.NotFound | The specified Region is not found. | The requested region does not exist or the service is not yet available. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.