다음을 통해 공유


WindowsConfiguration Constructors

Definition

Overloads

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.

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, Nullable<Boolean>)

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.Models.AdditionalUnattendContent> additionalUnattendContent = default, Microsoft.Azure.Management.Compute.Models.PatchSettings patchSettings = default, Microsoft.Azure.Management.Compute.Models.WinRMConfiguration winRM = default, bool? enableVMAgentPlatformUpdates = default);
new Microsoft.Azure.Management.Compute.Models.WindowsConfiguration : Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.AdditionalUnattendContent> * Microsoft.Azure.Management.Compute.Models.PatchSettings * Microsoft.Azure.Management.Compute.Models.WinRMConfiguration * Nullable<bool> -> Microsoft.Azure.Management.Compute.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, Optional enableVMAgentPlatformUpdates As Nullable(Of Boolean) = Nothing)

Parameters

provisionVMAgent
Nullable<Boolean>

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.

enableAutomaticUpdates
Nullable<Boolean>

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.

timeZone
String

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.

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

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

winRM
WinRMConfiguration

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

enableVMAgentPlatformUpdates
Nullable<Boolean>

Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.

Applies to