Share via


VirtualMachineScaleSetVMsOperationsExtensions.BeginReimageAsync Method

Definition

Overloads

BeginReimageAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, VirtualMachineScaleSetVMReimageParameters, CancellationToken)

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

BeginReimageAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, Nullable<Boolean>, CancellationToken)

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

BeginReimageAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, VirtualMachineScaleSetVMReimageParameters, CancellationToken)

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

public static System.Threading.Tasks.Task BeginReimageAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginReimageAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMReimageParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginReimageAsync (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional vmScaleSetVMReimageInput As VirtualMachineScaleSetVMReimageParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IVirtualMachineScaleSetVMsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

instanceId
String

The instance ID of the virtual machine.

vmScaleSetVMReimageInput
VirtualMachineScaleSetVMReimageParameters

Parameters for the Reimaging Virtual machine in ScaleSet.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

BeginReimageAsync(IVirtualMachineScaleSetVMsOperations, String, String, String, Nullable<Boolean>, CancellationToken)

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

public static System.Threading.Tasks.Task BeginReimageAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, bool? tempDisk, System.Threading.CancellationToken cancellationToken = default);
static member BeginReimageAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginReimageAsync (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, tempDisk As Nullable(Of Boolean), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IVirtualMachineScaleSetVMsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

instanceId
String

The instance ID 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to