Skip to main content

vm_cluster_patches

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

Overview​

Namevm_cluster_patches
TypeResource
Idoci.database.vm_cluster_patches

Fields​

The following fields are returned by SELECT queries:

The patch package.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the patch.
availableActionsarrayActions that can possibly be performed using this patch.
descriptionstringThe text describing this patch package.
lastActionstringAction that is currently being performed or was completed last. (APPLY, PRECHECK)
lifecycleDetailsstringA descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
lifecycleStatestringThe current state of the patch as a result of lastAction. (AVAILABLE, SUCCESS, IN_PROGRESS, FAILED)
timeReleasedstring (date-time)The date and time that the patch was released.
versionstringThe version of this patch package.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectvmClusterId, patchId, regionGets information about a specified patch package.<br />
listselectvmClusterId, regionlimit, pageLists the patches applicable to 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
patchIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the patch.
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 information about a specified patch package.<br />

SELECT
id,
availableActions,
description,
lastAction,
lifecycleDetails,
lifecycleState,
timeReleased,
version
FROM oci.database.vm_cluster_patches
WHERE vmClusterId = '{{ vmClusterId }}' -- required
AND patchId = '{{ patchId }}' -- required
AND region = '{{ region }}' -- required
;