IShouldProcess.ShouldCreate<TModel> Method

Definition

public System.Threading.Tasks.Task<bool> ShouldCreate<TModel> (Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<TModel> config, TModel model) where TModel : class;
abstract member ShouldCreate : Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<'Model (requires 'Model : null)> * 'Model -> System.Threading.Tasks.Task<bool> (requires 'Model : null)
Public Function ShouldCreate(Of TModel As Class) (config As ResourceConfig(Of TModel), model As TModel) As Task(Of Boolean)

Type Parameters

TModel

Parameters

model
TModel

Returns

Applies to