PatchInstallationDetail Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.PatchInstallationDetail

Implements

public final class PatchInstallationDetail
implements JsonSerializable<PatchInstallationDetail>

Information about a specific patch that was encountered during an installation action.

Constructor Summary

Constructor Description
PatchInstallationDetail()

Creates an instance of PatchInstallationDetail class.

Method Summary

Modifier and Type Method and Description
List<String> classifications()

Get the classifications property: The classification(s) of the patch as provided by the patch publisher.

static PatchInstallationDetail fromJson(JsonReader jsonReader)

Reads an instance of PatchInstallationDetail from the JsonReader.

PatchInstallationState installationState()

Get the installationState property: The state of the patch after the installation operation completed.

String kbId()

Get the kbId property: The KBID of the patch.

String name()

Get the name property: The friendly name of the patch.

String patchId()

Get the patchId property: A unique identifier for the patch.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: The version string of the package.

Methods inherited from java.lang.Object

Constructor Details

PatchInstallationDetail

public PatchInstallationDetail()

Creates an instance of PatchInstallationDetail class.

Method Details

classifications

public List classifications()

Get the classifications property: The classification(s) of the patch as provided by the patch publisher.

Returns:

the classifications value.

fromJson

public static PatchInstallationDetail fromJson(JsonReader jsonReader)

Reads an instance of PatchInstallationDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PatchInstallationDetail if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PatchInstallationDetail.

installationState

public PatchInstallationState installationState()

Get the installationState property: The state of the patch after the installation operation completed.

Returns:

the installationState value.

kbId

public String kbId()

Get the kbId property: The KBID of the patch. Only applies to Windows patches.

Returns:

the kbId value.

name

public String name()

Get the name property: The friendly name of the patch.

Returns:

the name value.

patchId

public String patchId()

Get the patchId property: A unique identifier for the patch.

Returns:

the patchId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

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

Returns:

the version value.

Applies to