HasFrontend.DefinitionStages.WithFrontend<ReturnT> Interface

Type Parameters

ReturnT

the next stage of the definition

public static interface HasFrontend.DefinitionStages.WithFrontend

The stage of a definition allowing to specify a load balancer frontend.

Method Summary

Modifier and Type Method and Description
abstract ReturnT fromExistingPublicIPAddress(PublicIPAddress publicIPAddress)

Specifies an existing public IP address to receive network traffic from.

abstract ReturnT fromExistingPublicIPAddress(String resourceId)

Specifies an existing public IP address to receive network traffic from.

abstract ReturnT fromExistingSubnet(Network network, String subnetName)

Specifies an existing private subnet to receive network traffic from.

abstract ReturnT fromExistingSubnet(Subnet subnet)

Specifies an existing private subnet to receive network traffic from.

abstract ReturnT fromExistingSubnet(String networkResourceId, String subnetName)

Specifies an existing private subnet to receive network traffic from.

abstract ReturnT fromFrontend(String frontendName)

Specifies the frontend to receive network traffic from.

abstract ReturnT fromNewPublicIPAddress()

Specifies that network traffic should be received on a new public IP address that is to be automatically created woth default settings along with the load balancer.

abstract ReturnT fromNewPublicIPAddress(Creatable<PublicIPAddress> pipDefinition)

Specifies that network traffic should be received on a new public IP address that is to be created along with the load balancer based on the provided definition.

abstract ReturnT fromNewPublicIPAddress(String leafDnsLabel)

Specifies that network traffic should be received on a new public IP address that is to be created along with the load balancer in the same region and resource group but under the provided leaf DNS label, assuming it is available.

Method Details

fromExistingPublicIPAddress

public abstract ReturnT fromExistingPublicIPAddress(PublicIPAddress publicIPAddress)

Specifies an existing public IP address to receive network traffic from.

If this load balancer already has a frontend referencing this public IP address, that is the frontend that will be used. Else, an automatically named new public frontend will be created implicitly on the load balancer.

Parameters:

publicIPAddress - an existing public IP address

Returns:

the next stage of the definition

fromExistingPublicIPAddress

public abstract ReturnT fromExistingPublicIPAddress(String resourceId)

Specifies an existing public IP address to receive network traffic from.

If this load balancer already has a frontend referencing this public IP address, that is the frontend that will be used. Else, an automatically named new public frontend will be created implicitly on the load balancer.

Parameters:

resourceId - the resource ID of an existing public IP address

Returns:

the next stage of the definition

fromExistingSubnet

public abstract ReturnT fromExistingSubnet(Network network, String subnetName)

Specifies an existing private subnet to receive network traffic from.

If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

Parameters:

network - an existing network
subnetName - the name of an existing subnet within the specified network

Returns:

the next stage of the definition

fromExistingSubnet

public abstract ReturnT fromExistingSubnet(Subnet subnet)

Specifies an existing private subnet to receive network traffic from.

If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

Parameters:

subnet - an existing subnet

Returns:

the next stage of the definition

fromExistingSubnet

public abstract ReturnT fromExistingSubnet(String networkResourceId, String subnetName)

Specifies an existing private subnet to receive network traffic from.

If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.

Parameters:

networkResourceId - the resource ID of an existing network
subnetName - the name of an existing subnet within the specified network

Returns:

the next stage of the definition

fromFrontend

public abstract ReturnT fromFrontend(String frontendName)

Specifies the frontend to receive network traffic from.

Parameters:

frontendName - an existing frontend name on this load balancer

Returns:

the next stage of the definition

fromNewPublicIPAddress

public abstract ReturnT fromNewPublicIPAddress()

Specifies that network traffic should be received on a new public IP address that is to be automatically created woth default settings along with the load balancer.

A new automatically-named public frontend will be implicitly created on this load balancer for each such new public IP address.

Returns:

the next stage of the definition

fromNewPublicIPAddress

public abstract ReturnT fromNewPublicIPAddress(Creatable pipDefinition)

Specifies that network traffic should be received on a new public IP address that is to be created along with the load balancer based on the provided definition.

A new automatically-named public frontend will be implicitly created on this load balancer for each such new public IP address.

Parameters:

pipDefinition - a definition for the new public IP

Returns:

the next stage of the definition

fromNewPublicIPAddress

public abstract ReturnT fromNewPublicIPAddress(String leafDnsLabel)

Specifies that network traffic should be received on a new public IP address that is to be created along with the load balancer in the same region and resource group but under the provided leaf DNS label, assuming it is available.

A new automatically-named public frontend will be implicitly created on this load balancer for each such new public IP address, so make sure to use a unique DNS label.

Parameters:

leafDnsLabel - a unique leaf DNS label to create the public IP address under

Returns:

the next stage of the definition

Applies to