Share via


LoadBalancerResourceSettings Class

public class LoadBalancerResourceSettings
extends ResourceSettings

Defines the load balancer resource settings.

Constructor Summary

Constructor Description
LoadBalancerResourceSettings()

Method Summary

Modifier and Type Method and Description
java.util.List<LBBackendAddressPoolResourceSettings> backendAddressPools()

Get gets or sets the backend address pools of the load balancer.

java.util.List<LBFrontendIPConfigurationResourceSettings> frontendIPConfigurations()

Get gets or sets the frontend IP configurations of the load balancer.

java.lang.String sku()

Get gets or sets load balancer sku (Basic/Standard).

LoadBalancerResourceSettings withBackendAddressPools(List<LBBackendAddressPoolResourceSettings> backendAddressPools)

Set gets or sets the backend address pools of the load balancer.

LoadBalancerResourceSettings withFrontendIPConfigurations(List<LBFrontendIPConfigurationResourceSettings> frontendIPConfigurations)

Set gets or sets the frontend IP configurations of the load balancer.

LoadBalancerResourceSettings withSku(String sku)

Set gets or sets load balancer sku (Basic/Standard).

LoadBalancerResourceSettings withZones(String zones)

Set gets or sets the csv list of zones common for all frontend IP configurations.

java.lang.String zones()

Get gets or sets the csv list of zones common for all frontend IP configurations.

Methods inherited from ResourceSettings

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

LoadBalancerResourceSettings

public LoadBalancerResourceSettings()

Method Details

backendAddressPools

public List<LBBackendAddressPoolResourceSettings> backendAddressPools()

Get gets or sets the backend address pools of the load balancer.

Returns:

the backendAddressPools value

frontendIPConfigurations

public List<LBFrontendIPConfigurationResourceSettings> frontendIPConfigurations()

Get gets or sets the frontend IP configurations of the load balancer.

Returns:

the frontendIPConfigurations value

sku

public String sku()

Get gets or sets load balancer sku (Basic/Standard).

Returns:

the sku value

withBackendAddressPools

public LoadBalancerResourceSettings withBackendAddressPools(List<LBBackendAddressPoolResourceSettings> backendAddressPools)

Set gets or sets the backend address pools of the load balancer.

Parameters:

backendAddressPools - the backendAddressPools value to set

Returns:

the LoadBalancerResourceSettings object itself.

withFrontendIPConfigurations

public LoadBalancerResourceSettings withFrontendIPConfigurations(List<LBFrontendIPConfigurationResourceSettings> frontendIPConfigurations)

Set gets or sets the frontend IP configurations of the load balancer.

Parameters:

frontendIPConfigurations - the frontendIPConfigurations value to set

Returns:

the LoadBalancerResourceSettings object itself.

withSku

public LoadBalancerResourceSettings withSku(String sku)

Set gets or sets load balancer sku (Basic/Standard).

Parameters:

sku - the sku value to set

Returns:

the LoadBalancerResourceSettings object itself.

withZones

public LoadBalancerResourceSettings withZones(String zones)

Set gets or sets the csv list of zones common for all frontend IP configurations. Note this is given precedence only if frontend IP configurations settings are not present.

Parameters:

zones - the zones value to set

Returns:

the LoadBalancerResourceSettings object itself.

zones

public String zones()

Get gets or sets the csv list of zones common for all frontend IP configurations. Note this is given precedence only if frontend IP configurations settings are not present.

Returns:

the zones value

Applies to