- Documentation
RDS for PostgreSQL
API reference
V2(2022-01-01)
Managing instances
DescribeDBInstancePriceDifference
Managing instances
DescribeDBInstancePriceDifference
DescribeDBInstancePriceDifference
Call the DescribeDBInstancePriceDifference API to query instance price difference.
Request type
Synchronous request.
Debug
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
Response parameters
Example
Sample request 1 Query price difference for regular modification of specification on instance
POST /?Action=DescribeDBInstancePriceDifference&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host: rds-postgresql.cn-beijing.volcengineapi.com
X-Date: 20231002T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
"InstanceId": "postgres-5aeb3f0b****",
"NodeSpec": "rds.postgres.1c2g",
"NodeSpec": "rds.postgres.1c2g",
"StorageType": "LocalSSD",
Sample response 1
"RequestId": "202306192156254A900086CBECA123D60F",
"Action": "DescribeDBInstancePriceDifference",
"Version": "2022-01-01",
"Service": "rds_postgresql",
"ChargeItemKey": "rds.pg.d1.1c2g",
"ChargeItemType": "Primary",
"DiscountPrice": 120.345,
"OriginalPrice": 120.345,
"ChargeItemKey": "rds.pg.d1.1c2g",
"ChargeItemType": "Secondary",
"DiscountPrice": 120.345,
"OriginalPrice": 120.345,
"ChargeItemKey": "rds.pg.d1.localssd",
"ChargeItemType": "Storage",
"DiscountPrice": 0.05368034,
"NodeNumPerInstance": 2,
"PayablePrice": 0.05368034
Sample request 2 Query price difference for temporary upgrade of an instance (upgrade node specification)
POST /?Action=DescribeDBInstancePriceDifference&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host: rds-postgresql.cn-beijing.volcengineapi.com
X-Date: 20231002T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
"InstanceId": "postgres-3461581d****",
"NodeId": "postgres-3461581d****",
"NodeSpec": "rds.postgres.2c4g",
"NodeId": "postgres-3461581d****-wjrh",
"NodeSpec": "rds.postgres.2c4g",
"NodeId": "postgres-3461581d****-ro6bf6",
"NodeSpec": "rds.postgres.2c4g",
"StorageType": "LocalSSD",
"ModifyType": "Temporary",
"RollbackTime": "2023-12-16T03:49:10.000Z"
Sample response 2
"RequestId": "202306192156254A900086CBECA123D60F",
"Action": "DescribeDBInstancePriceDifference",
"Version": "2022-01-01",
"Service": "rds_postgresql",
"ChargeItemKey": "rds.pg.d1.1c2g",
"ChargeItemType": "Primary",
"DiscountPrice": 120.345,
"OriginalPrice": 120.345,
"ChargeItemKey": "rds.pg.d1.1c2g",
"ChargeItemType": "Secondary",
"DiscountPrice": 120.345,
"OriginalPrice": 120.345,
"ChargeItemKey": "rds.pg.d1.localssd",
"ChargeItemType": "Storage",
"DiscountPrice": 0.05368034,
"NodeNumPerInstance": 2,
"PayablePrice": 0.05368034
Last updated: 2026.03.31 10:45:18