OK
{- "items": [
- {
- "id": "source-123",
- "database_type": "Oracle",
- "name": "production01",
- "database_version": "11.1.0.7.0",
- "environment_id": "environment-123",
- "data_uuid": "1734315df891991101eb96963535afa0",
- "ip_address": "192.0.2.0",
- "fqdn": "prod01.myhost.com",
- "size": 856981504,
- "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)))",
- "plugin_version": "1.0",
- "repository": "1-REPOSITORY-1",
- "appdata_source_type": "AppDataDirectSourceConfig",
- "is_pdb": false,
- "tags": [
- {
- "key": "key1",
- "value": "value1"
}, - {
- "key": "key2",
- "value": "value2"
}
], - "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)))"
}, - {
- "discovered": "false",
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1522))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "instance_name": "DBSID",
- "instance_number": 1,
- "user": "ORACLE",
- "non_sys_user": "TESTER",
- "discovered": true,
- "linking_enabled": true,
- "cdb_type": "ROOT_CDB"
}
], - "errors": [
- {
- "message": "string",
- "object_name": "string"
}
], - "response_metadata": {
- "prev_cursor": "string",
- "next_cursor": "string",
- "total": 0
}
}
The parameters to create an Oracle source.
Oracle Source creation initiated
This example can be used for creating an Oracle single instance source.
{- "oracle_config_type": "OracleSIConfig",
- "engine_id": 1,
- "environment_id": "1-UNIX_HOST_ENVIRONMENT-17",
- "database_name": "MYSIDB",
- "repository_id": "1-ORACLE_INSTALL-3",
- "unique_name": "MYSIDB",
- "instance_name": "MYSIDB"
}
{- "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"
}, - "source_id": "1-ORACLE_SINGLE_CONFIG-32"
}
The parameters to update a Oracle source
OK
The request example is intended for updating an Oracle source.
{- "user": "myuser",
- "password": "mypwd",
- "oracle_services": [
- "jdbc:oracle:thin:@hostname:port/service_name",
- "jdbc:oracle:thin:@hostname:port:SID"
], - "linking_enabled": 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 create a PostgreSQL source.
PostgreSQL Source creation initiated
The request example is intended for creating a PostgreSQL source.
{- "name": "postgres-source",
- "repository_id": "APPDATA_REPOSITORY-10",
- "engine_id": "1",
- "environment_id": "UNIX_HOST_ENVIRONMENT-3"
}
{- "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"
}, - "source_id": "source-1"
}
The request example is intended for updating a PostgreSQL source.
{- "name": "postgres-source-update"
}
{- "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"
}
}
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": "source-123",
- "database_type": "Oracle",
- "name": "production01",
- "database_version": "11.1.0.7.0",
- "environment_id": "environment-123",
- "data_uuid": "1734315df891991101eb96963535afa0",
- "ip_address": "192.0.2.0",
- "fqdn": "prod01.myhost.com",
- "size": 856981504,
- "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)))",
- "plugin_version": "1.0",
- "repository": "1-REPOSITORY-1",
- "appdata_source_type": "AppDataDirectSourceConfig",
- "is_pdb": false,
- "tags": [
- {
- "key": "key1",
- "value": "value1"
}, - {
- "key": "key2",
- "value": "value2"
}
], - "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)))"
}, - {
- "discovered": "false",
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1522))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "instance_name": "DBSID",
- "instance_number": 1,
- "user": "ORACLE",
- "non_sys_user": "TESTER",
- "discovered": true,
- "linking_enabled": true,
- "cdb_type": "ROOT_CDB"
}
], - "response_metadata": {
- "prev_cursor": "string",
- "next_cursor": "string",
- "total": 0
}
}
{- "id": "source-123",
- "database_type": "Oracle",
- "name": "production01",
- "database_version": "11.1.0.7.0",
- "environment_id": "environment-123",
- "data_uuid": "1734315df891991101eb96963535afa0",
- "ip_address": "192.0.2.0",
- "fqdn": "prod01.myhost.com",
- "size": 856981504,
- "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)))",
- "plugin_version": "1.0",
- "repository": "1-REPOSITORY-1",
- "appdata_source_type": "AppDataDirectSourceConfig",
- "is_pdb": false,
- "tags": [
- {
- "key": "key1",
- "value": "value1"
}, - {
- "key": "key2",
- "value": "value2"
}
], - "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)))"
}, - {
- "discovered": "false",
- "jdbc_connection_string": "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1522))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))"
}
], - "instance_name": "DBSID",
- "instance_number": 1,
- "user": "ORACLE",
- "non_sys_user": "TESTER",
- "discovered": true,
- "linking_enabled": true,
- "cdb_type": "ROOT_CDB"
}
{- "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"
}
}
{- "oracle_services": [
- "jdbc:oracle:thin:@hostname:port/service_name",
- "jdbc:oracle:thin:@hostname:port:SID"
]
}
{- "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"
}
}
{- "items": [
- {
- "id": "environment-123",
- "name": "Linux Test Host",
- "namespace_id": "1-NAMESPACE-1",
- "namespace_name": "test-engine-1",
- "is_replica": true,
- "namespace": "NAMESPACE-1",
- "engine_id": "engine-123",
- "enabled": true,
- "encryption_enabled": false,
- "description": "Windows source host",
- "is_cluster": false,
- "cluster_home": "/u01/app/12.2.0.1/grid",
- "is_windows_target": false,
- "staging_environment": "1-WINDOWS_HOST-8",
- "hosts": [
- {
- "id": "3-UNIX_HOST-5",
- "hostname": "linux.dev.delphix.com",
- "os_name": "Linux",
- "os_version": "Red Hat Enterprise Linux Server release 7.3 (Maipo)",
- "memory_size": 8382160896,
- "available": false,
- "available_timestamp": "2022-06-02T17:49:11.457Z",
- "not_available_reason": "Failed to connect to host",
- "oracle_cluster_node_reference": "ORACLE_CLUSTER_NODE-1",
- "oracle_cluster_node_name": "my-favorite-cluster-node",
- "oracle_cluster_node_enabled": true,
- "oracle_cluster_node_discovered": true,
- "oracle_cluster_node_virtual_ips": [
- {
- "domain_name": "virtual.domain.com",
- "ip": "192.168.0.1",
- "discovered": true
}
], - "oracle_cluster_node_instances": [
- {
- "instance_name": "string",
- "instance_number": 0,
- "source_id": "string"
}
], - "windows_cluster_node_reference": "WINDOWS_CLUSTER_NODE-1",
- "windows_cluster_node_name": "my-favorite-cluster-node",
- "windows_cluster_node_discovered": true,
- "nfs_addresses": [
- "192.168.10.2"
], - "dsp_keystore_alias": "oracle-env",
- "dsp_keystore_path": "/tmp/keystore.keystore",
- "dsp_truststore_path": "/tmp/truststore.keystore",
- "java_home": "/Library/Java/JavaVirtualMachines/jdk/Contents/Home",
- "ssh_port": 22,
- "toolkit_path": "/work",
- "connector_port": 9100,
- "connector_version": "1.17.0",
- "connector_dot_net_framework_version": "3.5",
- "oracle_tde_keystores_root_path": "/keystore/root/path",
- "processor_type": "x86_64",
- "timezone": "America/New_York,EST-0500",
- "powershell_version": "5.1.17763.134",
- "release": "6.3",
- "trace_route_info": "1 <1 ms <1 ms <1 ms 10.110.232.122"
}
], - "tags": [
- {
- "key": "key-1",
- "value": "value-1"
}
], - "repositories": [
- {
- "id": "string",
- "name": "string",
- "database_type": "string",
- "allow_provisioning": true,
- "is_staging": true,
- "oracle_base": "string",
- "version": "string",
- "bits": 0,
- "install_group": "string",
- "install_user": "string",
- "rac": true,
- "ports": [
- 0
], - "port": 0,
- "dump_history_file": "string",
- "page_size": 0,
- "owner": "string",
- "installation_path": "string",
- "fulltext_installed": true,
- "internal_version": 0,
- "mssql_cluster_instances_name": [
- "string"
], - "mssql_cluster_instances_version": [
- "string"
], - "installation_home": "string",
- "drive_letter": [
- "string"
], - "discovered": true
}
], - "listeners": [
- {
- "id": "1-ORACLE_NODE_LISTENER-11",
- "name": "my-listener",
- "type": "NODE",
- "protocol_addresses": [
- "(ADDRESS=(PROTOCOL=tcp)(HOST=10.75.59.184)(PORT=4567))",
- "(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER))"
], - "client_endpoints": [
- "(ADDRESS=(PROTOCOL=tcp)(HOST=10.75.59.184)(PORT=4567))"
], - "is_discovered": true,
- "host_id": "1-UNIX_HOST-14"
}
], - "os_type": "UNIX"
}
]
}