Dela via


AdditionalUnattendContent Constructors

Definition

Overloads

AdditionalUnattendContent()

Initializes a new instance of the AdditionalUnattendContent class.

AdditionalUnattendContent(Nullable<PassNames>, Nullable<ComponentNames>, Nullable<SettingNames>, String)

Initializes a new instance of the AdditionalUnattendContent class.

AdditionalUnattendContent()

Initializes a new instance of the AdditionalUnattendContent class.

public AdditionalUnattendContent ();
Public Sub New ()

Applies to

AdditionalUnattendContent(Nullable<PassNames>, Nullable<ComponentNames>, Nullable<SettingNames>, String)

Initializes a new instance of the AdditionalUnattendContent class.

public AdditionalUnattendContent (Microsoft.Azure.Management.Compute.Models.PassNames? passName = default, Microsoft.Azure.Management.Compute.Models.ComponentNames? componentName = default, Microsoft.Azure.Management.Compute.Models.SettingNames? settingName = default, string content = default);
new Microsoft.Azure.Management.Compute.Models.AdditionalUnattendContent : Nullable<Microsoft.Azure.Management.Compute.Models.PassNames> * Nullable<Microsoft.Azure.Management.Compute.Models.ComponentNames> * Nullable<Microsoft.Azure.Management.Compute.Models.SettingNames> * string -> Microsoft.Azure.Management.Compute.Models.AdditionalUnattendContent
Public Sub New (Optional passName As Nullable(Of PassNames) = Nothing, Optional componentName As Nullable(Of ComponentNames) = Nothing, Optional settingName As Nullable(Of SettingNames) = Nothing, Optional content As String = Nothing)

Parameters

passName
Nullable<PassNames>

The pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'

componentName
Nullable<ComponentNames>

The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'

settingName
Nullable<SettingNames>

Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'

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.

Applies to