class Azure::Compute::Mgmt::V2019_07_01::Models::WindowsConfiguration

Specifies Windows operating system settings on the virtual machine.

Attributes

additional_unattend_content[RW]

@return [Array<AdditionalUnattendContent>] Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

enable_automatic_updates[RW]

@return [Boolean] Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.

provision_vmagent[RW]

@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.

time_zone[RW]

@return [String] Specifies the time zone of the virtual machine. e.g. “Pacific Standard Time”

win_rm[RW]

@return [WinRMConfiguration] Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-07-01/generated/azure_mgmt_compute/models/windows_configuration.rb, line 46
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WindowsConfiguration',
    type: {
      name: 'Composite',
      class_name: 'WindowsConfiguration',
      model_properties: {
        provision_vmagent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'provisionVMAgent',
          type: {
            name: 'Boolean'
          }
        },
        enable_automatic_updates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableAutomaticUpdates',
          type: {
            name: 'Boolean'
          }
        },
        time_zone: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeZone',
          type: {
            name: 'String'
          }
        },
        additional_unattend_content: {
          client_side_validation: true,
          required: false,
          serialized_name: 'additionalUnattendContent',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AdditionalUnattendContentElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AdditionalUnattendContent'
                }
            }
          }
        },
        win_rm: {
          client_side_validation: true,
          required: false,
          serialized_name: 'winRM',
          type: {
            name: 'Composite',
            class_name: 'WinRMConfiguration'
          }
        }
      }
    }
  }
end