KeyValue Class

Definition

A key-value pair representing application settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AppConfigurationdata.Models.KeyValueTypeConverter))]
public class KeyValue : Microsoft.Azure.PowerShell.Cmdlets.AppConfigurationdata.Models.IKeyValue, Microsoft.Azure.PowerShell.Cmdlets.AppConfigurationdata.Runtime.IHeaderSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AppConfigurationdata.Models.KeyValueTypeConverter))>]
type KeyValue = class
    interface IKeyValue
    interface IJsonSerializable
    interface IHeaderSerializable
Public Class KeyValue
Implements IHeaderSerializable, IKeyValue
Inheritance
KeyValue
Attributes
Implements

Constructors

Name Description
KeyValue()

Creates an new KeyValue instance.

Properties

Name Description
ContentType

The content type of the value stored within the key-value.

Etag

A value representing the current state of the resource.

Key

The key of the key-value.

Label

The label the key-value belongs to.

LastModified

A date representing the last time the key-value was modified.

Locked

Indicates whether the key-value is locked.

SyncToken
Tag

The tags of the key-value

Value

The value of the key-value.

XmsRequestId

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KeyValue.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KeyValue.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.AppConfigurationdata.Models.IKeyValue.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of KeyValue into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Explicit Interface Implementations

Name Description
IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to