Interface VirtualMachineImage

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<VirtualMachineImageInner>

public interface VirtualMachineImage extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<VirtualMachineImageInner>
An immutable client-side representation of an Azure virtual machine image.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets data disk images in the virtual machine image.
    id()
    Gets the resource ID of this image.
    Gets the image reference representing the publisher, offer, SKU and version of the virtual machine image.
    com.azure.core.management.Region
    Gets the region in which virtual machine image is available.
    Gets the name of the virtual machine image offer this image is part of.
    Gets OS disk image in the virtual machine image.
    Gets the purchase plan for the virtual machine image.
    Gets the publisher name of the virtual machine image.
    sku()
    Gets the commercial name of the virtual machine image (SKU).
    Gets the version of the virtual machine image.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel
  • Method Details

    • id

      String id()
      Gets the resource ID of this image.
      Returns:
      the resource ID of this image
    • location

      com.azure.core.management.Region location()
      Gets the region in which virtual machine image is available.
      Returns:
      the region in which virtual machine image is available
    • publisherName

      String publisherName()
      Gets the publisher name of the virtual machine image.
      Returns:
      the publisher name of the virtual machine image
    • offer

      String offer()
      Gets the name of the virtual machine image offer this image is part of.
      Returns:
      the name of the virtual machine image offer this image is part of
    • sku

      String sku()
      Gets the commercial name of the virtual machine image (SKU).
      Returns:
      the commercial name of the virtual machine image (SKU)
    • version

      String version()
      Gets the version of the virtual machine image.
      Returns:
      the version of the virtual machine image
    • imageReference

      ImageReference imageReference()
      Gets the image reference representing the publisher, offer, SKU and version of the virtual machine image.
      Returns:
      the image reference representing the publisher, offer, SKU and version of the virtual machine image
    • plan

      PurchasePlan plan()
      Gets the purchase plan for the virtual machine image.
      Returns:
      the purchase plan for the virtual machine image
    • osDiskImage

      OSDiskImage osDiskImage()
      Gets OS disk image in the virtual machine image.
      Returns:
      OS disk image in the virtual machine image
    • dataDiskImages

      Map<Integer, DataDiskImage> dataDiskImages()
      Gets data disk images in the virtual machine image.
      Returns:
      data disk images in the virtual machine image, indexed by the disk LUN