ContainerConfiguration Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ContainerConfiguration
- com.
public class ContainerConfiguration
The configuration for container-enabled Pools.
Constructor Summary
Constructor | Description | |
---|---|---|
ContainerConfiguration() |
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". |
List<Container |
containerRegistries()
Get if any Images must be downloaded from a private registry which requires credentials, then those credentials must be provided here. |
Container |
type()
Get possible values include: 'docker |
Container |
withContainerImageNames(List<String> containerImageNames)
Set this is the full Image reference, as would be specified to "docker pull". |
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(ContainerType type)
Set possible values include: 'docker |
Methods inherited from java.lang.Object
Constructor Details
ContainerConfiguration
public ContainerConfiguration()
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 ContainerType type()
Get possible values include: 'dockerCompatible', 'criCompatible'.
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(ContainerType type)
Set possible values include: 'dockerCompatible', 'criCompatible'.
Parameters:
Returns:
Applies to
Azure SDK for Java