Show / Hide Table of Contents

    Class MultiMetricCriteria

    The types of conditions for a multi resource alert.

    Inheritance
    Object
    MultiMetricCriteria
    DynamicMetricCriteria
    MetricCriteria
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Monitor.dll
    Syntax
    public class MultiMetricCriteria

    Constructors

    MultiMetricCriteria()

    Initializes a new instance of the MultiMetricCriteria class.

    Declaration
    public MultiMetricCriteria ();

    MultiMetricCriteria(String, String, Object, IDictionary<String,Object>, String, IList<MetricDimension>)

    Initializes a new instance of the MultiMetricCriteria class.

    Declaration
    public MultiMetricCriteria (string name, string metricName, object timeAggregation, System.Collections.Generic.IDictionary<string,object> additionalProperties = null, string metricNamespace = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.MetricDimension> dimensions = null);
    Parameters
    String name

    Name of the criteria.

    String metricName

    Name of the metric.

    Object timeAggregation

    the criteria time aggregation types.

    IDictionary<String,Object> additionalProperties

    Unmatched properties from the message are deserialized this collection

    String metricNamespace

    Namespace of the metric.

    IList<MetricDimension> dimensions

    List of dimension conditions.

    Properties

    AdditionalProperties

    Gets or sets unmatched properties from the message are deserialized this collection

    Declaration
    [Newtonsoft.Json.JsonExtensionData]
    public System.Collections.Generic.IDictionary<string,object> AdditionalProperties { get; set; }
    Property Value
    IDictionary<String,Object>

    Dimensions

    Gets or sets list of dimension conditions.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="dimensions")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.MetricDimension> Dimensions { get; set; }
    Property Value
    IList<MetricDimension>

    MetricName

    Gets or sets name of the metric.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="metricName")]
    public string MetricName { get; set; }
    Property Value
    String

    MetricNamespace

    Gets or sets namespace of the metric.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="metricNamespace")]
    public string MetricNamespace { get; set; }
    Property Value
    String

    Name

    Gets or sets name of the criteria.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; set; }
    Property Value
    String

    TimeAggregation

    Gets or sets the criteria time aggregation types.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="timeAggregation")]
    public object TimeAggregation { get; set; }
    Property Value
    Object

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net