Bagikan melalui


VirtualMachineInstallPatchesParameters Constructors

Definition

Overloads

VirtualMachineInstallPatchesParameters()

Initializes a new instance of the VirtualMachineInstallPatchesParameters class.

VirtualMachineInstallPatchesParameters(String, String, WindowsParameters, LinuxParameters)

Initializes a new instance of the VirtualMachineInstallPatchesParameters class.

VirtualMachineInstallPatchesParameters()

Initializes a new instance of the VirtualMachineInstallPatchesParameters class.

public VirtualMachineInstallPatchesParameters ();
Public Sub New ()

Applies to

VirtualMachineInstallPatchesParameters(String, String, WindowsParameters, LinuxParameters)

Initializes a new instance of the VirtualMachineInstallPatchesParameters class.

public VirtualMachineInstallPatchesParameters (string rebootSetting, string maximumDuration = default, Microsoft.Azure.Management.Compute.Models.WindowsParameters windowsParameters = default, Microsoft.Azure.Management.Compute.Models.LinuxParameters linuxParameters = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters : string * string * Microsoft.Azure.Management.Compute.Models.WindowsParameters * Microsoft.Azure.Management.Compute.Models.LinuxParameters -> Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters
Public Sub New (rebootSetting As String, Optional maximumDuration As String = Nothing, Optional windowsParameters As WindowsParameters = Nothing, Optional linuxParameters As LinuxParameters = Nothing)

Parameters

rebootSetting
String

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

maximumDuration
String

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)

windowsParameters
WindowsParameters

Input for InstallPatches on a Windows VM, as directly received by the API

linuxParameters
LinuxParameters

Input for InstallPatches on a Linux VM, as directly received by the API

Applies to