Class ContainerProbe

java.lang.Object
com.microsoft.azure.management.containerinstance.ContainerProbe

public class ContainerProbe extends Object
The container probe, for liveness or readiness.
  • Constructor Details

    • ContainerProbe

      public ContainerProbe()
  • Method Details

    • exec

      public ContainerExec exec()
      Get the execution command to probe.
      Returns:
      the exec value
    • withExec

      public ContainerProbe withExec(ContainerExec exec)
      Set the execution command to probe.
      Parameters:
      exec - the exec value to set
      Returns:
      the ContainerProbe object itself.
    • httpGet

      public ContainerHttpGet httpGet()
      Get the Http Get settings to probe.
      Returns:
      the httpGet value
    • withHttpGet

      public ContainerProbe withHttpGet(ContainerHttpGet httpGet)
      Set the Http Get settings to probe.
      Parameters:
      httpGet - the httpGet value to set
      Returns:
      the ContainerProbe object itself.
    • initialDelaySeconds

      public Integer initialDelaySeconds()
      Get the initial delay seconds.
      Returns:
      the initialDelaySeconds value
    • withInitialDelaySeconds

      public ContainerProbe withInitialDelaySeconds(Integer initialDelaySeconds)
      Set the initial delay seconds.
      Parameters:
      initialDelaySeconds - the initialDelaySeconds value to set
      Returns:
      the ContainerProbe object itself.
    • periodSeconds

      public Integer periodSeconds()
      Get the period seconds.
      Returns:
      the periodSeconds value
    • withPeriodSeconds

      public ContainerProbe withPeriodSeconds(Integer periodSeconds)
      Set the period seconds.
      Parameters:
      periodSeconds - the periodSeconds value to set
      Returns:
      the ContainerProbe object itself.
    • failureThreshold

      public Integer failureThreshold()
      Get the failure threshold.
      Returns:
      the failureThreshold value
    • withFailureThreshold

      public ContainerProbe withFailureThreshold(Integer failureThreshold)
      Set the failure threshold.
      Parameters:
      failureThreshold - the failureThreshold value to set
      Returns:
      the ContainerProbe object itself.
    • successThreshold

      public Integer successThreshold()
      Get the success threshold.
      Returns:
      the successThreshold value
    • withSuccessThreshold

      public ContainerProbe withSuccessThreshold(Integer successThreshold)
      Set the success threshold.
      Parameters:
      successThreshold - the successThreshold value to set
      Returns:
      the ContainerProbe object itself.
    • timeoutSeconds

      public Integer timeoutSeconds()
      Get the timeout seconds.
      Returns:
      the timeoutSeconds value
    • withTimeoutSeconds

      public ContainerProbe withTimeoutSeconds(Integer timeoutSeconds)
      Set the timeout seconds.
      Parameters:
      timeoutSeconds - the timeoutSeconds value to set
      Returns:
      the ContainerProbe object itself.