IShouldProcess.ShouldCreate<TModel> 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 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
- config
- ResourceConfig<TModel>
- model
- TModel