Share via


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

slot
String

Name of web app slot. If not specified then will default to production slot.

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