Queries all zones in a region and file system types that are supported in each zone.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeZones

The operation that you want to perform.

Set the value to DescribeZones.

RegionId String Yes cn-hangzhou

The ID of the region to query zones.

You can call the DescribeRegions operation to query the most recent region list.

Response parameters

Parameter Type Example Description
RequestId String A70BEE5D-76D3-49FB-B58F-1F398211****

The ID of the request.

Zones Array of Zone

The list of zones.

Zone
Capacity List 1

NAS Capacity.

Performance List 0

NAS Performance.

ZoneId String cn-hangzhou-b

The ID of the zone.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeZones
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<RequestId>75DECBF9-2F06-4ECC-BB5F-3B4C3F3A****</RequestId>
<Zones>
    <Zone>
        <ZoneId>cn-hangzhou-b</ZoneId>
        <Capacity>
            <Protocol>nfs</Protocol>
            <Protocol>smb</Protocol>
        </Capacity>
        <Performance>
        </Performance>
    </Zone>
    <Zone>
        <ZoneId>cn-hangzhou-g</ZoneId>
        <Capacity>
            <Protocol>nfs</Protocol>
            <Protocol>smb</Protocol>
        </Capacity>
        <Performance>
            <Protocol>nfs</Protocol>
            <Protocol>smb</Protocol>
        </Performance>
    </Zone>
    <Zone>
        <ZoneId>cn-hangzhou-f</ZoneId>
        <Capacity>
            <Protocol>nfs</Protocol>
            <Protocol>smb</Protocol>
        </Capacity>
        <Performance>
            <Protocol>nfs</Protocol>
            <Protocol>smb</Protocol>
        </Performance>
    </Zone>
</Zones>

JSON format

{
    "RequestId": "75DECBF9-2F06-4ECC-BB5F-3B4C3F3A****",
    "Zones": {
        "Zone": [
            {
                "ZoneId": "cn-hangzhou-b",
                "Capacity": {
                    "Protocol": [
                        "nfs",
                        "smb"
                    ]
                },
                "Performance": {
                    "Protocol": []
                }
            },
            {
                "ZoneId": "cn-hangzhou-g",
                "Capacity": {
                    "Protocol": [
                        "nfs",
                        "smb"
                    ]
                },
                "Performance": {
                    "Protocol": [
                        "nfs",
                        "smb"
                    ]
                }
            },
            {
                "ZoneId": "cn-hangzhou-f",
                "Capacity": {
                    "Protocol": [
                        "nfs",
                        "smb"
                    ]
                },
                "Performance": {
                    "Protocol": [
                        "nfs",
                        "smb"
                    ]
                }
            }
        ]
    }
}

Error codes

HttpCode Error code Error message Description
500 InternalError The request processing has failed due to some unknown error. The error message returned because the request has failed due to an unknown error. Please try again later.
404 InvalidRegionId.NotFound The specified Region is not found. The error message returned because the requested region does not exist or the query service is unavailable in this region.

For a list of error codes, visit the API Error Center.