You need to enable JavaScript to run this app.
导航
DescribeZones
最近更新时间:2023.10.13 17:46:51首次发布时间:2022.09.19 20:54:29

调用 DescribeZones 接口,查询 vePFS 指定 Region 下的可用区列表。

请求参数

参数类型是否必选示例值描述
RegionIdStringcn-beijing指定查询的地域 ID。

返回参数

参数类型示例值描述
TotalCountInteger2可用区数量。
ZonesArray of ZoneInfo详情请参见返回示例可用区详情。

ZoneInfo

参数类型示例值描述
ZoneIdStringcn-beijing地域 ID。
RegionIdStringcn-beijing-a可用区 ID。
ZoneNameString可用区A可用区名称。
SaleInfosArray of SaleInfo详情请参见返回示例可用区售卖信息。

SaleInfo

参数类型示例值描述

Status

String

OnSale

售卖状态,取值说明如下:

  • OnSale:售卖中,您可正常新购、变更实例。
  • UnSold:未售卖,您无法新购实例。
  • SoldOut:已售罄,您无法新购实例,已有实例不受影响。
ZoneIdStringcn-beijing-a可用区 ID。
RegionIdStringcn-beijing地域 ID。

StoreType

String

Advance_100

文件系统规格,取值说明如下:

  • Advance_100:100MB/s/TiB
ProtocolTypeStringVePFS协议类型,默认为 VePFS
FileSystemTypeStringVePFS文件系统类型,默认为 VePFS

示例

请求示例

POST /?Action=DescribeZones&Version=2022-01-01 HTTP/1.1
Host: open.volcengineapi.com
Authorization: HMAC-SHA256 Credential=AKLTOGJhY2E1NTdkZGFmNDg0Yjk0ZDFiNjE5Y2NjZjI****/20230907/cn-beijing/vepfs/request, SignedHeaders=host;x-date;x-content-sha256;content-type, Signature=7f1119a75111535b1d6e7929700f22e1474af0fb4fe26c59f5ac5cdba0cc****
Content-Type: application/json; charset=utf-8
X-Content-Sha256: 567112abe45bd6a09504fd244237f14c0ba120491da0d35097afd54d87bd****
X-Date: 20230907T124910Z

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20230328214208497AEB227EBC67CB5398",
        "Action": "DescribeZones",
        "Version": "2022-01-01",
        "Service": "vepfs",
        "Region": "cn-beijing"
    },
    "Result": {
        "TotalCount": 3,
        "Zones": [
            {
                "RegionId": "cn-beijing",
                "SaleInfos": [
                    {
                        "FileSystemType": "VePFS",
                        "ProtocolType": "VePFS",
                        "RegionId": "cn-beijing",
                        "Status": "OnSale",
                        "StoreType": "Advance_100",
                        "ZoneId": "cn-beijing-a"
                    },
                    {
                        "FileSystemType": "VePFS",
                        "ProtocolType": "VePFS",
                        "RegionId": "cn-beijing",
                        "Status": "OnSale",
                        "StoreType": "Advance_300",
                        "ZoneId": "cn-beijing-a"
                    },
                    {
                        "FileSystemType": "VePFS",
                        "ProtocolType": "VePFS",
                        "RegionId": "cn-beijing",
                        "Status": "OnSale",
                        "StoreType": "High_Available",
                        "ZoneId": "cn-beijing-a"
                    }
                ],
                "ZoneId": "cn-beijing-a",
                "ZoneName": "可用区A"
            },
            {
                "RegionId": "cn-beijing",
                "SaleInfos": [
                    {
                        "FileSystemType": "VePFS",
                        "ProtocolType": "VePFS",
                        "RegionId": "cn-beijing",
                        "Status": "OnSale",
                        "StoreType": "Advance_100",
                        "ZoneId": "cn-beijing-b"
                    },
                    {
                        "FileSystemType": "VePFS",
                        "ProtocolType": "VePFS",
                        "RegionId": "cn-beijing",
                        "Status": "OnSale",
                        "StoreType": "Advance_300",
                        "ZoneId": "cn-beijing-b"
                    },
                    {
                        "FileSystemType": "VePFS",
                        "ProtocolType": "VePFS",
                        "RegionId": "cn-beijing",
                        "Status": "OnSale",
                        "StoreType": "High_Available",
                        "ZoneId": "cn-beijing-b"
                    },
                    {
                        "FileSystemType": "VePFS",
                        "ProtocolType": "VePFS",
                        "RegionId": "cn-beijing",
                        "Status": "OnSale",
                        "StoreType": "Intelligent_Computing",
                        "ZoneId": "cn-beijing-b"
                    }
                ],
                "ZoneId": "cn-beijing-b",
                "ZoneName": "可用区B"
            }
        ]
    }
}