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

Parameters

operations
IResourceHealthMetadataOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of web app.

slot
System.String

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<ResourceHealthMetadataInner>>

Remarks

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

Applies to