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

FactoriesOperationsExtensions.CreateOrUpdateAsync 方法

定义

创建或更新工厂。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.Factory> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataFactory.IFactoriesOperations operations, string resourceGroupName, string factoryName, Microsoft.Azure.Management.DataFactory.Models.Factory factory, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataFactory.IFactoriesOperations * string * string * Microsoft.Azure.Management.DataFactory.Models.Factory * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.Factory>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IFactoriesOperations, resourceGroupName As String, factoryName As String, factory As Factory, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Factory)

参数

operations
IFactoriesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称。

factoryName
String

工厂名称。

factory
Factory

工厂资源定义。

ifMatch
String

工厂实体的 ETag。 应仅为 update 指定,它应与现有实体匹配,或者对于无条件更新,可为 * 。

cancellationToken
CancellationToken

取消标记。

返回

适用于