Class AutoScalePolicyMetricRule
Metric and threshold details for triggering an autoscale action.
Inherited Members
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