WebAppsOperationsExtensions.StartWebSiteNetworkTraceOperationSlotAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Start capturing network packets for the site.
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NetworkTrace>> StartWebSiteNetworkTraceOperationSlotAsync (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 StartWebSiteNetworkTraceOperationSlotAsync : 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 StartWebSiteNetworkTraceOperationSlotAsync (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.
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET