Share via


WebAppsOperationsExtensions.StartWebSiteNetworkTraceAsync Method

Definition

Start capturing network packets for the site (To be deprecated).

public static System.Threading.Tasks.Task<string> StartWebSiteNetworkTraceAsync (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 StartWebSiteNetworkTraceAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function StartWebSiteNetworkTraceAsync (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 String)

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 (To be deprecated).

Applies to