Freigeben über


SapVirtualInstanceCollection.CreateOrUpdateAsync Methode

Definition

Erstellt eine VIS-Ressource (Virtual Instance for SAP Solutions)

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Vorgang IdSAPVirtualInstances_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapVirtualInstanceResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string sapVirtualInstanceName, Azure.ResourceManager.Workloads.SapVirtualInstanceData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Workloads.SapVirtualInstanceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapVirtualInstanceResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Workloads.SapVirtualInstanceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapVirtualInstanceResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, sapVirtualInstanceName As String, data As SapVirtualInstanceData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SapVirtualInstanceResource))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

sapVirtualInstanceName
String

Der Name der Ressource "Virtuelle Instanzen für SAP-Lösungen".

data
SapVirtualInstanceData

Ressourcenanforderungstext für virtuelle Instanz für SAP-Lösungen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

sapVirtualInstanceName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

sapVirtualInstanceName oder data ist NULL.

Gilt für: