ArmComputeModelFactory.AdditionalUnattendContent 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.Compute.Models.AdditionalUnattendContent AdditionalUnattendContent(Azure.ResourceManager.Compute.Models.PassName? passName = default, Azure.ResourceManager.Compute.Models.ComponentName? componentName = default, Azure.ResourceManager.Compute.Models.SettingName? settingName = default, string content = default);
static member AdditionalUnattendContent : Nullable<Azure.ResourceManager.Compute.Models.PassName> * Nullable<Azure.ResourceManager.Compute.Models.ComponentName> * Nullable<Azure.ResourceManager.Compute.Models.SettingName> * string -> Azure.ResourceManager.Compute.Models.AdditionalUnattendContent
Public Shared Function AdditionalUnattendContent (Optional passName As Nullable(Of PassName) = Nothing, Optional componentName As Nullable(Of ComponentName) = Nothing, Optional settingName As Nullable(Of SettingName) = Nothing, Optional content As String = Nothing) As AdditionalUnattendContent
Parameters
- componentName
- Nullable<ComponentName>
The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- settingName
- Nullable<SettingName>
Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- content
- String
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
A new AdditionalUnattendContent instance for mocking.