Show / Hide Table of Contents

Class AutoScalePolicyRule

A rule that defines a specific autoscale action to take and the metric that triggers that action.

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

Properties

Action

Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutoScalePolicyRule.ActionEnum? Action { get; set; }
Property Value
Type Description
AutoScalePolicyRule.ActionEnum?

The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.

Remarks

Required

Metric

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

Required

In this article
Back to top