Class: Azure::Compute::Mgmt::V2018_04_01::Models::AutoOSUpgradePolicy
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_04_01::Models::AutoOSUpgradePolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb
Overview
The configuration parameters used for performing automatic OS upgrade.
Instance Attribute Summary collapse
-
#disable_auto_rollback ⇒ Boolean
Default value is false.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoOSUpgradePolicy class as Ruby Hash.
Instance Attribute Details
#disable_auto_rollback ⇒ Boolean
Default value is false.
17 18 19 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb', line 17 def disable_auto_rollback @disable_auto_rollback end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoOSUpgradePolicy class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb', line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoOSUpgradePolicy', type: { name: 'Composite', class_name: 'AutoOSUpgradePolicy', model_properties: { disable_auto_rollback: { client_side_validation: true, required: false, serialized_name: 'disableAutoRollback', type: { name: 'Boolean' } } } } } end |