public class ImageInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
ImageInner() |
Modifier and Type | Method and Description |
---|---|
HyperVGenerationTypes |
hyperVGeneration()
Get the hyperVGeneration property: Gets the HyperVGenerationType of the VirtualMachine created from the image.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state.
|
com.azure.core.management.SubResource |
sourceVirtualMachine()
Get the sourceVirtualMachine property: The source virtual machine from which Image is created.
|
ImageStorageProfile |
storageProfile()
Get the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
void |
validate()
Validates the instance.
|
ImageInner |
withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)
Set the hyperVGeneration property: Gets the HyperVGenerationType of the VirtualMachine created from the image.
|
ImageInner |
withSourceVirtualMachine(com.azure.core.management.SubResource sourceVirtualMachine)
Set the sourceVirtualMachine property: The source virtual machine from which Image is created.
|
ImageInner |
withStorageProfile(ImageStorageProfile storageProfile)
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
public com.azure.core.management.SubResource sourceVirtualMachine()
public ImageInner withSourceVirtualMachine(com.azure.core.management.SubResource sourceVirtualMachine)
sourceVirtualMachine
- the sourceVirtualMachine value to set.public ImageStorageProfile storageProfile()
public ImageInner withStorageProfile(ImageStorageProfile storageProfile)
storageProfile
- the storageProfile value to set.public String provisioningState()
public HyperVGenerationTypes hyperVGeneration()
public ImageInner withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)
hyperVGeneration
- the hyperVGeneration value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.