RDS for PostgreSQL
Parameter | Type | Required? | Example | Description |
Parameter | Type | Required? | Example | Description |
NodeInfo | Yes | Refer to the request example. | Instance specification configuration. There is exactly one primary node and one secondary node, with 0 to 10 optional read-only nodes. | |
StorageType | String | Yes | LocalSSD | Instance storage type. Fixed value LocalSSD (local SSD disk). |
StorageSpace | Integer | Yes | 100 | Instance storage space tip Different specifications have different storage space value ranges. For detailed information on storage space value ranges, refer to Product specifications. Unit in GB, step size of 10 GB. |
ChargeInfo | Yes | { "ChargeType": "PostPaid" } | Payment method. |
Parameter | Type | Is it required? | Example | Description |
Parameter | Type | Is it required? | Example | Description |
NodeId | String | No | postgres-ca7b7019**** | tip Required when modifying node specification and deleting nodes (ModifyDBInstancesSpec). |
ZoneId | String | Yes | cn-beijing-a | The availability zone where the node is located. You can call the DescribeAvailabilityZones API to query it. tip
|
NodeType | String | Yes | Primary | Node type, with values:
|
NodeSpec | String | Yes | rds.postgres.1c2g | |
NodeOperateType | String | No | Create | Operation type. Range:
tip
|
Parameter | Type | Required? | Example | Description |
Parameter | Type | Required? | Example | Description |
ChargeType | String | Yes | PostPaid | Payment type. Values:
|
AutoRenew | Boolean | No | true | Is automatic renewal enabled for the prepaid scenario?
|
PeriodUnit | String | No | Month | Purchase period for prepaid scenarios.
|
Period | Integer | No | 1 | Subscription duration in a prepaid scenario. default value: 1. |
Number | Integer | No | 1 | Instance purchase quantity. Acceptable integer values range from 1 to 20, with a default of 1. tip When ChargeInfoObject is referenced by the RestoreToNewInstance API, Number can only be set to 1. |
Parameter | Type | Example | Description |
Parameter | Type | Example | Description |
ChargeItemPrices | Refer to the sample response. | Cost details. | |
Currency | String | RMB | Currency unit. |
DiscountPrice | Double | 1.125 | Instance discount price. |
InstanceQuantity | Integer | 3 | Number of instances. |
OriginalPrice | Double | 1.125 | Original instance price. |
PayablePrice | Double | 1.125 | Instance payable price. |
Parameter | Type | Example | Description |
Parameter | Type | Example | Description |
ChargeItemType | String | Primary | Billing item name, with values:
|
ChargeItemKey | String | rds.pg.d1.1c2g |
|
ChargeItemValue | Integer | 100 |
|
NodeNumPerInstance | Integer | 3 | Number of nodes per instance. |
OriginalPrice | Double | 300 | Original price. |
DiscountPrice | Double | 200 | Discount price. |
PayablePrice | Double | 100 | Payable price. |