ContainerHttpGet Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ContainerHttpGet
- com.
Implements
public final class ContainerHttpGet
implements JsonSerializable<ContainerHttpGet>
The container Http Get settings, for liveness or readiness probe.
Constructor Summary
Constructor | Description |
---|---|
ContainerHttpGet() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
List<Http |
httpHeaders()
Get the http |
String |
path()
Get the path property: The path to probe. |
int |
port()
Get the port property: The port number to probe. |
Scheme |
scheme()
Get the scheme property: The scheme. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container |
withHttpHeaders(List<HttpHeader> httpHeaders)
Set the http |
Container |
withPath(String path)
Set the path property: The path to probe. |
Container |
withPort(int port)
Set the port property: The port number to probe. |
Container |
withScheme(Scheme scheme)
Set the scheme property: The scheme. |
Methods inherited from java.lang.Object
Constructor Details
ContainerHttpGet
public ContainerHttpGet()
Creates an instance of ContainerHttpGet class.
Method Details
fromJson
public static ContainerHttpGet fromJson(JsonReader jsonReader)
Reads an instance of ContainerHttpGet from the JsonReader.
Parameters:
Returns:
Throws:
httpHeaders
public List
Get the httpHeaders property: The HTTP headers.
Returns:
path
public String path()
Get the path property: The path to probe.
Returns:
port
public int port()
Get the port property: The port number to probe.
Returns:
scheme
public Scheme scheme()
Get the scheme property: The scheme.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHttpHeaders
public ContainerHttpGet withHttpHeaders(List
Set the httpHeaders property: The HTTP headers.
Parameters:
Returns:
withPath
public ContainerHttpGet withPath(String path)
Set the path property: The path to probe.
Parameters:
Returns:
withPort
public ContainerHttpGet withPort(int port)
Set the port property: The port number to probe.
Parameters:
Returns:
withScheme
public ContainerHttpGet withScheme(Scheme scheme)
Set the scheme property: The scheme.
Parameters:
Returns:
Applies to
Azure SDK for Java