Freigeben über


InstancesOperationsExtensions.CreateAsync Methode

Definition

Erstellt oder aktualisiert instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Instance> CreateAsync (this Microsoft.Azure.Management.DeviceUpdate.IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName, Microsoft.Azure.Management.DeviceUpdate.Models.Instance instance, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.DeviceUpdate.IInstancesOperations * string * string * string * Microsoft.Azure.Management.DeviceUpdate.Models.Instance * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Instance>
<Extension()>
Public Function CreateAsync (operations As IInstancesOperations, resourceGroupName As String, accountName As String, instanceName As String, instance As Instance, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Instance)

Parameter

operations
IInstancesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

accountName
String

Kontoname.

instanceName
String

Der Instanzname.

instance
Instance

Instanzdetails.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: