ContainerConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. ContainerConfiguration
- com.
public final class ContainerConfiguration
The configuration for container-enabled pools.
Constructor Summary
Constructor | Description |
---|---|
ContainerConfiguration() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
containerImageNames()
Get the container |
List<Container |
containerRegistries()
Get the container |
String |
type()
Get the type property: The container technology to be used. |
void |
validate()
Validates the instance. |
Container |
withContainerImageNames(List<String> containerImageNames)
Set the container |
Container |
withContainerRegistries(List<ContainerRegistry> containerRegistries)
Set the container |
Container |
withType(String type)
Set the type property: The container technology to be used. |
Methods inherited from java.lang.Object
Constructor Details
ContainerConfiguration
public ContainerConfiguration()
Creates an instance of ContainerConfiguration class.
Method Details
containerImageNames
public List
Get the containerImageNames property: The collection of container image names. This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
Returns:
containerRegistries
public List
Get the containerRegistries property: Additional private registries from which containers can be pulled. If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
Returns:
type
public String type()
Get the type property: The container technology to be used.
Returns:
validate
public void validate()
Validates the instance.
withContainerImageNames
public ContainerConfiguration withContainerImageNames(List
Set the containerImageNames property: The collection of container image names. This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
Parameters:
Returns:
withContainerRegistries
public ContainerConfiguration withContainerRegistries(List
Set the containerRegistries property: Additional private registries from which containers can be pulled. If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
Parameters:
Returns:
withType
public ContainerConfiguration withType(String type)
Set the type property: The container technology to be used.
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