ArmComputeFleetModelFactory.ComputeFleetWindowsConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsConfiguration ComputeFleetWindowsConfiguration(bool? isVmAgentProvisioned = default, bool? isAutomaticUpdatesEnabled = default, string timeZone = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.WindowsSetupAdditionalInformation> additionalUnattendContent = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmGuestPatchSettings patchSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWinRMListener> winRMListeners = default, bool? isVmAgentPlatformUpdatesEnabled = default);
static member ComputeFleetWindowsConfiguration : Nullable<bool> * Nullable<bool> * string * seq<Azure.ResourceManager.ComputeFleet.Models.WindowsSetupAdditionalInformation> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmGuestPatchSettings * seq<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWinRMListener> * Nullable<bool> -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsConfiguration
Public Shared Function ComputeFleetWindowsConfiguration (Optional isVmAgentProvisioned As Nullable(Of Boolean) = Nothing, Optional isAutomaticUpdatesEnabled As Nullable(Of Boolean) = Nothing, Optional timeZone As String = Nothing, Optional additionalUnattendContent As IEnumerable(Of WindowsSetupAdditionalInformation) = Nothing, Optional patchSettings As ComputeFleetVmGuestPatchSettings = Nothing, Optional winRMListeners As IEnumerable(Of ComputeFleetWinRMListener) = Nothing, Optional isVmAgentPlatformUpdatesEnabled As Nullable(Of Boolean) = Nothing) As ComputeFleetWindowsConfiguration
Parameters
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.
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
- IEnumerable<WindowsSetupAdditionalInformation>
Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- patchSettings
- ComputeFleetVmGuestPatchSettings
[Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- winRMListeners
- IEnumerable<ComputeFleetWinRMListener>
The list of Windows Remote Management listeners.
Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
Returns
A new ComputeFleetWindowsConfiguration instance for mocking.