Show / Hide Table of Contents

    Class MetricSingleDimension

    The metric dimension name and value.

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

    Constructors

    MetricSingleDimension()

    Initializes a new instance of the MetricSingleDimension class.

    Declaration
    public MetricSingleDimension ();

    MetricSingleDimension(String, String)

    Initializes a new instance of the MetricSingleDimension class.

    Declaration
    public MetricSingleDimension (string name, string value);
    Parameters
    String name

    Name of the dimension.

    String value

    Value of the dimension.

    Properties

    Name

    Gets or sets name of the dimension.

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

    Value

    Gets or sets value of the dimension.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="value")]
    public string Value { 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