Class ImageSourceRegistry
java.lang.Object
com.microsoft.azure.management.batchai.ImageSourceRegistry
Information about docker image for the job.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet credentials to access the private docker repository.image()
Get the name of the image in the image repository.Get uRL for image repository.withCredentials
(PrivateRegistryCredentials credentials) Set credentials to access the private docker repository.Set the name of the image in the image repository.withServerUrl
(String serverUrl) Set uRL for image repository.
-
Constructor Details
-
ImageSourceRegistry
public ImageSourceRegistry()
-
-
Method Details
-
serverUrl
Get uRL for image repository.- Returns:
- the serverUrl value
-
withServerUrl
Set uRL for image repository.- Parameters:
serverUrl
- the serverUrl value to set- Returns:
- the ImageSourceRegistry object itself.
-
image
Get the name of the image in the image repository.- Returns:
- the image value
-
withImage
Set the name of the image in the image repository.- Parameters:
image
- the image value to set- Returns:
- the ImageSourceRegistry object itself.
-
credentials
Get credentials to access the private docker repository.- Returns:
- the credentials value
-
withCredentials
Set credentials to access the private docker repository.- Parameters:
credentials
- the credentials value to set- Returns:
- the ImageSourceRegistry object itself.
-