| Modifier and Type | Method and Description |
|---|---|
UpgradePolicy |
VirtualMachineScaleSetUpdate.upgradePolicy()
Get the upgrade policy.
|
UpgradePolicy |
UpgradePolicy.withAutomaticOSUpgradePolicy(AutomaticOSUpgradePolicy automaticOSUpgradePolicy)
Set configuration parameters used for performing automatic OS Upgrade.
|
UpgradePolicy |
UpgradePolicy.withMode(UpgradeMode mode)
Set specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of updates to virtual machines in the scale set.
|
UpgradePolicy |
UpgradePolicy.withRollingUpgradePolicy(RollingUpgradePolicy rollingUpgradePolicy)
Set the configuration parameters used while performing a rolling upgrade.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineScaleSetUpdate |
VirtualMachineScaleSetUpdate.withUpgradePolicy(UpgradePolicy upgradePolicy)
Set the upgrade policy.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/