Class ContainerHttpGet

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

public class ContainerHttpGet extends Object
The container Http Get settings, for liveness or readiness probe.
  • Constructor Details

    • ContainerHttpGet

      public ContainerHttpGet()
  • Method Details

    • path

      public String path()
      Get the path to probe.
      Returns:
      the path value
    • withPath

      public ContainerHttpGet withPath(String path)
      Set the path to probe.
      Parameters:
      path - the path value to set
      Returns:
      the ContainerHttpGet object itself.
    • port

      public int port()
      Get the port number to probe.
      Returns:
      the port value
    • withPort

      public ContainerHttpGet withPort(int port)
      Set the port number to probe.
      Parameters:
      port - the port value to set
      Returns:
      the ContainerHttpGet object itself.
    • scheme

      public Scheme scheme()
      Get the scheme. Possible values include: 'http', 'https'.
      Returns:
      the scheme value
    • withScheme

      public ContainerHttpGet withScheme(Scheme scheme)
      Set the scheme. Possible values include: 'http', 'https'.
      Parameters:
      scheme - the scheme value to set
      Returns:
      the ContainerHttpGet object itself.
    • httpHeaders

      public HttpHeaders httpHeaders()
      Get the HTTP headers.
      Returns:
      the httpHeaders value
    • withHttpHeaders

      public ContainerHttpGet withHttpHeaders(HttpHeaders httpHeaders)
      Set the HTTP headers.
      Parameters:
      httpHeaders - the httpHeaders value to set
      Returns:
      the ContainerHttpGet object itself.