IWebAppsOperations.StartWebSiteNetworkTraceOperationSlotWithHttpMessagesAsync 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.WebSites.Models.NetworkTrace>>> StartWebSiteNetworkTraceOperationSlotWithHttpMessagesAsync (string resourceGroupName, string name, string slot, 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 StartWebSiteNetworkTraceOperationSlotWithHttpMessagesAsync : string * 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.WebSites.Models.NetworkTrace>>>
Public Function StartWebSiteNetworkTraceOperationSlotWithHttpMessagesAsync (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IList(Of NetworkTrace)))

Parâmetros

resourceGroupName
String

Nome do grupo de recursos ao qual pertence o recurso.

name
String

O nome do aplicativo Web.

slot
String

O nome do slot para este aplicativo Web.

durationInSeconds
Nullable<Int32>

A duração para continuar capturando em segundos.

maxFrameLength
Nullable<Int32>

O comprimento máximo do quadro em bytes (opcional).

sasUrl
String

A URL do Blob para armazenar o arquivo de captura.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Comentários

Descrição para Iniciar a captura de pacotes de rede para o site.

Aplica-se a