ConfigurationModelFactory.FeatureFlagConfigurationSetting 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 an instance of the FeatureFlagConfigurationSetting(String, Boolean, String, ETag, Nullable<DateTimeOffset>, Nullable<Boolean>) for mocking purposes.
public static Azure.Data.AppConfiguration.FeatureFlagConfigurationSetting FeatureFlagConfigurationSetting (string featureId, bool isEnabled, string label = default, Azure.ETag eTag = default, DateTimeOffset? lastModified = default, bool? isReadOnly = default);
static member FeatureFlagConfigurationSetting : string * bool * string * Azure.ETag * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.Data.AppConfiguration.FeatureFlagConfigurationSetting
Public Shared Function FeatureFlagConfigurationSetting (featureId As String, isEnabled As Boolean, Optional label As String = Nothing, Optional eTag As ETag = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing) As FeatureFlagConfigurationSetting
Parameters
- featureId
- String
The identified of the feature flag.
- isEnabled
- Boolean
The value indicating whether the feature flag is enabled.
- label
- String
A label used to group this configuration setting with others.
- 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