UpdateScheduleBasedHorizontalScalingPolicyDetails¶
-
class
oci.bds.models.
UpdateScheduleBasedHorizontalScalingPolicyDetails
(**kwargs)¶ Bases:
oci.bds.models.update_auto_scale_policy_details.UpdateAutoScalePolicyDetails
Update details of a schedule based horizontal autoscaling policy.
In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.
Methods
__init__
(**kwargs)Initializes a new UpdateScheduleBasedHorizontalScalingPolicyDetails 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. schedule_details
Gets the schedule_details of this UpdateScheduleBasedHorizontalScalingPolicyDetails. timezone
Gets the timezone of this UpdateScheduleBasedHorizontalScalingPolicyDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateScheduleBasedHorizontalScalingPolicyDetails object with values from keyword arguments. The default value of the
policy_type
attribute of this class isSCHEDULE_BASED_HORIZONTAL_SCALING_POLICY
and 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 UpdateScheduleBasedHorizontalScalingPolicyDetails.
- timezone (str) – The value to assign to the timezone property of this UpdateScheduleBasedHorizontalScalingPolicyDetails.
- schedule_details (list[oci.bds.models.HorizontalScalingScheduleDetails]) – The value to assign to the schedule_details property of this UpdateScheduleBasedHorizontalScalingPolicyDetails.
-
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
-
schedule_details
¶ Gets the schedule_details of this UpdateScheduleBasedHorizontalScalingPolicyDetails. Details of a horizontal scaling schedule.
Returns: The schedule_details of this UpdateScheduleBasedHorizontalScalingPolicyDetails. Return type: list[oci.bds.models.HorizontalScalingScheduleDetails]
-
timezone
¶ Gets the timezone of this UpdateScheduleBasedHorizontalScalingPolicyDetails. The time zone of the execution schedule, in IANA time zone database name format
Returns: The timezone of this UpdateScheduleBasedHorizontalScalingPolicyDetails. Return type: str
-