Freigeben über


FactoriesOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt oder aktualisiert eine Factory.

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)

Parameter

operations
IFactoriesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

factoryName
String

Der Werksname.

factory
Factory

Factory-Ressourcendefinition.

ifMatch
String

ETag der Factoryentität. Sollte nur für das Update angegeben werden, für das es mit einer vorhandenen Entität übereinstimmen soll oder * für bedingungslose Updates sein kann.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: