Class ImageSourceRegistry

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

public class ImageSourceRegistry extends Object
Information about docker image for the job.
  • Constructor Details

    • ImageSourceRegistry

      public ImageSourceRegistry()
  • Method Details

    • serverUrl

      public String serverUrl()
      Get uRL for image repository.
      Returns:
      the serverUrl value
    • withServerUrl

      public ImageSourceRegistry withServerUrl(String serverUrl)
      Set uRL for image repository.
      Parameters:
      serverUrl - the serverUrl value to set
      Returns:
      the ImageSourceRegistry object itself.
    • image

      public String image()
      Get the name of the image in the image repository.
      Returns:
      the image value
    • withImage

      public ImageSourceRegistry withImage(String image)
      Set the name of the image in the image repository.
      Parameters:
      image - the image value to set
      Returns:
      the ImageSourceRegistry object itself.
    • credentials

      public PrivateRegistryCredentials credentials()
      Get credentials to access the private docker repository.
      Returns:
      the credentials value
    • withCredentials

      public ImageSourceRegistry withCredentials(PrivateRegistryCredentials credentials)
      Set credentials to access the private docker repository.
      Parameters:
      credentials - the credentials value to set
      Returns:
      the ImageSourceRegistry object itself.