WebSiteResource.GetNetworkTraces(String, CancellationToken) 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}/networkTrace/{operationId}
- Operation Id: WebApps_GetNetworkTraces
- Default Api Version: 2023-12-01
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace> GetNetworkTraces (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTraces : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
override this.GetNetworkTraces : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>
Public Overridable Function GetNetworkTraces (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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET