Share via


WebAppsOperationsExtensions.StartWebSiteNetworkTraceOperationAsync Method

Definition

Start capturing network packets for the site.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkTraceInner>> StartWebSiteNetworkTraceOperationAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, int? durationInSeconds = default, int? maxFrameLength = default, string sasUrl = default, System.Threading.CancellationToken cancellationToken = default);
static member StartWebSiteNetworkTraceOperationAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkTraceInner>>
<Extension()>
Public Function StartWebSiteNetworkTraceOperationAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, Optional durationInSeconds As Nullable(Of Integer) = Nothing, Optional maxFrameLength As Nullable(Of Integer) = Nothing, Optional sasUrl As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of NetworkTraceInner))

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

The name of the web app.

durationInSeconds
Nullable<Int32>

The duration to keep capturing in seconds.

maxFrameLength
Nullable<Int32>

The maximum frame length in bytes (Optional).

sasUrl
String

The Blob URL to store capture file.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Start capturing network packets for the site.

Applies to