public class AutomaticOSUpgradePolicy extends Object
Constructor and Description |
---|
AutomaticOSUpgradePolicy() |
Modifier and Type | Method and Description |
---|---|
Boolean |
disableAutomaticRollback()
Get whether OS image rollback feature should be disabled.
|
Boolean |
enableAutomaticOSUpgrade()
Get indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available.
|
AutomaticOSUpgradePolicy |
withDisableAutomaticRollback(Boolean disableAutomaticRollback)
Set whether OS image rollback feature should be disabled.
|
AutomaticOSUpgradePolicy |
withEnableAutomaticOSUpgrade(Boolean enableAutomaticOSUpgrade)
Set indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available.
|
public Boolean enableAutomaticOSUpgrade()
public AutomaticOSUpgradePolicy withEnableAutomaticOSUpgrade(Boolean enableAutomaticOSUpgrade)
enableAutomaticOSUpgrade
- the enableAutomaticOSUpgrade value to setpublic Boolean disableAutomaticRollback()
public AutomaticOSUpgradePolicy withDisableAutomaticRollback(Boolean disableAutomaticRollback)
disableAutomaticRollback
- the disableAutomaticRollback value to setCopyright © 2019. All rights reserved.