Interface HasFrontend.DefinitionStages.WithFrontend<ReturnT>

Type Parameters:
ReturnT - the next stage of the definition
All Known Subinterfaces:
LoadBalancerInboundNatPool.Definition<ParentT>, LoadBalancerInboundNatPool.DefinitionStages.WithFrontend<ParentT>, LoadBalancerInboundNatRule.Definition<ParentT>, LoadBalancerInboundNatRule.DefinitionStages.WithFrontend<ParentT>, LoadBalancingRule.Definition<ReturnT>, LoadBalancingRule.DefinitionStages.WithFrontend<ReturnT>
Enclosing interface:
HasFrontend.DefinitionStages

public static interface HasFrontend.DefinitionStages.WithFrontend<ReturnT>
The stage of a definition allowing to specify a load balancer frontend.
  • Method Details

    • fromFrontend

      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

      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
    • fromNewPublicIPAddress

      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.

      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

      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
    • fromExistingPublicIPAddress

      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

      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

      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

      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
    • fromExistingSubnet

      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