Show / Hide Table of Contents

    Class Criteria

    Specifies the criteria for converting log to metric.

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

    Constructors

    Criteria()

    Initializes a new instance of the Criteria class.

    Declaration
    public Criteria ();

    Criteria(String, IList<Dimension>)

    Initializes a new instance of the Criteria class.

    Declaration
    public Criteria (string metricName, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.Dimension> dimensions = null);
    Parameters
    String metricName

    Name of the metric

    IList<Dimension> dimensions

    List of Dimensions for creating metric

    Properties

    Dimensions

    Gets or sets list of Dimensions for creating metric

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

    MetricName

    Gets or sets name of the metric

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

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net