共用方式為


AppServiceExtensions.GetAllResourceHealthMetadata 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: 2023-12-01
public static Azure.Pageable<Azure.ResourceManager.AppService.ResourceHealthMetadataData> GetAllResourceHealthMetadata (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAllResourceHealthMetadata : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.ResourceHealthMetadataData>
<Extension()>
Public Function GetAllResourceHealthMetadata (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ResourceHealthMetadataData)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to