Udostępnij za pośrednictwem


VirtualMachineInstallPatchesParameters Class

Definition

Input for InstallPatches as directly received by the API

public class VirtualMachineInstallPatchesParameters
type VirtualMachineInstallPatchesParameters = class
Public Class VirtualMachineInstallPatchesParameters
Inheritance
VirtualMachineInstallPatchesParameters

Constructors

VirtualMachineInstallPatchesParameters()

Initializes a new instance of the VirtualMachineInstallPatchesParameters class.

VirtualMachineInstallPatchesParameters(String, String, WindowsParameters, LinuxParameters)

Initializes a new instance of the VirtualMachineInstallPatchesParameters class.

Properties

LinuxParameters

Gets or sets input for InstallPatches on a Linux VM, as directly received by the API

MaximumDuration

Gets or sets specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)

RebootSetting

Gets or sets defines when it is acceptable to reboot a VM during a software update operation. Possible values include: 'IfRequired', 'Never', 'Always'

WindowsParameters

Gets or sets input for InstallPatches on a Windows VM, as directly received by the API

Methods

Validate()

Validate the object.

Applies to