Class HealthProbeParameters

java.lang.Object
com.microsoft.azure.management.cdn.HealthProbeParameters

public class HealthProbeParameters extends Object
The JSON object that contains the properties to send health probes to origin.
  • Constructor Details

    • HealthProbeParameters

      public HealthProbeParameters()
  • Method Details

    • probePath

      public String probePath()
      Get the path relative to the origin that is used to determine the health of the origin.
      Returns:
      the probePath value
    • withProbePath

      public HealthProbeParameters withProbePath(String probePath)
      Set the path relative to the origin that is used to determine the health of the origin.
      Parameters:
      probePath - the probePath value to set
      Returns:
      the HealthProbeParameters object itself.
    • probeRequestType

      public HealthProbeRequestType probeRequestType()
      Get the type of health probe request that is made. Possible values include: 'NotSet', 'GET', 'HEAD'.
      Returns:
      the probeRequestType value
    • withProbeRequestType

      public HealthProbeParameters withProbeRequestType(HealthProbeRequestType probeRequestType)
      Set the type of health probe request that is made. Possible values include: 'NotSet', 'GET', 'HEAD'.
      Parameters:
      probeRequestType - the probeRequestType value to set
      Returns:
      the HealthProbeParameters object itself.
    • probeProtocol

      public ProbeProtocol probeProtocol()
      Get protocol to use for health probe. Possible values include: 'NotSet', 'Http', 'Https'.
      Returns:
      the probeProtocol value
    • withProbeProtocol

      public HealthProbeParameters withProbeProtocol(ProbeProtocol probeProtocol)
      Set protocol to use for health probe. Possible values include: 'NotSet', 'Http', 'Https'.
      Parameters:
      probeProtocol - the probeProtocol value to set
      Returns:
      the HealthProbeParameters object itself.
    • probeIntervalInSeconds

      public Integer probeIntervalInSeconds()
      Get the number of seconds between health probes.Default is 240sec.
      Returns:
      the probeIntervalInSeconds value
    • withProbeIntervalInSeconds

      public HealthProbeParameters withProbeIntervalInSeconds(Integer probeIntervalInSeconds)
      Set the number of seconds between health probes.Default is 240sec.
      Parameters:
      probeIntervalInSeconds - the probeIntervalInSeconds value to set
      Returns:
      the HealthProbeParameters object itself.