Class ReplicaContainer
java.lang.Object
com.azure.resourcemanager.appcontainers.models.ReplicaContainer
Container object under Container App Revision Replica.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the containerId property: The Id of the Container.Get the execEndpoint property: Container exec endpoint.Get the logStreamEndpoint property: Log Stream endpoint.name()
Get the name property: The Name of the Container.ready()
Get the ready property: The container ready status.Get the restartCount property: The container restart count.started()
Get the started property: The container start status.void
validate()
Validates the instance.withContainerId
(String containerId) Set the containerId property: The Id of the Container.Set the name property: The Name of the Container.Set the ready property: The container ready status.withRestartCount
(Integer restartCount) Set the restartCount property: The container restart count.withStarted
(Boolean started) Set the started property: The container start status.
-
Constructor Details
-
ReplicaContainer
public ReplicaContainer()Creates an instance of ReplicaContainer class.
-
-
Method Details
-
name
Get the name property: The Name of the Container.- Returns:
- the name value.
-
withName
Set the name property: The Name of the Container.- Parameters:
name
- the name value to set.- Returns:
- the ReplicaContainer object itself.
-
containerId
Get the containerId property: The Id of the Container.- Returns:
- the containerId value.
-
withContainerId
Set the containerId property: The Id of the Container.- Parameters:
containerId
- the containerId value to set.- Returns:
- the ReplicaContainer object itself.
-
ready
Get the ready property: The container ready status.- Returns:
- the ready value.
-
withReady
Set the ready property: The container ready status.- Parameters:
ready
- the ready value to set.- Returns:
- the ReplicaContainer object itself.
-
started
Get the started property: The container start status.- Returns:
- the started value.
-
withStarted
Set the started property: The container start status.- Parameters:
started
- the started value to set.- Returns:
- the ReplicaContainer object itself.
-
restartCount
Get the restartCount property: The container restart count.- Returns:
- the restartCount value.
-
withRestartCount
Set the restartCount property: The container restart count.- Parameters:
restartCount
- the restartCount value to set.- Returns:
- the ReplicaContainer object itself.
-
logStreamEndpoint
Get the logStreamEndpoint property: Log Stream endpoint.- Returns:
- the logStreamEndpoint value.
-
execEndpoint
Get the execEndpoint property: Container exec endpoint.- Returns:
- the execEndpoint value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-