Skip to content

Create an MSSQL source.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired

The parameters to create an MSSQL source.

mssql_config_typestring(MssqlConfigTypeEnum)required

Type of this database source config.

Enum:"MSSqlSIConfig""MSSqlAvailabilityGroupDBConfig""MSSqlFailoverClusterDBConfig"
Example:"MSSqlSIConfig"
database_namestring, [ 1 .. 128 ] characters^[a-zA-Z0-9_]+$required

The database name of the source.

Example:"testdb"
repository_idstring, [ 1 .. 256 ] charactersrequired

The ID of the Repository onto which the source will be created.

Example:"1-MSSQL_INSTANCE-13"
linking_enabledboolean

Whether this source should be used for linking.

environment_userstring, [ 1 .. 256 ] characters

The environment user reference.

engine_idstring

The ID of the engine to create the source on.

Example:"1"
mirroring_statestring

Mirroring state of the database.

Default:"NONE"
Enum:"SUSPENDED""DISCONNECTED""SYNCHRONIZING""PENDING_FAILOVER""SYNCHRONIZED""NOT_SYNCHRONIZED""FAILOVER_POSSIBLE""NONE"
Example:"SUSPENDED"
recovery_modelstring

Recovery model of the database.

Default:"SIMPLE"
Enum:"FULL""SIMPLE""BULK_LOGGED"
Example:"FULL"
mssql_failover_drive_letterstring, = 1 characters

Base drive letter location for mount points. (For MSSqlFailoverClusterDBConfig source type only).

The request example is intended for creating an MSSQL source with required params only.

curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.3.0.0/continuous-data-apis-dct-2026.3.0.0/sources/mssql \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "mssql_config_type": "MSSqlSIConfig",
    "database_name": "testDb",
    "repository_id": "1-MSSQL_INSTANCE-13"
  }'

Responses

MSSQL Source creation initiated

Bodyapplication/json
jobobject(Job)
source_idstring

The id of the created source.

Example:"1-source-3"
Response
{ "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.148000+00:00", "update_time": "2022-01-02T06:11:24.148000+00:00", "trace_id": "string", "engine_ids": [ … ], "tags": [ … ], "engines": [ … ], "account_id": 1, "account_name": "User 1", "compliance_node_id": "string", "compliance_node_name": "string", "percent_complete": "50", "virtualization_tasks": [ … ], "tasks": [ … ], "execution_id": "string", "result_type": "string", "result": {}, "job": { … }, "class_type": "DeleteDSourceResponse" }, "source_id": "1-source-3" }