Class ImageReference


  • public class ImageReference
    extends Object
    A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
    • Constructor Detail

      • ImageReference

        public ImageReference()
    • Method Detail

      • publisher

        public String publisher()
        Get the publisher value.
        Returns:
        the publisher value
      • withPublisher

        public ImageReference withPublisher​(String publisher)
        Set the publisher value.
        Parameters:
        publisher - the publisher value to set
        Returns:
        the ImageReference object itself.
      • offer

        public String offer()
        Get the offer value.
        Returns:
        the offer value
      • withOffer

        public ImageReference withOffer​(String offer)
        Set the offer value.
        Parameters:
        offer - the offer value to set
        Returns:
        the ImageReference object itself.
      • sku

        public String sku()
        Get the sku value.
        Returns:
        the sku value
      • withSku

        public ImageReference withSku​(String sku)
        Set the sku value.
        Parameters:
        sku - the sku value to set
        Returns:
        the ImageReference object itself.
      • version

        public String version()
        Get the version value.
        Returns:
        the version value
      • withVersion

        public ImageReference withVersion​(String version)
        Set the version value.
        Parameters:
        version - the version value to set
        Returns:
        the ImageReference object itself.
      • id

        public String id()
        Get the id value.
        Returns:
        the id value
      • withId

        public ImageReference withId​(String id)
        Set the id value.
        Parameters:
        id - the id value to set
        Returns:
        the ImageReference object itself.