共用方式為


ResourceHealthMetadataOperationsExtensions.ListByResourceGroupAsync 方法

定義

列出訂用帳戶中資源群組中所有網站的所有 ResourceHealthMetadata。

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

參數

operations
IResourceHealthMetadataOperations

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

resourceGroupName
String

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

針對訂用帳戶中資源群組中的所有網站列出所有 ResourceHealthMetadata 的描述。

適用於