Sdílet prostřednictvím


AppServiceExtensions.GetAllResourceHealthMetadataAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata
  • Operation Id: ResourceHealthMetadata_List
  • Default Api Version: 2024-04-01
public static Azure.AsyncPageable<Azure.ResourceManager.AppService.ResourceHealthMetadataData> GetAllResourceHealthMetadataAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAllResourceHealthMetadataAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.ResourceHealthMetadataData>
<Extension()>
Public Function GetAllResourceHealthMetadataAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceHealthMetadataData)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource 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.

Exceptions

subscriptionResource is null.

Applies to