Share via


IPrometheusRule.Expression Property

Definition

The PromQL expression to evaluate. https://prometheus.io/docs/prometheus/latest/querying/basics/. Evaluated periodically as given by 'interval', and the result recorded as a new set of time series with the metric name as given by 'record'.

[Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Runtime.Info(Description="The PromQL expression to evaluate. https://prometheus.io/docs/prometheus/latest/querying/basics/. Evaluated periodically as given by 'interval', and the result recorded as a new set of time series with the metric name as given by 'record'.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=true, SerializedName="expression")]
public string Expression { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Runtime.Info(Description="The PromQL expression to evaluate. https://prometheus.io/docs/prometheus/latest/querying/basics/. Evaluated periodically as given by 'interval', and the result recorded as a new set of time series with the metric name as given by 'record'.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=true, SerializedName="expression")>]
member this.Expression : string with get, set
Public Property Expression As String

Property Value

Attributes

Applies to