Delen via


VirtualMachineSoftwarePatchProperties Constructors

Definition

Overloads

VirtualMachineSoftwarePatchProperties()

Initializes a new instance of the VirtualMachineSoftwarePatchProperties class.

VirtualMachineSoftwarePatchProperties(String, String, String, String, IList<String>, String, String, Nullable<DateTime>, Nullable<DateTime>, String)

Initializes a new instance of the VirtualMachineSoftwarePatchProperties class.

VirtualMachineSoftwarePatchProperties()

Initializes a new instance of the VirtualMachineSoftwarePatchProperties class.

public VirtualMachineSoftwarePatchProperties ();
Public Sub New ()

Applies to

VirtualMachineSoftwarePatchProperties(String, String, String, String, IList<String>, String, String, Nullable<DateTime>, Nullable<DateTime>, String)

Initializes a new instance of the VirtualMachineSoftwarePatchProperties class.

public VirtualMachineSoftwarePatchProperties (string patchId = default, string name = default, string version = default, string kbId = default, System.Collections.Generic.IList<string> classifications = default, string rebootBehavior = default, string activityId = default, DateTime? publishedDate = default, DateTime? lastModifiedDateTime = default, string assessmentState = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineSoftwarePatchProperties : string * string * string * string * System.Collections.Generic.IList<string> * string * string * Nullable<DateTime> * Nullable<DateTime> * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineSoftwarePatchProperties
Public Sub New (Optional patchId As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional kbId As String = Nothing, Optional classifications As IList(Of String) = Nothing, Optional rebootBehavior As String = Nothing, Optional activityId As String = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional lastModifiedDateTime As Nullable(Of DateTime) = Nothing, Optional assessmentState As String = Nothing)

Parameters

patchId
String

A unique identifier for the patch.

name
String

The friendly name of the patch.

version
String

The version number of the patch. This property applies only to Linux patches.

kbId
String

The KBID of the patch. Only applies to Windows patches.

classifications
IList<String>

The classification(s) of the patch as provided by the patch publisher.

rebootBehavior
String

Describes the reboot requirements of the patch. Possible values include: 'Unknown', 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot'

activityId
String

The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.

publishedDate
Nullable<DateTime>

The UTC timestamp when the repository published this patch.

lastModifiedDateTime
Nullable<DateTime>

The UTC timestamp of the last update to this patch record.

assessmentState
String

Describes the availability of a given patch. Possible values include: 'Unknown', 'Available'

Applies to