Class ContainerSettings

java.lang.Object
com.microsoft.azure.management.batchai.ContainerSettings

public class ContainerSettings extends Object
Docker container settings.
  • Constructor Details

    • ContainerSettings

      public ContainerSettings()
  • Method Details

    • imageSourceRegistry

      public ImageSourceRegistry imageSourceRegistry()
      Get information about docker image and docker registry to download the container from.
      Returns:
      the imageSourceRegistry value
    • withImageSourceRegistry

      public ContainerSettings withImageSourceRegistry(ImageSourceRegistry imageSourceRegistry)
      Set information about docker image and docker registry to download the container from.
      Parameters:
      imageSourceRegistry - the imageSourceRegistry value to set
      Returns:
      the ContainerSettings object itself.
    • shmSize

      public String shmSize()
      Get size of /dev/shm. Please refer to docker documentation for supported argument formats.
      Returns:
      the shmSize value
    • withShmSize

      public ContainerSettings withShmSize(String shmSize)
      Set size of /dev/shm. Please refer to docker documentation for supported argument formats.
      Parameters:
      shmSize - the shmSize value to set
      Returns:
      the ContainerSettings object itself.