Class: Azure::Compute::Mgmt::V2018_04_01::Models::AutoOSUpgradePolicy

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#disable_auto_rollbackBoolean

Default value is false.

Returns:

  • (Boolean)

    Whether OS image rollback feature should be disabled.



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

.mapperObject

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