Class: Azure::Batch::Mgmt::V2018_12_01::Models::WindowsConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-12-01/generated/azure_mgmt_batch/models/windows_configuration.rb

Overview

Windows operating system settings to apply to the virtual machine.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enable_automatic_updatesBoolean

machine. If omitted, the default value is true.

Returns:

  • (Boolean)

    Whether automatic updates are enabled on the virtual



18
19
20
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/windows_configuration.rb', line 18

def enable_automatic_updates
  @enable_automatic_updates
end

Class Method Details

.mapperObject

Mapper for WindowsConfiguration class as Ruby Hash. This will be used for serialization/deserialization.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/windows_configuration.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WindowsConfiguration',
    type: {
      name: 'Composite',
      class_name: 'WindowsConfiguration',
      model_properties: {
        enable_automatic_updates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableAutomaticUpdates',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end