Compartir a través de


IApplicationGatewaysOperations.BeginBackendHealthOnDemandWithHttpMessagesAsync Método

Definición

Obtiene el estado del back-end para una combinación determinada del grupo de back-end y la configuración http de la puerta de enlace de aplicaciones especificada en un grupo de recursos.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendHealthOnDemand>> BeginBackendHealthOnDemandWithHttpMessagesAsync (string resourceGroupName, string applicationGatewayName, Microsoft.Azure.Management.Network.Models.ApplicationGatewayOnDemandProbe probeRequest, string expand = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginBackendHealthOnDemandWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Models.ApplicationGatewayOnDemandProbe * 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.Network.Models.ApplicationGatewayBackendHealthOnDemand>>
Public Function BeginBackendHealthOnDemandWithHttpMessagesAsync (resourceGroupName As String, applicationGatewayName As String, probeRequest As ApplicationGatewayOnDemandProbe, Optional expand As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ApplicationGatewayBackendHealthOnDemand))

Parámetros

resourceGroupName
String

Nombre del grupo de recursos.

applicationGatewayName
String

Nombre de la puerta de enlace de aplicaciones.

probeRequest
ApplicationGatewayOnDemandProbe

Cuerpo de la solicitud para la operación de sondeo de prueba a petición.

expand
String

Expande BackendAddressPool y BackendHttpSettings a los que se hace referencia en el estado del back-end.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

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 aplica a