public final class WindowsConfiguration extends Object
Constructor and Description |
---|
WindowsConfiguration() |
Modifier and Type | Method and Description |
---|---|
List<AdditionalUnattendContent> |
additionalUnattendContent()
Get the additionalUnattendContent property: Specifies additional base-64 encoded XML formatted information that
can be included in the Unattend.xml file, which is used by Windows Setup.
|
Boolean |
enableAutomaticUpdates()
Get the enableAutomaticUpdates property: Indicates whether Automatic Updates is enabled for the Windows virtual
machine.
|
Boolean |
provisionVMAgent()
Get the provisionVMAgent property: Indicates whether virtual machine agent should be provisioned on the virtual
machine.
|
String |
timeZone()
Get the timeZone property: Specifies the time zone of the virtual machine.
|
void |
validate()
Validates the instance.
|
WinRMConfiguration |
winRM()
Get the winRM property: Specifies the Windows Remote Management listeners.
|
WindowsConfiguration |
withAdditionalUnattendContent(List<AdditionalUnattendContent> additionalUnattendContent)
Set the additionalUnattendContent property: Specifies additional base-64 encoded XML formatted information that
can be included in the Unattend.xml file, which is used by Windows Setup.
|
WindowsConfiguration |
withEnableAutomaticUpdates(Boolean enableAutomaticUpdates)
Set the enableAutomaticUpdates property: Indicates whether Automatic Updates is enabled for the Windows virtual
machine.
|
WindowsConfiguration |
withProvisionVMAgent(Boolean provisionVMAgent)
Set the provisionVMAgent property: Indicates whether virtual machine agent should be provisioned on the virtual
machine.
|
WindowsConfiguration |
withTimeZone(String timeZone)
Set the timeZone property: Specifies the time zone of the virtual machine.
|
WindowsConfiguration |
withWinRM(WinRMConfiguration winRM)
Set the winRM property: Specifies the Windows Remote Management listeners.
|
public Boolean provisionVMAgent()
public WindowsConfiguration withProvisionVMAgent(Boolean provisionVMAgent)
provisionVMAgent
- the provisionVMAgent value to set.public Boolean enableAutomaticUpdates()
public WindowsConfiguration withEnableAutomaticUpdates(Boolean enableAutomaticUpdates)
enableAutomaticUpdates
- the enableAutomaticUpdates value to set.public String timeZone()
public WindowsConfiguration withTimeZone(String timeZone)
timeZone
- the timeZone value to set.public List<AdditionalUnattendContent> additionalUnattendContent()
public WindowsConfiguration withAdditionalUnattendContent(List<AdditionalUnattendContent> additionalUnattendContent)
additionalUnattendContent
- the additionalUnattendContent value to set.public WinRMConfiguration winRM()
public WindowsConfiguration withWinRM(WinRMConfiguration winRM)
winRM
- the winRM value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.