共用方式為


IAppServicePlansOperations.ListWebAppsWithHttpMessagesAsync 方法

定義

取得與App Service方案相關聯的所有應用程式。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>>> ListWebAppsWithHttpMessagesAsync (string resourceGroupName, string name, string skipToken = default, string filter = default, string top = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWebAppsWithHttpMessagesAsync : string * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner>>>
Public Function ListWebAppsWithHttpMessagesAsync (resourceGroupName As String, name As String, Optional skipToken As String = Nothing, Optional filter As String = Nothing, Optional top As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SiteInner)))

參數

resourceGroupName
String

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

name
String

App Service 方案的名稱。

skipToken
String

跳至與 App Service 方案相關聯的 Web 應用程式清單中的 Web 應用程式。 如果指定,產生的清單會包含從 (開始的 Web 應用程式,包括 skipToken) 。 否則,產生的清單會包含清單開頭的 Web 應用程式

filter
String

支援的篩選:$filter=state eq 執行。 只傳回目前正在執行的 Web 應用程式

top
String

清單頁面大小。 如果指定,則會分頁結果。

customHeaders
Dictionary<String,List<String>>

將新增至要求的標頭。

cancellationToken
CancellationToken

取消語彙基元。

傳回

例外狀況

當作業傳回不正確狀態碼時擲回

無法還原序列化回應時擲回

當必要參數為 Null 時擲回

備註

取得與App Service方案相關聯的所有應用程式的描述。

適用於