Show / Hide Table of Contents

Class AutoScalePolicyMetricRule

Metric and threshold details for triggering an autoscale action.

Inheritance
object
AutoScalePolicyMetricRule
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 AutoScalePolicyMetricRule

Properties

MetricType

Declaration
[Required(ErrorMessage = "MetricType is required.")]
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutoScalePolicyMetricRule.MetricTypeEnum? MetricType { get; set; }
Property Value
Type Description
AutoScalePolicyMetricRule.MetricTypeEnum?

Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.

Remarks

Required

Threshold

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

Required

In this article
Back to top