AdditionalUnattendContent Class
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.
- Inheritance
-
azure.mgmt.compute._serialization.ModelAdditionalUnattendContent
Constructor
AdditionalUnattendContent(*, pass_name: Literal['OobeSystem'] | None = None, component_name: Literal['Microsoft-Windows-Shell-Setup'] | None = None, setting_name: str | _models.SettingNames | None = None, content: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
pass_name
|
The pass name. Currently, the only allowable value is OobeSystem. Default value is "OobeSystem". |
component_name
|
The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Default value is "Microsoft-Windows-Shell-Setup". |
setting_name
|
str or
SettingNames
Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values are: "AutoLogon" and "FirstLogonCommands". |
content
|
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. |
Variables
Name | Description |
---|---|
pass_name
|
The pass name. Currently, the only allowable value is OobeSystem. Default value is "OobeSystem". |
component_name
|
The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Default value is "Microsoft-Windows-Shell-Setup". |
setting_name
|
str or
SettingNames
Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values are: "AutoLogon" and "FirstLogonCommands". |
content
|
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. |
Azure SDK for Python