共用方式為


AppServicePlansOperationsExtensions.ListVnetsAsync 方法

定義

取得與App Service方案相關聯的所有虛擬網路。

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

參數

operations
IAppServicePlansOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

name
String

App Service 方案的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

取得與App Service方案相關聯的所有虛擬網路的描述。

適用於