Skip to main content

vm_cluster_patch_history_entries

Creates, updates, deletes, gets or lists a vm_cluster_patch_history_entries resource.

Overview​

Namevm_cluster_patch_history_entries
TypeResource
Idoci.database.vm_cluster_patch_history_entries

Fields​

The following fields are returned by SELECT queries:

The patch history details for the specified patch history entry.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the patch history entry.
actionstringThe action being performed or was completed. (APPLY, PRECHECK)
lifecycleDetailsstringA descriptive text associated with the lifecycleState. Typically contains additional displayable text.
lifecycleStatestringThe current state of the action. (IN_PROGRESS, SUCCEEDED, FAILED)
patchIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the patch.
timeEndedstring (date-time)The date and time when the patch action completed
timeStartedstring (date-time)The date and time when the patch action started.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectvmClusterId, patchHistoryEntryId, regionGets the patch history details for the specified patch history entry.<br />
listselectvmClusterId, regionlimit, pageGets the history of the patch actions performed on the specified VM cluster in an Exadata Cloud@Customer system.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
patchHistoryEntryIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the patch history entry.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
vmClusterIdstringThe VM cluster [OCID](/Content/General/Concepts/identifiers.htm).
limitintegerThe maximum number of items to return per page.
pagestringThe pagination token to continue listing from.

SELECT examples​

Gets the patch history details for the specified patch history entry.<br />

SELECT
id,
action,
lifecycleDetails,
lifecycleState,
patchId,
timeEnded,
timeStarted
FROM oci.database.vm_cluster_patch_history_entries
WHERE vmClusterId = '{{ vmClusterId }}' -- required
AND patchHistoryEntryId = '{{ patchHistoryEntryId }}' -- required
AND region = '{{ region }}' -- required
;