OK
{- "items": [
- {
- "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": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "creation_date": "2021-05-01T08:51:34.148Z",
- "hooks": {
- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
]
}, - "appdata_source_params": {
- "param": "value",
- "param2": "value2"
}, - "template_id": "DATABASE_TEMPLATE-1",
- "config_params": {
- "param": "value",
- "param2": "value2"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work/ws1",
- "environment_id": "environment-123"
}
], - "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": [
- {
- "replica_id": "replica-1",
- "replica_engine_id": "1",
- "replica_engine_name": "replica-e1",
- "replica_namespace_id": "namespace-1"
}
], - "invoke_datapatch": true,
- "enabled": true,
- "node_listeners": [
- "string"
], - "instance_name": "VDBSID",
- "instance_number": 0,
- "instances": [
- {
- "instance_name": "string",
- "instance_number": 1,
- "node_reference": "string"
}
], - "oracle_services": [
- {
- "discovered": true,
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1521))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "repository_id": "1-ORACLE_INSTALL-1"
}
], - "errors": [
- {
- "message": "string",
- "object_name": "string"
}
], - "response_metadata": {
- "prev_cursor": "string",
- "next_cursor": "string",
- "total": 0
}
}
A request body containing a filter expression. This enables searching for items matching arbitrarily complex conditions. The list of attributes which can be used in filter expressions is available in the x-filterable vendor extension.
Note: All keywords are case-insensitive
Operator | Description | Example |
---|---|---|
CONTAINS | Substring or membership testing for string and list attributes respectively. | field3 CONTAINS 'foobar', field4 CONTAINS TRUE |
IN | Tests if field is a member of a list literal. List can contain a maximum of 100 values | field2 IN ['Goku', 'Vegeta'] |
GE | Tests if a field is greater than or equal to a literal value | field1 GE 1.2e-2 |
GT | Tests if a field is greater than a literal value | field1 GT 1.2e-2 |
LE | Tests if a field is less than or equal to a literal value | field1 LE 9000 |
LT | Tests if a field is less than a literal value | field1 LT 9.02 |
NE | Tests if a field is not equal to a literal value | field1 NE 42 |
EQ | Tests if a field is equal to a literal value | field1 EQ 42 |
The SEARCH operator filters for items which have any filterable
attribute that contains the input string as a substring, comparison
is done case-insensitively. This is not restricted to attributes with
string values. Specifically SEARCH '12'
would match an item with an
attribute with an integer value of 123
.
Ordered by precedence.
Operator | Description | Example |
---|---|---|
NOT | Logical NOT (Right associative) | NOT field1 LE 9000 |
AND | Logical AND (Left Associative) | field1 GT 9000 AND field2 EQ 'Goku' |
OR | Logical OR (Left Associative) | field1 GT 9000 OR field2 EQ 'Goku' |
Parenthesis ()
can be used to override operator precedence.
For example: NOT (field1 LT 1234 AND field2 CONTAINS 'foo')
Literal | Description | Examples |
---|---|---|
Nil | Represents the absence of a value | nil, Nil, nIl, NIL |
Boolean | true/false boolean | true, false, True, False, TRUE, FALSE |
Number | Signed integer and floating point numbers. Also supports scientific notation. | 0, 1, -1, 1.2, 0.35, 1.2e-2, -1.2e+2 |
String | Single or double quoted | "foo", "bar", "foo bar", 'foo', 'bar', 'foo bar' |
Datetime | Formatted according to RFC3339 | 2018-04-27T18:39:26.397237+00:00 |
List | Comma-separated literals wrapped in square brackets | [0], [0, 1], ['foo', "bar"] |
OK
An example of a nested Object comparison testing that at least one repository has a version which is equal to 19.0.0.
{- "filter_expression": "repositories CONTAINS {version eq '19.0.0'}"
}
{- "items": [
- {
- "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": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "creation_date": "2021-05-01T08:51:34.148Z",
- "hooks": {
- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
]
}, - "appdata_source_params": {
- "param": "value",
- "param2": "value2"
}, - "template_id": "DATABASE_TEMPLATE-1",
- "config_params": {
- "param": "value",
- "param2": "value2"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work/ws1",
- "environment_id": "environment-123"
}
], - "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": [
- {
- "replica_id": "replica-1",
- "replica_engine_id": "1",
- "replica_engine_name": "replica-e1",
- "replica_namespace_id": "namespace-1"
}
], - "invoke_datapatch": true,
- "enabled": true,
- "node_listeners": [
- "string"
], - "instance_name": "VDBSID",
- "instance_number": 0,
- "instances": [
- {
- "instance_name": "string",
- "instance_number": 1,
- "node_reference": "string"
}
], - "oracle_services": [
- {
- "discovered": true,
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1521))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "repository_id": "1-ORACLE_INSTALL-1"
}
], - "response_metadata": {
- "prev_cursor": "string",
- "next_cursor": "string",
- "total": 0
}
}
{- "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": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "creation_date": "2021-05-01T08:51:34.148Z",
- "hooks": {
- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
]
}, - "appdata_source_params": {
- "param": "value",
- "param2": "value2"
}, - "template_id": "DATABASE_TEMPLATE-1",
- "config_params": {
- "param": "value",
- "param2": "value2"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work/ws1",
- "environment_id": "environment-123"
}
], - "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": [
- {
- "replica_id": "replica-1",
- "replica_engine_id": "1",
- "replica_engine_name": "replica-e1",
- "replica_namespace_id": "namespace-1"
}
], - "invoke_datapatch": true,
- "enabled": true,
- "node_listeners": [
- "string"
], - "instance_name": "VDBSID",
- "instance_number": 0,
- "instances": [
- {
- "instance_name": "string",
- "instance_number": 1,
- "node_reference": "string"
}
], - "oracle_services": [
- {
- "discovered": true,
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1521))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "repository_id": "1-ORACLE_INSTALL-1"
}
The new data to update a VDB.
OK
{- "name": "my-vdb",
- "db_username": "db-username",
- "db_password": "db-password",
- "validate_db_credentials": true,
- "auto_restart": true,
- "environment_user_id": "environment-user-123",
- "template_id": "template-123",
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "new_dbid": true,
- "cdc_on_provision": true,
- "pre_script": "string",
- "post_script": "string",
- "hooks": {
- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
]
}, - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parent_tde_keystore_path": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "mount_point": "/var/mnt",
- "oracle_services": [
- "jdbc:oracle:thin:@hostname:port/service_name",
- "jdbc:oracle:thin:@hostname:port:SID"
], - "instances": [
- {
- "instance_name": "instance1",
- "instance_number": 1,
- "node_reference": "ORACLE_CLUSTER_NODE-1"
}
], - "invoke_datapatch": true
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
OK
{- "items": [
- {
- "id": "snapshot-123",
- "engine_id": "1",
- "namespace": "NAMESPACE-1",
- "name": "@2023-02-02T14:30:00.589",
- "namespace_id": "1-NAMESPACE-1",
- "namespace_name": "test-engine-1",
- "is_replica": true,
- "consistency": "CONSISTENT",
- "missing_non_logged_data": false,
- "dataset_id": "dataset-123",
- "creation_time": "2023-02-02T19:30:00.589Z",
- "start_timestamp": "2021-05-01T08:51:34.148Z",
- "start_location": "1178883",
- "timestamp": "2021-05-01T08:51:34.148Z",
- "location": "1178883",
- "retention": -1,
- "expiration": "2021-07-04T00:00:00.000Z",
- "retain_forever": false,
- "effective_expiration": "2021-07-04T00:00:00.000Z",
- "effective_retain_forever": false,
- "timeflow_id": "1-ORACLE_TIMEFLOW-1",
- "timezone": "America/New_York,EST-0500",
- "version": "11.2.0.4.0",
- "temporary": false,
- "appdata_toolkit": "APPDATA_TOOLKIT-1",
- "appdata_metadata": "{}",
- "ase_db_encryption_key": "keyname",
- "mssql_internal_version": 706,
- "mssql_backup_set_uuid": "54290b71-58cd-463d-bd62-7219d4c4d2d5",
- "mssql_backup_software_type": "NATIVE",
- "mssql_backup_location_type": "BACKUP_SERVER",
- "mssql_empty_snapshot": true,
- "oracle_from_physical_standby_vdb": false,
- "oracle_redo_log_size_in_bytes": 314572800,
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
]
}
], - "response_metadata": {
- "prev_cursor": "string",
- "next_cursor": "string",
- "total": 0
}
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
OK
{- "items": [
- {
- "id": "bookmark-123",
- "name": "my-bookmark-123",
- "creation_date": "2021-07-04T08:51:34.148Z",
- "data_timestamp": "2021-06-03T08:51:34.148Z",
- "timeflow_id": "1-TIMEFLOW-1",
- "location": "200000",
- "vdb_ids": [
- "vdb-123",
- "vdb-456"
], - "dsource_ids": [
- "dsource-123",
- "dsource-456"
], - "vdb_group_id": "vdb-group-123",
- "vdb_group_name": "my-vdb-group",
- "vdbs": [
- {
- "vdb_id": "vdb-id-1",
- "vdb_name": "vdb-name",
- "source_data_timestamp": "2021-05-01T08:51:34.148Z",
- "root_parent_id": "1-DBCONTAINER-1",
- "timeflow_id": "string"
}
], - "dsources": [
- {
- "dsource_id": "dsource-id-1",
- "dsource_name": "dsource-name"
}
], - "retention": 365,
- "expiration": "2021-07-04T00:00:00.000Z",
- "status": "RESTORED",
- "replicated_dataset": true,
- "bookmark_source": "DCT",
- "bookmark_status": "ACTIVE",
- "ss_data_layout_id": "string",
- "ss_bookmark_reference": "string",
- "ss_bookmark_errors": [
- "No snapshots found for JS_BOOKMARK-1 at timestamp 2021-07-04T08:51:34.148"
], - "bookmark_type": "PRIVATE",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}, - {
- "key": "key-2",
- "value": "value-2"
}
]
}
], - "response_metadata": {
- "prev_cursor": "string",
- "next_cursor": "string",
- "total": 0
}
}
A request body containing a filter expression. This enables searching for items matching arbitrarily complex conditions. The list of attributes which can be used in filter expressions is available in the x-filterable vendor extension.
Note: All keywords are case-insensitive
Operator | Description | Example |
---|---|---|
CONTAINS | Substring or membership testing for string and list attributes respectively. | field3 CONTAINS 'foobar', field4 CONTAINS TRUE |
IN | Tests if field is a member of a list literal. List can contain a maximum of 100 values | field2 IN ['Goku', 'Vegeta'] |
GE | Tests if a field is greater than or equal to a literal value | field1 GE 1.2e-2 |
GT | Tests if a field is greater than a literal value | field1 GT 1.2e-2 |
LE | Tests if a field is less than or equal to a literal value | field1 LE 9000 |
LT | Tests if a field is less than a literal value | field1 LT 9.02 |
NE | Tests if a field is not equal to a literal value | field1 NE 42 |
EQ | Tests if a field is equal to a literal value | field1 EQ 42 |
The SEARCH operator filters for items which have any filterable
attribute that contains the input string as a substring, comparison
is done case-insensitively. This is not restricted to attributes with
string values. Specifically SEARCH '12'
would match an item with an
attribute with an integer value of 123
.
Ordered by precedence.
Operator | Description | Example |
---|---|---|
NOT | Logical NOT (Right associative) | NOT field1 LE 9000 |
AND | Logical AND (Left Associative) | field1 GT 9000 AND field2 EQ 'Goku' |
OR | Logical OR (Left Associative) | field1 GT 9000 OR field2 EQ 'Goku' |
Parenthesis ()
can be used to override operator precedence.
For example: NOT (field1 LT 1234 AND field2 CONTAINS 'foo')
Literal | Description | Examples |
---|---|---|
Nil | Represents the absence of a value | nil, Nil, nIl, NIL |
Boolean | true/false boolean | true, false, True, False, TRUE, FALSE |
Number | Signed integer and floating point numbers. Also supports scientific notation. | 0, 1, -1, 1.2, 0.35, 1.2e-2, -1.2e+2 |
String | Single or double quoted | "foo", "bar", "foo bar", 'foo', 'bar', 'foo bar' |
Datetime | Formatted according to RFC3339 | 2018-04-27T18:39:26.397237+00:00 |
List | Comma-separated literals wrapped in square brackets | [0], [0, 1], ['foo', "bar"] |
OK
An example of a nested Object comparison testing that at least one repository has a version which is equal to 19.0.0.
{- "filter_expression": "repositories CONTAINS {version eq '19.0.0'}"
}
{- "items": [
- {
- "id": "bookmark-123",
- "name": "my-bookmark-123",
- "creation_date": "2021-07-04T08:51:34.148Z",
- "data_timestamp": "2021-06-03T08:51:34.148Z",
- "timeflow_id": "1-TIMEFLOW-1",
- "location": "200000",
- "vdb_ids": [
- "vdb-123",
- "vdb-456"
], - "dsource_ids": [
- "dsource-123",
- "dsource-456"
], - "vdb_group_id": "vdb-group-123",
- "vdb_group_name": "my-vdb-group",
- "vdbs": [
- {
- "vdb_id": "vdb-id-1",
- "vdb_name": "vdb-name",
- "source_data_timestamp": "2021-05-01T08:51:34.148Z",
- "root_parent_id": "1-DBCONTAINER-1",
- "timeflow_id": "string"
}
], - "dsources": [
- {
- "dsource_id": "dsource-id-1",
- "dsource_name": "dsource-name"
}
], - "retention": 365,
- "expiration": "2021-07-04T00:00:00.000Z",
- "status": "RESTORED",
- "replicated_dataset": true,
- "bookmark_source": "DCT",
- "bookmark_status": "ACTIVE",
- "ss_data_layout_id": "string",
- "ss_bookmark_reference": "string",
- "ss_bookmark_errors": [
- "No snapshots found for JS_BOOKMARK-1 at timestamp 2021-07-04T08:51:34.148"
], - "bookmark_type": "PRIVATE",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}, - {
- "key": "key-2",
- "value": "value-2"
}
]
}
], - "response_metadata": {
- "prev_cursor": "string",
- "next_cursor": "string",
- "total": 0
}
}
{- "instances": [
- 0
]
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
{- "instances": [
- 0
], - "abort": false
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
{- "attempt_start": true
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
{- "attempt_cleanup": true
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
The parameters to lock a VDB.
VDB is locked.
{- "account_id": 0
}
{- "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": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "creation_date": "2021-05-01T08:51:34.148Z",
- "hooks": {
- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
]
}, - "appdata_source_params": {
- "param": "value",
- "param2": "value2"
}, - "template_id": "DATABASE_TEMPLATE-1",
- "config_params": {
- "param": "value",
- "param2": "value2"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work/ws1",
- "environment_id": "environment-123"
}
], - "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": [
- {
- "replica_id": "replica-1",
- "replica_engine_id": "1",
- "replica_engine_name": "replica-e1",
- "replica_namespace_id": "namespace-1"
}
], - "invoke_datapatch": true,
- "enabled": true,
- "node_listeners": [
- "string"
], - "instance_name": "VDBSID",
- "instance_number": 0,
- "instances": [
- {
- "instance_name": "string",
- "instance_number": 1,
- "node_reference": "string"
}
], - "oracle_services": [
- {
- "discovered": true,
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1521))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "repository_id": "1-ORACLE_INSTALL-1"
}
{- "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": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "creation_date": "2021-05-01T08:51:34.148Z",
- "hooks": {
- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
]
}, - "appdata_source_params": {
- "param": "value",
- "param2": "value2"
}, - "template_id": "DATABASE_TEMPLATE-1",
- "config_params": {
- "param": "value",
- "param2": "value2"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work/ws1",
- "environment_id": "environment-123"
}
], - "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": [
- {
- "replica_id": "replica-1",
- "replica_engine_id": "1",
- "replica_engine_name": "replica-e1",
- "replica_namespace_id": "namespace-1"
}
], - "invoke_datapatch": true,
- "enabled": true,
- "node_listeners": [
- "string"
], - "instance_name": "VDBSID",
- "instance_number": 0,
- "instances": [
- {
- "instance_name": "string",
- "instance_number": 1,
- "node_reference": "string"
}
], - "oracle_services": [
- {
- "discovered": true,
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1521))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "repository_id": "1-ORACLE_INSTALL-1"
}
{- "force": false
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
The parameters to rollback a VDB.
VDB rollback initiated.
{- "timestamp": "2021-05-01T08:51:34.148Z",
- "timestamp_in_database_timezone": "2021-08-14T14:55:20.507Z",
- "timeflow_id": "timeflow-123"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
VDB rollback initiated.
{- "snapshot_id": "string"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
VDB rollback initiated.
{- "bookmark_id": "string"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
The parameters to refresh a VDB.
VDB refresh initiated.
{- "timestamp": "2021-05-01T08:51:34.148Z",
- "timestamp_in_database_timezone": "2021-08-14T14:55:20.507Z",
- "timeflow_id": "timeflow_123",
- "dataset_id": "123-CONTAINER_1"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
{- "snapshot_id": "string"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
VDB refresh initiated.
{- "bookmark_id": "string"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
The parameters to refresh a VDB.
VDB refresh initiated.
{- "location": "1234567",
- "dataset_id": "123-CONTAINER_1",
- "timeflow_id": "timeflow_123"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
Switch timeflow initiated.
{- "timeflow_id": "timeflow-123"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
The new API to upgrade Oracle VDB
OK
{- "repository_id": "1-ORACLE_INSTALL-4",
- "environment_user_id": "HOST_USER-4"
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}
}
The parameters to provision a VDB.
VDB provisioning initiated.
{- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "target_group_id": "group-123",
- "name": "my-test-vdb",
- "database_name": "my-test-database",
- "cdb_id": "ORACLE_SINGLE_CONFIG-376",
- "cluster_node_ids": [
- "ORACLE_CLUSTER_NODE-1"
], - "cluster_node_instances": [
- {
- "node_reference": "ORACLE_CLUSTER_NODE-1",
- "instance_number": 1,
- "instance_name": "cluster_instance1"
}
], - "truncate_log_on_checkpoint": true,
- "os_username": "os-user-x",
- "os_password": "os-user-secret-password",
- "environment_id": "environment-123",
- "environment_user_id": "environment-user-123",
- "repository_id": "oracle-home-123",
- "auto_select_repository": true,
- "vdb_restart": true,
- "template_id": "template-123",
- "auxiliary_template_id": "aux-template-123",
- "file_mapping_rules": "/datafile/dbdhcp3/oradata/dbdhcp3:/data\n/u03/app/ora11202/product/11.2.0/dbhome_1/dbs/dbv_R2V4.dbf:/data/dbv_R2V4.dbf",
- "oracle_instance_name": "dbdhcp2",
- "unique_name": "dbdhcp2",
- "vcdb_name": "VCCD_6QQ",
- "vcdb_database_name": "VCCD_6QQ",
- "mount_point": "/var/mnt",
- "open_reset_logs": true,
- "snapshot_policy_id": "snapshot-123",
- "retention_policy_id": "retention-policy-123",
- "recovery_model": "FULL",
- "pre_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "post_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "cdc_on_provision": true,
- "online_log_size": 4,
- "online_log_groups": 2,
- "archive_log": true,
- "new_dbid": true,
- "masked": true,
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parentTdeKeystorePath": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_exported_key_file_secret": "secret",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "vcdb_tde_key_identifier": "vcdb-identifier",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "privileged_os_user": "string",
- "postgres_port": 1,
- "config_settings_stg": [
- {
- "property_name": "string",
- "value": "string",
- "comment_property": true
}
], - "vcdb_restart": true,
- "mssql_failover_drive_letter": "s",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "invoke_datapatch": false,
- "timestamp": "2021-05-01T08:51:34.148Z",
- "timestamp_in_database_timezone": "2021-08-14T14:55:20.507Z",
- "timeflow_id": "timeflow-123",
- "engine_id": "engine-123",
- "source_data_id": "source-123",
- "make_current_account_owner": true
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}, - "vdb_id": "string"
}
The request to get default VDB provision parameters for provisioning a new VDB by timestamp.
Default VDB provisioning parameters.
{- "timestamp": "2021-05-01T08:51:34.148Z",
- "timestamp_in_database_timezone": "2021-08-14T14:55:20.507Z",
- "engine_id": "engine-123",
- "source_data_id": "source-123",
- "timeflow_id": "timeflow-123"
}
{- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "target_group_id": "group-123",
- "name": "my-test-vdb",
- "database_name": "my-test-database",
- "cdb_id": "ORACLE_SINGLE_CONFIG-376",
- "cluster_node_ids": [
- "ORACLE_CLUSTER_NODE-1"
], - "cluster_node_instances": [
- {
- "node_reference": "ORACLE_CLUSTER_NODE-1",
- "instance_number": 1,
- "instance_name": "cluster_instance1"
}
], - "truncate_log_on_checkpoint": true,
- "os_username": "os-user-x",
- "os_password": "os-user-secret-password",
- "environment_id": "environment-123",
- "environment_user_id": "environment-user-123",
- "repository_id": "oracle-home-123",
- "auto_select_repository": true,
- "vdb_restart": true,
- "template_id": "template-123",
- "auxiliary_template_id": "aux-template-123",
- "file_mapping_rules": "/datafile/dbdhcp3/oradata/dbdhcp3:/data\n/u03/app/ora11202/product/11.2.0/dbhome_1/dbs/dbv_R2V4.dbf:/data/dbv_R2V4.dbf",
- "oracle_instance_name": "dbdhcp2",
- "unique_name": "dbdhcp2",
- "vcdb_name": "VCCD_6QQ",
- "vcdb_database_name": "VCCD_6QQ",
- "mount_point": "/var/mnt",
- "open_reset_logs": true,
- "snapshot_policy_id": "snapshot-123",
- "retention_policy_id": "retention-policy-123",
- "recovery_model": "FULL",
- "pre_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "post_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "cdc_on_provision": true,
- "online_log_size": 4,
- "online_log_groups": 2,
- "archive_log": true,
- "new_dbid": true,
- "masked": true,
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parentTdeKeystorePath": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_exported_key_file_secret": "secret",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "vcdb_tde_key_identifier": "vcdb-identifier",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "privileged_os_user": "string",
- "postgres_port": 1,
- "config_settings_stg": [
- {
- "property_name": "string",
- "value": "string",
- "comment_property": true
}
], - "vcdb_restart": true,
- "mssql_failover_drive_letter": "s",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "invoke_datapatch": false,
- "timestamp": "2021-05-01T08:51:34.148Z",
- "timestamp_in_database_timezone": "2021-08-14T14:55:20.507Z",
- "timeflow_id": "timeflow-123",
- "engine_id": "engine-123",
- "source_data_id": "source-123",
- "make_current_account_owner": true
}
The parameters to provision a VDB.
VDB provisioning initiated.
{- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "target_group_id": "group-123",
- "name": "my-test-vdb",
- "database_name": "my-test-database",
- "cdb_id": "ORACLE_SINGLE_CONFIG-376",
- "cluster_node_ids": [
- "ORACLE_CLUSTER_NODE-1"
], - "cluster_node_instances": [
- {
- "node_reference": "ORACLE_CLUSTER_NODE-1",
- "instance_number": 1,
- "instance_name": "cluster_instance1"
}
], - "truncate_log_on_checkpoint": true,
- "os_username": "os-user-x",
- "os_password": "os-user-secret-password",
- "environment_id": "environment-123",
- "environment_user_id": "environment-user-123",
- "repository_id": "oracle-home-123",
- "auto_select_repository": true,
- "vdb_restart": true,
- "template_id": "template-123",
- "auxiliary_template_id": "aux-template-123",
- "file_mapping_rules": "/datafile/dbdhcp3/oradata/dbdhcp3:/data\n/u03/app/ora11202/product/11.2.0/dbhome_1/dbs/dbv_R2V4.dbf:/data/dbv_R2V4.dbf",
- "oracle_instance_name": "dbdhcp2",
- "unique_name": "dbdhcp2",
- "vcdb_name": "VCCD_6QQ",
- "vcdb_database_name": "VCCD_6QQ",
- "mount_point": "/var/mnt",
- "open_reset_logs": true,
- "snapshot_policy_id": "snapshot-123",
- "retention_policy_id": "retention-policy-123",
- "recovery_model": "FULL",
- "pre_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "post_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "cdc_on_provision": true,
- "online_log_size": 4,
- "online_log_groups": 2,
- "archive_log": true,
- "new_dbid": true,
- "masked": true,
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parentTdeKeystorePath": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_exported_key_file_secret": "secret",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "vcdb_tde_key_identifier": "vcdb-identifier",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "privileged_os_user": "string",
- "postgres_port": 1,
- "config_settings_stg": [
- {
- "property_name": "string",
- "value": "string",
- "comment_property": true
}
], - "vcdb_restart": true,
- "mssql_failover_drive_letter": "s",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "invoke_datapatch": false,
- "location": "112233",
- "timeflow_id": "timeflow_123",
- "engine_id": "engine-123",
- "source_data_id": "source-123",
- "make_current_account_owner": true
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}, - "vdb_id": "string"
}
The request to get default VDB provision parameters for provisioning a new VDB by location.
Default VDB provisioning parameters.
{- "source_data_id": "source-123",
- "engine_id": "engine-123",
- "location": "112233",
- "timeflow_id": "timeflow_123"
}
{- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "target_group_id": "group-123",
- "name": "my-test-vdb",
- "database_name": "my-test-database",
- "cdb_id": "ORACLE_SINGLE_CONFIG-376",
- "cluster_node_ids": [
- "ORACLE_CLUSTER_NODE-1"
], - "cluster_node_instances": [
- {
- "node_reference": "ORACLE_CLUSTER_NODE-1",
- "instance_number": 1,
- "instance_name": "cluster_instance1"
}
], - "truncate_log_on_checkpoint": true,
- "os_username": "os-user-x",
- "os_password": "os-user-secret-password",
- "environment_id": "environment-123",
- "environment_user_id": "environment-user-123",
- "repository_id": "oracle-home-123",
- "auto_select_repository": true,
- "vdb_restart": true,
- "template_id": "template-123",
- "auxiliary_template_id": "aux-template-123",
- "file_mapping_rules": "/datafile/dbdhcp3/oradata/dbdhcp3:/data\n/u03/app/ora11202/product/11.2.0/dbhome_1/dbs/dbv_R2V4.dbf:/data/dbv_R2V4.dbf",
- "oracle_instance_name": "dbdhcp2",
- "unique_name": "dbdhcp2",
- "vcdb_name": "VCCD_6QQ",
- "vcdb_database_name": "VCCD_6QQ",
- "mount_point": "/var/mnt",
- "open_reset_logs": true,
- "snapshot_policy_id": "snapshot-123",
- "retention_policy_id": "retention-policy-123",
- "recovery_model": "FULL",
- "pre_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "post_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "cdc_on_provision": true,
- "online_log_size": 4,
- "online_log_groups": 2,
- "archive_log": true,
- "new_dbid": true,
- "masked": true,
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parentTdeKeystorePath": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_exported_key_file_secret": "secret",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "vcdb_tde_key_identifier": "vcdb-identifier",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "privileged_os_user": "string",
- "postgres_port": 1,
- "config_settings_stg": [
- {
- "property_name": "string",
- "value": "string",
- "comment_property": true
}
], - "vcdb_restart": true,
- "mssql_failover_drive_letter": "s",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "invoke_datapatch": false,
- "location": "112233",
- "timeflow_id": "timeflow_123",
- "engine_id": "engine-123",
- "source_data_id": "source-123",
- "make_current_account_owner": true
}
The parameters to provision a VDB.
VDB provisioning initiated.
The above request example is intended for Oracle Database without including optional properties
{- "auto_select_repository": true,
- "source_data_id": "dsource-name",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}, - {
- "key": "key-2",
- "value": "value-2"
}
]
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}, - "vdb_id": "string"
}
The request to get default VDB provision parameters for provisioning a new VDB by snapshot.
Default VDB provisioning parameters.
{- "snapshot_id": "snapshot-123",
- "engine_id": "engine-123",
- "source_data_id": "source-123"
}
{- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "target_group_id": "group-123",
- "name": "my-test-vdb",
- "database_name": "my-test-database",
- "cdb_id": "ORACLE_SINGLE_CONFIG-376",
- "cluster_node_ids": [
- "ORACLE_CLUSTER_NODE-1"
], - "cluster_node_instances": [
- {
- "node_reference": "ORACLE_CLUSTER_NODE-1",
- "instance_number": 1,
- "instance_name": "cluster_instance1"
}
], - "truncate_log_on_checkpoint": true,
- "os_username": "os-user-x",
- "os_password": "os-user-secret-password",
- "environment_id": "environment-123",
- "environment_user_id": "environment-user-123",
- "repository_id": "oracle-home-123",
- "auto_select_repository": true,
- "vdb_restart": true,
- "template_id": "template-123",
- "auxiliary_template_id": "aux-template-123",
- "file_mapping_rules": "/datafile/dbdhcp3/oradata/dbdhcp3:/data\n/u03/app/ora11202/product/11.2.0/dbhome_1/dbs/dbv_R2V4.dbf:/data/dbv_R2V4.dbf",
- "oracle_instance_name": "dbdhcp2",
- "unique_name": "dbdhcp2",
- "vcdb_name": "VCCD_6QQ",
- "vcdb_database_name": "VCCD_6QQ",
- "mount_point": "/var/mnt",
- "open_reset_logs": true,
- "snapshot_policy_id": "snapshot-123",
- "retention_policy_id": "retention-policy-123",
- "recovery_model": "FULL",
- "pre_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "post_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "cdc_on_provision": true,
- "online_log_size": 4,
- "online_log_groups": 2,
- "archive_log": true,
- "new_dbid": true,
- "masked": true,
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parentTdeKeystorePath": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_exported_key_file_secret": "secret",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "vcdb_tde_key_identifier": "vcdb-identifier",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "privileged_os_user": "string",
- "postgres_port": 1,
- "config_settings_stg": [
- {
- "property_name": "string",
- "value": "string",
- "comment_property": true
}
], - "vcdb_restart": true,
- "mssql_failover_drive_letter": "s",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "invoke_datapatch": false,
- "snapshot_id": "string",
- "engine_id": "engine-123",
- "source_data_id": "source-123",
- "make_current_account_owner": true
}
The parameters to provision a VDB.
VDB provisioning initiated.
{- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "target_group_id": "group-123",
- "name": "my-test-vdb",
- "database_name": "my-test-database",
- "cdb_id": "ORACLE_SINGLE_CONFIG-376",
- "cluster_node_ids": [
- "ORACLE_CLUSTER_NODE-1"
], - "cluster_node_instances": [
- {
- "node_reference": "ORACLE_CLUSTER_NODE-1",
- "instance_number": 1,
- "instance_name": "cluster_instance1"
}
], - "truncate_log_on_checkpoint": true,
- "os_username": "os-user-x",
- "os_password": "os-user-secret-password",
- "environment_id": "environment-123",
- "environment_user_id": "environment-user-123",
- "repository_id": "oracle-home-123",
- "auto_select_repository": true,
- "vdb_restart": true,
- "template_id": "template-123",
- "auxiliary_template_id": "aux-template-123",
- "file_mapping_rules": "/datafile/dbdhcp3/oradata/dbdhcp3:/data\n/u03/app/ora11202/product/11.2.0/dbhome_1/dbs/dbv_R2V4.dbf:/data/dbv_R2V4.dbf",
- "oracle_instance_name": "dbdhcp2",
- "unique_name": "dbdhcp2",
- "vcdb_name": "VCCD_6QQ",
- "vcdb_database_name": "VCCD_6QQ",
- "mount_point": "/var/mnt",
- "open_reset_logs": true,
- "snapshot_policy_id": "snapshot-123",
- "retention_policy_id": "retention-policy-123",
- "recovery_model": "FULL",
- "pre_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "post_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "cdc_on_provision": true,
- "online_log_size": 4,
- "online_log_groups": 2,
- "archive_log": true,
- "new_dbid": true,
- "masked": true,
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parentTdeKeystorePath": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_exported_key_file_secret": "secret",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "vcdb_tde_key_identifier": "vcdb-identifier",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "privileged_os_user": "string",
- "postgres_port": 1,
- "config_settings_stg": [
- {
- "property_name": "string",
- "value": "string",
- "comment_property": true
}
], - "vcdb_restart": true,
- "mssql_failover_drive_letter": "s",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "invoke_datapatch": false,
- "bookmark_id": "string",
- "make_current_account_owner": true
}
{- "job": {
- "id": "job-123",
- "status": "RUNNING",
- "is_waiting_for_telemetry": true,
- "type": "DB_REFRESH",
- "localized_type": "DB Refresh",
- "error_details": "Unable to connect to the engine.",
- "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.",
- "target_id": "vdb-123",
- "target_name": "vdb",
- "start_time": "2022-01-02T05:11:24.148Z",
- "update_time": "2022-01-02T06:11:24.148Z",
- "trace_id": "string",
- "engine_ids": [
- "string"
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "engines": [
- {
- "engine_id": "string",
- "engine_name": "string"
}
], - "account_id": 1,
- "account_name": "User 1",
- "percent_complete": 50,
- "virtualization_tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "tasks": [
- {
- "id": "string",
- "parent_job_id": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "title": "string",
- "percent_complete": 100,
- "events": [
- {
- "message_details": "string"
}
], - "status": "PENDING"
}
], - "execution_id": "string"
}, - "vdb_id": "string"
}
Default VDB provisioning parameters.
{- "bookmark_id": "string"
}
{- "pre_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_self_refresh": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_rollback": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "configure_clone": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_snapshot": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_start": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "pre_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "post_stop": [
- {
- "name": "Print the current user",
- "command": "whoami",
- "shell": "bash",
- "element_id": "0",
- "has_credentials": false
}
], - "target_group_id": "group-123",
- "name": "my-test-vdb",
- "database_name": "my-test-database",
- "cdb_id": "ORACLE_SINGLE_CONFIG-376",
- "cluster_node_ids": [
- "ORACLE_CLUSTER_NODE-1"
], - "cluster_node_instances": [
- {
- "node_reference": "ORACLE_CLUSTER_NODE-1",
- "instance_number": 1,
- "instance_name": "cluster_instance1"
}
], - "truncate_log_on_checkpoint": true,
- "os_username": "os-user-x",
- "os_password": "os-user-secret-password",
- "environment_id": "environment-123",
- "environment_user_id": "environment-user-123",
- "repository_id": "oracle-home-123",
- "auto_select_repository": true,
- "vdb_restart": true,
- "template_id": "template-123",
- "auxiliary_template_id": "aux-template-123",
- "file_mapping_rules": "/datafile/dbdhcp3/oradata/dbdhcp3:/data\n/u03/app/ora11202/product/11.2.0/dbhome_1/dbs/dbv_R2V4.dbf:/data/dbv_R2V4.dbf",
- "oracle_instance_name": "dbdhcp2",
- "unique_name": "dbdhcp2",
- "vcdb_name": "VCCD_6QQ",
- "vcdb_database_name": "VCCD_6QQ",
- "mount_point": "/var/mnt",
- "open_reset_logs": true,
- "snapshot_policy_id": "snapshot-123",
- "retention_policy_id": "retention-policy-123",
- "recovery_model": "FULL",
- "pre_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "post_script": "C:\\Program Files\\Delphix\\scripts\\myscript.ps1",
- "cdc_on_provision": true,
- "online_log_size": 4,
- "online_log_groups": 2,
- "archive_log": true,
- "new_dbid": true,
- "masked": true,
- "listener_ids": [
- "listener-123",
- "listener-456"
], - "custom_env_vars": {
- "MY_ENV_VAR1": "$ORACLE_HOME",
- "MY_ENV_VAR2": "$CRS_HOME/after"
}, - "custom_env_files": [
- "/export/home/env_file_1",
- "/export/home/env_file_2"
], - "oracle_rac_custom_env_files": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "path_parameters": "/export/home/env_file_1"
}
], - "oracle_rac_custom_env_vars": [
- {
- "node_id": "ORACLE_CLUSTER_NODE-1",
- "name": "MY_ENV_VAR1",
- "value": "$CRS_HOME/after"
}
], - "parentTdeKeystorePath": "/foo/bar/tde",
- "parent_tde_keystore_password": "password",
- "tde_exported_key_file_secret": "secret",
- "tde_key_identifier": "tde-indentifier",
- "target_vcdb_tde_keystore_path": "/foo/cdb/tde",
- "cdb_tde_keystore_password": "cdb-password",
- "vcdb_tde_key_identifier": "vcdb-identifier",
- "appdata_source_params": {
- "param": "value"
}, - "additional_mount_points": [
- {
- "shared_path": "/",
- "mount_path": "/work",
- "environment_id": "environment-123"
}
], - "appdata_config_params": {
- "option": "value"
}, - "config_params": {
- "processes": 150
}, - "privileged_os_user": "string",
- "postgres_port": 1,
- "config_settings_stg": [
- {
- "property_name": "string",
- "value": "string",
- "comment_property": true
}
], - "vcdb_restart": true,
- "mssql_failover_drive_letter": "s",
- "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "invoke_datapatch": false,
- "bookmark_id": "string",
- "make_current_account_owner": true
}