Class BackendPoolProperties

java.lang.Object
com.azure.resourcemanager.frontdoor.models.BackendPoolUpdateParameters
com.azure.resourcemanager.frontdoor.fluent.models.BackendPoolProperties

public final class BackendPoolProperties extends BackendPoolUpdateParameters
The JSON object that contains the properties required to create a Backend Pool.
  • Constructor Details

    • BackendPoolProperties

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

    • resourceState

      public FrontDoorResourceState resourceState()
      Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

      Resource status.

      Returns:
      the resourceState value.
    • withBackends

      public BackendPoolProperties withBackends(List<Backend> backends)
      Set the backends property: The set of backends for this pool.
      Overrides:
      withBackends in class BackendPoolUpdateParameters
      Parameters:
      backends - the backends value to set.
      Returns:
      the BackendPoolUpdateParameters object itself.
    • withLoadBalancingSettings

      public BackendPoolProperties withLoadBalancingSettings(com.azure.core.management.SubResource loadBalancingSettings)
      Set the loadBalancingSettings property: Load balancing settings for a backend pool.
      Overrides:
      withLoadBalancingSettings in class BackendPoolUpdateParameters
      Parameters:
      loadBalancingSettings - the loadBalancingSettings value to set.
      Returns:
      the BackendPoolUpdateParameters object itself.
    • withHealthProbeSettings

      public BackendPoolProperties withHealthProbeSettings(com.azure.core.management.SubResource healthProbeSettings)
      Set the healthProbeSettings property: L7 health probe settings for a backend pool.
      Overrides:
      withHealthProbeSettings in class BackendPoolUpdateParameters
      Parameters:
      healthProbeSettings - the healthProbeSettings value to set.
      Returns:
      the BackendPoolUpdateParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class BackendPoolUpdateParameters
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.