Udostępnij za pośrednictwem


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
String

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

name
String

The virtual machine name.

tempDisk
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to