Freigeben über


VpnSitesOperationsExtensions.GetAsync Methode

Definition

Ruft die Details eines VPN-Standorts ab.

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

Parameter

operations
IVpnSitesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname der VpnSite.

vpnSiteName
String

Der Name der abzurufenden VpnSite.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: