AutoScalingConfigurationSummary¶
- class oci.autoscaling.models.AutoScalingConfigurationSummary(**kwargs)¶
Bases:
objectSummary information for an autoscaling configuration.
Methods:
__init__(**kwargs)Initializes a new AutoScalingConfigurationSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this AutoScalingConfigurationSummary.
Gets the cool_down_in_seconds of this AutoScalingConfigurationSummary.
Gets the defined_tags of this AutoScalingConfigurationSummary.
Gets the display_name of this AutoScalingConfigurationSummary.
Gets the freeform_tags of this AutoScalingConfigurationSummary.
[Required] Gets the id of this AutoScalingConfigurationSummary.
Gets the is_enabled of this AutoScalingConfigurationSummary.
[Required] Gets the resource of this AutoScalingConfigurationSummary.
[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.
- property 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
- property 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
- property 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))
- property 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
- property 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)
- property id¶
[Required] Gets the id of this AutoScalingConfigurationSummary. The OCID of the autoscaling configuration.
- Returns
The id of this AutoScalingConfigurationSummary.
- Return type
str
- property 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
- property resource¶
[Required] Gets the resource of this AutoScalingConfigurationSummary.
- Returns
The resource of this AutoScalingConfigurationSummary.
- Return type
- property 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