- Lock a VDB.
The parameters to lock a VDB.
- Mock serverhttps://help-api.delphix.com/_mock/data-control-tower/continuous-data/23.0.0/continuous-data-apis-dct-23.0.0/vdbs/{vdbId}/lock
- https://help-api.delphix.com/dct/v3https://help-api.delphix.com/dct/v3/vdbs/{vdbId}/lock
curl -i -X POST \
'https://help-api.delphix.com/_mock/data-control-tower/continuous-data/23.0.0/continuous-data-apis-dct-23.0.0/vdbs/{vdbId}/lock' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"account_id": 0
}'VDB is locked.
The name of the database on the target environment or in the database management system.
The runtime status of the VDB. 'Unknown' if all attempts to connect to the dataset failed.
The timestamp for parent timeflow.
The timezone for parent timeflow.
A reference to the Environment that hosts this VDB.
A reference to the root parent dataset of this VDB which could be a VDB or a dSource.
The date this VDB was created.
The JSON payload conforming to the DraftV4 schema based on the type of application data being manipulated.
{ "param": "value", "param2": "value2" }
Database configuration parameter overrides.
{ "param": "value", "param2": "value2" }
Specifies additional locations on which to mount a subdirectory of an AppData container. Can only be updated while the VDB is disabled.
The parameters specified by the source config schema in the toolkit
{ "foo": "bar" }
A reference to the currently active timeflow for this VDB.
The date this VDB was last refreshed.
Indicates whether the Engine should automatically restart this vdb when target host reboot is detected.
ZFS exported data directory path.
ZFS exported data directory path of the virtual CDB container (vCDB).
The ID of the parent object from which replication was done.
The name of the parent engine from which replication was done.
{ "id": "vdb-123", "database_type": "Oracle", "name": "prod01-copy01", "database_name": "prod01-copy01-dbname", "namespace_id": "1-NAMESPACE-1", "namespace_name": "test-engine-1", "is_replica": true, "is_locked": true, "locked_by": 1, "locked_by_name": "user-1", "database_version": "10.2.0.5.0", "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.43.47.94)(PORT=1521))(CONNECT_DATA=(UR=A)(SID=production01)))", "size": 339292672, "storage_size": 12345678, "engine_id": "engine-123", "status": "RUNNING", "masked": false, "content_type": "PDB", "parent_timeflow_timestamp": "2021-05-01T08:51:34.148Z", "parent_timeflow_timezone": "America/Los_Angeles", "environment_id": "environment-123", "ip_address": "192.0.2.0", "fqdn": "virtual-dbs.myhost.com", "parent_id": "vdb-122", "parent_dsource_id": "dsource-id", "root_parent_id": "vdb-121", "group_name": "VDBs", "engine_name": "engine-123-name", "cdb_id": "cdb-123", "tags": [ { … } ], "creation_date": "2021-05-01T08:51:34.148Z", "hooks": { "pre_refresh": [ … ], "post_refresh": [ … ], "pre_self_refresh": [ … ], "post_self_refresh": [ … ], "pre_rollback": [ … ], "post_rollback": [ … ], "configure_clone": [ … ], "pre_snapshot": [ … ], "post_snapshot": [ … ], "pre_start": [ … ], "post_start": [ … ], "pre_stop": [ … ], "post_stop": [ … ] }, "appdata_source_params": { "param": "value", "param2": "value2" }, "template_id": "DATABASE_TEMPLATE-1", "config_params": { "param": "value", "param2": "value2" }, "additional_mount_points": [ { … } ], "appdata_config_params": { "foo": "bar" }, "mount_point": "/var/mnt", "current_timeflow_id": "timeflow-456", "previous_timeflow_id": "timeflow-123", "last_refreshed_date": "2023-04-15T02:11:14.248Z", "vdb_restart": true, "is_appdata": true, "exported_data_directory": "domain0/oracle_db_container-30/oracle_timeflow-32/datafile", "vcdb_exported_data_directory": "domain0/oracle_db_container-29/oracle_timeflow-31/datafile", "toolkit_id": "toolkit-1", "plugin_version": "1.0.0", "primary_object_id": "1-CONTAINER-1", "primary_engine_id": "1", "primary_engine_name": "source-engine", "replicas": [ { … } ], "invoke_datapatch": true, "enabled": true, "node_listeners": [ "string" ], "instance_name": "VDBSID", "instance_number": 0, "instances": [ { … } ], "oracle_services": [ { … } ], "repository_id": "1-ORACLE_INSTALL-1", "container_mode": false }