다음을 통해 공유


VirtualMachineScaleSetVMsOperationsExtensions.Reimage Method

Definition

Overloads

Reimage(IVirtualMachineScaleSetVMsOperations, String, String, String, VirtualMachineScaleSetVMReimageParameters)

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

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

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

Reimage(IVirtualMachineScaleSetVMsOperations, String, String, String, VirtualMachineScaleSetVMReimageParameters)

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

public static void Reimage (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMReimageParameters vmScaleSetVMReimageInput = default);
static member Reimage : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMReimageParameters -> unit
<Extension()>
Public Sub Reimage (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

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

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

public static void Reimage (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, bool? tempDisk);
static member Reimage : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<bool> -> unit
<Extension()>
Public Sub Reimage (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