Class HealthProbeSettingsUpdateParameters

java.lang.Object
com.azure.resourcemanager.frontdoor.models.HealthProbeSettingsUpdateParameters
Direct Known Subclasses:
HealthProbeSettingsProperties

public class HealthProbeSettingsUpdateParameters extends Object
L7 health probe settings for a backend pool.
  • Constructor Details

    • HealthProbeSettingsUpdateParameters

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

    • path

      public String path()
      Get the path property: The path to use for the health probe. Default is /.
      Returns:
      the path value.
    • withPath

      Set the path property: The path to use for the health probe. Default is /.
      Parameters:
      path - the path value to set.
      Returns:
      the HealthProbeSettingsUpdateParameters object itself.
    • protocol

      public FrontDoorProtocol protocol()
      Get the protocol property: Protocol scheme to use for this probe.
      Returns:
      the protocol value.
    • withProtocol

      Set the protocol property: Protocol scheme to use for this probe.
      Parameters:
      protocol - the protocol value to set.
      Returns:
      the HealthProbeSettingsUpdateParameters object itself.
    • intervalInSeconds

      public Integer intervalInSeconds()
      Get the intervalInSeconds property: The number of seconds between health probes.
      Returns:
      the intervalInSeconds value.
    • withIntervalInSeconds

      public HealthProbeSettingsUpdateParameters withIntervalInSeconds(Integer intervalInSeconds)
      Set the intervalInSeconds property: The number of seconds between health probes.
      Parameters:
      intervalInSeconds - the intervalInSeconds value to set.
      Returns:
      the HealthProbeSettingsUpdateParameters object itself.
    • healthProbeMethod

      public FrontDoorHealthProbeMethod healthProbeMethod()
      Get the healthProbeMethod property: Configures which HTTP method to use to probe the backends defined under backendPools.
      Returns:
      the healthProbeMethod value.
    • withHealthProbeMethod

      public HealthProbeSettingsUpdateParameters withHealthProbeMethod(FrontDoorHealthProbeMethod healthProbeMethod)
      Set the healthProbeMethod property: Configures which HTTP method to use to probe the backends defined under backendPools.
      Parameters:
      healthProbeMethod - the healthProbeMethod value to set.
      Returns:
      the HealthProbeSettingsUpdateParameters object itself.
    • enabledState

      public HealthProbeEnabled enabledState()
      Get the enabledState property: Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
      Returns:
      the enabledState value.
    • withEnabledState

      public HealthProbeSettingsUpdateParameters withEnabledState(HealthProbeEnabled enabledState)
      Set the enabledState property: Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
      Parameters:
      enabledState - the enabledState value to set.
      Returns:
      the HealthProbeSettingsUpdateParameters object itself.
    • validate

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