WindowsConfiguration Class
Specifies Windows operating system settings on the virtual machine.
- Inheritance
-
azure.mgmt.compute._serialization.ModelWindowsConfiguration
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, enable_vm_agent_platform_updates: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
provision_vm_agent
|
Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. 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. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. |
time_zone
|
Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". 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. |
enable_vm_agent_platform_updates
|
Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false. |
Variables
Name | Description |
---|---|
provision_vm_agent
|
Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. 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. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. |
time_zone
|
Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". 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. |
enable_vm_agent_platform_updates
|
Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false. |
Azure SDK for Python