Freigeben über


SapVirtualInstanceCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft eine Ressource für eine virtuelle Instanz für SAP-Lösungen ab.

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

Parameter

sapVirtualInstanceName
String

Der Name der Ressource "Virtuelle Instanzen 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 ist NULL.

Gilt für: