Class MetadataValue
Represents a metric metadata value.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class MetadataValue
Constructors
MetadataValue()
Initializes a new instance of the MetadataValue class.
Declaration
public MetadataValue ();
MetadataValue(LocalizableString, String)
Initializes a new instance of the MetadataValue class.
Declaration
public MetadataValue (Microsoft.Azure.Management.Monitor.Models.LocalizableString name = null, string value = null);
Parameters
|
LocalizableString
name
the name of the metadata. |
|
String
value
the value of the metadata. |
Properties
Name
Gets or sets the name of the metadata.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public Microsoft.Azure.Management.Monitor.Models.LocalizableString Name { get; set; }
Property Value
|
LocalizableString
|
Value
Gets or sets the value of the metadata.
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 |