LoadBalancerResourceSettings Class
- java.
lang. Object - com.
microsoft. azure. management. resourcemover. v2021_01_01.ResourceSettings - com.
microsoft. azure. management. resourcemover. v2021_01_01.LoadBalancerResourceSettings
- com.
- com.
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<LBBackend |
backendAddressPools()
Get gets or sets the backend address pools of the load balancer. |
|
java.util.List<LBFrontend |
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). |
|
Load |
withBackendAddressPools(List<LBBackendAddressPoolResourceSettings> backendAddressPools)
Set gets or sets the backend address pools of the load balancer. |
|
Load |
withFrontendIPConfigurations(List<LBFrontendIPConfigurationResourceSettings> frontendIPConfigurations)
Set gets or sets the frontend IP configurations of the load balancer. |
|
Load |
withSku(String sku)
Set gets or sets load balancer sku (Basic/Standard). |
|
Load |
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
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:
frontendIPConfigurations
public List<LBFrontendIPConfigurationResourceSettings> frontendIPConfigurations()
Get gets or sets the frontend IP configurations of the load balancer.
Returns:
sku
public String sku()
Get gets or sets load balancer sku (Basic/Standard).
Returns:
withBackendAddressPools
public LoadBalancerResourceSettings withBackendAddressPools(List<LBBackendAddressPoolResourceSettings> backendAddressPools)
Set gets or sets the backend address pools of the load balancer.
Parameters:
Returns:
withFrontendIPConfigurations
public LoadBalancerResourceSettings withFrontendIPConfigurations(List<LBFrontendIPConfigurationResourceSettings> frontendIPConfigurations)
Set gets or sets the frontend IP configurations of the load balancer.
Parameters:
Returns:
withSku
public LoadBalancerResourceSettings withSku(String sku)
Set gets or sets load balancer sku (Basic/Standard).
Parameters:
Returns:
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:
Returns:
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: