public class VirtualMachineImageInner extends VirtualMachineImageResourceInner
Constructor and Description |
---|
VirtualMachineImageInner() |
Modifier and Type | Method and Description |
---|---|
AutomaticOSUpgradeProperties |
automaticOSUpgradeProperties()
Get the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.
|
List<DataDiskImage> |
dataDiskImages()
Get the dataDiskImages property: The dataDiskImages property.
|
HyperVGenerationTypes |
hyperVGeneration()
Get the hyperVGeneration property: Specifies the HyperVGeneration Type.
|
OSDiskImage |
osDiskImage()
Get the osDiskImage property: Contains the os disk image information.
|
PurchasePlan |
plan()
Get the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
|
void |
validate()
Validates the instance.
|
VirtualMachineImageInner |
withAutomaticOSUpgradeProperties(AutomaticOSUpgradeProperties automaticOSUpgradeProperties)
Set the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.
|
VirtualMachineImageInner |
withDataDiskImages(List<DataDiskImage> dataDiskImages)
Set the dataDiskImages property: The dataDiskImages property.
|
VirtualMachineImageInner |
withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)
Set the hyperVGeneration property: Specifies the HyperVGeneration Type.
|
VirtualMachineImageInner |
withOsDiskImage(OSDiskImage osDiskImage)
Set the osDiskImage property: Contains the os disk image information.
|
VirtualMachineImageInner |
withPlan(PurchasePlan plan)
Set the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
|
location, name, tags, withLocation, withName, withTags
public PurchasePlan plan()
public VirtualMachineImageInner withPlan(PurchasePlan plan)
plan
- the plan value to set.public OSDiskImage osDiskImage()
public VirtualMachineImageInner withOsDiskImage(OSDiskImage osDiskImage)
osDiskImage
- the osDiskImage value to set.public List<DataDiskImage> dataDiskImages()
public VirtualMachineImageInner withDataDiskImages(List<DataDiskImage> dataDiskImages)
dataDiskImages
- the dataDiskImages value to set.public AutomaticOSUpgradeProperties automaticOSUpgradeProperties()
public VirtualMachineImageInner withAutomaticOSUpgradeProperties(AutomaticOSUpgradeProperties automaticOSUpgradeProperties)
automaticOSUpgradeProperties
- the automaticOSUpgradeProperties value to set.public HyperVGenerationTypes hyperVGeneration()
public VirtualMachineImageInner withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)
hyperVGeneration
- the hyperVGeneration value to set.public void validate()
validate
in class VirtualMachineImageResourceInner
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.