public class UpgradePolicy extends Object
Constructor and Description |
---|
UpgradePolicy() |
Modifier and Type | Method and Description |
---|---|
AutomaticOSUpgradePolicy |
automaticOSUpgradePolicy()
Get configuration parameters used for performing automatic OS Upgrade.
|
UpgradeMode |
mode()
Get 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.
|
RollingUpgradePolicy |
rollingUpgradePolicy()
Get the configuration parameters used while performing a rolling upgrade.
|
UpgradePolicy |
withAutomaticOSUpgradePolicy(AutomaticOSUpgradePolicy automaticOSUpgradePolicy)
Set configuration parameters used for performing automatic OS Upgrade.
|
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 |
withRollingUpgradePolicy(RollingUpgradePolicy rollingUpgradePolicy)
Set the configuration parameters used while performing a rolling upgrade.
|
public UpgradeMode mode()
public UpgradePolicy withMode(UpgradeMode mode)
mode
- the mode value to setpublic RollingUpgradePolicy rollingUpgradePolicy()
public UpgradePolicy withRollingUpgradePolicy(RollingUpgradePolicy rollingUpgradePolicy)
rollingUpgradePolicy
- the rollingUpgradePolicy value to setpublic AutomaticOSUpgradePolicy automaticOSUpgradePolicy()
public UpgradePolicy withAutomaticOSUpgradePolicy(AutomaticOSUpgradePolicy automaticOSUpgradePolicy)
automaticOSUpgradePolicy
- the automaticOSUpgradePolicy value to setCopyright © 2019. All rights reserved.