Share via


DiagnosticsOperationsExtensions.ExecuteSiteDetectorAsync Method

Definition

Execute Detector

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.DiagnosticDetectorResponse> ExecuteSiteDetectorAsync (this Microsoft.Azure.Management.WebSites.IDiagnosticsOperations operations, string resourceGroupName, string siteName, string detectorName, string diagnosticCategory, DateTime? startTime = default, DateTime? endTime = default, string timeGrain = default, System.Threading.CancellationToken cancellationToken = default);
static member ExecuteSiteDetectorAsync : Microsoft.Azure.Management.WebSites.IDiagnosticsOperations * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.DiagnosticDetectorResponse>
<Extension()>
Public Function ExecuteSiteDetectorAsync (operations As IDiagnosticsOperations, resourceGroupName As String, siteName As String, detectorName As String, diagnosticCategory As String, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional timeGrain As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DiagnosticDetectorResponse)

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

detectorName
String

Detector Resource Name

diagnosticCategory
String

Category Name

startTime
Nullable<DateTime>

Start Time

endTime
Nullable<DateTime>

End Time

timeGrain
String

Time Grain

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Execute Detector

Applies to