다음을 통해 공유


WindowsConfiguration Class

Specifies Windows operating system settings on the virtual machine.

Inheritance
azure.mgmt.compute._serialization.Model
WindowsConfiguration

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, patch_settings: _models.PatchSettings | 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.

enable_automatic_updates

Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br>``<br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.

time_zone
str

Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". <br>``<br> Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.

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.

patch_settings

[Preview Feature] Specifies settings related to VM Guest Patching on Windows.

win_rm

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

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 Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br>``<br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.

time_zone
str

Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". <br>``<br> Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.

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.

patch_settings

[Preview Feature] Specifies settings related to VM Guest Patching on Windows.

win_rm

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