ISupportsBatchCreation<IFluentResourceT>.CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken) 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 = null);
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>>

Parameters

creatables
IEnumerable<ICreatable<IFluentResourceT>>

the creatables in the batch

cancellationToken
CancellationToken

Returns

Task<ICreatedResources<IFluentResourceT>>

Applies to