共用方式為


VirtualMachineScaleSetsOperationsExtensions.Reimage Method

Definition

Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state.

public static void Reimage (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = default);
static member Reimage : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetReimageParameters -> unit
<Extension()>
Public Sub Reimage (operations As IVirtualMachineScaleSetsOperations, resourceGroupName As String, vmScaleSetName As String, Optional vmScaleSetReimageInput As VirtualMachineScaleSetReimageParameters = Nothing)

Parameters

operations
IVirtualMachineScaleSetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

vmScaleSetReimageInput
VirtualMachineScaleSetReimageParameters

Parameters for Reimaging VM ScaleSet.

Applies to