WebSiteSlotResource.GetNetworkTraceOperationSlotV2Async Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2023-12-01
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)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET