Share via


MetadataValue Class

Definition

Represents a metric metadata value.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.MetadataValueTypeConverter))]
public class MetadataValue : Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetadataValue
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.MetadataValueTypeConverter))>]
type MetadataValue = class
    interface IMetadataValue
    interface IJsonSerializable
Public Class MetadataValue
Implements IMetadataValue
Inheritance
MetadataValue
Attributes
Implements

Constructors

MetadataValue()

Creates an new MetadataValue instance.

Properties

NameLocalizedValue

The display name.

NameValue

The invariant value.

Value

The value of the metadata.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetadataValue.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetadataValue.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetadataValue.

FromJsonString(String)

Creates a new instance of MetadataValue, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetadataValue into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to