Dela via


ArmComputeModelFactory.PatchInstallationDetail Method

Definition

Initializes a new instance of PatchInstallationDetail.

public static Azure.ResourceManager.Compute.Models.PatchInstallationDetail PatchInstallationDetail (string patchId = default, string name = default, string version = default, string kbId = default, System.Collections.Generic.IEnumerable<string> classifications = default, Azure.ResourceManager.Compute.Models.PatchInstallationState? installationState = default);
static member PatchInstallationDetail : string * string * string * string * seq<string> * Nullable<Azure.ResourceManager.Compute.Models.PatchInstallationState> -> Azure.ResourceManager.Compute.Models.PatchInstallationDetail
Public Shared Function PatchInstallationDetail (Optional patchId As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional kbId As String = Nothing, Optional classifications As IEnumerable(Of String) = Nothing, Optional installationState As Nullable(Of PatchInstallationState) = Nothing) As PatchInstallationDetail

Parameters

patchId
String

A unique identifier for the patch.

name
String

The friendly name of the patch.

version
String

The version string of the package. It may conform to Semantic Versioning. Only applies to Linux.

kbId
String

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

classifications
IEnumerable<String>

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

installationState
Nullable<PatchInstallationState>

The state of the patch after the installation operation completed.

Returns

A new PatchInstallationDetail instance for mocking.

Applies to