Skip to main content

db_nodes

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

Overview​

Namedb_nodes
TypeResource
Idazure_isv.oracle_database.db_nodes

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.
additionalDetailsstringAdditional information about the planned maintenance.
backupIpIdstringThe OCID of the backup IP address associated with the database node.
backupVnic2IdstringThe OCID of the second backup VNIC.
backupVnicIdstringThe OCID of the backup VNIC.
cpuCoreCountintegerThe number of CPU cores enabled on the Db node.
dbNodeStorageSizeInGbsintegerThe allocated local node storage in GBs on the Db node.
dbServerIdstringThe OCID of the Exacc Db server associated with the database node.
dbSystemIdstringThe OCID of the DB system. Required.
faultDomainstringThe name of the Fault Domain the instance is contained in.
hostIpIdstringThe OCID of the host IP address associated with the database node.
hostnamestringThe host name for the database node.
lifecycleDetailsstringLifecycle details of Db Node.
lifecycleStatestringThe current state of the database node. Required. Known values are: "Provisioning", "Available", "Updating", "Stopping", "Stopped", "Starting", "Terminating", "Terminated", and "Failed". (Provisioning, Available, Updating, Stopping, Stopped, Starting, Terminating, Terminated, Failed)
maintenanceTypestringThe type of database node maintenance. "VmdbRebootMigration" (VmdbRebootMigration)
memorySizeInGbsintegerThe allocated memory in GBs on the Db node.
ocidstringDbNode OCID. Required.
provisioningStatestringAzure resource provisioning state. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled)
softwareStorageSizeInGbintegerThe size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
timeCreatedstring (date-time)The date and time that the database node was created. Required.
timeMaintenanceWindowEndstring (date-time)End date and time of maintenance window.
timeMaintenanceWindowStartstring (date-time)Start date and time of maintenance window.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vnic2IdstringThe OCID of the second VNIC.
vnicIdstringThe OCID of the VNIC. Required.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cloudvmclustername, dbnodeocid, subscription_idGet a DbNode.
list_by_parentselectresource_group_name, cloudvmclustername, subscription_idList DbNode resources by CloudVmCluster.
actionexecresource_group_name, cloudvmclustername, dbnodeocid, subscription_id, actionVM actions on DbNode of VM Cluster by the provided filter.

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

SELECT examples​

Get a DbNode.

SELECT
id,
name,
additionalDetails,
backupIpId,
backupVnic2Id,
backupVnicId,
cpuCoreCount,
dbNodeStorageSizeInGbs,
dbServerId,
dbSystemId,
faultDomain,
hostIpId,
hostname,
lifecycleDetails,
lifecycleState,
maintenanceType,
memorySizeInGbs,
ocid,
provisioningState,
softwareStorageSizeInGb,
systemData,
timeCreated,
timeMaintenanceWindowEnd,
timeMaintenanceWindowStart,
type,
vnic2Id,
vnicId
FROM azure_isv.oracle_database.db_nodes
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cloudvmclustername = '{{ cloudvmclustername }}' -- required
AND dbnodeocid = '{{ dbnodeocid }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods​

VM actions on DbNode of VM Cluster by the provided filter.

EXEC azure_isv.oracle_database.db_nodes.action
@resource_group_name='{{ resource_group_name }}' --required,
@cloudvmclustername='{{ cloudvmclustername }}' --required,
@dbnodeocid='{{ dbnodeocid }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"action": "{{ action }}"
}'
;