ContainerExec Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ContainerExec
- com.
public final class ContainerExec
The container execution command, for liveness or readiness probe.
Constructor Summary
Constructor | Description |
---|---|
ContainerExec() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
command()
Get the command property: The commands to execute within the container. |
void |
validate()
Validates the instance. |
Container |
withCommand(List<String> command)
Set the command property: The commands to execute within the container. |
Methods inherited from java.lang.Object
Constructor Details
ContainerExec
public ContainerExec()
Creates an instance of ContainerExec class.
Method Details
command
public List
Get the command property: The commands to execute within the container.
Returns:
validate
public void validate()
Validates the instance.
withCommand
public ContainerExec withCommand(List
Set the command property: The commands to execute within the container.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for