AutoScalingPolicySummary¶
- class oci.autoscaling.models.AutoScalingPolicySummary(**kwargs)¶
Bases:
objectSummary information for an autoscaling policy.
Methods:
__init__(**kwargs)Initializes a new AutoScalingPolicySummary object with values from keyword arguments.
Attributes:
Gets the display_name of this AutoScalingPolicySummary.
[Required] Gets the id of this AutoScalingPolicySummary.
Gets the is_enabled of this AutoScalingPolicySummary.
[Required] Gets the policy_type of this AutoScalingPolicySummary.
- __init__(**kwargs)¶
Initializes a new AutoScalingPolicySummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this AutoScalingPolicySummary.
display_name (str) – The value to assign to the display_name property of this AutoScalingPolicySummary.
policy_type (str) – The value to assign to the policy_type property of this AutoScalingPolicySummary.
is_enabled (bool) – The value to assign to the is_enabled property of this AutoScalingPolicySummary.
- property display_name¶
Gets the display_name of this AutoScalingPolicySummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this AutoScalingPolicySummary.
- Return type
str
- property id¶
[Required] Gets the id of this AutoScalingPolicySummary. The ID of the autoscaling policy that is assigned after creation.
- Returns
The id of this AutoScalingPolicySummary.
- Return type
str
- property is_enabled¶
Gets the is_enabled of this AutoScalingPolicySummary. Whether the autoscaling policy is enabled.
- Returns
The is_enabled of this AutoScalingPolicySummary.
- Return type
bool
- property policy_type¶
[Required] Gets the policy_type of this AutoScalingPolicySummary. The type of autoscaling policy.
- Returns
The policy_type of this AutoScalingPolicySummary.
- Return type
str