Class EvaluatedMetric
One of the metrics that will be evaluated by profiles using this profile level.
Inherited Members
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class EvaluatedMetric
Properties
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the metric (e.g., |
Remarks
Required
Statistic
Declaration
[Required(ErrorMessage = "Statistic is required.")]
[JsonProperty(PropertyName = "statistic")]
public string Statistic { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the statistic (e.g., |
Remarks
Required
Target
Declaration
[JsonProperty(PropertyName = "target")]
public double Target { get; set; }
Property Value
Type | Description |
---|---|
double | Optional. The metric value that the recommendation will target. |
Threshold
Declaration
[Required(ErrorMessage = "Threshold is required.")]
[JsonProperty(PropertyName = "threshold")]
public double Threshold { get; set; }
Property Value
Type | Description |
---|---|
double | The threshold that must be crossed for the recommendation to appear. |
Remarks
Required