Skip to main content

db_nodes

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

Overview

Namedb_nodes
TypeResource
Idazure_isv.oracle.db_nodes

Fields

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
propertiesobjectThe resource-specific properties for this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, cloudvmclustername, dbnodeocidGet a DbNode
list_by_cloud_vm_clusterselectsubscriptionId, resourceGroupName, cloudvmclusternameList DbNode resources by CloudVmCluster
actionexecsubscriptionId, resourceGroupName, cloudvmclustername, dbnodeocid, 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
dbnodeocidstringDbNode OCID.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get a DbNode

SELECT
properties
FROM azure_isv.oracle.db_nodes
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND cloudvmclustername = '{{ cloudvmclustername }}' -- required
AND dbnodeocid = '{{ dbnodeocid }}' -- required
;

Lifecycle Methods

VM actions on DbNode of VM Cluster by the provided filter

EXEC azure_isv.oracle.db_nodes.action 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@cloudvmclustername='{{ cloudvmclustername }}' --required,
@dbnodeocid='{{ dbnodeocid }}' --required
@@json=
'{
"action": "{{ action }}"
}'
;