DiagnosticsOperationsExtensions.GetSiteDetectorAsync Method

Definition

Get Detector

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

detectorName
System.String

Detector Name

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DetectorDefinition>

Remarks

Description for Get Detector

Applies to