共用方式為


AppServiceExtensions.GetAllResourceHealthMetadataDataAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata
  • Operation Id: ResourceHealthMetadata_ListByResourceGroup
public static Azure.AsyncPageable<Azure.ResourceManager.AppService.ResourceHealthMetadataData> GetAllResourceHealthMetadataDataAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAllResourceHealthMetadataDataAsync : Azure.ResourceManager.Resources.ResourceGroupResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.ResourceHealthMetadataData>
<Extension()>
Public Function GetAllResourceHealthMetadataDataAsync (resourceGroupResource As ResourceGroupResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceHealthMetadataData)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ResourceHealthMetadataData that may take multiple service requests to iterate over.

Applies to