Aracılığıyla paylaş


VirtualMachineScaleSetVMsOperationsExtensions.BeginReimage Method

Definition

Overloads

BeginReimage(IVirtualMachineScaleSetVMsOperations, String, String, String, VirtualMachineScaleSetVMReimageParameters)

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

BeginReimage(IVirtualMachineScaleSetVMsOperations, String, String, String, Nullable<Boolean>)

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

BeginReimage(IVirtualMachineScaleSetVMsOperations, String, String, String, VirtualMachineScaleSetVMReimageParameters)

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

public static void BeginReimage (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput = default);
static member BeginReimage : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMReimageParameters -> unit
<Extension()>
Public Sub BeginReimage (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional vmScaleSetVMReimageInput As VirtualMachineScaleSetVMReimageParameters = Nothing)

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.

Applies to

BeginReimage(IVirtualMachineScaleSetVMsOperations, String, String, String, Nullable<Boolean>)

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

public static void BeginReimage (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, bool? tempDisk);
static member BeginReimage : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<bool> -> unit
<Extension()>
Public Sub BeginReimage (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, tempDisk As Nullable(Of Boolean))

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.

Applies to