你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebSiteSlotResource.GetNetworkTracesSlotV2Async 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
说明 获取捕获 (或部署槽的网络跟踪的命名操作(如果) 指定)。
- 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}
- 操作IdWebApps_GetNetworkTracesSlotV2
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace> GetNetworkTracesSlotV2Async (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTracesSlotV2Async : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
override this.GetNetworkTracesSlotV2Async : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
Public Overridable Function GetNetworkTracesSlotV2Async (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebAppNetworkTrace)
参数
- operationId
- String
操作的 GUID。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
的异步集合 WebAppNetworkTrace ,可能需要循环访问多个服务请求。
例外
operationId
是一个空字符串,预期为非空。
operationId
为 null。