# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ARM::Compute
module Models
#
# Specifies Windows operating system settings on the virtual machine.
#
class WindowsConfiguration
include MsRestAzure
include MsRest::JSONable
# @return [Boolean] Indicates whether virtual machine agent should be
# 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.
attr_accessor :provision_vmagent
# @return [Boolean] Indicates whether virtual machine is enabled for
# automatic updates.
attr_accessor :enable_automatic_updates
# @return [String] Specifies the time zone of the virtual machine. e.g.
# "Pacific Standard Time"
attr_accessor :time_zone
# @return [Array] Specifies additional base-64
# encoded XML formatted information that can be included in the
# Unattend.xml file, which is used by Windows Setup.
attr_accessor :additional_unattend_content
# @return [WinRMConfiguration] Specifies the Windows Remote Management
# listeners. This enables remote Windows PowerShell.
attr_accessor :win_rm
#
# Mapper for WindowsConfiguration class as Ruby Hash.
# This will be used for serialization/deserialization.
#
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
end
end
end