| Modifier and Type | Method and Description |
|---|---|
AutomaticOSUpgradePolicy |
UpgradePolicy.automaticOSUpgradePolicy()
Get configuration parameters used for performing automatic OS Upgrade.
|
AutomaticOSUpgradePolicy |
AutomaticOSUpgradePolicy.withDisableAutomaticRollback(Boolean disableAutomaticRollback)
Set whether OS image rollback feature should be disabled.
|
AutomaticOSUpgradePolicy |
AutomaticOSUpgradePolicy.withEnableAutomaticOSUpgrade(Boolean enableAutomaticOSUpgrade)
Set whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the image becomes available.
|
| Modifier and Type | Method and Description |
|---|---|
UpgradePolicy |
UpgradePolicy.withAutomaticOSUpgradePolicy(AutomaticOSUpgradePolicy automaticOSUpgradePolicy)
Set configuration parameters used for performing automatic OS Upgrade.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/