Show / Hide Table of Contents

    Class WindowsConfiguration

    Specifies Windows operating system settings on the virtual machine.

    Inheritance
    Object
    WindowsConfiguration
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class WindowsConfiguration

    Constructors

    WindowsConfiguration()

    Initializes a new instance of the WindowsConfiguration class.

    Declaration
    public WindowsConfiguration ();

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

    Initializes a new instance of the WindowsConfiguration class.

    Declaration
    public WindowsConfiguration (Nullable<bool> provisionVMAgent = null, Nullable<bool> enableAutomaticUpdates = null, string timeZone = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.AdditionalUnattendContent> additionalUnattendContent = null, Microsoft.Azure.Management.Compute.Models.WinRMConfiguration winRM = null);
    Parameters
    Nullable<Boolean> provisionVMAgent

    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.

    Nullable<Boolean> enableAutomaticUpdates

    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.

    String timeZone

    Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time"

    IList<AdditionalUnattendContent> additionalUnattendContent

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

    WinRMConfiguration winRM

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

    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.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="additionalUnattendContent")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.AdditionalUnattendContent> AdditionalUnattendContent { get; set; }
    Property Value
    IList<AdditionalUnattendContent>

    EnableAutomaticUpdates

    Gets or sets indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. &lt;br&gt;&lt;br&gt; For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="enableAutomaticUpdates")]
    public Nullable<bool> EnableAutomaticUpdates { get; set; }
    Property Value
    Nullable<Boolean>

    ProvisionVMAgent

    Gets or sets indicates whether virtual machine agent should be provisioned on the virtual machine. &lt;br&gt;&lt;br&gt; 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.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="provisionVMAgent")]
    public Nullable<bool> ProvisionVMAgent { get; set; }
    Property Value
    Nullable<Boolean>

    TimeZone

    Gets or sets specifies the time zone of the virtual machine. e.g. "Pacific Standard Time"

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="timeZone")]
    public string TimeZone { get; set; }
    Property Value
    String

    WinRM

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="winRM")]
    public Microsoft.Azure.Management.Compute.Models.WinRMConfiguration WinRM { get; set; }
    Property Value
    WinRMConfiguration

    Back to top Azure SDK for Net