你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WindowsConfiguration Class

Specifies Windows operating system settings on the virtual machine.

Constructor

WindowsConfiguration(*, provision_vm_agent: bool | None = None, enable_automatic_updates: bool | None = None, time_zone: str | None = None, additional_unattend_content: List[_models.AdditionalUnattendContent] | None = None, win_rm: _models.WinRMConfiguration | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
provision_vm_agent

Indicates whether virtual machine agent should be provisioned on the virtual machine. <br>``<br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.

Default value: None
enable_automatic_updates

Indicates whether virtual machine is enabled for automatic updates.

Default value: None
time_zone
str

Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time".

Default value: None
additional_unattend_content

Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

Default value: None
win_rm

Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.

Default value: None

Variables

Name Description
provision_vm_agent

Indicates whether virtual machine agent should be provisioned on the virtual machine. <br>``<br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.

enable_automatic_updates

Indicates whether virtual machine is enabled for automatic updates.

time_zone
str

Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time".

additional_unattend_content

Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

win_rm

Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.