UpdateAutoScalingPolicyDetails

class oci.autoscaling.models.UpdateAutoScalingPolicyDetails(**kwargs)

Bases: object

UpdateAutoScalingPolicyDetails model.

__init__(**kwargs)

Initializes a new UpdateAutoScalingPolicyDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) -- The value to assign to the display_name property of this UpdateAutoScalingPolicyDetails.
  • capacity (Capacity) -- The value to assign to the capacity property of this UpdateAutoScalingPolicyDetails.
  • policy_type (str) -- The value to assign to the policy_type property of this UpdateAutoScalingPolicyDetails.
capacity

Gets the capacity of this UpdateAutoScalingPolicyDetails. The capacity requirements of the autoscaling policy.

Returns:The capacity of this UpdateAutoScalingPolicyDetails.
Return type:Capacity
display_name

Gets the display_name of this UpdateAutoScalingPolicyDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Returns:The display_name of this UpdateAutoScalingPolicyDetails.
Return type:str
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 UpdateAutoScalingPolicyDetails. Indicates the type of autoscaling policy.

Returns:The policy_type of this UpdateAutoScalingPolicyDetails.
Return type:str