你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SiteDiagnosticAnalysisResource.Execute 方法

定义

执行分析的说明

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/诊断/{diagnosticCategory}/analysiss/{analysisName}/execute
  • 操作IdDiagnostics_ExecuteSiteAnalysis
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.DiagnosticAnalysis> Execute (DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string timeGrain = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Execute : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.DiagnosticAnalysis>
override this.Execute : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.DiagnosticAnalysis>
Public Overridable Function Execute (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 Response(Of DiagnosticAnalysis)

参数

startTime
Nullable<DateTimeOffset>

开始时间。

endTime
Nullable<DateTimeOffset>

结束时间。

timeGrain
String

时间粒度。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于