ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddress<ParentT> Interface

Type Parameters

ParentT

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

public interface 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
ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddressOrAttach<ParentT> 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.

ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddressOrAttach<ParentT> 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.

Method Details

toBackendFqdn

public 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 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

Applies to