ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddress<ParentT> Interface

Type Parameters

ParentT

the stage of the application gateway definition to return to after attaching this definition

public static interface ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddress

The stage of an application gateway request routing rule definition allowing to add an address to the backend used by this request routing rule.

A new backend will be created if none is associated with this rule yet.

Method Summary

Modifier and Type Method and Description
abstract WithBackendAddressOrAttach<ParentT> toBackendFqdn(String fqdn)

Adds an FQDN (fully qualified domain name) to the backend associated with this rule.

abstract WithBackendAddressOrAttach<ParentT> toBackendIPAddress(String ipAddress)

Adds an IP address to the backend associated with this rule.

abstract WithBackendAddressOrAttach<ParentT> toBackendIPAddresses(String[] ipAddresses)

Adds the specified IP addresses to the backend associated with this rule.

Method Details

toBackendFqdn

public abstract ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddressOrAttach toBackendFqdn(String fqdn)

Adds an FQDN (fully qualified domain name) to the backend associated with this rule.

If no backend has been associated with this rule yet, a new one will be created with an auto-generated name.

This call can be used in a sequence to add multiple FQDNs.

Parameters:

fqdn - a fully qualified domain name

Returns:

the next stage of the definition

toBackendIPAddress

public abstract ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddressOrAttach toBackendIPAddress(String ipAddress)

Adds an IP address to the backend associated with this rule.

If no backend has been associated with this rule yet, a new one will be created with an auto-generated name.

This call can be used in a sequence to add multiple IP addresses.

Parameters:

ipAddress - an IP address

Returns:

the next stage of the definition

toBackendIPAddresses

public abstract ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddressOrAttach toBackendIPAddresses(String[] ipAddresses)

Adds the specified IP addresses to the backend associated with this rule.

Parameters:

ipAddresses - IP addresses to add

Returns:

the next stage of the definition

Applies to