Class HealthProbeParameters
java.lang.Object
com.microsoft.azure.management.cdn.HealthProbeParameters
The JSON object that contains the properties to send health probes to
origin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the number of seconds between health probes.Default is 240sec.Get the path relative to the origin that is used to determine the health of the origin.Get protocol to use for health probe.Get the type of health probe request that is made.withProbeIntervalInSeconds
(Integer probeIntervalInSeconds) Set the number of seconds between health probes.Default is 240sec.withProbePath
(String probePath) Set the path relative to the origin that is used to determine the health of the origin.withProbeProtocol
(ProbeProtocol probeProtocol) Set protocol to use for health probe.withProbeRequestType
(HealthProbeRequestType probeRequestType) Set the type of health probe request that is made.
-
Constructor Details
-
HealthProbeParameters
public HealthProbeParameters()
-
-
Method Details
-
probePath
Get the path relative to the origin that is used to determine the health of the origin.- Returns:
- the probePath value
-
withProbePath
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
Get the type of health probe request that is made. Possible values include: 'NotSet', 'GET', 'HEAD'.- Returns:
- the probeRequestType value
-
withProbeRequestType
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
Get protocol to use for health probe. Possible values include: 'NotSet', 'Http', 'Https'.- Returns:
- the probeProtocol value
-
withProbeProtocol
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
Get the number of seconds between health probes.Default is 240sec.- Returns:
- the probeIntervalInSeconds value
-
withProbeIntervalInSeconds
Set the number of seconds between health probes.Default is 240sec.- Parameters:
probeIntervalInSeconds
- the probeIntervalInSeconds value to set- Returns:
- the HealthProbeParameters object itself.
-