Freigeben über


AppServicePlansOperationsExtensions.ListVnetsAsync Methode

Definition

Ruft alle virtuellen Netzwerke ab, die einem App Service-Plan zugeordnet sind.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.VnetInfoResource>> ListVnetsAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, System.Threading.CancellationToken cancellationToken = default);
static member ListVnetsAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.VnetInfoResource>>
<Extension()>
Public Function ListVnetsAsync (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of VnetInfoResource))

Parameter

operations
IAppServicePlansOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name des App Service-Plans.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Abrufen aller virtuellen Netzwerke, die einem App Service-Plan zugeordnet sind.

Gilt für: