This topic describes the detailed parameters of the DBInstances parameter that is used in the DescribePrice operation. You can call the DescribePrice operation to query the fees incurred when you create, upgrade, or renew an ApsaraDB for MongoDB instance.
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | String | No | The ID of the instance. You can call the DescribeDBInstances operation to query the list of one or more ApsaraDB for MongoDB instances. This parameter is required when the OrderType parameter is set to UPGRADE or RENEW. | dds-bp1xxxxxxxxxxxxx |
RegionId | String | Yes | The region ID of the instance. You can call the DescribeRegions operation to query available regions. | cn-hangzhou |
ZoneId | String | Yes | The zone ID of the instance. You can call the DescribeRegions operation to query available zones. | cn-hangzhou-h |
Engine | String | Yes | The database engine that the instance runs. Set the value to MongoDB. | MongoDB |
EngineVersion | String | Yes | The version of the database engine. Valid values:
|
4.2 |
DBInstanceClass | String | No | The instance type. For more information, see Instance types. | dds.mongo.mid |
DBInstanceStorage | String | Yes | The storage capacity of the instance. Unit: GB. | 20 |
ReplicationFactor | String | No | The number of nodes in the instance. Valid values:
|
3 |
NetworkType | String | No | The network type of the instance. Valid values:
Default value: Classic. |
VPC |
VPCId | String | No | The ID of the VPC. This parameter is required when the NetworkType parameter is set to VPC. | vpc-bp1xxxxxxxxxxxxxx |
VSwitchId | String | No | The ID of the vSwitch. This parameter is required when the NetworkType parameter is set to VPC. | vsw-bp1xxxxxxxxxxxxxx |
ChargeType | String | No | The billing method of the instance. Valid values:
|
PostPaid |
AutoPay | String | No | Specifies whether to enable auto-renewal for the instance. Valid values:
|
True |
Period | String | No | The subscription period of the instance. Unit: months. This parameter is required when the ChargeType parameter is set to PrePaid. | 1 |
configServers | JSON | No | The specifications of the Configserver nodes in a sharded cluster instance. Subparameters:
[{"nodeClass":"dds.cs.mid","nodeStorage":"20"}] .
|
[{"nodeClass":"dds.cs.mid","nodeStorage":"20"}] |
mongos | JSON | No | The specifications of the mongos nodes in a sharded cluster instance. For more information,
see Instance types. Subparameter:
|
[{"nodeClass":"dds.mongos.mid"},{"nodeClass":"dds.mongos.mid"}] |
shards | JSON | No | The specifications of the shard nodes in a sharded cluster instance. For more information,
see Instance types. Subparameters:
|
[{"nodeClass":"dds.shard.mid","ReadonlyReplicas":"1","nodeStorage":"10"},{"nodeClass":"dds.shard.mid","ReadonlyReplicas":"1","nodeStorage":"10"}] |