Freigeben über


VirtualHubsOperationsExtensions.GetAsync Methode

Definition

Ruft die Details eines VirtualHub ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VirtualHub> GetAsync (this Microsoft.Azure.Management.Network.IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IVirtualHubsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VirtualHub>
<Extension()>
Public Function GetAsync (operations As IVirtualHubsOperations, resourceGroupName As String, virtualHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualHub)

Parameter

operations
IVirtualHubsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VirtualHubs.

virtualHubName
String

Der Name des VirtualHub.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: