Share via


WindowsConfiguration Class

Definition

Specifies Windows operating system settings on the virtual machine.

public class WindowsConfiguration
type WindowsConfiguration = class
Public Class WindowsConfiguration
Inheritance
WindowsConfiguration

Constructors

WindowsConfiguration()

Initializes a new instance of the WindowsConfiguration class.

WindowsConfiguration(Nullable<Boolean>, Nullable<Boolean>, String, IList<AdditionalUnattendContent>, PatchSettings, WinRMConfiguration, Nullable<Boolean>)

Initializes a new instance of the WindowsConfiguration class.

Properties

AdditionalUnattendContent

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

EnableAutomaticUpdates

Gets or sets 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.

EnableVMAgentPlatformUpdates

Gets or sets indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.

PatchSettings

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

ProvisionVMAgent

Gets or sets 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.

TimeZone

Gets or sets 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.

WinRM

Gets or sets specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.

Applies to