Class: Azure::Compute::Mgmt::V2017_03_30::Models::WindowsConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-30/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:



33
34
35
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb', line 33

def additional_unattend_content
  @additional_unattend_content
end

#enable_automatic_updatesBoolean

automatic updates.

Returns:

  • (Boolean)

    Indicates whether virtual machine is enabled for



24
25
26
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb', line 24

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



20
21
22
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb', line 20

def provision_vmagent
  @provision_vmagent
end

#time_zoneString

“Pacific Standard Time”

Returns:

  • (String)

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



28
29
30
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb', line 28

def time_zone
  @time_zone
end

#win_rmWinRMConfiguration

listeners. This enables remote Windows PowerShell.

Returns:



37
38
39
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb', line 37

def win_rm
  @win_rm
end

Class Method Details

.mapperObject

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



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

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