你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IPrometheusRule.Expression Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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