Freigeben über


VpnSitesOperationsExtensions.ListByResourceGroupAsync Methode

Definition

Listet alle vpnSites in einer Ressourcengruppe auf.

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

Parameter

operations
IVpnSitesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname der VpnSite.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: