WebAppsOperationsExtensions.StartWebSiteNetworkTraceAsync(IWebAppsOperations, String, String, Nullable<Int32>, Nullable<Int32>, String, CancellationToken) WebAppsOperationsExtensions.StartWebSiteNetworkTraceAsync(IWebAppsOperations, String, String, Nullable<Int32>, Nullable<Int32>, String, CancellationToken) Method

Definition

Start capturing network packets for the site.

public static System.Threading.Tasks.Task<string> StartWebSiteNetworkTraceAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Nullable<int> durationInSeconds = null, Nullable<int> maxFrameLength = null, string sasUrl = null, System.Threading.CancellationToken cancellationToken = null);
static member StartWebSiteNetworkTraceAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameters

operations
IWebAppsOperations IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String String

Name of the resource group to which the resource belongs.

name
String 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 String

The Blob URL to store capture file.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Remarks

Start capturing network packets for the site.

Applies to