调用 DescribeDBInstanceSpecs 接口查询可售卖的实例规格。
同步请求。
本接口的请求参数均无默认值。在不传入某个参数时,表示不对该参数进行过滤,按照其他参数限定的查询条件下进行查询。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
ZoneId | String | 否 | cn-beijing-a | 主可用区 ID,可调用 DescribeAvailabilityZones 接口查询可用区列表。 |
DBEngineVersion | String | 否 | PostgreSQL_12 | 兼容版本。取值:
|
SpecCode | String | 否 | rds.postgres.1c2g | 实例规格编码。 说明 关于节点规格的详细信息,请参见产品规格。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Total | Integer | 1 | 规格总数。 |
InstanceSpecs | Object[] | 请参见返回示例。 | 规格列表。 |
POST /?Action=DescribeDBInstanceSpecs&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: open.volcengineapi.com X-Date: 20231002T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{ "ResponseMetadata": { "RequestId": "20240919144723C5C7E0B625771723B354-b0d2da", "Action": "DescribeDBInstanceSpecs", "Version": "2022-01-01", "Service": "rds_postgresql", "Region": "cn-beijing" }, "Result": { "InstanceSpecs": [ { "Connection": 200, "Memory": 2, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.1c2g", "SpecStatus": "Normal", "VCPU": 1 }, { "Connection": 400, "Memory": 4, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.2c4g", "SpecStatus": "Normal", "VCPU": 2 }, { "Connection": 600, "Memory": 8, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.2c8g", "SpecStatus": "Normal", "VCPU": 2 }, { "Connection": 1600, "Memory": 16, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.2c16g", "SpecStatus": "Normal", "VCPU": 2 }, { "Connection": 800, "Memory": 8, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.4c8g", "SpecStatus": "Normal", "VCPU": 4 }, { "Connection": 1600, "Memory": 16, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.4c16g", "SpecStatus": "Normal", "VCPU": 4 }, { "Connection": 3200, "Memory": 32, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.4c32g", "SpecStatus": "Normal", "VCPU": 4 }, { "Connection": 1600, "Memory": 16, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.8c16g", "SpecStatus": "Normal", "VCPU": 8 }, { "Connection": 3200, "Memory": 32, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.8c32g", "SpecStatus": "Normal", "VCPU": 8 }, { "Connection": 6400, "Memory": 64, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.8c64g", "SpecStatus": "Normal", "VCPU": 8 }, { "Connection": 3200, "Memory": 32, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.16c32g", "SpecStatus": "Normal", "VCPU": 16 }, { "Connection": 6400, "Memory": 64, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.16c64g", "SpecStatus": "Normal", "VCPU": 16 }, { "Connection": 12800, "Memory": 128, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.16c128g", "SpecStatus": "Normal", "VCPU": 16 }, { "Connection": 12800, "Memory": 128, "RegionId": "cn-beijing", "SpecCode": "rds.postgres.32c128g", "SpecStatus": "Normal", "VCPU": 32 }, …… ], "Total": 15 } }