Class: Azure::Compute::Mgmt::V2019_07_01::Models::AdditionalUnattendContent
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::AdditionalUnattendContent
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb
Overview
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.
Instance Attribute Summary collapse
-
#component_name ⇒ ComponentNames
allowable value is Microsoft-Windows-Shell-Setup.
-
#content ⇒ String
the unattend.xml file for the specified path and component.
-
#pass_name ⇒ PassNames
is OobeSystem.
-
#setting_name ⇒ SettingNames
content applies.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AdditionalUnattendContent class as Ruby Hash.
Instance Attribute Details
#component_name ⇒ ComponentNames
allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'
25 26 27 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb', line 25 def component_name @component_name end |
#content ⇒ String
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.
36 37 38 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb', line 36 def content @content end |
#pass_name ⇒ PassNames
is OobeSystem. Possible values include: 'OobeSystem'
20 21 22 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb', line 20 def pass_name @pass_name end |
#setting_name ⇒ SettingNames
content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'
30 31 32 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb', line 30 def setting_name @setting_name end |
Class Method Details
.mapper ⇒ Object
Mapper for AdditionalUnattendContent class as Ruby Hash. This will be used for serialization/deserialization.
43 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 |
# File 'lib/2019-07-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 |