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

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

Overview

Specifies Windows operating system settings on the virtual machine.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_unattend_contentArray<AdditionalUnattendContent>

encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

Returns:



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

def additional_unattend_content
  @additional_unattend_content
end

#enable_automatic_updatesBoolean

automatic updates.

Returns:

  • (Boolean)

    Indicates whether virtual machine is enabled for



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

def enable_automatic_updates
  @enable_automatic_updates
end

#provision_vmagentBoolean

provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.

Returns:

  • (Boolean)

    Indicates whether virtual machine agent should be



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

def provision_vmagent
  @provision_vmagent
end

#time_zoneString

“Pacific Standard Time”

Returns:

  • (String)

    Specifies the time zone of the virtual machine. e.g.



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

def time_zone
  @time_zone
end

#win_rmWinRMConfiguration

listeners. This enables remote Windows PowerShell.

Returns:



38
39
40
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 38

def win_rm
  @win_rm
end

Class Method Details

.mapperObject

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



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
97
98
99
100
# File 'lib/generated/azure_mgmt_compute/models/windows_configuration.rb', line 45

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