Share via


SiteDiagnosticAnalysisResource.ExecuteAsync Method

Definition

Description for Execute Analysis

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute
  • Operation Id: Diagnostics_ExecuteSiteAnalysis
  • Default Api Version: 2024-04-01
  • Resource: SiteDiagnosticAnalysisResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.DiagnosticAnalysis>> ExecuteAsync (DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string timeGrain = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.DiagnosticAnalysis>>
override this.ExecuteAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.DiagnosticAnalysis>>
Public Overridable Function ExecuteAsync (Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional timeGrain As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DiagnosticAnalysis))

Parameters

startTime
Nullable<DateTimeOffset>

Start Time.

endTime
Nullable<DateTimeOffset>

End Time.

timeGrain
String

Time Grain.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to