Skip to main content

vm_cluster_updates

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

Overview​

Namevm_cluster_updates
TypeResource
Idoci.database.vm_cluster_updates

Fields​

The following fields are returned by SELECT queries:

The maintenance update package.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the maintenance update.
availableActionsarrayThe possible actions that can be performed using this maintenance update.
descriptionstringDetails of the maintenance update package.
lastActionstringThe update action performed most recently using this maintenance update. (ROLLING_APPLY, PRECHECK, ROLLBACK)
lifecycleDetailsstringDescriptive text providing additional details about the lifecycle state.
lifecycleStatestringThe current state of the maintenance update. Dependent on value of lastAction. (AVAILABLE, SUCCESS, IN_PROGRESS, FAILED)
timeReleasedstring (date-time)The date and time the maintenance update was released.
updateTypestringThe type of VM cluster maintenance update. (GI_UPGRADE, GI_PATCH, OS_UPDATE)
versionstringThe version of the maintenance update package.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectvmClusterId, updateId, regionopc-request-idGets information about a specified maintenance update package for a VM cluster. Applies to Exadata Cloud@Customer instances only.<br />
listselectvmClusterId, regionupdateType, lifecycleState, limit, page, opc-request-idLists the maintenance updates that can be applied to the specified VM cluster. Applies to Exadata Cloud@Customer instances only.<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
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)
updateIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the maintenance update.
vmClusterIdstringThe VM cluster [OCID](/Content/General/Concepts/identifiers.htm).
lifecycleStatestringA filter to return only resources that match the given lifecycle state exactly.
limitintegerThe maximum number of items to return per page.
opc-request-idstringUnique identifier for the request.
pagestringThe pagination token to continue listing from.
updateTypestringA filter to return only resources that match the given update type exactly.

SELECT examples​

Gets information about a specified maintenance update package for a VM cluster. Applies to Exadata Cloud@Customer instances only.<br />

SELECT
id,
availableActions,
description,
lastAction,
lifecycleDetails,
lifecycleState,
timeReleased,
updateType,
version
FROM oci.database.vm_cluster_updates
WHERE vmClusterId = '{{ vmClusterId }}' -- required
AND updateId = '{{ updateId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;