Share via


ResourceHealthMetadataOperationsExtensions.ListByResourceGroupAsync Method

Definition

List all ResourceHealthMetadata for all sites in the resource group in the subscription.

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

Parameters

operations
IResourceHealthMetadataOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.

Applies to