ContainerConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. batch. ContainerConfiguration
- com.
public class ContainerConfiguration
The configuration for container-enabled pools.
Constructor Summary
Constructor | Description |
---|---|
ContainerConfiguration() |
Creates an instance of ContainerConfiguration class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
containerImageNames()
Get 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. |
List<Container |
containerRegistries()
Get if any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here. |
String |
type()
Get the type value. |
Container |
withContainerImageNames(List<String> containerImageNames)
Set 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. |
Container |
withContainerRegistries(List<ContainerRegistry> containerRegistries)
Set if any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here. |
Container |
withType(String type)
Set the type value. |
Constructor Details
ContainerConfiguration
public ContainerConfiguration()
Creates an instance of ContainerConfiguration class.
Method Details
containerImageNames
public List
Get 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 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 value.
Returns:
withContainerImageNames
public ContainerConfiguration withContainerImageNames(List
Set 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 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 value.
Parameters:
Returns: