Class ImageDescriptor

java.lang.Object
com.microsoft.azure.management.containerregistry.ImageDescriptor

public class ImageDescriptor extends Object
Properties for a registry image.
  • Constructor Details

    • ImageDescriptor

      public ImageDescriptor()
  • Method Details

    • registry

      public String registry()
      Get the registry login server.
      Returns:
      the registry value
    • withRegistry

      public ImageDescriptor withRegistry(String registry)
      Set the registry login server.
      Parameters:
      registry - the registry value to set
      Returns:
      the ImageDescriptor object itself.
    • repository

      public String repository()
      Get the repository name.
      Returns:
      the repository value
    • withRepository

      public ImageDescriptor withRepository(String repository)
      Set the repository name.
      Parameters:
      repository - the repository value to set
      Returns:
      the ImageDescriptor object itself.
    • tag

      public String tag()
      Get the tag name.
      Returns:
      the tag value
    • withTag

      public ImageDescriptor withTag(String tag)
      Set the tag name.
      Parameters:
      tag - the tag value to set
      Returns:
      the ImageDescriptor object itself.
    • digest

      public String digest()
      Get the sha256-based digest of the image manifest.
      Returns:
      the digest value
    • withDigest

      public ImageDescriptor withDigest(String digest)
      Set the sha256-based digest of the image manifest.
      Parameters:
      digest - the digest value to set
      Returns:
      the ImageDescriptor object itself.