Condividi tramite


WebSiteSlotResourceHealthMetadataResource.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}/slots/{slot}/resourceHealthMetadata/default
  • Operation Id: ResourceHealthMetadata_GetBySiteSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotResourceHealthMetadataResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotResourceHealthMetadataResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotResourceHealthMetadataResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotResourceHealthMetadataResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteSlotResourceHealthMetadataResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to