Mengkueri semua zona di suatu wilayah dan tipe sistem file yang didukung oleh setiap zona.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeZones |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat zona berada. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| FileSystemType |
string |
No |
Tipe sistem file. Nilai valid:
|
standard |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
A70BEE5D-76D3-49FB-B58F-1F398211**** |
| Zones |
object |
||
| Zone |
array<object> |
Informasi zona. |
|
|
array<object> |
|||
| Performance |
object |
||
| Protocol |
array |
This parameter is reserved. You can ignore this parameter. |
|
|
string |
This parameter is reserved. You can ignore this parameter. |
nfs |
|
| Capacity |
object |
||
| Protocol |
array |
This parameter is reserved. You can ignore this parameter. |
|
|
string |
This parameter is reserved. You can ignore this parameter. |
nfs |
|
| ZoneId |
string |
The zone ID. |
cn-hangzhou-b |
| InstanceTypes |
object |
||
| InstanceType |
array<object> |
The details about file system types. |
|
|
object |
|||
| StorageType |
string |
The storage type.
|
Capacity |
| ProtocolType |
string |
The protocol type.
|
nfs |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A70BEE5D-76D3-49FB-B58F-1F398211****",
"Zones": {
"Zone": [
{
"Performance": {
"Protocol": [
"nfs"
]
},
"Capacity": {
"Protocol": [
"nfs"
]
},
"ZoneId": "cn-hangzhou-b",
"InstanceTypes": {
"InstanceType": [
{
"StorageType": "Capacity",
"ProtocolType": "nfs"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidRegionId.NotFound | The specified Region is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.