Class LoadBalancerResourceNames
java.lang.Object
com.azure.resourcemanager.workloads.models.LoadBalancerResourceNames
The resource names object for load balancer and related resources.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LoadBalancerResourceNames class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backendPoolNames property: The list of backend pool names.Get the frontendIpConfigurationNames property: The list of frontend IP configuration names.Get the healthProbeNames property: The list of health probe names.Get the loadBalancerName property: The full resource name for load balancer.void
validate()
Validates the instance.withBackendPoolNames
(List<String> backendPoolNames) Set the backendPoolNames property: The list of backend pool names.withFrontendIpConfigurationNames
(List<String> frontendIpConfigurationNames) Set the frontendIpConfigurationNames property: The list of frontend IP configuration names.withHealthProbeNames
(List<String> healthProbeNames) Set the healthProbeNames property: The list of health probe names.withLoadBalancerName
(String loadBalancerName) Set the loadBalancerName property: The full resource name for load balancer.
-
Constructor Details
-
LoadBalancerResourceNames
public LoadBalancerResourceNames()Creates an instance of LoadBalancerResourceNames class.
-
-
Method Details
-
loadBalancerName
Get the loadBalancerName property: The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.- Returns:
- the loadBalancerName value.
-
withLoadBalancerName
Set the loadBalancerName property: The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.- Parameters:
loadBalancerName
- the loadBalancerName value to set.- Returns:
- the LoadBalancerResourceNames object itself.
-
frontendIpConfigurationNames
Get the frontendIpConfigurationNames property: The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.- Returns:
- the frontendIpConfigurationNames value.
-
withFrontendIpConfigurationNames
public LoadBalancerResourceNames withFrontendIpConfigurationNames(List<String> frontendIpConfigurationNames) Set the frontendIpConfigurationNames property: The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.- Parameters:
frontendIpConfigurationNames
- the frontendIpConfigurationNames value to set.- Returns:
- the LoadBalancerResourceNames object itself.
-
backendPoolNames
Get the backendPoolNames property: The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1.- Returns:
- the backendPoolNames value.
-
withBackendPoolNames
Set the backendPoolNames property: The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1.- Parameters:
backendPoolNames
- the backendPoolNames value to set.- Returns:
- the LoadBalancerResourceNames object itself.
-
healthProbeNames
Get the healthProbeNames property: The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.- Returns:
- the healthProbeNames value.
-
withHealthProbeNames
Set the healthProbeNames property: The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.- Parameters:
healthProbeNames
- the healthProbeNames value to set.- Returns:
- the LoadBalancerResourceNames object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-