Share via


ResourceHealthMetadataOperationsExtensions.GetBySiteAsync Method

Definition

Gets the category of ResourceHealthMetadata to use for the given site

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.ResourceHealthMetadata> GetBySiteAsync (this Microsoft.Azure.Management.WebSites.IResourceHealthMetadataOperations operations, string resourceGroupName, string name, System.Threading.CancellationToken cancellationToken = default);
static member GetBySiteAsync : Microsoft.Azure.Management.WebSites.IResourceHealthMetadataOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.ResourceHealthMetadata>
<Extension()>
Public Function GetBySiteAsync (operations As IResourceHealthMetadataOperations, resourceGroupName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceHealthMetadata)

Parameters

operations
IResourceHealthMetadataOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of web app

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to