Share via


VirtualMachinesOperationsExtensions.BeginReimage Method

Definition

Re-image a lab virtual machine.

public static void BeginReimage (this Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations operations, string resourceGroupName, string labName, string virtualMachineName);
static member BeginReimage : Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations * string * string * string -> unit
<Extension()>
Public Sub BeginReimage (operations As IVirtualMachinesOperations, resourceGroupName As String, labName As String, virtualMachineName As String)

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labName
String

The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.

virtualMachineName
String

The ID of the virtual machine that uniquely identifies it within the containing lab. Used in resource URIs.

Remarks

Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest published snapshot of the reference environment of the lab.

Applies to