ArmProviderHubModelFactory.LegacyDisallowedCondition Method

Definition

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.

Applies to