UpdateMetricBasedHorizontalScalingPolicyDetails¶
- 
class oci.bds.models.UpdateMetricBasedHorizontalScalingPolicyDetails(**kwargs)¶
- Bases: - oci.bds.models.update_auto_scale_policy_details.UpdateAutoScalePolicyDetails- Update details of a metric based horizontal autoscaling policy. - In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold. - Methods - __init__(**kwargs)- Initializes a new UpdateMetricBasedHorizontalScalingPolicyDetails object with values from keyword arguments. - get_subtype(object_dictionary)- Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. - Attributes - policy_type- [Required] Gets the policy_type of this UpdateAutoScalePolicyDetails. - scale_in_config- Gets the scale_in_config of this UpdateMetricBasedHorizontalScalingPolicyDetails. - scale_out_config- Gets the scale_out_config of this UpdateMetricBasedHorizontalScalingPolicyDetails. - 
__init__(**kwargs)¶
- Initializes a new UpdateMetricBasedHorizontalScalingPolicyDetails object with values from keyword arguments. The default value of the - policy_typeattribute of this class is- METRIC_BASED_HORIZONTAL_SCALING_POLICYand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters: - policy_type (str) – The value to assign to the policy_type property of this UpdateMetricBasedHorizontalScalingPolicyDetails.
- scale_out_config (oci.bds.models.MetricBasedHorizontalScaleOutConfig) – The value to assign to the scale_out_config property of this UpdateMetricBasedHorizontalScalingPolicyDetails.
- scale_in_config (oci.bds.models.MetricBasedHorizontalScaleInConfig) – The value to assign to the scale_in_config property of this UpdateMetricBasedHorizontalScalingPolicyDetails.
 
 - 
static get_subtype(object_dictionary)¶
- Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. 
 - 
policy_type¶
- [Required] Gets the policy_type of this UpdateAutoScalePolicyDetails. Type of autoscaling policy. - Returns: - The policy_type of this UpdateAutoScalePolicyDetails. - Return type: - str 
 - 
scale_in_config¶
- Gets the scale_in_config of this UpdateMetricBasedHorizontalScalingPolicyDetails. - Returns: - The scale_in_config of this UpdateMetricBasedHorizontalScalingPolicyDetails. - Return type: - oci.bds.models.MetricBasedHorizontalScaleInConfig 
 - 
scale_out_config¶
- Gets the scale_out_config of this UpdateMetricBasedHorizontalScalingPolicyDetails. - Returns: - The scale_out_config of this UpdateMetricBasedHorizontalScalingPolicyDetails. - Return type: - oci.bds.models.MetricBasedHorizontalScaleOutConfig 
 
-