otcextensions.sdk.css.v1.cluster¶
The CSS Cluster Class¶
The Cluster
class inherits from
Resource
.
-
class
otcextensions.sdk.css.v1.cluster.
Cluster
(_synchronized=False, connection=None, **attrs)¶ The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
-
actions
¶ Current actions
-
action_progress
¶ Operation progress
-
admin_password
¶ Password of the cluster user admin in security mode. This parameter is mandatory only when authorityEnable is set to true.
-
backup_strategy
¶ Automatic snapshot creation.
-
bandwidth_size
¶ Bandwidth of Public IP
-
cmk_id
¶ KMS Key ID.
-
created_at
¶ Cluster creation time
-
datastore
¶ Type of the data search engine
-
disk_encryption
¶ Disk Encryption Object. (For request body only)
-
elb_whitelist
¶ Elb Whitelist Details
-
endpoint
¶ Indicates the IP address and port number of the user used to access the VPC.
-
error
¶ Error object
-
floating_ip
¶ Public IP address.
-
instance
¶ Cluster Node (request Body)
-
instance_num
¶ Number of cluster Nodes. The value range is 1 to 32. (request Body)
Whether authentication is enabled. When authentication is enabled, httpsEnable must be set to true.
-
is_billed
¶ Whether the cluster is billed.
-
is_backup_enabled
¶ Whether backup is enabled.
-
is_disk_encrypted
¶ Whether Disk is Encrypted
-
is_https_enabled
¶ Communication encryption status.
-
job_id
¶ ID of the restart task.
-
network_id
¶ Network ID.
-
nodes
¶ Cluster nodes. List of node objects.
-
public_kibana_resp
¶ Public Kibana Response.
-
router_id
¶ Router ID.
-
security_group_id
¶ Security group ID (read only)
-
status_code
¶ Return value. 100: The operation, such as instance creation, is in progress. 200: The cluster is available. 303: The cluster is unavailable.
-
status
¶ Cluster Status.
Array of tags
-
updated_at
¶ Cluster update time
-
num_nodes
¶ Number of Nodes.
-
restart
(session)¶ Restart the cluster.
-
extend
(session, add_nodes)¶ Scaling Out a Cluster with only Common Nodes.