models.supported_config module¶
-
class
models.supported_config.
SupportedConfig
(min_nodes_allowed=None, supported_erasure_coding=None)[source]¶ Bases:
object
Implementation of the ‘SupportedConfig’ model.
Lists the supported Erasure Coding options for the number of Nodes in the Cohesity Cluster. In addition, the minimum number of Nodes supported for this Cluster type is defined.
- Attributes:
- min_nodes_allowed (int): Specifies the minimum number of Nodes
supported for this Cluster type. For example, a Cohesity Cluster hosted directly on hardware must have at least 3 Nodes.
- supported_erasure_coding (list of string): Array of Supported Erasure
Coding Options. List the supported Erasure Coding options for the current number of Nodes (nodeCount) in this Cluster. Each string in the array is in the following format: “NumDataStripes:NumCodedStripes” For example if there are 3 nodes in the Cluster, the following Erasure Coding mode is returned: 2:1. See the Cohesity Dashboard help documentation for details.
-
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.