Udostępnij za pośrednictwem


ResourceHealthMetadataOperationsExtensions.ListBySiteAsync Method

Definition

Gets the category of ResourceHealthMetadata to use for the given site as a collection

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.ResourceHealthMetadata>> ListBySiteAsync (this Microsoft.Azure.Management.WebSites.IResourceHealthMetadataOperations operations, string resourceGroupName, string name, System.Threading.CancellationToken cancellationToken = default);
static member ListBySiteAsync : Microsoft.Azure.Management.WebSites.IResourceHealthMetadataOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.ResourceHealthMetadata>>
<Extension()>
Public Function ListBySiteAsync (operations As IResourceHealthMetadataOperations, resourceGroupName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(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 as a collection

Applies to