WindowsConfiguration interface

Specifies Windows operating system settings on the virtual machine.

Properties

additionalUnattendContent

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

enableAutomaticUpdates

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.

patchSettings

Specifies settings related to in-guest patching (KBs).

provisionVMAgent

Indicates whether virtual machine agent should be provisioned on the virtual machine.

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.

timeZone

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

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

Property Details

additionalUnattendContent

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

additionalUnattendContent?: AdditionalUnattendContent[]

Property Value

enableAutomaticUpdates

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.

enableAutomaticUpdates?: boolean

Property Value

boolean

patchSettings

Specifies settings related to in-guest patching (KBs).

patchSettings?: PatchSettings

Property Value

provisionVMAgent

Indicates whether virtual machine agent should be provisioned on the virtual machine.

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.

provisionVMAgent?: boolean

Property Value

boolean

timeZone

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.

timeZone?: string

Property Value

string

winRM

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

winRM?: WinRMConfiguration

Property Value