AutoScalingConfigurationSummary

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

Bases: object

Summary information for an autoscaling configuration.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this AutoScalingConfigurationSummary.
cool_down_in_seconds Gets the cool_down_in_seconds of this AutoScalingConfigurationSummary.
defined_tags Gets the defined_tags of this AutoScalingConfigurationSummary.
display_name Gets the display_name of this AutoScalingConfigurationSummary.
freeform_tags Gets the freeform_tags of this AutoScalingConfigurationSummary.
id [Required] Gets the id of this AutoScalingConfigurationSummary.
is_enabled Gets the is_enabled of this AutoScalingConfigurationSummary.
resource [Required] Gets the resource of this AutoScalingConfigurationSummary.
time_created [Required] Gets the time_created of this AutoScalingConfigurationSummary.
__init__(**kwargs)

Initializes a new AutoScalingConfigurationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this AutoScalingConfigurationSummary.
  • display_name (str) – The value to assign to the display_name property of this AutoScalingConfigurationSummary.
  • id (str) – The value to assign to the id property of this AutoScalingConfigurationSummary.
  • cool_down_in_seconds (int) – The value to assign to the cool_down_in_seconds property of this AutoScalingConfigurationSummary.
  • is_enabled (bool) – The value to assign to the is_enabled property of this AutoScalingConfigurationSummary.
  • resource (oci.autoscaling.models.Resource) – The value to assign to the resource property of this AutoScalingConfigurationSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutoScalingConfigurationSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutoScalingConfigurationSummary.
  • time_created (datetime) – The value to assign to the time_created property of this AutoScalingConfigurationSummary.
compartment_id

[Required] Gets the compartment_id of this AutoScalingConfigurationSummary. The OCID of the compartment containing the autoscaling configuration.

Returns:The compartment_id of this AutoScalingConfigurationSummary.
Return type:str
cool_down_in_seconds

Gets the cool_down_in_seconds of this AutoScalingConfigurationSummary. For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.

For schedule-based autoscaling policies, this value is not used.

Returns:The cool_down_in_seconds of this AutoScalingConfigurationSummary.
Return type:int
defined_tags

Gets the defined_tags of this AutoScalingConfigurationSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this AutoScalingConfigurationSummary.
Return type:dict(str, dict(str, object))
display_name

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

Returns:The display_name of this AutoScalingConfigurationSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this AutoScalingConfigurationSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this AutoScalingConfigurationSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this AutoScalingConfigurationSummary. The OCID of the autoscaling configuration.

Returns:The id of this AutoScalingConfigurationSummary.
Return type:str
is_enabled

Gets the is_enabled of this AutoScalingConfigurationSummary. Whether the autoscaling configuration is enabled.

Returns:The is_enabled of this AutoScalingConfigurationSummary.
Return type:bool
resource

[Required] Gets the resource of this AutoScalingConfigurationSummary.

Returns:The resource of this AutoScalingConfigurationSummary.
Return type:oci.autoscaling.models.Resource
time_created

[Required] Gets the time_created of this AutoScalingConfigurationSummary. The date and time the autoscaling configuration was created, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this AutoScalingConfigurationSummary.
Return type:datetime