The Cluster
class inherits from Resource
.
openstack.clustering.v1.cluster.
Cluster
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
name
¶The name of the cluster.
profile_id
¶The ID of the profile used by this cluster.
user_id
¶The ID of the user who created this cluster, thus the owner of it.
project_id
¶The ID of the project this cluster belongs to.
domain_id
¶The domain ID of the cluster owner.
init_at
¶Timestamp of when the cluster was initialized. Type: datetime object parsed from ISO 8601 formatted string
created_at
¶Timestamp of when the cluster was created. Type: datetime object parsed from ISO 8601 formatted string
updated_at
¶Timestamp of when the cluster was last updated. Type: datetime object parsed from ISO 8601 formatted string
min_size
¶Lower bound (inclusive) for the size of the cluster.
max_size
¶Upper bound (inclusive) for the size of the cluster. A value of -1 indicates that there is no upper limit of cluster size.
desired_capacity
¶Desired capacity for the cluster. A cluster would be created at the scale specified by this value.
timeout
¶Default timeout (in seconds) for cluster operations.
status
¶A string representation of the cluster status.
status_reason
¶A string describing the reason why the cluster in current status.
config
¶A dictionary configuration for cluster.
metadata
¶A collection of key-value pairs that are attached to the cluster.
data
¶A dictionary with some runtime data associated with the cluster.
node_ids
¶A list IDs of nodes that are members of the cluster.
profile_name
¶Name of the profile used by the cluster.
is_profile_only
¶Specify whether the cluster update should only pertain to the profile.
dependents
¶A dictionary with dependency information of the cluster
op
(session, operation, **params)¶Perform an operation on the cluster.
Parameters: |
|
---|---|
Returns: | A dictionary containing the action ID. |
force_delete
(session)¶Force delete a cluster.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.