查询一个地域下的所有可用区及可用区所支持的文件系统类型。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
nas:DescribeZones |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
可用区所在的地域 ID。 您可以调用 DescribeRegions 查看最新地域列表。 |
cn-hangzhou |
| FileSystemType |
string |
否 |
文件系统类型。 取值:
|
standard |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
A70BEE5D-76D3-49FB-B58F-1F398211**** |
| Zones |
object |
||
| Zone |
array<object> |
可用区信息集合。 |
|
|
array<object> |
|||
| Performance |
object |
||
| Protocol |
array |
接口预留参数,暂未生效,您无需关注。 |
|
|
string |
接口预留参数,暂未生效,您无需关注。 |
nfs |
|
| Capacity |
object |
||
| Protocol |
array |
接口预留参数,暂未生效,您无需关注。 |
|
|
string |
接口预留参数,暂未生效,您无需关注。 |
nfs |
|
| ZoneId |
string |
可用区 ID。 |
cn-hangzhou-b |
| InstanceTypes |
object |
||
| InstanceType |
array<object> |
实例类型信息集合。 |
|
|
object |
|||
| StorageType |
string |
存储类型。
|
Capacity |
| ProtocolType |
string |
文件传输协议类型。
|
nfs |
示例
正常返回示例
JSON格式
{
"RequestId": "A70BEE5D-76D3-49FB-B58F-1F398211****",
"Zones": {
"Zone": [
{
"Performance": {
"Protocol": [
"nfs"
]
},
"Capacity": {
"Protocol": [
"nfs"
]
},
"ZoneId": "cn-hangzhou-b",
"InstanceTypes": {
"InstanceType": [
{
"StorageType": "Capacity",
"ProtocolType": "nfs"
}
]
}
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidRegionId.NotFound | The specified Region is not found. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。