共用方式為


WindowsConfiguration Class

Definition

Specifies Windows operating system settings on the virtual machine.

public class WindowsConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.WindowsConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.WindowsConfiguration>
type WindowsConfiguration = class
    interface IJsonModel<WindowsConfiguration>
    interface IPersistableModel<WindowsConfiguration>
Public Class WindowsConfiguration
Implements IJsonModel(Of WindowsConfiguration), IPersistableModel(Of WindowsConfiguration)
Inheritance
WindowsConfiguration
Implements

Constructors

WindowsConfiguration()

Initializes a new instance of WindowsConfiguration.

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.

IsAutomaticUpdatesEnabled

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.

IsVmAgentPlatformUpdatesEnabled

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

PatchSettings

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

ProvisionVmAgent

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

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.

WinRMListeners

The list of Windows Remote Management listeners.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WindowsConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WindowsConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WindowsConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WindowsConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WindowsConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to