Skip to main content

gi_versions

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

Overview​

Namegi_versions
TypeResource
Idoci.database.gi_versions

Fields​

The following fields are returned by SELECT queries:

The Oracle Grid Infrastructure (GI) version.<br /><br />To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](/Content/Identity/Concepts/policygetstarted.htm).<br />

NameDatatypeDescription
versionstringA valid Oracle Grid Infrastructure (GI) software version.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcompartmentId, regionlimit, page, sortOrder, shape, availabilityDomain, shapeAttributeGets a list of supported GI versions.

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
compartmentIdstringThe compartment [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)
availabilityDomainstringThe target availability domain. Only passed if the limit is AD-specific.
limitintegerThe maximum number of items to return per page.
pagestringThe pagination token to continue listing from.
shapestringIf provided, filters the results for the given shape.
shapeAttributestringIf provided and applicable, return DB System shape parameters based on the shapeAttribute provided
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

SELECT examples​

Gets a list of supported GI versions.

SELECT
version
FROM oci.database.gi_versions
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortOrder = '{{ sortOrder }}'
AND shape = '{{ shape }}'
AND availabilityDomain = '{{ availabilityDomain }}'
AND shapeAttribute = '{{ shapeAttribute }}'
;