public final class ContainerProbe extends Object
| Constructor and Description |
|---|
ContainerProbe() |
| Modifier and Type | Method and Description |
|---|---|
ContainerExec |
exec()
Get the exec property: The execution command to probe.
|
Integer |
failureThreshold()
Get the failureThreshold property: The failure threshold.
|
ContainerHttpGet |
httpGet()
Get the httpGet property: The Http Get settings to probe.
|
Integer |
initialDelaySeconds()
Get the initialDelaySeconds property: The initial delay seconds.
|
Integer |
periodSeconds()
Get the periodSeconds property: The period seconds.
|
Integer |
successThreshold()
Get the successThreshold property: The success threshold.
|
Integer |
timeoutSeconds()
Get the timeoutSeconds property: The timeout seconds.
|
void |
validate()
Validates the instance.
|
ContainerProbe |
withExec(ContainerExec exec)
Set the exec property: The execution command to probe.
|
ContainerProbe |
withFailureThreshold(Integer failureThreshold)
Set the failureThreshold property: The failure threshold.
|
ContainerProbe |
withHttpGet(ContainerHttpGet httpGet)
Set the httpGet property: The Http Get settings to probe.
|
ContainerProbe |
withInitialDelaySeconds(Integer initialDelaySeconds)
Set the initialDelaySeconds property: The initial delay seconds.
|
ContainerProbe |
withPeriodSeconds(Integer periodSeconds)
Set the periodSeconds property: The period seconds.
|
ContainerProbe |
withSuccessThreshold(Integer successThreshold)
Set the successThreshold property: The success threshold.
|
ContainerProbe |
withTimeoutSeconds(Integer timeoutSeconds)
Set the timeoutSeconds property: The timeout seconds.
|
public ContainerExec exec()
public ContainerProbe withExec(ContainerExec exec)
exec - the exec value to set.public ContainerHttpGet httpGet()
public ContainerProbe withHttpGet(ContainerHttpGet httpGet)
httpGet - the httpGet value to set.public Integer initialDelaySeconds()
public ContainerProbe withInitialDelaySeconds(Integer initialDelaySeconds)
initialDelaySeconds - the initialDelaySeconds value to set.public Integer periodSeconds()
public ContainerProbe withPeriodSeconds(Integer periodSeconds)
periodSeconds - the periodSeconds value to set.public Integer failureThreshold()
public ContainerProbe withFailureThreshold(Integer failureThreshold)
failureThreshold - the failureThreshold value to set.public Integer successThreshold()
public ContainerProbe withSuccessThreshold(Integer successThreshold)
successThreshold - the successThreshold value to set.public Integer timeoutSeconds()
public ContainerProbe withTimeoutSeconds(Integer timeoutSeconds)
timeoutSeconds - the timeoutSeconds value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.