Interface GalleryImage

    • Method Detail

      • description

        String description()
        Returns:
        the description of the image.
      • unsupportedDiskTypes

        List<DiskSkuTypes> unsupportedDiskTypes()
        Returns:
        the disk types not supported by the image.
      • disallowed

        Disallowed disallowed()
        Returns:
        a description of features not supported by the image.
      • endOfLifeDate

        OffsetDateTime endOfLifeDate()
        Returns:
        the date indicating image's end of life.
      • eula

        String eula()
        Returns:
        the image eula.
      • id

        String id()
        Returns:
        the ARM id of the image.
      • identifier

        GalleryImageIdentifier identifier()
        Returns:
        an identifier describing publisher, offer and sku of the image.
      • location

        String location()
        Returns:
        the location of the image.
      • name

        String name()
        Returns:
        the image name.
      • privacyStatementUri

        String privacyStatementUri()
        Returns:
        the uri to image privacy statement.
      • provisioningState

        String provisioningState()
        Returns:
        the provisioningState of image resource.
      • purchasePlan

        ImagePurchasePlan purchasePlan()
        Returns:
        the purchasePlan of the image.
      • recommendedVirtualMachineConfiguration

        RecommendedMachineConfiguration recommendedVirtualMachineConfiguration()
        Returns:
        the value describing recommended configuration for a virtual machine based on this image.
      • releaseNoteUri

        String releaseNoteUri()
        Returns:
        the uri to the image release note.
      • tags

        Map<String,​String> tags()
        Returns:
        the tags associated with the image.
      • type

        String type()
        Returns:
        the type value.
      • getVersionAsync

        Mono<GalleryImageVersion> getVersionAsync​(String versionName)
        Retrieves information about an image version.
        Parameters:
        versionName - The name of the image.
        Returns:
        the observable for the request
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getVersion

        GalleryImageVersion getVersion​(String versionName)
        Retrieves information about an image version.
        Parameters:
        versionName - The name of the image version.
        Returns:
        the image version
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listVersionsAsync

        com.azure.core.http.rest.PagedFlux<GalleryImageVersion> listVersionsAsync()
        List image versions.
        Returns:
        the observable for the request
      • listVersions

        com.azure.core.http.rest.PagedIterable<GalleryImageVersion> listVersions()
        List image versions.
        Returns:
        the list of image versions