Delen 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()

Gets backends for this load balancer to load balance the incoming traffic among.

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()

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

abstract Map<String,LoadBalancerHttpProbe> httpProbes()

Gets HTTP probes of this load balancer.

abstract Map<String,LoadBalancerHttpProbe> httpsProbes()

Gets HTTPS probes of this load balancer.

abstract Map<String,LoadBalancerInboundNatPool> inboundNatPools()

Gets inbound NAT pools.

abstract Map<String,LoadBalancerInboundNatRule> inboundNatRules()

Gets inbound NAT rules for this balancer.

abstract Map<String,LoadBalancerOutboundRule> outboundRules()

Gets outbound rules for this balancer.

abstract Map<String,LoadBalancerPrivateFrontend> privateFrontends()

Gets private (internal) frontends.

abstract Map<String,LoadBalancerPublicFrontend> publicFrontends()

Gets public (Internet-facing) frontends.

abstract List<String> publicIpAddressIds()

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

abstract LoadBalancerSkuType sku()

Gets load balancer sku.

abstract Map<String,LoadBalancerTcpProbe> tcpProbes()

Gets TCP probes of this load balancer.

Method Details

backends

public abstract Map backends()

Gets backends for this load balancer to load balance the incoming traffic among.

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()

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

Returns:

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

httpProbes

public abstract Map httpProbes()

Gets HTTP probes of this load balancer.

Returns:

HTTP probes of this load balancer, indexed by the name

httpsProbes

public abstract Map httpsProbes()

Gets HTTPS probes of this load balancer.

Returns:

HTTPS probes of this load balancer, indexed by the name

inboundNatPools

public abstract Map inboundNatPools()

Gets inbound NAT pools.

Returns:

inbound NAT pools, indexed by name

inboundNatRules

public abstract Map inboundNatRules()

Gets inbound NAT rules for this balancer.

Returns:

inbound NAT rules for this balancer

outboundRules

public abstract Map outboundRules()

Gets outbound rules for this balancer.

Returns:

outbound rules for this balancer

privateFrontends

public abstract Map privateFrontends()

Gets private (internal) frontends.

Returns:

private (internal) frontends

publicFrontends

public abstract Map publicFrontends()

Gets public (Internet-facing) frontends.

Returns:

public (Internet-facing) frontends

publicIpAddressIds

public abstract List publicIpAddressIds()

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

Returns:

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

sku

public abstract LoadBalancerSkuType sku()

Gets load balancer sku.

Returns:

load balancer sku.

tcpProbes

public abstract Map tcpProbes()

Gets TCP probes of this load balancer.

Returns:

TCP probes of this load balancer, indexed by the name

Applies to