Skip to main content

autonomous_db_versions

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

Overview​

Nameautonomous_db_versions
TypeResource
Idgoogle.oracledatabase.autonomous_db_versions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}
dbWorkloadstringOutput only. The Autonomous Database workload type. (DB_WORKLOAD_UNSPECIFIED, OLTP, DW, AJD, APEX)
versionstringOutput only. An Oracle Database version for Autonomous Database.
workloadUristringOutput only. A URL that points to a detailed description of the Autonomous Database version.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsIdpageSize, pageTokenLists all the available Autonomous Database versions for a project and location.

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
locationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Lists all the available Autonomous Database versions for a project and location.

SELECT
name,
dbWorkload,
version,
workloadUri
FROM google.oracledatabase.autonomous_db_versions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;