Class ContainerHttpGet
java.lang.Object
com.microsoft.azure.management.containerinstance.ContainerHttpGet
The container Http Get settings, for liveness or readiness probe.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the HTTP headers.path()
Get the path to probe.int
port()
Get the port number to probe.scheme()
Get the scheme.withHttpHeaders
(HttpHeaders httpHeaders) Set the HTTP headers.Set the path to probe.withPort
(int port) Set the port number to probe.withScheme
(Scheme scheme) Set the scheme.
-
Constructor Details
-
ContainerHttpGet
public ContainerHttpGet()
-
-
Method Details
-
path
Get the path to probe.- Returns:
- the path value
-
withPath
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
Set the port number to probe.- Parameters:
port
- the port value to set- Returns:
- the ContainerHttpGet object itself.
-
scheme
Get the scheme. Possible values include: 'http', 'https'.- Returns:
- the scheme value
-
withScheme
Set the scheme. Possible values include: 'http', 'https'.- Parameters:
scheme
- the scheme value to set- Returns:
- the ContainerHttpGet object itself.
-
httpHeaders
Get the HTTP headers.- Returns:
- the httpHeaders value
-
withHttpHeaders
Set the HTTP headers.- Parameters:
httpHeaders
- the httpHeaders value to set- Returns:
- the ContainerHttpGet object itself.
-