Show / Hide Table of Contents

Class TargetCustomExpressionQueryScalingConfiguration

The scaling configuration for the custom expression query for the workload.

Inheritance
object
TargetScalingConfiguration
TargetCustomExpressionQueryScalingConfiguration
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top