Share via


ArmAppConfigurationModelFactory.AppConfigurationKeyValueData Method

Definition

Initializes a new instance of AppConfigurationKeyValueData.

public static Azure.ResourceManager.AppConfiguration.AppConfigurationKeyValueData AppConfigurationKeyValueData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string key = default, string label = default, string value = default, string contentType = default, Azure.ETag? eTag = default, DateTimeOffset? lastModifiedOn = default, bool? isLocked = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member AppConfigurationKeyValueData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<Azure.ETag> * Nullable<DateTimeOffset> * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.AppConfiguration.AppConfigurationKeyValueData
Public Shared Function AppConfigurationKeyValueData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional key As String = Nothing, Optional label As String = Nothing, Optional value As String = Nothing, Optional contentType As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional isLocked As Nullable(Of Boolean) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As AppConfigurationKeyValueData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

key
String

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

label
String

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

value
String

The value of the key-value.

contentType
String

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
Nullable<ETag>

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

lastModifiedOn
Nullable<DateTimeOffset>

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

isLocked
Nullable<Boolean>

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

tags
IDictionary<String,String>

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

Returns

A new AppConfigurationKeyValueData instance for mocking.

Applies to