CreateConditionDetails

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

Bases: object

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

__init__(**kwargs)

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

Parameters:
  • action (Action) -- The value to assign to the action property of this CreateConditionDetails.
  • display_name (str) -- The value to assign to the display_name property of this CreateConditionDetails.
  • metric (Metric) -- The value to assign to the metric property of this CreateConditionDetails.
action

[Required] Gets the action of this CreateConditionDetails.

Returns:The action of this CreateConditionDetails.
Return type:Action
display_name

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

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

[Required] Gets the metric of this CreateConditionDetails.

Returns:The metric of this CreateConditionDetails.
Return type:Metric