WebAppsOperationsExtensions.StartNetworkTraceAsync 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>> StartNetworkTraceAsync (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 StartNetworkTraceAsync : 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 StartNetworkTraceAsync (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
System.String

Name of the resource group to which the resource belongs.

name
System.String

The name of the web app.

durationInSeconds
System.Nullable<System.Int32>

The duration to keep capturing in seconds.

maxFrameLength
System.Nullable<System.Int32>

The maximum frame length in bytes (Optional).

sasUrl
System.String

The Blob URL to store capture file.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IList<NetworkTraceInner>>

Remarks

Description for Start capturing network packets for the site.

Applies to