다음을 통해 공유


WebAppsOperationsExtensions.StartNetworkTraceSlotAsync Method

Definition

Start capturing network packets for the site.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NetworkTrace>> StartNetworkTraceSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string slot, int? durationInSeconds = default, int? maxFrameLength = default, string sasUrl = default, System.Threading.CancellationToken cancellationToken = default);
static member StartNetworkTraceSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NetworkTrace>>
<Extension()>
Public Function StartNetworkTraceSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot 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 NetworkTrace))

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.

slot
String

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