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.Model
AdditionalUnattendContent

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
str

The pass name. Currently, the only allowable value is OobeSystem. Default value is "OobeSystem".

component_name
str

The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Default value is "Microsoft-Windows-Shell-Setup".

setting_name

Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values are: "AutoLogon" and "FirstLogonCommands".

content
str

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
str

The pass name. Currently, the only allowable value is OobeSystem. Default value is "OobeSystem".

component_name
str

The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Default value is "Microsoft-Windows-Shell-Setup".

setting_name

Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values are: "AutoLogon" and "FirstLogonCommands".

content
str

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.