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

SiteSlotDetectorResource.GetAsync 方法

定义

获取站点检测器响应的说明

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}
  • 操作IdDiagnostics_GetSiteDetectorResponseSlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotDetectorResource>> GetAsync (DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string timeGrain = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotDetectorResource>>
override this.GetAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotDetectorResource>>
Public Overridable Function GetAsync (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 SiteSlotDetectorResource))

参数

startTime
Nullable<DateTimeOffset>

开始时间。

endTime
Nullable<DateTimeOffset>

结束时间。

timeGrain
String

时间粒度。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于