Skip to main content

cloud_vm_cluster_updates

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

Overview​

Namecloud_vm_cluster_updates
TypeResource
Idoci.database.cloud_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 performed by the update operation on the infrastructure components.
descriptionstringDetails of the maintenance update package.
lastActionstringThe previous update action performed. (ROLLING_APPLY, NON_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 cloud 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
getselectcloudVmClusterId, updateId, regionopc-request-idGets information about a specified maintenance update package for a cloud VM cluster. Applies to Exadata Cloud Service instances only.<br />
listselectcloudVmClusterId, regionupdateType, limit, page, opc-request-idLists the maintenance updates that can be applied to the specified cloud VM cluster. Applies to Exadata Cloud Service 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
cloudVmClusterIdstringThe cloud VM cluster [OCID](/Content/General/Concepts/identifiers.htm).
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.
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 cloud VM cluster. Applies to Exadata Cloud Service instances only.<br />

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