Partilhar via


LoadBalancer Interface

Implements

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

Entry point for load balancer management API in Azure.

Method Summary

Modifier and Type Method and Description
abstract Map<String,LoadBalancerBackend> backends()
abstract LoadBalancerPublicFrontend findFrontendByPublicIpAddress(PublicIpAddress publicIPAddress)

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

abstract LoadBalancerPublicFrontend findFrontendByPublicIpAddress(String publicIPAddressId)

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

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

Method Details

backends

public abstract Map backends()

Returns:

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

findFrontendByPublicIpAddress

public abstract 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 abstract 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 abstract Map frontends()

Returns:

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

httpProbes

public abstract Map httpProbes()

Returns:

HTTP probes of this load balancer, indexed by the name

httpsProbes

public abstract Map httpsProbes()

Returns:

HTTPS probes of this load balancer, indexed by the name

inboundNatPools

public abstract Map inboundNatPools()

Returns:

inbound NAT pools, indexed by name

inboundNatRules

public abstract Map inboundNatRules()

Returns:

inbound NAT rules for this balancer

outboundRules

public abstract Map outboundRules()

Returns:

outbound rules for this balancer

privateFrontends

public abstract Map privateFrontends()

Returns:

private (internal) frontends

publicFrontends

public abstract Map publicFrontends()

Returns:

public (Internet-facing) frontends

publicIpAddressIds

public abstract List publicIpAddressIds()

Returns:

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

sku

public abstract LoadBalancerSkuType sku()

Returns:

load balancer sku.

tcpProbes

public abstract Map tcpProbes()

Returns:

TCP probes of this load balancer, indexed by the name

Applies to