Class AdditionalUnattendContent
java.lang.Object
com.microsoft.azure.management.compute.AdditionalUnattendContent
Specifies additional XML formatted information that can be included in the
Unattend.xml file, which is used by Windows Setup. Contents are defined by
setting name, component name, and the pass in which the content is applied.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the component name.content()
Get specifies the XML formatted content that is added to the unattend.xml file for the specified path and component.passName()
Get the pass name.Get specifies the name of the setting to which the content applies.withComponentName
(ComponentNames componentName) Set the component name.withContent
(String content) Set specifies the XML formatted content that is added to the unattend.xml file for the specified path and component.withPassName
(PassNames passName) Set the pass name.withSettingName
(SettingNames settingName) Set specifies the name of the setting to which the content applies.
-
Constructor Details
-
AdditionalUnattendContent
public AdditionalUnattendContent()
-
-
Method Details
-
passName
Get the pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'.- Returns:
- the passName value
-
withPassName
Set the pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'.- Parameters:
passName
- the passName value to set- Returns:
- the AdditionalUnattendContent object itself.
-
componentName
Get the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'.- Returns:
- the componentName value
-
withComponentName
Set the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'.- Parameters:
componentName
- the componentName value to set- Returns:
- the AdditionalUnattendContent object itself.
-
settingName
Get specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'.- Returns:
- the settingName value
-
withSettingName
Set specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'.- Parameters:
settingName
- the settingName value to set- Returns:
- the AdditionalUnattendContent object itself.
-
content
Get specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.- Returns:
- the content value
-
withContent
Set specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.- Parameters:
content
- the content value to set- Returns:
- the AdditionalUnattendContent object itself.
-