Compartilhar via


KeyValueProperties Class

Definition

All key-value properties.

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

Constructors

KeyValueProperties()

Creates an new KeyValueProperties 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.

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.

Tag

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

Value

The value of the key-value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KeyValueProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KeyValueProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IKeyValueProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of KeyValueProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to