共用方式為


IWebApps.ListWebAppBasicByResourceGroupAsync 方法

定義

列出指定資源群組中Web Apps的基本資訊。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.AppService.Fluent.IWebAppBasic>> ListWebAppBasicByResourceGroupAsync (string resourceGroupName, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWebAppBasicByResourceGroupAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.AppService.Fluent.IWebAppBasic>>
Public Function ListWebAppBasicByResourceGroupAsync (resourceGroupName As String, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IWebAppBasic))

參數

resourceGroupName
String

要從中列出資源的資源組名

loadAllPages
Boolean
cancellationToken
CancellationToken

傳回

資源清單

適用於