class Azure::Compute::Mgmt::V2018_10_01::Models::AdditionalUnattendContent

Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

Attributes

component_name[RW]

@return [ComponentNames] The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'

content[RW]

@return [String] Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.

pass_name[RW]

@return [PassNames] The pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'

setting_name[RW]

@return [SettingNames] Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-10-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AdditionalUnattendContent',
    type: {
      name: 'Composite',
      class_name: 'AdditionalUnattendContent',
      model_properties: {
        pass_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'passName',
          type: {
            name: 'Enum',
            module: 'PassNames'
          }
        },
        component_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'componentName',
          type: {
            name: 'Enum',
            module: 'ComponentNames'
          }
        },
        setting_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'settingName',
          type: {
            name: 'Enum',
            module: 'SettingNames'
          }
        },
        content: {
          client_side_validation: true,
          required: false,
          serialized_name: 'content',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end