models.create_virtual_cluster_parameters module¶
-
class
models.create_virtual_cluster_parameters.
CreateVirtualClusterParameters
(cluster_name=None, network_config=None, node_configs=None, encryption_config=None, metadata_fault_tolerance=None, ip_preference=None)[source]¶ Bases:
object
Implementation of the ‘CreateVirtualClusterParameters’ model.
Specifies the parameters needed for creation of a new Cluster.
- Attributes:
cluster_name (string): Specifies the name of the new Cluster. encryption_config (EncryptionConfiguration): Specifies the parameters
the user wants to use when configuring encryption for the new Cluster.
ip_preference (int): Specifies IP preference. metadata_fault_tolerance (int): Specifies the metadata fault
tolerance.
- network_config (NetworkConfiguration): Specifies all of the parameters
needed for network configuration of the new Cluster.
- node_configs (list of VirtualNodeConfiguration): Specifies the
configuration for the nodes in the new 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.