你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISupportsBatchCreation<IFluentResourceT>.CreateAsync 方法

定义

创建一组资源 (批处理) 。

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))

参数

creatables
IEnumerable<ICreatable<IFluentResourceT>>

批处理中的可创建对象

cancellationToken
CancellationToken

返回

Task<ICreatedResources<IFluentResourceT>>

适用于