Class ImageUpdate
java.lang.Object
com.microsoft.azure.management.compute.UpdateResource
com.microsoft.azure.management.compute.ImageUpdate
The source user image virtual hard disk. Only tags may be updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet gets the HyperVGenerationType of the VirtualMachine created from the image.Get the provisioning state.com.microsoft.azure.SubResource
Get the source virtual machine from which Image is created.Get specifies the storage settings for the virtual machine disks.withHyperVGeneration
(HyperVGenerationTypes hyperVGeneration) Set gets the HyperVGenerationType of the VirtualMachine created from the image.withSourceVirtualMachine
(com.microsoft.azure.SubResource sourceVirtualMachine) Set the source virtual machine from which Image is created.withStorageProfile
(ImageStorageProfile storageProfile) Set specifies the storage settings for the virtual machine disks.Methods inherited from class com.microsoft.azure.management.compute.UpdateResource
tags, withTags
-
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
Set the source virtual machine from which Image is created.- Parameters:
sourceVirtualMachine
- the sourceVirtualMachine value to set- Returns:
- the ImageUpdate object itself.
-
storageProfile
Get specifies the storage settings for the virtual machine disks.- Returns:
- the storageProfile value
-
withStorageProfile
Set specifies the storage settings for the virtual machine disks.- Parameters:
storageProfile
- the storageProfile value to set- Returns:
- the ImageUpdate object itself.
-
provisioningState
Get the provisioning state.- Returns:
- the provisioningState value
-
hyperVGeneration
Get gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'V1', 'V2'.- Returns:
- the hyperVGeneration value
-
withHyperVGeneration
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.
-