IVirtualMachines.ReimageAsync Method

Definition

Reimages the virtual machine asynchronously.

public System.Threading.Tasks.Task ReimageAsync (string groupName, string name, bool? tempDisk = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ReimageAsync : string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReimageAsync (groupName As String, name As String, Optional tempDisk As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

groupName
System.String

The name of the resource group the virtual machine is in.

name
System.String

The virtual machine name.

tempDisk
System.Nullable<System.Boolean>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task

Applies to