Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will
always be reimaged.
/**
* Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will
* always be reimaged.
*/
public class VirtualMachineReimageParameters {
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.
/**
* 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.
*/
@JsonProperty(value = "tempDisk")
private Boolean tempDisk;
Get 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
/**
* Get 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.
*
* @return the tempDisk value
*/
public Boolean tempDisk() {
return this.tempDisk;
}
Set 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.
Params: - tempDisk – the tempDisk value to set
Returns: the VirtualMachineReimageParameters object itself.
/**
* Set 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.
*
* @param tempDisk the tempDisk value to set
* @return the VirtualMachineReimageParameters object itself.
*/
public VirtualMachineReimageParameters withTempDisk(Boolean tempDisk) {
this.tempDisk = tempDisk;
return this;
}
}