Skip to main content

autonomous_patches

Creates, updates, deletes, gets or lists an autonomous_patches resource.

Overview​

Nameautonomous_patches
TypeResource
Idoci.database.autonomous_patches

Fields​

The following fields are returned by SELECT queries:

The autonomous patch details.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the patch.
autonomousPatchTypestringMaintenance run type, either "QUARTERLY" or "TIMEZONE". (QUARTERLY, TIMEZONE) (default: QUARTERLY)
descriptionstringThe text describing this patch package.
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)
patchModelstringDatabase patching model preference. See [My Oracle Support note 2285040.1](https:​//support.oracle.com/rs?type=doc&id=2285040.1) for information on the Release Update (RU) and Release Update Revision (RUR) patching models. (RELEASE_UPDATES, RELEASE_UPDATE_REVISIONS)
quarterstringFirst month of the quarter in which the patch was released.
timeReleasedstring (date-time)The date and time that the patch was released.
typestringThe type of patch. BUNDLE is one example.
versionstringThe version of this patch package.
yearstringYear in which the patch was released.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectautonomousPatchId, regionGets information about a specific autonomous patch.

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
autonomousPatchIdstringThe autonomous patch [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)

SELECT examples​

Gets information about a specific autonomous patch.

SELECT
id,
autonomousPatchType,
description,
lifecycleDetails,
lifecycleState,
patchModel,
quarter,
timeReleased,
type,
version,
year
FROM oci.database.autonomous_patches
WHERE autonomousPatchId = '{{ autonomousPatchId }}' -- required
AND region = '{{ region }}' -- required
;