ResizeOpensearchClusterHorizontalDetails¶
-
class
oci.opensearch.models.
ResizeOpensearchClusterHorizontalDetails
(**kwargs)¶ Bases:
object
The node count configuration to update on an existing OpenSearch cluster for horizontal resizing.
Methods
__init__
(**kwargs)Initializes a new ResizeOpensearchClusterHorizontalDetails object with values from keyword arguments. Attributes
data_node_count
Gets the data_node_count of this ResizeOpensearchClusterHorizontalDetails. defined_tags
Gets the defined_tags of this ResizeOpensearchClusterHorizontalDetails. freeform_tags
Gets the freeform_tags of this ResizeOpensearchClusterHorizontalDetails. master_node_count
Gets the master_node_count of this ResizeOpensearchClusterHorizontalDetails. opendashboard_node_count
Gets the opendashboard_node_count of this ResizeOpensearchClusterHorizontalDetails. -
__init__
(**kwargs)¶ Initializes a new ResizeOpensearchClusterHorizontalDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - master_node_count (int) – The value to assign to the master_node_count property of this ResizeOpensearchClusterHorizontalDetails.
- data_node_count (int) – The value to assign to the data_node_count property of this ResizeOpensearchClusterHorizontalDetails.
- opendashboard_node_count (int) – The value to assign to the opendashboard_node_count property of this ResizeOpensearchClusterHorizontalDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ResizeOpensearchClusterHorizontalDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ResizeOpensearchClusterHorizontalDetails.
-
data_node_count
¶ Gets the data_node_count of this ResizeOpensearchClusterHorizontalDetails. The number of data nodes to configure for the cluster.
Returns: The data_node_count of this ResizeOpensearchClusterHorizontalDetails. Return type: int
Gets the defined_tags of this ResizeOpensearchClusterHorizontalDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this ResizeOpensearchClusterHorizontalDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this ResizeOpensearchClusterHorizontalDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this ResizeOpensearchClusterHorizontalDetails. Return type: dict(str, str)
-
master_node_count
¶ Gets the master_node_count of this ResizeOpensearchClusterHorizontalDetails. The number of master nodes to configure for the cluster.
Returns: The master_node_count of this ResizeOpensearchClusterHorizontalDetails. Return type: int
-
opendashboard_node_count
¶ Gets the opendashboard_node_count of this ResizeOpensearchClusterHorizontalDetails. The number of OpenSearch Dashboard nodes to configure for the cluster.
Returns: The opendashboard_node_count of this ResizeOpensearchClusterHorizontalDetails. Return type: int
-