MetricBasedHorizontalScaleOutConfig¶
-
class
oci.bds.models.
MetricBasedHorizontalScaleOutConfig
(**kwargs)¶ Bases:
object
Configration for a metric based horizontal scale-out policy.
Methods
__init__
(**kwargs)Initializes a new MetricBasedHorizontalScaleOutConfig object with values from keyword arguments. Attributes
max_node_count
Gets the max_node_count of this MetricBasedHorizontalScaleOutConfig. metric
Gets the metric of this MetricBasedHorizontalScaleOutConfig. step_size
Gets the step_size of this MetricBasedHorizontalScaleOutConfig. -
__init__
(**kwargs)¶ Initializes a new MetricBasedHorizontalScaleOutConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - metric (oci.bds.models.AutoScalePolicyMetricRule) – The value to assign to the metric property of this MetricBasedHorizontalScaleOutConfig.
- max_node_count (int) – The value to assign to the max_node_count property of this MetricBasedHorizontalScaleOutConfig.
- step_size (int) – The value to assign to the step_size property of this MetricBasedHorizontalScaleOutConfig.
-
max_node_count
¶ Gets the max_node_count of this MetricBasedHorizontalScaleOutConfig. This value is the maximum number of nodes the cluster can be scaled-out to.
Returns: The max_node_count of this MetricBasedHorizontalScaleOutConfig. Return type: int
-
metric
¶ Gets the metric of this MetricBasedHorizontalScaleOutConfig.
Returns: The metric of this MetricBasedHorizontalScaleOutConfig. Return type: oci.bds.models.AutoScalePolicyMetricRule
-
step_size
¶ Gets the step_size of this MetricBasedHorizontalScaleOutConfig. This value is the number of nodes to add during a scale-out event.
Returns: The step_size of this MetricBasedHorizontalScaleOutConfig. Return type: int
-