models.virtual_node_configuration module¶
-
class
models.virtual_node_configuration.
VirtualNodeConfiguration
(node_id=None, node_ip=None, use_as_compute_node=None)[source]¶ Bases:
object
Implementation of the ‘VirtualNodeConfiguration’ model.
Specifies the configuration for a node in the Cluster.
- Attributes:
node_id (long|int): Specifies the Node ID for this node. node_ip (string): Specifies the Node IP address for this node. use_as_compute_node (bool): Specifies whether to use the Node for
compute only.
-
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.