LoadBalancer Interface

public interface LoadBalancer extends GroupableResource<NetworkManager, LoadBalancerInner>,Refreshable,Updatable<LoadBalancer.Update>,HasLoadBalancingRules

Entry point for load balancer management API in Azure.

Method Summary

Modifier and Type Method and Description
Map<String, LoadBalancerBackend> backends()
LoadBalancerPublicFrontend findFrontendByPublicIPAddress(PublicIPAddress publicIPAddress)

Searches for the public frontend that is associated with the provided public IP address, if one exists.

LoadBalancerPublicFrontend findFrontendByPublicIPAddress(String publicIPAddressId)

Searches for the public frontend that is associated with the provided public IP address, if one exists.

Map<String, LoadBalancerFrontend> frontends()
Map<String, LoadBalancerHttpProbe> httpProbes()
Map<String, LoadBalancerInboundNatPool> inboundNatPools()
Map<String, LoadBalancerInboundNatRule> inboundNatRules()
Map<String, LoadBalancerPrivateFrontend> privateFrontends()
Map<String, LoadBalancerPublicFrontend> publicFrontends()
List<String> publicIPAddressIds()
LoadBalancerSkuType sku()
Map<String, LoadBalancerTcpProbe> tcpProbes()

Inherited Members

Method Details

backends

public Map backends()

Returns:

backends for this load balancer to load balance the incoming traffic among, indexed by name

findFrontendByPublicIPAddress

public LoadBalancerPublicFrontend findFrontendByPublicIPAddress(PublicIPAddress publicIPAddress)

Searches for the public frontend that is associated with the provided public IP address, if one exists.

Parameters:

publicIPAddress - a public IP address to search by

Returns:

a public frontend associated with the provided public IP address

findFrontendByPublicIPAddress

public LoadBalancerPublicFrontend findFrontendByPublicIPAddress(String publicIPAddressId)

Searches for the public frontend that is associated with the provided public IP address, if one exists.

Parameters:

publicIPAddressId - the resource ID of a public IP address to search by

Returns:

a public frontend associated with the provided public IP address

frontends

public Map frontends()

Returns:

frontends for this load balancer, for the incoming traffic to come from.

httpProbes

public Map httpProbes()

Returns:

HTTP probes of this load balancer, indexed by the name

inboundNatPools

public Map inboundNatPools()

Returns:

inbound NAT pools, indexed by name

inboundNatRules

public Map inboundNatRules()

Returns:

inbound NAT rules for this balancer

privateFrontends

public Map privateFrontends()

Returns:

private (internal) frontends

publicFrontends

public Map publicFrontends()

Returns:

public (Internet-facing) frontends

publicIPAddressIds

public List publicIPAddressIds()

Returns:

resource IDs of the public IP addresses assigned to the frontends of this load balancer

sku

public LoadBalancerSkuType sku()

Returns:

load balancer sku.

tcpProbes

public Map tcpProbes()

Returns:

TCP probes of this load balancer, indexed by the name

Applies to