Partilhar via


IWebAppsOperations.StartWebSiteNetworkTraceOperationWithHttpMessagesAsync Método

Definição

Comece a capturar pacotes de rede para o site.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkTraceInner>>> StartWebSiteNetworkTraceOperationWithHttpMessagesAsync (string resourceGroupName, string name, int? durationInSeconds = default, int? maxFrameLength = default, string sasUrl = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartWebSiteNetworkTraceOperationWithHttpMessagesAsync : string * string * Nullable<int> * Nullable<int> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkTraceInner>>>
Public Function StartWebSiteNetworkTraceOperationWithHttpMessagesAsync (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IList(Of NetworkTraceInner)))

Parâmetros

resourceGroupName
String

Nome do grupo de recursos ao qual o recurso pertence.

name
String

o nome da aplicação Web.

durationInSeconds
Nullable<Int32>

A duração para continuar a capturar em segundos.

maxFrameLength
Nullable<Int32>

O comprimento máximo da moldura em bytes (Opcional).

sasUrl
String

O URL do Blob para armazenar o ficheiro de captura.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados ao pedido.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Exceções

Emitido quando a operação devolveu um código de estado inválido

Lançada quando não é possível anular a serialização da resposta

Emitido quando um parâmetro necessário é nulo

Observações

Descrição para Começar a capturar pacotes de rede para o site.

Aplica-se a