Class Dimension
Specifies the criteria for converting log to metric.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class Dimension
Constructors
Dimension()
Initializes a new instance of the Dimension class.
Declaration
public Dimension ();
Dimension(String, IList<String>)
Initializes a new instance of the Dimension class.
Declaration
public Dimension (string name, System.Collections.Generic.IList<string> values);
Parameters
|
String
name
Name of the dimension |
|
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
Operator for dimension values
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="operator")]
public static string OperatorProperty { get; }
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 |