Udostępnij za pośrednictwem


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
IEnumerable<ICreatable<IFluentResourceT>>

the creatables in the batch

cancellationToken
CancellationToken

Returns

Task<ICreatedResources<IFluentResourceT>>

Applies to