Skip to main content

db_servers

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

Overview

Namedb_servers
TypeResource
Idazure_isv.oracledatabase.db_servers

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.
autonomousVirtualMachineIdsarrayThe list of OCIDs of the Autonomous Virtual Machines associated with the Db server.
autonomousVmClusterIdsarrayThe list of OCIDs of the Autonomous VM Clusters associated with the Db server.
compartmentIdstringThe OCID of the compartment.
computeModelstringThe compute model of the Exadata Infrastructure. Known values are: "ECPU" and "OCPU". (ECPU, OCPU)
cpuCoreCountintegerThe number of CPU cores enabled on the Db server.
dbNodeIdsarrayThe OCID of the Db nodes associated with the Db server.
dbNodeStorageSizeInGbsintegerThe allocated local node storage in GBs on the Db server.
dbServerPatchingDetailsobjectdbServerPatching details of the Db server.
displayNamestringThe name for the Db Server.
exadataInfrastructureIdstringThe OCID of the Exadata infrastructure.
lifecycleDetailsstringLifecycle details of dbServer.
lifecycleStatestringDbServer provisioning state. Known values are: "Creating", "Available", "Unavailable", "Deleting", "Deleted", and "MaintenanceInProgress". (Creating, Available, Unavailable, Deleting, Deleted, MaintenanceInProgress)
maxCpuCountintegerThe total number of CPU cores available.
maxDbNodeStorageInGbsintegerThe total max dbNode storage in GBs.
maxMemoryInGbsintegerThe total memory available in GBs.
memorySizeInGbsintegerThe total memory size in GBs.
ocidstringDb server name.
provisioningStatestringAzure resource provisioning state. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled)
shapestringThe shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
timeCreatedstring (date-time)The date and time that the Db Server was created.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vmClusterIdsarrayThe OCID of the VM Clusters associated with the Db server.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cloudexadatainfrastructurename, dbserverocid, subscription_idGet a DbServer.
list_by_parentselectresource_group_name, cloudexadatainfrastructurename, subscription_idList DbServer resources by CloudExadataInfrastructure.

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
cloudexadatainfrastructurenamestringCloudExadataInfrastructure name. Required.
dbserverocidstringDbServer OCID. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get a DbServer.

SELECT
id,
name,
autonomousVirtualMachineIds,
autonomousVmClusterIds,
compartmentId,
computeModel,
cpuCoreCount,
dbNodeIds,
dbNodeStorageSizeInGbs,
dbServerPatchingDetails,
displayName,
exadataInfrastructureId,
lifecycleDetails,
lifecycleState,
maxCpuCount,
maxDbNodeStorageInGbs,
maxMemoryInGbs,
memorySizeInGbs,
ocid,
provisioningState,
shape,
systemData,
timeCreated,
type,
vmClusterIds
FROM azure_isv.oracledatabase.db_servers
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cloudexadatainfrastructurename = '{{ cloudexadatainfrastructurename }}' -- required
AND dbserverocid = '{{ dbserverocid }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;