troveclient.v1.clusters.
Cluster
(manager, info, loaded=False)¶Bases: troveclient.base.Resource
A Cluster is an opaque cluster used to store Database clusters.
delete
()¶Delete the cluster.
force_delete
()¶Force delete the cluster
troveclient.v1.clusters.
ClusterStatus
¶Bases: object
ACTIVE
= 'ACTIVE'¶BUILD
= 'BUILD'¶FAILED
= 'FAILED'¶SHUTDOWN
= 'SHUTDOWN'¶troveclient.v1.clusters.
Clusters
(api)¶Bases: troveclient.base.ManagerWithFind
Manage Cluster
resources.
add_shard
(cluster)¶Adds a shard to the specified cluster.
Parameters: | cluster – The cluster to add a shard to |
---|
create
(name, datastore, datastore_version, instances=None, locality=None, extended_properties=None, configuration=None)¶Create (boot) a new cluster.
delete
(cluster)¶Delete the specified cluster.
Parameters: | cluster – The cluster to delete |
---|
grow
(cluster, instances=None)¶Grow a cluster.
Parameters: |
|
---|
reset_status
(cluster)¶Reset the status of a cluster
Parameters: | cluster – The cluster to reset |
---|
shrink
(cluster, instances=None)¶Shrink a cluster.
Parameters: |
|
---|
upgrade
(cluster, datastore_version)¶Upgrades a cluster to a new datastore version.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.