VirtualMachinesOperationsExtensions.Reimage(IVirtualMachinesOperations, String, String, Nullable<Boolean>) Method

Definition

Reimages the virtual machine which has an ephemeral OS disk back to its initial state.

public static void Reimage (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string resourceGroupName, string vmName, Nullable<bool> tempDisk = null);
static member Reimage : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * string * Nullable<bool> -> unit
<Extension()>
Public Sub Reimage (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String, Optional tempDisk As Nullable(Of Boolean) = null)

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmName
String

The name of the virtual machine.

tempDisk
Nullable<Boolean>

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.

Applies to