Share via


DiagnosticsOperationsExtensions.ListSiteDetectorsAsync Method

Definition

Get Detectors

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.DetectorDefinitionResource>> ListSiteDetectorsAsync (this Microsoft.Azure.Management.WebSites.IDiagnosticsOperations operations, string resourceGroupName, string siteName, string diagnosticCategory, System.Threading.CancellationToken cancellationToken = default);
static member ListSiteDetectorsAsync : Microsoft.Azure.Management.WebSites.IDiagnosticsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.DetectorDefinitionResource>>
<Extension()>
Public Function ListSiteDetectorsAsync (operations As IDiagnosticsOperations, resourceGroupName As String, siteName As String, diagnosticCategory As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(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

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get Detectors

Applies to