Skip to main content

db_system_shapes

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

Overview

Namedb_system_shapes
TypeResource
Idazure_isv.oracledatabase.db_system_shapes

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.
areServerTypesSupportedbooleanIndicates if the shape supports database and storage server types.
availableCoreCountintegerThe maximum number of CPU cores that can be enabled on the DB system for this shape. Required.
availableCoreCountPerNodeintegerThe maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape and ExaCC Elastic shapes.
availableDataStorageInTbsintegerThe maximum DATA storage that can be enabled for this shape.
availableDataStoragePerServerInTbsnumberThe maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes.
availableDbNodePerNodeInGbsintegerThe maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes.
availableDbNodeStorageInGbsintegerThe maximum Db Node storage that can be enabled for this shape.
availableMemoryInGbsintegerThe maximum memory that can be enabled for this shape.
availableMemoryPerNodeInGbsintegerThe maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes.
computeModelstringThe compute model of the Exadata Infrastructure. Known values are: "ECPU" and "OCPU". (ECPU, OCPU)
coreCountIncrementintegerThe discrete number by which the CPU core count for this shape can be increased or decreased.
displayNamestringThe display name of the shape used for the DB system.
maxStorageCountintegerThe maximum number of Exadata storage servers available for the Exadata infrastructure.
maximumNodeCountintegerThe maximum number of database nodes available for this shape.
minCoreCountPerNodeintegerThe minimum number of CPU cores that can be enabled per node for this shape.
minDataStorageInTbsintegerThe minimum data storage that need be allocated for this shape.
minDbNodeStoragePerNodeInGbsintegerThe minimum Db Node storage that need be allocated per node for this shape.
minMemoryPerNodeInGbsintegerThe minimum memory that need be allocated per node for this shape.
minStorageCountintegerThe minimum number of Exadata storage servers available for the Exadata infrastructure.
minimumCoreCountintegerThe minimum number of CPU cores that can be enabled on the DB system for this shape.
minimumNodeCountintegerThe minimum number of database nodes available for this shape.
runtimeMinimumCoreCountintegerThe runtime minimum number of CPU cores that can be enabled on the DB system for this shape.
shapeAttributesarrayThe shapeAttributes of the DB system shape..
shapeFamilystringThe family of the shape used for the DB system.
shapeNamestringThe shape used for the DB system. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, dbsystemshapename, subscription_idGet a DbSystemShape.
list_by_locationselectlocation, subscription_idzone, shapeAttributeList DbSystemShape 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
dbsystemshapenamestringDbSystemShape name. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring
shapeAttributestringFilters the result for the given Shape Attribute, such as BLOCK_STORAGE or SMART_STORAGE. Default value is None.
zonestringFilters the result for the given Azure Availability Zone. Default value is None.

SELECT examples

Get a DbSystemShape.

SELECT
id,
name,
areServerTypesSupported,
availableCoreCount,
availableCoreCountPerNode,
availableDataStorageInTbs,
availableDataStoragePerServerInTbs,
availableDbNodePerNodeInGbs,
availableDbNodeStorageInGbs,
availableMemoryInGbs,
availableMemoryPerNodeInGbs,
computeModel,
coreCountIncrement,
displayName,
maxStorageCount,
maximumNodeCount,
minCoreCountPerNode,
minDataStorageInTbs,
minDbNodeStoragePerNodeInGbs,
minMemoryPerNodeInGbs,
minStorageCount,
minimumCoreCount,
minimumNodeCount,
runtimeMinimumCoreCount,
shapeAttributes,
shapeFamily,
shapeName,
systemData,
type
FROM azure_isv.oracledatabase.db_system_shapes
WHERE location = '{{ location }}' -- required
AND dbsystemshapename = '{{ dbsystemshapename }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;