调用 DescribeDBInstanceSpecs 接口查询指定可用区支持的节点规格代码。
同步请求。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
ZoneIds | String | 否 | cn-beijing-a | 可用区 ID。 说明
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Total | Integer | 1 | 规格总数。 |
NodeSpecs | Array 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": "202404231057080AC243D233D8C4CCD0C7", "Action": "DescribeDBInstanceSpecs", "Version": "2022-01-01", "Service": "vedbm", "Region": "cn-beijing" }, "Result": { "NodeSpecs": [ { "Connection": 8000, "MaxIops": 66000, "Memory": 16, "NodeSpec": "vedb.mysql.x4.large", "PrePaidMaxStorage": 30000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 4 }, { "Connection": 8000, "MaxIops": 44000, "Memory": 16, "NodeSpec": "vedb.mysql.g4.large", "PrePaidMaxStorage": 30000, "PrePaidMinStorage": 50, "SpecFamily": "General", "vCPU": 4 }, { "Connection": 8000, "MaxIops": 80000, "Memory": 32, "NodeSpec": "vedb.mysql.x8.large", "PrePaidMaxStorage": 30000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 4 }, { "Connection": 16000, "MaxIops": 98000, "Memory": 32, "NodeSpec": "vedb.mysql.x4.xlarge", "PrePaidMaxStorage": 50000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 8 }, { "Connection": 16000, "MaxIops": 56000, "Memory": 32, "NodeSpec": "vedb.mysql.g4.xlarge", "PrePaidMaxStorage": 50000, "PrePaidMinStorage": 50, "SpecFamily": "General", "vCPU": 8 }, { "Connection": 16000, "MaxIops": 110000, "Memory": 64, "NodeSpec": "vedb.mysql.x8.xlarge", "PrePaidMaxStorage": 50000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 8 }, { "Connection": 32000, "MaxIops": 65000, "Memory": 64, "NodeSpec": "vedb.mysql.g4.2xlarge", "PrePaidMaxStorage": 100000, "PrePaidMinStorage": 50, "SpecFamily": "General", "vCPU": 16 }, { "Connection": 32000, "MaxIops": 194000, "Memory": 64, "NodeSpec": "vedb.mysql.x4.2xlarge", "PrePaidMaxStorage": 100000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 16 }, { "Connection": 32000, "MaxIops": 194000, "Memory": 128, "NodeSpec": "vedb.mysql.x8.2xlarge", "PrePaidMaxStorage": 100000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 16 }, { "Connection": 32000, "MaxIops": 65000, "Memory": 128, "NodeSpec": "vedb.mysql.g8.2xlarge", "PrePaidMaxStorage": 100000, "PrePaidMinStorage": 50, "SpecFamily": "General", "vCPU": 16 }, { "Connection": 64000, "MaxIops": 86000, "Memory": 128, "NodeSpec": "vedb.mysql.g4.4xlarge", "PrePaidMaxStorage": 200000, "PrePaidMinStorage": 50, "SpecFamily": "General", "vCPU": 32 }, { "Connection": 64000, "MaxIops": 290000, "Memory": 128, "NodeSpec": "vedb.mysql.x4.4xlarge", "PrePaidMaxStorage": 200000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 32 }, { "Connection": 64000, "MaxIops": 290000, "Memory": 256, "NodeSpec": "vedb.mysql.x8.4xlarge", "PrePaidMaxStorage": 200000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 32 }, { "Connection": 64000, "MaxIops": 300000, "Memory": 384, "NodeSpec": "vedb.mysql.x8.6xlarge", "PrePaidMaxStorage": 200000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 48 }, { "Connection": 64000, "MaxIops": 300000, "Memory": 256, "NodeSpec": "vedb.mysql.x4.8xlarge", "PrePaidMaxStorage": 200000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 64 }, { "Connection": 64000, "MaxIops": 300000, "Memory": 512, "NodeSpec": "vedb.mysql.x8.8xlarge", "PrePaidMaxStorage": 200000, "PrePaidMinStorage": 50, "SpecFamily": "Exclusive", "vCPU": 64 } ], "Total": 16 } }
更多详情,请参见错误码。