Share via


DiagnosticsOperationsExtensions.GetSiteDetectorSlotAsync Method

Definition

Get Detector

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.DetectorDefinitionResource> GetSiteDetectorSlotAsync (this Microsoft.Azure.Management.WebSites.IDiagnosticsOperations operations, string resourceGroupName, string siteName, string diagnosticCategory, string detectorName, string slot, System.Threading.CancellationToken cancellationToken = default);
static member GetSiteDetectorSlotAsync : Microsoft.Azure.Management.WebSites.IDiagnosticsOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.DetectorDefinitionResource>
<Extension()>
Public Function GetSiteDetectorSlotAsync (operations As IDiagnosticsOperations, resourceGroupName As String, siteName As String, diagnosticCategory As String, detectorName As String, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DetectorDefinitionResource)

Parameters

operations
IDiagnosticsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

siteName
String

Site Name

diagnosticCategory
String

Diagnostic Category

detectorName
String

Detector Name

slot
String

Slot Name

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get Detector

Applies to