MetricBasedHorizontalScaleInConfig

class oci.bds.models.MetricBasedHorizontalScaleInConfig(**kwargs)

Bases: object

Configration for a metric based horizontal scale-in policy.

Methods

__init__(**kwargs) Initializes a new MetricBasedHorizontalScaleInConfig object with values from keyword arguments.

Attributes

metric Gets the metric of this MetricBasedHorizontalScaleInConfig.
min_node_count Gets the min_node_count of this MetricBasedHorizontalScaleInConfig.
step_size Gets the step_size of this MetricBasedHorizontalScaleInConfig.
__init__(**kwargs)

Initializes a new MetricBasedHorizontalScaleInConfig 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 MetricBasedHorizontalScaleInConfig.
  • min_node_count (int) – The value to assign to the min_node_count property of this MetricBasedHorizontalScaleInConfig.
  • step_size (int) – The value to assign to the step_size property of this MetricBasedHorizontalScaleInConfig.
metric

Gets the metric of this MetricBasedHorizontalScaleInConfig.

Returns:The metric of this MetricBasedHorizontalScaleInConfig.
Return type:oci.bds.models.AutoScalePolicyMetricRule
min_node_count

Gets the min_node_count of this MetricBasedHorizontalScaleInConfig. This value is the minimum number of nodes the cluster can be scaled-in to.

Returns:The min_node_count of this MetricBasedHorizontalScaleInConfig.
Return type:int
step_size

Gets the step_size of this MetricBasedHorizontalScaleInConfig. This value is the number of nodes to remove during a scale-in event.

Returns:The step_size of this MetricBasedHorizontalScaleInConfig.
Return type:int