ArmProviderHubModelFactory.LegacyDisallowedCondition 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.
public static Azure.ResourceManager.ProviderHub.Models.LegacyDisallowedCondition LegacyDisallowedCondition(System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.ProviderLegacyOperation> disallowedLegacyOperations = default, string feature = default);
static member LegacyDisallowedCondition : seq<Azure.ResourceManager.ProviderHub.Models.ProviderLegacyOperation> * string -> Azure.ResourceManager.ProviderHub.Models.LegacyDisallowedCondition
Public Shared Function LegacyDisallowedCondition (Optional disallowedLegacyOperations As IEnumerable(Of ProviderLegacyOperation) = Nothing, Optional feature As String = Nothing) As LegacyDisallowedCondition
Parameters
- disallowedLegacyOperations
- IEnumerable<ProviderLegacyOperation>
The disallowed legacy operations.
- feature
- String
Feature string.
Returns
A new LegacyDisallowedCondition instance for mocking.