Condividi tramite


ApplicationGatewayResource.BackendHealthOnDemand Method

Definition

Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand
  • Operation Id: ApplicationGateways_BackendHealthOnDemand
  • Default Api Version: 2024-03-01
  • Resource: ApplicationGatewayResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHealthOnDemand> BackendHealthOnDemand (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe probeRequest, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BackendHealthOnDemand : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHealthOnDemand>
override this.BackendHealthOnDemand : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHealthOnDemand>
Public Overridable Function BackendHealthOnDemand (waitUntil As WaitUntil, probeRequest As ApplicationGatewayOnDemandProbe, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ApplicationGatewayBackendHealthOnDemand)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

probeRequest
ApplicationGatewayOnDemandProbe

Request body for on-demand test probe operation.

expand
String

Expands BackendAddressPool and BackendHttpSettings referenced in backend health.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

probeRequest is null.

Applies to