You need to enable JavaScript to run this app.
导航
DescribeDBInstanceSpecs
最近更新时间:2023.11.30 10:27:54首次发布时间:2023.07.26 13:58:16

调用 DescribeDBInstanceSpecs 接口查询指定可用区支持的节点规格代码。

请求类型

同步请求。

请求参数

名称类型是否必选示例值描述

ZoneIds

String

cn-beijing-a

可用区 ID。

说明

  • 可调用 DescribeAvailabilityZones 接口查询指定地域下的可用区资源信息。
  • 若该参数留空,会返回 veDB MySQL 实例地域下的所有可用区的规格代码。

返回参数

名称类型示例值描述
TotalInteger1规格总数。
NodeSpecsArray of NodeSpecObject请参见返回示例规格列表。详细信息,请参见 NodeSpecObject

请求示例

POST /?Action=DescribeDBInstanceSpecs&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host:vedbm.volcengineapi.com
X-Date: 20220316T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20220316/cn-beijing/vedbm/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645****

{
    "ZoneIds": "cn-beijing-b"
}

返回示例

正常返回示例

{
    "ResponseMetadata": {
        "RequestId": "20231127160309E8183A0ED69799E1D5F7",
        "Action": "DescribeDBInstanceSpecs",
        "Version": "2022-01-01",
        "Service": "vedbm",
        "Region": "cn-guilin-boe"
    },
    "Result": {
        "NodeSpecs": [
            {
                "Connection": 8000,
                "Memory": 16,
                "NodeSpec": "vedb.mysql.g4.large",
                "PrePaidMaxStorage": 30000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "General",
                "vCPU": 4
            },
            {
                "Connection": 8000,
                "Memory": 16,
                "NodeSpec": "vedb.mysql.x4.large",
                "PrePaidMaxStorage": 30000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 4
            },
            {
                "Connection": 8000,
                "Memory": 32,
                "NodeSpec": "vedb.mysql.x8.large",
                "PrePaidMaxStorage": 30000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 4
            },
            {
                "Connection": 16000,
                "Memory": 32,
                "NodeSpec": "vedb.mysql.x4.xlarge",
                "PrePaidMaxStorage": 50000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 8
            },
            {
                "Connection": 16000,
                "Memory": 32,
                "NodeSpec": "vedb.mysql.g4.xlarge",
                "PrePaidMaxStorage": 50000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "General",
                "vCPU": 8
            },
            {
                "Connection": 16000,
                "Memory": 64,
                "NodeSpec": "vedb.mysql.x8.xlarge",
                "PrePaidMaxStorage": 50000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 8
            },
            {
                "Connection": 32000,
                "Memory": 64,
                "NodeSpec": "vedb.mysql.x4.2xlarge",
                "PrePaidMaxStorage": 100000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 16
            },
            {
                "Connection": 32000,
                "Memory": 64,
                "NodeSpec": "vedb.mysql.g4.2xlarge",
                "PrePaidMaxStorage": 100000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "General",
                "vCPU": 16
            },
            {
                "Connection": 32000,
                "Memory": 128,
                "NodeSpec": "vedb.mysql.x8.2xlarge",
                "PrePaidMaxStorage": 100000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 16
            },
            {
                "Connection": 32000,
                "Memory": 128,
                "NodeSpec": "vedb.mysql.g8.2xlarge",
                "PrePaidMaxStorage": 100000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "General",
                "vCPU": 16
            },
            {
                "Connection": 64000,
                "Memory": 128,
                "NodeSpec": "vedb.mysql.x4.4xlarge",
                "PrePaidMaxStorage": 200000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 32
            },
            {
                "Connection": 64000,
                "Memory": 128,
                "NodeSpec": "vedb.mysql.g4.4xlarge",
                "PrePaidMaxStorage": 200000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "General",
                "vCPU": 32
            },
            {
                "Connection": 64000,
                "Memory": 256,
                "NodeSpec": "vedb.mysql.x8.4xlarge",
                "PrePaidMaxStorage": 200000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 32
            },
            {
                "Connection": 64000,
                "Memory": 384,
                "NodeSpec": "vedb.mysql.x8.6xlarge",
                "PrePaidMaxStorage": 200000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 48
            },
            {
                "Connection": 64000,
                "Memory": 256,
                "NodeSpec": "vedb.mysql.x4.8xlarge",
                "PrePaidMaxStorage": 200000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 64
            },
            {
                "Connection": 64000,
                "Memory": 512,
                "NodeSpec": "vedb.mysql.x8.8xlarge",
                "PrePaidMaxStorage": 200000,
                "PrePaidMinStorage": 50,
                "SpecFamily": "Exclusive",
                "vCPU": 64
            }
        ],
        "Total": 16
    }
}

错误码

更多详情,请参见错误码