CdnManagementClient.ValidateProbeWithHttpMessagesAsync Método

Definición

Compruebe si la ruta de acceso del sondeo es una ruta de acceso válida y se puede acceder al archivo. La ruta de acceso de sondeo es la ruta de acceso a un archivo hospedado en el servidor de origen para ayudar a acelerar la entrega de contenido dinámico a través del punto de conexión de CDN. Esta ruta de acceso es relativa a la ruta de acceso de origen especificada en la configuración del punto de conexión.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Cdn.Models.ValidateProbeOutput>> 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.Models.ValidateProbeOutput>>
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.Models.ValidateProbeOutput>>
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 ValidateProbeOutput))

Parámetros

probeURL
String

Dirección URL de sondeo que se va a validar.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Implementaciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se produce cuando un parámetro obligatorio es NULL

Se aplica a