WindowsConfiguration Constructors

Definition

Overloads

WindowsConfiguration()

Initializes a new instance of the WindowsConfiguration class.

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

Initializes a new instance of the WindowsConfiguration class.

WindowsConfiguration()

Initializes a new instance of the WindowsConfiguration class.

public WindowsConfiguration ();
Public Sub New ()

Applies to

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

Initializes a new instance of the WindowsConfiguration class.

public WindowsConfiguration (bool? provisionVMAgent = default, bool? enableAutomaticUpdates = default, string timeZone = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalUnattendContent> additionalUnattendContent = default, Microsoft.Azure.Management.Compute.Fluent.Models.PatchSettings patchSettings = default, Microsoft.Azure.Management.Compute.Fluent.Models.WinRMConfiguration winRM = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.WindowsConfiguration : Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalUnattendContent> * Microsoft.Azure.Management.Compute.Fluent.Models.PatchSettings * Microsoft.Azure.Management.Compute.Fluent.Models.WinRMConfiguration -> Microsoft.Azure.Management.Compute.Fluent.Models.WindowsConfiguration
Public Sub New (Optional provisionVMAgent As Nullable(Of Boolean) = Nothing, Optional enableAutomaticUpdates As Nullable(Of Boolean) = Nothing, Optional timeZone As String = Nothing, Optional additionalUnattendContent As IList(Of AdditionalUnattendContent) = Nothing, Optional patchSettings As PatchSettings = Nothing, Optional winRM As WinRMConfiguration = Nothing)

Parameters

provisionVMAgent
Nullable<Boolean>

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.

enableAutomaticUpdates
Nullable<Boolean>

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.

timeZone
String

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.

additionalUnattendContent
IList<AdditionalUnattendContent>

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

patchSettings
PatchSettings

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

winRM
WinRMConfiguration

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

Applies to