Class Metric
Metric and threshold details for triggering an autoscaling action.
Inherited Members
Namespace: Oci.AutoscalingService.Models
Assembly: OCI.DotNetSDK.Autoscaling.dll
Syntax
public class Metric
Properties
MetricType
Declaration
[Required(ErrorMessage = "MetricType is required.")]
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Metric.MetricTypeEnum? MetricType { get; set; }
Property Value
Type | Description |
---|---|
Metric.MetricTypeEnum? |
Remarks
Required
Threshold
Declaration
[Required(ErrorMessage = "Threshold is required.")]
[JsonProperty(PropertyName = "threshold")]
public Threshold Threshold { get; set; }
Property Value
Type | Description |
---|---|
Threshold |
Remarks
Required