共用方式為


VirtualMachineScaleSetRollingUpgrades interface

Interface representing a VirtualMachineScaleSetRollingUpgrades.

Methods

beginCancel(string, string, VirtualMachineScaleSetRollingUpgradesCancelOptionalParams)

Cancels the current virtual machine scale set rolling upgrade.

beginCancelAndWait(string, string, VirtualMachineScaleSetRollingUpgradesCancelOptionalParams)

Cancels the current virtual machine scale set rolling upgrade.

beginStartExtensionUpgrade(string, string, VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams)

Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.

beginStartExtensionUpgradeAndWait(string, string, VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams)

Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.

beginStartOSUpgrade(string, string, VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams)

Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.

beginStartOSUpgradeAndWait(string, string, VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams)

Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.

getLatest(string, string, VirtualMachineScaleSetRollingUpgradesGetLatestOptionalParams)

Gets the status of the latest virtual machine scale set rolling upgrade.

Method Details

beginCancel(string, string, VirtualMachineScaleSetRollingUpgradesCancelOptionalParams)

Cancels the current virtual machine scale set rolling upgrade.

function beginCancel(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesCancelOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginCancelAndWait(string, string, VirtualMachineScaleSetRollingUpgradesCancelOptionalParams)

Cancels the current virtual machine scale set rolling upgrade.

function beginCancelAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesCancelOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

Returns

Promise<void>

beginStartExtensionUpgrade(string, string, VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams)

Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.

function beginStartExtensionUpgrade(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginStartExtensionUpgradeAndWait(string, string, VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams)

Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.

function beginStartExtensionUpgradeAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

Returns

Promise<void>

beginStartOSUpgrade(string, string, VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams)

Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.

function beginStartOSUpgrade(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginStartOSUpgradeAndWait(string, string, VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams)

Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.

function beginStartOSUpgradeAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

Returns

Promise<void>

getLatest(string, string, VirtualMachineScaleSetRollingUpgradesGetLatestOptionalParams)

Gets the status of the latest virtual machine scale set rolling upgrade.

function getLatest(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesGetLatestOptionalParams): Promise<RollingUpgradeStatusInfo>

Parameters

resourceGroupName

string

The name of the resource group.

vmScaleSetName

string

The name of the VM scale set.

Returns