Share via


ApplicationGatewayResource.BackendHealthAsync Method

Definition

Gets the backend health of the specified application gateway in a resource group.

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

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.

expand
String

Expands BackendAddressPool and BackendHttpSettings referenced in backend health.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to