Partilhar via


ApplicationGatewayResource.BackendHealthOnDemandAsync Método

Definição

Obtém a integridade de back-end para determinada combinação de pool de back-end e configuração http do gateway de aplicativo especificado em um grupo de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand
  • IdApplicationGateways_BackendHealthOnDemand de operação
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHealthOnDemand>> BackendHealthOnDemandAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe probeRequest, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BackendHealthOnDemandAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHealthOnDemand>>
override this.BackendHealthOnDemandAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHealthOnDemand>>
Public Overridable Function BackendHealthOnDemandAsync (waitUntil As WaitUntil, probeRequest As ApplicationGatewayOnDemandProbe, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ApplicationGatewayBackendHealthOnDemand))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de longa execução, consulte Exemplos de operação de Long-Running do Azure.Core.

probeRequest
ApplicationGatewayOnDemandProbe

Corpo da solicitação para a operação de investigação de teste sob demanda.

expand
String

Expande BackendAddressPool e BackendHttpSettings referenciados na integridade do back-end.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

probeRequest é nulo.

Aplica-se a