models_v2.create_cluster_response module

class models_v2.create_cluster_response.CreateClusterResponse(id=None, name=None, mtype=None, sw_version=None, network_config=None, enable_encryption=None, healthy_nodes=None, unhealthy_nodes=None)[source]

Bases: object

Implementation of the ‘Create Cluster Response.’ model.

Specifies the cluster details.

Attributes:

id (long|int): Specifies the cluster id of the new cluster. name (string): Name of the new cluster. mtype (Type6Enum): Specifies the type of the new cluster. sw_version (string): Software version of the new cluster. network_config (ClusterNetworkConfig): Specifies all of the parameters

needed for network configuration of the new Cluster.

enable_encryption (bool): Specifies whether or not encryption is

enabled. If encryption is enabled, all data on the Cluster will be encrypted.

healthy_nodes (list of NodeSpecificResponse): List of healthy nodes in

cluster.

unhealthy_nodes (list of NodeSpecificResponse): List of unhealthy

nodes in cluster.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.