共用方式為


AdditionalUnattendContent 類別

指定 Windows 安裝程式所使用的Unattend.xml檔案中可包含的其他 XML 格式資訊。 內容是透過設定名稱、元件名稱和套用內容的傳遞來定義。

繼承
azure.mgmt.compute._serialization.Model
AdditionalUnattendContent

建構函式

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)

僅限關鍵字參數

名稱 Description
pass_name
str

傳遞名稱。 目前唯一允許的值是 OobeSystem。 預設值為 「OobeSystem」。

component_name
str

元件名稱。 目前唯一允許的值是 Microsoft-Windows-Shell-Setup。 預設值為 「Microsoft-Windows-Shell-Setup」。

setting_name

指定要套用內容之設定的名稱。 可能的值為:FirstLogonCommands 和 AutoLogon。 已知值為:「AutoLogon」 和 「FirstLogonCommands」。

content
str

針對指定的路徑和元件,指定新增至unattend.xml檔案的 XML 格式化內容。 XML 必須小於 4KB,而且必須包含要插入之設定或功能的根項目。

變數

名稱 Description
pass_name
str

傳遞名稱。 目前唯一允許的值是 OobeSystem。 預設值為 「OobeSystem」。

component_name
str

元件名稱。 目前唯一允許的值是 Microsoft-Windows-Shell-Setup。 預設值為 「Microsoft-Windows-Shell-Setup」。

setting_name

指定要套用內容之設定的名稱。 可能的值為:FirstLogonCommands 和 AutoLogon。 已知值為:「AutoLogon」 和 「FirstLogonCommands」。

content
str

針對指定的路徑和元件,指定新增至unattend.xml檔案的 XML 格式化內容。 XML 必須小於 4KB,而且必須包含要插入之設定或功能的根項目。