ApplicationGatewaysOperationsExtensions.BackendHealthOnDemandAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayBackendHealthOnDemandInner> BackendHealthOnDemandAsync (this Microsoft.Azure.Management.Network.Fluent.IApplicationGatewaysOperations operations, string resourceGroupName, string applicationGatewayName, Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayOnDemandProbe probeRequest, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member BackendHealthOnDemandAsync : Microsoft.Azure.Management.Network.Fluent.IApplicationGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayOnDemandProbe * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayBackendHealthOnDemandInner>
<Extension()>
Public Function BackendHealthOnDemandAsync (operations As IApplicationGatewaysOperations, resourceGroupName As String, applicationGatewayName As String, probeRequest As ApplicationGatewayOnDemandProbe, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationGatewayBackendHealthOnDemandInner)

Parameters

operations
IApplicationGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

applicationGatewayName
String

The name of the application gateway.

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.

Returns

Applies to