Partilhar via


CdnManagementClient.ValidateProbeWithHttpMessagesAsync Método

Definição

Verifique se o caminho da investigação é um caminho válido e se o arquivo pode ser acessado. O caminho de investigação é o caminho para um arquivo hospedado no servidor de origem para ajudar a acelerar a entrega de conteúdo dinâmico por meio do ponto de extremidade da CDN. Esse caminho é relativo ao caminho de origem especificado na configuração do ponto de extremidade.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Cdn.Fluent.Models.ValidateProbeOutputInner>> ValidateProbeWithHttpMessagesAsync (string probeURL, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateProbeWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Cdn.Fluent.Models.ValidateProbeOutputInner>>
override this.ValidateProbeWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Cdn.Fluent.Models.ValidateProbeOutputInner>>
Public Function ValidateProbeWithHttpMessagesAsync (probeURL As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ValidateProbeOutputInner))

Parâmetros

probeURL
String

A URL de investigação a ser validada.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Implementações

Exceções

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

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

Gerado quando um parâmetro necessário é nulo

Gerado quando um parâmetro necessário é nulo

Aplica-se a