Class ImageUpdate

java.lang.Object
com.microsoft.azure.management.compute.UpdateResource
com.microsoft.azure.management.compute.ImageUpdate

public class ImageUpdate extends UpdateResource
The source user image virtual hard disk. Only tags may be updated.
  • Constructor Details

    • ImageUpdate

      public ImageUpdate()
  • Method Details

    • sourceVirtualMachine

      public com.microsoft.azure.SubResource sourceVirtualMachine()
      Get the source virtual machine from which Image is created.
      Returns:
      the sourceVirtualMachine value
    • withSourceVirtualMachine

      public ImageUpdate withSourceVirtualMachine(com.microsoft.azure.SubResource sourceVirtualMachine)
      Set the source virtual machine from which Image is created.
      Parameters:
      sourceVirtualMachine - the sourceVirtualMachine value to set
      Returns:
      the ImageUpdate object itself.
    • storageProfile

      public ImageStorageProfile storageProfile()
      Get specifies the storage settings for the virtual machine disks.
      Returns:
      the storageProfile value
    • withStorageProfile

      public ImageUpdate withStorageProfile(ImageStorageProfile storageProfile)
      Set specifies the storage settings for the virtual machine disks.
      Parameters:
      storageProfile - the storageProfile value to set
      Returns:
      the ImageUpdate object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioning state.
      Returns:
      the provisioningState value
    • hyperVGeneration

      public HyperVGenerationTypes hyperVGeneration()
      Get gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'V1', 'V2'.
      Returns:
      the hyperVGeneration value
    • withHyperVGeneration

      public ImageUpdate withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)
      Set gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'V1', 'V2'.
      Parameters:
      hyperVGeneration - the hyperVGeneration value to set
      Returns:
      the ImageUpdate object itself.