Share via


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

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

Applies to