Class ContainerConfiguration
java.lang.Object
com.microsoft.azure.management.batch.ContainerConfiguration
The configuration for container-enabled pools.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContainerConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet this is the full image reference, as would be specified to "docker pull".Get if any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.type()
Get the type value.withContainerImageNames
(List<String> containerImageNames) Set this is the full image reference, as would be specified to "docker pull".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.Set the type value.
-
Constructor Details
-
ContainerConfiguration
public ContainerConfiguration()Creates an instance of ContainerConfiguration class.
-
-
Method Details
-
type
Get the type value.- Returns:
- the type value
-
withType
Set the type value.- Parameters:
type
- the type value to set- Returns:
- the ContainerConfiguration object itself.
-
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.- Returns:
- the containerImageNames value
-
withContainerImageNames
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:
containerImageNames
- the containerImageNames value to set- Returns:
- the ContainerConfiguration object itself.
-
containerRegistries
Get if any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.- Returns:
- the containerRegistries value
-
withContainerRegistries
Set if any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.- Parameters:
containerRegistries
- the containerRegistries value to set- Returns:
- the ContainerConfiguration object itself.
-