WebSiteSlotResource.GetNetworkTraceOperationSlotV2 Method

Definition

Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}
  • Operation Id: WebApps_GetNetworkTraceOperationSlotV2
  • Default Api Version: 2021-02-01
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace> GetNetworkTraceOperationSlotV2 (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTraceOperationSlotV2 : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
override this.GetNetworkTraceOperationSlotV2 : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
Public Overridable Function GetNetworkTraceOperationSlotV2 (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WebAppNetworkTrace)

Parameters

operationId
String

GUID of the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of WebAppNetworkTrace that may take multiple service requests to iterate over.

Exceptions

operationId is an empty string, and was expected to be non-empty.

operationId is null.

Applies to