Class WindowsConfiguration
java.lang.Object
com.microsoft.azure.management.compute.WindowsConfiguration
Specifies Windows operating system settings on the virtual machine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.Get indicates whether Automatic Updates is enabled for the Windows virtual machine.Get [Preview Feature] Specifies settings related to VM Guest Patching on Windows.Get indicates whether virtual machine agent should be provisioned on the virtual machine.timeZone()
Get specifies the time zone of the virtual machine.winRM()
Get specifies the Windows Remote Management listeners.withAdditionalUnattendContent
(List<AdditionalUnattendContent> additionalUnattendContent) Set specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.withEnableAutomaticUpdates
(Boolean enableAutomaticUpdates) Set indicates whether Automatic Updates is enabled for the Windows virtual machine.withPatchSettings
(PatchSettings patchSettings) Set [Preview Feature] Specifies settings related to VM Guest Patching on Windows.withProvisionVMAgent
(Boolean provisionVMAgent) Set indicates whether virtual machine agent should be provisioned on the virtual machine.withTimeZone
(String timeZone) Set specifies the time zone of the virtual machine.withWinRM
(WinRMConfiguration winRM) Set specifies the Windows Remote Management listeners.
-
Constructor Details
-
WindowsConfiguration
public WindowsConfiguration()
-
-
Method Details
-
provisionVMAgent
Get 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.- Returns:
- the provisionVMAgent value
-
withProvisionVMAgent
Set 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.- Parameters:
provisionVMAgent
- the provisionVMAgent value to set- Returns:
- the WindowsConfiguration object itself.
-
enableAutomaticUpdates
Get 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.- Returns:
- the enableAutomaticUpdates value
-
withEnableAutomaticUpdates
Set 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.- Parameters:
enableAutomaticUpdates
- the enableAutomaticUpdates value to set- Returns:
- the WindowsConfiguration object itself.
-
timeZone
Get specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).- Returns:
- the timeZone value
-
withTimeZone
Set specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).- Parameters:
timeZone
- the timeZone value to set- Returns:
- the WindowsConfiguration object itself.
-
additionalUnattendContent
Get specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.- Returns:
- the additionalUnattendContent value
-
withAdditionalUnattendContent
public WindowsConfiguration withAdditionalUnattendContent(List<AdditionalUnattendContent> additionalUnattendContent) Set specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.- Parameters:
additionalUnattendContent
- the additionalUnattendContent value to set- Returns:
- the WindowsConfiguration object itself.
-
patchSettings
Get [Preview Feature] Specifies settings related to VM Guest Patching on Windows.- Returns:
- the patchSettings value
-
withPatchSettings
Set [Preview Feature] Specifies settings related to VM Guest Patching on Windows.- Parameters:
patchSettings
- the patchSettings value to set- Returns:
- the WindowsConfiguration object itself.
-
winRM
Get specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.- Returns:
- the winRM value
-
withWinRM
Set specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.- Parameters:
winRM
- the winRM value to set- Returns:
- the WindowsConfiguration object itself.
-