All Products
Search
Document Center

File Storage NAS:DescribeZones

Last Updated:Jun 12, 2026

Mengkueri semua zona di suatu wilayah dan tipe sistem file yang didukung oleh setiap zona.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

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 (default): NAS tujuan umum.

  • extreme: Sistem file NAS Extreme.

  • cpfs: Cloud Parallel File Storage.

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.

  • If the FileSystemType parameter is set to standard, the storage type is Performance or Capacity.

  • If the FileSystemType parameter is set to extreme, the storage type is standard or advance.

  • If the FileSystemType parameter is set to cpfs, the storage type is advance_100 (100 MB/s/TiB baseline) or advance_200 (200 MB/s/TiB baseline).

Capacity

ProtocolType

string

The protocol type.

  • If the FileSystemType parameter is set to standard, the protocol type is nfs or smb.

  • If the FileSystemType parameter is set to extreme, the protocol type is nfs.

  • If the FileSystemType parameter is set to cpfs, the protocol type is cpfs.

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.