다음을 통해 공유


InputPatchConfiguration Class

Definition

Input configuration for a patch run

[Microsoft.Rest.Serialization.JsonTransformation]
public class InputPatchConfiguration
[<Microsoft.Rest.Serialization.JsonTransformation>]
type InputPatchConfiguration = class
Public Class InputPatchConfiguration
Inheritance
InputPatchConfiguration
Attributes

Constructors

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.

Properties

LinuxParameters

Gets or sets input parameters specific to patching Linux machine. For Windows machines, do not pass this property.

PostTasks

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

PreTasks

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

RebootSetting

Gets or sets 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

Gets or sets input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.

Applies to