Skip to main content

db_versions

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

Overview

Namedb_versions
TypeResource
Idazure_isv.oracledatabase.db_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
isLatestForMajorVersionbooleanTrue if this version of the Oracle Database software is the latest version for a release.
isPreviewDbVersionbooleanTrue if this version of the Oracle Database software is the preview version.
isUpgradeSupportedbooleanTrue if this version of the Oracle Database software is supported for Upgrade.
supportsPdbbooleanTrue if this version of the Oracle Database software supports pluggable databases.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringA valid Oracle Database version. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, dbversionsname, subscription_idGet a DbVersion.
list_by_locationselectlocation, subscription_iddbSystemShape, dbSystemId, storageManagement, isUpgradeSupported, isDatabaseSoftwareImageSupported, shapeFamilyList DbVersion resources by SubscriptionLocationResource.

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
dbversionsnamestringDbVersion name. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring
dbSystemIdstringThe DB system AzureId. If provided, filters the results to the set of database versions which are supported for the DB system. Default value is None.
dbSystemShapestringIf provided, filters the results to the set of database versions which are supported for the given shape. e.g., VM.Standard.E5.Flex. "VM.Standard.x86" Default value is None.
isDatabaseSoftwareImageSupportedbooleanIf true, filters the results to the set of Oracle Database versions that are supported for the database software images. Default value is None.
isUpgradeSupportedbooleanIf true, filters the results to the set of database versions which are supported for Upgrade. Default value is None.
shapeFamilystringIf provided, filters the results to the set of database versions which are supported for the given shape family. Known values are: "EXADATA", "EXADB_XS", "SINGLENODE", and "VIRTUALMACHINE". Default value is None.
storageManagementstringThe DB system storage management option. Used to list database versions available for that storage manager. Valid values are ASM and LVM. "LVM" Default value is None.

SELECT examples

Get a DbVersion.

SELECT
id,
name,
isLatestForMajorVersion,
isPreviewDbVersion,
isUpgradeSupported,
supportsPdb,
systemData,
type,
version
FROM azure_isv.oracledatabase.db_versions
WHERE location = '{{ location }}' -- required
AND dbversionsname = '{{ dbversionsname }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;