Show / Hide Table of Contents

Class Condition

A rule that defines a specific autoscaling action to take (scale in or scale out) and the metric that triggers that action.

Inheritance
object
Condition
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AutoscalingService.Models
Assembly: OCI.DotNetSDK.Autoscaling.dll
Syntax
public class Condition

Properties

Action

Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
public Action Action { get; set; }
Property Value
Type Description
Action
Remarks

Required

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Id

Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

ID of the condition that is assigned after creation.

Metric

Declaration
[Required(ErrorMessage = "Metric is required.")]
[JsonProperty(PropertyName = "metric")]
public Metric Metric { get; set; }
Property Value
Type Description
Metric
Remarks

Required

In this article
Back to top