ConfigurationModelFactory.ConfigurationSetting Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ConfigurationSetting(String, String, String, String, ETag, Nullable<DateTimeOffset>, Nullable<Boolean>) for mocking purposes.
public static Azure.Data.AppConfiguration.ConfigurationSetting ConfigurationSetting (string key, string value, string label = default, string contentType = default, Azure.ETag eTag = default, DateTimeOffset? lastModified = default, bool? isReadOnly = default);
static member ConfigurationSetting : string * string * string * string * Azure.ETag * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.Data.AppConfiguration.ConfigurationSetting
Public Shared Function ConfigurationSetting (key As String, value As String, Optional label As String = Nothing, Optional contentType As String = Nothing, Optional eTag As ETag = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing) As ConfigurationSetting
Parameters
- key
- String
The primary identifier of a configuration setting.
- value
- String
The configuration setting's value.
- label
- String
A label used to group configuration settings.
- contentType
- String
The content type of the configuration setting's value.
- eTag
- ETag
An ETag indicating the version of a configuration setting within a configuration store.
- lastModified
- Nullable<DateTimeOffset>
The last time a modifying operation was performed on the given configuration setting.
Returns
Applies to
Azure SDK for .NET