Class: Azure::ARM::Compute::Models::WindowsConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_compute/models/windows_configuration.rb

Overview

Describes Windows Configuration of the OS Profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_unattend_contentArray<AdditionalUnattendContent>

XML formatted information that can be included in the Unattend.xml file.

Returns:



30
31
32
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 30

def additional_unattend_content
  @additional_unattend_content
end

#enable_automatic_updatesBoolean

installed on the VM.

Returns:

  • (Boolean)

    Indicates whether Windows updates are automatically



22
23
24
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 22

def enable_automatic_updates
  @enable_automatic_updates
end

#provision_vmagentBoolean

provisioned on the Virtual Machine. If not specified, then the default behavior is to set it to true.

Returns:

  • (Boolean)

    Indicates whether the virtual machine agent should be



18
19
20
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 18

def provision_vmagent
  @provision_vmagent
end

#time_zoneString

Returns The time zone of the VM.

Returns:

  • (String)

    The time zone of the VM



25
26
27
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 25

def time_zone
  @time_zone
end

#win_rmWinRMConfiguration

configuration of the VM

Returns:



34
35
36
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 34

def win_rm
  @win_rm
end

Class Method Details

.mapperObject

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



41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 41

def self.mapper()
  {
    required: false,
    serialized_name: 'WindowsConfiguration',
    type: {
      name: 'Composite',
      class_name: 'WindowsConfiguration',
      model_properties: {
        provision_vmagent: {
          required: false,
          serialized_name: 'provisionVMAgent',
          type: {
            name: 'Boolean'
          }
        },
        enable_automatic_updates: {
          required: false,
          serialized_name: 'enableAutomaticUpdates',
          type: {
            name: 'Boolean'
          }
        },
        time_zone: {
          required: false,
          serialized_name: 'timeZone',
          type: {
            name: 'String'
          }
        },
        additional_unattend_content: {
          required: false,
          serialized_name: 'additionalUnattendContent',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'AdditionalUnattendContentElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AdditionalUnattendContent'
                }
            }
          }
        },
        win_rm: {
          required: false,
          serialized_name: 'winRM',
          type: {
            name: 'Composite',
            class_name: 'WinRMConfiguration'
          }
        }
      }
    }
  }
end