ContainerConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.ContainerConfiguration

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
java.util.List<java.lang.String> containerImageNames()

Get this is the full image reference, as would be specified to "docker pull".

java.util.List<ContainerRegistry> containerRegistries()

Get if any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.

java.lang.String type()

Get the type value.

ContainerConfiguration withContainerImageNames(List<String> containerImageNames)

Set this is the full image reference, as would be specified to "docker pull".

ContainerConfiguration 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.

ContainerConfiguration withType(String type)

Set the type value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ContainerConfiguration

public ContainerConfiguration()

Creates an instance of ContainerConfiguration class.

Method Details

containerImageNames

public List 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

containerRegistries

public List 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

type

public String type()

Get the type value.

Returns:

the type value

withContainerImageNames

public ContainerConfiguration withContainerImageNames(List 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.

Parameters:

containerImageNames - the containerImageNames value to set

Returns:

the ContainerConfiguration object itself.

withContainerRegistries

public ContainerConfiguration withContainerRegistries(List containerRegistries)

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.

withType

public ContainerConfiguration withType(String type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the ContainerConfiguration object itself.

Applies to