Class VirtualMachineReimageParameters
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineReimageParameters
-
- Direct Known Subclasses:
VirtualMachineScaleSetVMReimageParameters
public class VirtualMachineReimageParameters extends Object
Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineReimageParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleantempDisk()Get the tempDisk property: Specifies whether to reimage temp disk.voidvalidate()Validates the instance.VirtualMachineReimageParameterswithTempDisk(Boolean tempDisk)Set the tempDisk property: Specifies whether to reimage temp disk.
-
-
-
Method Detail
-
tempDisk
public Boolean tempDisk()
Get the tempDisk property: Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.- Returns:
- the tempDisk value.
-
withTempDisk
public VirtualMachineReimageParameters withTempDisk(Boolean tempDisk)
Set the tempDisk property: Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.- Parameters:
tempDisk- the tempDisk value to set.- Returns:
- the VirtualMachineReimageParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-