WebSiteResourceHealthMetadataResource.GetAsync(CancellationToken) Method

Definition

Description for Gets the category of ResourceHealthMetadata to use for the given site

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default
  • Operation Id: ResourceHealthMetadata_GetBySite
  • Default Api Version: 2023-12-01
  • Resource: WebSiteResourceHealthMetadataResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResourceHealthMetadataResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResourceHealthMetadataResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResourceHealthMetadataResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteResourceHealthMetadataResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to