public final class HealthProbeParameters extends Object
| Constructor and Description |
|---|
HealthProbeParameters() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
probeIntervalInSeconds()
Get the probeIntervalInSeconds property: The number of seconds between health probes.Default is 240sec.
|
String |
probePath()
Get the probePath property: The path relative to the origin that is used to determine the health of the origin.
|
ProbeProtocol |
probeProtocol()
Get the probeProtocol property: Protocol to use for health probe.
|
HealthProbeRequestType |
probeRequestType()
Get the probeRequestType property: The type of health probe request that is made.
|
void |
validate()
Validates the instance.
|
HealthProbeParameters |
withProbeIntervalInSeconds(Integer probeIntervalInSeconds)
Set the probeIntervalInSeconds property: The number of seconds between health probes.Default is 240sec.
|
HealthProbeParameters |
withProbePath(String probePath)
Set the probePath property: The path relative to the origin that is used to determine the health of the origin.
|
HealthProbeParameters |
withProbeProtocol(ProbeProtocol probeProtocol)
Set the probeProtocol property: Protocol to use for health probe.
|
HealthProbeParameters |
withProbeRequestType(HealthProbeRequestType probeRequestType)
Set the probeRequestType property: The type of health probe request that is made.
|
public String probePath()
public HealthProbeParameters withProbePath(String probePath)
probePath - the probePath value to set.public HealthProbeRequestType probeRequestType()
public HealthProbeParameters withProbeRequestType(HealthProbeRequestType probeRequestType)
probeRequestType - the probeRequestType value to set.public ProbeProtocol probeProtocol()
public HealthProbeParameters withProbeProtocol(ProbeProtocol probeProtocol)
probeProtocol - the probeProtocol value to set.public Integer probeIntervalInSeconds()
public HealthProbeParameters withProbeIntervalInSeconds(Integer probeIntervalInSeconds)
probeIntervalInSeconds - the probeIntervalInSeconds value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.