Class TargetCustomExpressionQueryScalingConfiguration
The scaling configuration for the custom expression query for the workload.
Inherited Members
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class TargetCustomExpressionQueryScalingConfiguration : TargetScalingConfiguration
Properties
MetricNamespace
Declaration
[JsonProperty(PropertyName = "metricNamespace")]
public string MetricNamespace { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Namespace to read the metrics from. Default value will be service metric namespace. |
Query
Declaration
[Required(ErrorMessage = "Query is required.")]
[JsonProperty(PropertyName = "query")]
public string Query { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Threshold
Declaration
[Required(ErrorMessage = "Threshold is required.")]
[JsonProperty(PropertyName = "threshold")]
public float? Threshold { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | A metric value at which the scaling operation will be triggered. |
Remarks
Required