KeyValue Class

Definition

The key-value resource along with all resource properties.

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

Constructors

KeyValue()

Creates an new KeyValue instance.

Properties

ContentType

The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.

ETag

An ETag indicating the state of a key-value within a configuration store.

Id

The resource ID.

Key

The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.

Label

A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.

LastModified

The last time a modifying operation was performed on the given key-value.

Locked

A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.

Name

The name of the resource.

ResourceGroupName

Gets the resource group name

Tag

A dictionary of tags that can help identify what a key-value may be applicable for.

Type

The type of the resource.

Value

The value of the key-value.

Methods

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.AppConfiguration.Models.Api20220501.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()

Applies to