Class LoadBalancerResourceNames

java.lang.Object
com.azure.resourcemanager.workloads.models.LoadBalancerResourceNames

public final class LoadBalancerResourceNames extends Object
The resource names object for load balancer and related resources.
  • Constructor Details

    • LoadBalancerResourceNames

      public LoadBalancerResourceNames()
      Creates an instance of LoadBalancerResourceNames class.
  • Method Details

    • loadBalancerName

      public String 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

      public LoadBalancerResourceNames withLoadBalancerName(String loadBalancerName)
      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

      public List<String> 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

      public List<String> 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

      public LoadBalancerResourceNames withBackendPoolNames(List<String> backendPoolNames)
      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

      public List<String> 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

      public LoadBalancerResourceNames withHealthProbeNames(List<String> healthProbeNames)
      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.