Class ImageTemplateSharedImageDistributor


  • public final class ImageTemplateSharedImageDistributor
    extends ImageTemplateDistributor
    Distribute via Shared Image Gallery.
    • Constructor Detail

      • ImageTemplateSharedImageDistributor

        public ImageTemplateSharedImageDistributor()
    • Method Detail

      • galleryImageId

        public String galleryImageId()
        Get the galleryImageId property: Resource Id of the Shared Image Gallery image.
        Returns:
        the galleryImageId value.
      • withGalleryImageId

        public ImageTemplateSharedImageDistributor withGalleryImageId​(String galleryImageId)
        Set the galleryImageId property: Resource Id of the Shared Image Gallery image.
        Parameters:
        galleryImageId - the galleryImageId value to set.
        Returns:
        the ImageTemplateSharedImageDistributor object itself.
      • replicationRegions

        public List<String> replicationRegions()
        Get the replicationRegions property: A list of regions that the image will be replicated to.
        Returns:
        the replicationRegions value.
      • withReplicationRegions

        public ImageTemplateSharedImageDistributor withReplicationRegions​(List<String> replicationRegions)
        Set the replicationRegions property: A list of regions that the image will be replicated to.
        Parameters:
        replicationRegions - the replicationRegions value to set.
        Returns:
        the ImageTemplateSharedImageDistributor object itself.
      • excludeFromLatest

        public Boolean excludeFromLatest()
        Get the excludeFromLatest property: Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
        Returns:
        the excludeFromLatest value.
      • withExcludeFromLatest

        public ImageTemplateSharedImageDistributor withExcludeFromLatest​(Boolean excludeFromLatest)
        Set the excludeFromLatest property: Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
        Parameters:
        excludeFromLatest - the excludeFromLatest value to set.
        Returns:
        the ImageTemplateSharedImageDistributor object itself.
      • storageAccountType

        public SharedImageStorageAccountType storageAccountType()
        Get the storageAccountType property: Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
        Returns:
        the storageAccountType value.
      • withStorageAccountType

        public ImageTemplateSharedImageDistributor withStorageAccountType​(SharedImageStorageAccountType storageAccountType)
        Set the storageAccountType property: Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
        Parameters:
        storageAccountType - the storageAccountType value to set.
        Returns:
        the ImageTemplateSharedImageDistributor object itself.