ISupportsBatchCreation<IFluentResourceT>.CreateAsync Method

Definition

Creates a set (batch) of resources.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.ICreatedResources<IFluentResourceT>> CreateAsync (System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<IFluentResourceT>> creatables, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateAsync : seq<Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<'IFluentResourceT>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.ICreatedResources<'IFluentResourceT>>
Public Function CreateAsync (creatables As IEnumerable(Of ICreatable(Of IFluentResourceT)), Optional cancellationToken As CancellationToken = Nothing) As Task(Of ICreatedResources(Of IFluentResourceT))

Parameters

creatables
System.Collections.Generic.IEnumerable<ICreatable<IFluentResourceT>>

the creatables in the batch

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<ICreatedResources<IFluentResourceT>>

Applies to