Class ContainerProbe
java.lang.Object
com.microsoft.azure.management.containerinstance.ContainerProbe
The container probe, for liveness or readiness.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexec()
Get the execution command to probe.Get the failure threshold.httpGet()
Get the Http Get settings to probe.Get the initial delay seconds.Get the period seconds.Get the success threshold.Get the timeout seconds.withExec
(ContainerExec exec) Set the execution command to probe.withFailureThreshold
(Integer failureThreshold) Set the failure threshold.withHttpGet
(ContainerHttpGet httpGet) Set the Http Get settings to probe.withInitialDelaySeconds
(Integer initialDelaySeconds) Set the initial delay seconds.withPeriodSeconds
(Integer periodSeconds) Set the period seconds.withSuccessThreshold
(Integer successThreshold) Set the success threshold.withTimeoutSeconds
(Integer timeoutSeconds) Set the timeout seconds.
-
Constructor Details
-
ContainerProbe
public ContainerProbe()
-
-
Method Details
-
exec
Get the execution command to probe.- Returns:
- the exec value
-
withExec
Set the execution command to probe.- Parameters:
exec
- the exec value to set- Returns:
- the ContainerProbe object itself.
-
httpGet
Get the Http Get settings to probe.- Returns:
- the httpGet value
-
withHttpGet
Set the Http Get settings to probe.- Parameters:
httpGet
- the httpGet value to set- Returns:
- the ContainerProbe object itself.
-
initialDelaySeconds
Get the initial delay seconds.- Returns:
- the initialDelaySeconds value
-
withInitialDelaySeconds
Set the initial delay seconds.- Parameters:
initialDelaySeconds
- the initialDelaySeconds value to set- Returns:
- the ContainerProbe object itself.
-
periodSeconds
Get the period seconds.- Returns:
- the periodSeconds value
-
withPeriodSeconds
Set the period seconds.- Parameters:
periodSeconds
- the periodSeconds value to set- Returns:
- the ContainerProbe object itself.
-
failureThreshold
Get the failure threshold.- Returns:
- the failureThreshold value
-
withFailureThreshold
Set the failure threshold.- Parameters:
failureThreshold
- the failureThreshold value to set- Returns:
- the ContainerProbe object itself.
-
successThreshold
Get the success threshold.- Returns:
- the successThreshold value
-
withSuccessThreshold
Set the success threshold.- Parameters:
successThreshold
- the successThreshold value to set- Returns:
- the ContainerProbe object itself.
-
timeoutSeconds
Get the timeout seconds.- Returns:
- the timeoutSeconds value
-
withTimeoutSeconds
Set the timeout seconds.- Parameters:
timeoutSeconds
- the timeoutSeconds value to set- Returns:
- the ContainerProbe object itself.
-