Class: Azure::Compute::Mgmt::V2018_10_01::Models::AutomaticOSUpgradePolicy
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_10_01::Models::AutomaticOSUpgradePolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb
Overview
The configuration parameters used for performing automatic OS upgrade.
Instance Attribute Summary collapse
-
#disable_automatic_rollback ⇒ Boolean
Default value is false.
-
#enable_automatic_osupgrade ⇒ Boolean
applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutomaticOSUpgradePolicy class as Ruby Hash.
Instance Attribute Details
#disable_automatic_rollback ⇒ Boolean
Default value is false.
26 27 28 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb', line 26 def disable_automatic_rollback @disable_automatic_rollback end |
#enable_automatic_osupgrade ⇒ Boolean
applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, recommendation is to set [enableAutomaticUpdates](docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) to false.
22 23 24 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb', line 22 def enable_automatic_osupgrade @enable_automatic_osupgrade end |
Class Method Details
.mapper ⇒ Object
Mapper for AutomaticOSUpgradePolicy class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutomaticOSUpgradePolicy', type: { name: 'Composite', class_name: 'AutomaticOSUpgradePolicy', model_properties: { enable_automatic_osupgrade: { client_side_validation: true, required: false, serialized_name: 'enableAutomaticOSUpgrade', type: { name: 'Boolean' } }, disable_automatic_rollback: { client_side_validation: true, required: false, serialized_name: 'disableAutomaticRollback', type: { name: 'Boolean' } } } } } end |