ImageDescriptor Class
- java.
lang. Object - com.
microsoft. azure. management. containerregistry. ImageDescriptor
- com.
public class ImageDescriptor
Properties for a registry image.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
digest()
Get the sha256-based digest of the image manifest. |
String |
registry()
Get the registry login server. |
String |
repository()
Get the repository name. |
String |
tag()
Get the tag name. |
Image |
withDigest(String digest)
Set the sha256-based digest of the image manifest. |
Image |
withRegistry(String registry)
Set the registry login server. |
Image |
withRepository(String repository)
Set the repository name. |
Image |
withTag(String tag)
Set the tag name. |
Method Details
digest
public String digest()
Get the sha256-based digest of the image manifest.
Returns:
registry
public String registry()
Get the registry login server.
Returns:
repository
public String repository()
Get the repository name.
Returns:
tag
public String tag()
Get the tag name.
Returns:
withDigest
public ImageDescriptor withDigest(String digest)
Set the sha256-based digest of the image manifest.
Parameters:
Returns:
withRegistry
public ImageDescriptor withRegistry(String registry)
Set the registry login server.
Parameters:
Returns:
withRepository
public ImageDescriptor withRepository(String repository)
Set the repository name.
Parameters:
Returns:
withTag
public ImageDescriptor withTag(String tag)
Set the tag name.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for