Get Instances Instance
data class GetInstancesInstance(val availabilityZone: String, val chargeType: String, val creationTime: String, val engine: String, val engineVersion: String, val expirationTime: String, val id: String, val instanceClass: String, val instanceType: String, val lockMode: String, val mongos: List<GetInstancesInstanceMongo>, val name: String, val networkType: String, val regionId: String, val replication: String, val shards: List<GetInstancesInstanceShard>, val status: String, val storage: Int, val tags: Map<String, String>)
Constructors
Link copied to clipboard
constructor(availabilityZone: String, chargeType: String, creationTime: String, engine: String, engineVersion: String, expirationTime: String, id: String, instanceClass: String, instanceType: String, lockMode: String, mongos: List<GetInstancesInstanceMongo>, name: String, networkType: String, regionId: String, replication: String, shards: List<GetInstancesInstanceShard>, status: String, storage: Int, tags: Map<String, String>)
Properties
Link copied to clipboard
Instance availability zone.
Link copied to clipboard
Billing method. Value options are PostPaid
for Pay-As-You-Go and PrePaid
for yearly or monthly subscription.
Link copied to clipboard
Creation time of the instance in RFC3339 format.
Link copied to clipboard
Database engine version.
Link copied to clipboard
Expiration time in RFC3339 format. Pay-As-You-Go instances are never expire.
Link copied to clipboard
Sizing of the instance to be queried.
Link copied to clipboard
Type of the instance to be queried. If it is set to sharding
, the sharded cluster instances are listed. If it is set to replicate
, replica set instances are listed. Default value replicate
.
Link copied to clipboard
Array composed of Mongos.
Link copied to clipboard
Classic network or VPC.
Link copied to clipboard
Replication factor corresponds to number of nodes. Optional values are 1
for single node and 3
for three nodes replica set.
Link copied to clipboard
Array composed of shards.