UpgradePolicy Class
Describes an upgrade policy - automatic, manual, or rolling.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.batch._serialization.ModelUpgradePolicy
Constructor
UpgradePolicy(*, mode: str | _models.UpgradeMode, automatic_os_upgrade_policy: _models.AutomaticOSUpgradePolicy | None = None, rolling_upgrade_policy: _models.RollingUpgradePolicy | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
mode
|
str or
UpgradeMode
Specifies the mode of an upgrade to virtual machines in the scale set.:code: |
automatic_os_upgrade_policy
|
The configuration parameters used for performing automatic OS upgrade. |
rolling_upgrade_policy
|
The configuration parameters used while performing a rolling upgrade. |
Variables
Name | Description |
---|---|
mode
|
str or
UpgradeMode
Specifies the mode of an upgrade to virtual machines in the scale set.:code: |
automatic_os_upgrade_policy
|
The configuration parameters used for performing automatic OS upgrade. |
rolling_upgrade_policy
|
The configuration parameters used while performing a rolling upgrade. |
Azure SDK for Python