Class ImageInner


  • public final class ImageInner
    extends com.azure.core.management.ProxyResource
    Lab services virtual machine image.
    • Constructor Detail

      • ImageInner

        public ImageInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Metadata pertaining to creation and last modification of the image.
        Returns:
        the systemData value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Current provisioning state of the image.
        Returns:
        the provisioningState value.
      • displayName

        public String displayName()
        Get the displayName property: The image display name.
        Returns:
        the displayName value.
      • description

        public String description()
        Get the description property: A description of the image.
        Returns:
        the description value.
      • iconUrl

        public String iconUrl()
        Get the iconUrl property: URL of the image icon.
        Returns:
        the iconUrl value.
      • author

        public String author()
        Get the author property: The image author.
        Returns:
        the author value.
      • osType

        public OsType osType()
        Get the osType property: The OS Type of the image.
        Returns:
        the osType value.
      • plan

        public String plan()
        Get the plan property: The ID of marketplace plan associated with the image (optional).
        Returns:
        the plan value.
      • termsStatus

        public EnableState termsStatus()
        Get the termsStatus property: The status of image terms of use (enabled = accepted, disabled = not accepted).
        Returns:
        the termsStatus value.
      • offer

        public String offer()
        Get the offer property: The ID of an offer associated with the image.
        Returns:
        the offer value.
      • publisher

        public String publisher()
        Get the publisher property: The ID of the publisher of the image.
        Returns:
        the publisher value.
      • sku

        public String sku()
        Get the sku property: The image SKU.
        Returns:
        the sku value.
      • version

        public String version()
        Get the version property: The image version.
        Returns:
        the version value.
      • sharedGalleryId

        public String sharedGalleryId()
        Get the sharedGalleryId property: The ID for the image in the shared gallery.
        Returns:
        the sharedGalleryId value.
      • availableRegions

        public List<String> availableRegions()
        Get the availableRegions property: The available regions of the image in the shared gallery.
        Returns:
        the availableRegions value.
      • withAvailableRegions

        public ImageInner withAvailableRegions​(List<String> availableRegions)
        Set the availableRegions property: The available regions of the image in the shared gallery.
        Parameters:
        availableRegions - the availableRegions value to set.
        Returns:
        the ImageInner object itself.
      • osState

        public OsState osState()
        Get the osState property: The OS State of the image.
        Returns:
        the osState value.
      • enabledState

        public EnableState enabledState()
        Get the enabledState property: Is the image enabled.
        Returns:
        the enabledState value.
      • withEnabledState

        public ImageInner withEnabledState​(EnableState enabledState)
        Set the enabledState property: Is the image enabled.
        Parameters:
        enabledState - the enabledState value to set.
        Returns:
        the ImageInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.