DiagnosticsOperationsExtensions.ListSiteDetectorsAsync Method

Definition

Get Detectors

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.DetectorDefinition>> 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.DetectorDefinition>>
<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 DetectorDefinition))

Parameters

operations
IDiagnosticsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

siteName
System.String

Site Name

diagnosticCategory
System.String

Diagnostic Category

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

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

Remarks

Description for Get Detectors

Applies to