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

Definition

Start capturing network packets for the site.

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

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.

slot
System.String

The name of the slot for this 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.String>

Remarks

Start capturing network packets for the site.

Applies to