Class ImageDescriptor
java.lang.Object
com.microsoft.azure.management.containerregistry.ImageDescriptor
Properties for a registry image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondigest()Get the sha256-based digest of the image manifest.registry()Get the registry login server.Get the repository name.tag()Get the tag name.withDigest(String digest) Set the sha256-based digest of the image manifest.withRegistry(String registry) Set the registry login server.withRepository(String repository) Set the repository name.Set the tag name.
-
Constructor Details
-
ImageDescriptor
public ImageDescriptor()
-
-
Method Details
-
registry
Get the registry login server.- Returns:
- the registry value
-
withRegistry
Set the registry login server.- Parameters:
registry- the registry value to set- Returns:
- the ImageDescriptor object itself.
-
repository
Get the repository name.- Returns:
- the repository value
-
withRepository
Set the repository name.- Parameters:
repository- the repository value to set- Returns:
- the ImageDescriptor object itself.
-
tag
Get the tag name.- Returns:
- the tag value
-
withTag
Set the tag name.- Parameters:
tag- the tag value to set- Returns:
- the ImageDescriptor object itself.
-
digest
Get the sha256-based digest of the image manifest.- Returns:
- the digest value
-
withDigest
Set the sha256-based digest of the image manifest.- Parameters:
digest- the digest value to set- Returns:
- the ImageDescriptor object itself.
-