models.create_cluster_result module¶
- 
class 
models.create_cluster_result.CreateClusterResult(cluster_id=None, cluster_name=None, cluster_sw_version=None, healthy_nodes=None, incarnation_id=None, message=None, unhealthy_nodes=None)[source]¶ Bases:
objectImplementation of the ‘CreateClusterResult’ model.
Specifies the immediate result of a Cluster creation request. Contains validation results for each node. If the request is valid, it also indicates that the individual node bringup operation is started in the background.
- Attributes:
 cluster_id (long|int): Specifies the ID of the new Cluster. cluster_name (string): Specifies the name of the new Cluster. cluster_sw_version (string): Specifies the software version of the new
Cluster.
- healthy_nodes (list of NodeStatus): Specifies the status of the Nodes
 in the Cluster. All Nodes that are accepted to the Cluster are appended to this list.
- incarnation_id (long|int): Specifies the Incarnation ID of the new
 Cluster.
message (string): Specifies an optional message field. unhealthy_nodes (list of NodeStatus): Specifies the status of the
Nodes in the Cluster. All Nodes that are not accepted to the Cluster are appended to this list.
- 
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.