다음을 통해 공유


WebSiteResource.GetNetworkTracesV2Async(String, CancellationToken) 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}/networkTraces/{operationId}
  • Operation Id: WebApps_GetNetworkTracesV2
  • Default Api Version: 2024-04-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace> GetNetworkTracesV2Async (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTracesV2Async : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
override this.GetNetworkTracesV2Async : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
Public Overridable Function GetNetworkTracesV2Async (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebAppNetworkTrace)

Parameters

operationId
String

GUID of the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async 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