UpdateConditionDetails

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

Bases: object

Update details for a condition in a threshold-based autoscaling policy.

Methods

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

Attributes

action [Required] Gets the action of this UpdateConditionDetails.
display_name Gets the display_name of this UpdateConditionDetails.
metric [Required] Gets the metric of this UpdateConditionDetails.
__init__(**kwargs)

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

Parameters:
  • action (oci.autoscaling.models.Action) – The value to assign to the action property of this UpdateConditionDetails.
  • display_name (str) – The value to assign to the display_name property of this UpdateConditionDetails.
  • metric (oci.autoscaling.models.Metric) – The value to assign to the metric property of this UpdateConditionDetails.
action

[Required] Gets the action of this UpdateConditionDetails.

Returns:The action of this UpdateConditionDetails.
Return type:oci.autoscaling.models.Action
display_name

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

Returns:The display_name of this UpdateConditionDetails.
Return type:str
metric

[Required] Gets the metric of this UpdateConditionDetails.

Returns:The metric of this UpdateConditionDetails.
Return type:oci.autoscaling.models.Metric