AutoScalingPolicySummary

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

Bases: object

Summary information for an autoscaling policy.

Methods

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

Attributes

display_name Gets the display_name of this AutoScalingPolicySummary.
id [Required] Gets the id of this AutoScalingPolicySummary.
is_enabled Gets the is_enabled of this AutoScalingPolicySummary.
policy_type [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.
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
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
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
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