다음을 통해 공유


ApplicationGatewaysOperationsExtensions.BeginBackendHealthOnDemandAsync 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.Models.ApplicationGatewayBackendHealthOnDemand> BeginBackendHealthOnDemandAsync (this Microsoft.Azure.Management.Network.IApplicationGatewaysOperations operations, string resourceGroupName, string applicationGatewayName, Microsoft.Azure.Management.Network.Models.ApplicationGatewayOnDemandProbe probeRequest, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginBackendHealthOnDemandAsync : Microsoft.Azure.Management.Network.IApplicationGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.ApplicationGatewayOnDemandProbe * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendHealthOnDemand>
<Extension()>
Public Function BeginBackendHealthOnDemandAsync (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 ApplicationGatewayBackendHealthOnDemand)

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