# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2020_12_01 module Models # # 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. # class AdditionalUnattendContent include MsRestAzure # @return [PassNames] The pass name. Currently, the only allowable value # is OobeSystem. Possible values include: 'OobeSystem' attr_accessor :pass_name # @return [ComponentNames] The component name. Currently, the only # allowable value is Microsoft-Windows-Shell-Setup. Possible values # include: 'Microsoft-Windows-Shell-Setup' attr_accessor :component_name # @return [SettingNames] Specifies the name of the setting to which the # content applies. Possible values are: FirstLogonCommands and AutoLogon. # Possible values include: 'AutoLogon', 'FirstLogonCommands' attr_accessor :setting_name # @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. attr_accessor :content # # Mapper for AdditionalUnattendContent class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end