Show / Hide Table of Contents

    Class MetricDimension

    Specifies a metric dimension.

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

    Constructors

    MetricDimension()

    Initializes a new instance of the MetricDimension class.

    Declaration
    public MetricDimension ();

    MetricDimension(String, String, IList<String>)

    Initializes a new instance of the MetricDimension class.

    Declaration
    public MetricDimension (string name, string operatorProperty, System.Collections.Generic.IList<string> values);
    Parameters
    String name

    Name of the dimension.

    String operatorProperty

    the dimension operator. Only 'Include' and 'Exclude' are supported

    IList<String> values

    list of dimension values.

    Properties

    Name

    Gets or sets name of the dimension.

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

    OperatorProperty

    Gets or sets the dimension operator. Only 'Include' and 'Exclude' are supported

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

    Values

    Gets or sets list of dimension values.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="values")]
    public System.Collections.Generic.IList<string> Values { get; set; }
    Property Value
    IList<String>

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net