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

WebSiteSlotResource.GetNetworkTraceOperationSlotV2Async 方法

定义

说明 获取捕获 (或部署槽的网络跟踪的命名操作(如果) 指定)。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}
  • 操作IdWebApps_GetNetworkTraceOperationSlotV2
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace> GetNetworkTraceOperationSlotV2Async (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTraceOperationSlotV2Async : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
override this.GetNetworkTraceOperationSlotV2Async : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
Public Overridable Function GetNetworkTraceOperationSlotV2Async (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebAppNetworkTrace)

参数

operationId
String

操作的 GUID。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 WebAppNetworkTrace ,可能需要循环访问多个服务请求。

例外

operationId 是一个空字符串,预期为非空。

operationId 为 null。

适用于