Bagikan melalui


InputPatchConfiguration Constructors

Definition

Overloads

InputPatchConfiguration()

Initializes a new instance of the InputPatchConfiguration class.

InputPatchConfiguration(String, InputWindowsParameters, InputLinuxParameters, IList<TaskProperties>, IList<TaskProperties>)

Initializes a new instance of the InputPatchConfiguration class.

InputPatchConfiguration()

Initializes a new instance of the InputPatchConfiguration class.

public InputPatchConfiguration ();
Public Sub New ()

Applies to

InputPatchConfiguration(String, InputWindowsParameters, InputLinuxParameters, IList<TaskProperties>, IList<TaskProperties>)

Initializes a new instance of the InputPatchConfiguration class.

public InputPatchConfiguration (string rebootSetting = default, Microsoft.Azure.Management.Maintenance.Models.InputWindowsParameters windowsParameters = default, Microsoft.Azure.Management.Maintenance.Models.InputLinuxParameters linuxParameters = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Maintenance.Models.TaskProperties> preTasks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Maintenance.Models.TaskProperties> postTasks = default);
new Microsoft.Azure.Management.Maintenance.Models.InputPatchConfiguration : string * Microsoft.Azure.Management.Maintenance.Models.InputWindowsParameters * Microsoft.Azure.Management.Maintenance.Models.InputLinuxParameters * System.Collections.Generic.IList<Microsoft.Azure.Management.Maintenance.Models.TaskProperties> * System.Collections.Generic.IList<Microsoft.Azure.Management.Maintenance.Models.TaskProperties> -> Microsoft.Azure.Management.Maintenance.Models.InputPatchConfiguration
Public Sub New (Optional rebootSetting As String = Nothing, Optional windowsParameters As InputWindowsParameters = Nothing, Optional linuxParameters As InputLinuxParameters = Nothing, Optional preTasks As IList(Of TaskProperties) = Nothing, Optional postTasks As IList(Of TaskProperties) = Nothing)

Parameters

rebootSetting
String

Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed. Possible values include: 'IfRequired', 'Never', 'Always'

windowsParameters
InputWindowsParameters

Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.

linuxParameters
InputLinuxParameters

Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.

preTasks
IList<TaskProperties>

List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]

postTasks
IList<TaskProperties>

List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]

Applies to