Yes, I also looked at the GUI for comparison before posting here. I thought "environment" + "rulesetname" will take care of mapping it to target connection as they are associated to each other. By looking command usage, I don't see any option to define target connection
delphix@ip-10-175-18-90:/stagingData/Scripts/API-Automation-ToolKit$ ./dxmc job add --help
Usage: dxmc job add [OPTIONS]
List of required parameters:
jobname
envname
rulesetname
Return non zero code if there was problem with adding a new job
Options:
--jobname TEXT Name of job to add [required]
--envname TEXT Name of environment where job will be added
[required]
--rulesetname TEXT Name of ruleset which will be used for masking
job [required]
--jobdesc TEXT Desciption of the job
--email TEXT e-mail address used for job notification
--on_the_fly_source TEXT connector name for on the fly job
--feedback_size INTEGER Feedback size of masking job
--max_memory INTEGER Maximum size of memory used by masking job
--min_memory INTEGER Minimum size of memory used by masking job
--num_streams INTEGER Number of concurrent objects (tables/files)
being masked by job
--commit_size INTEGER Number of rows after which commit will be
issued
--threads INTEGER Number of threads masking single object. DON'T
CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
--on_the_fly [Y|N] Define job as 'on the fly' masking
--multi_tenant [Y|N] Define job as multi-tenant
--batch_update [Y|N] Enable batch update for job.DON'T CHANGE UNLESS
YOU KNOW WHAT YOU ARE DOING
--disable_constraints [Y|N] Disable constraints for duration of masking job
--drop_indexes [Y|N] Drop indexes for duration of masking job
--disable_triggers [Y|N] Disable triggers for duration of masking job
--truncate_tables [Y|N] Truncate table before starting load. Use for on
the fly masking only
--bulk_data [Y|N] Use bulk update for jobs. It's use by default
--prescript FILENAME File name and path used as prescript
--postscript FILENAME File name and path used as postscript
--format [fixed|csv|json] Output format
--engine TEXT Engine name
--debug Enables debug mode.
--logfile TEXT Logfile path and name
--help Show this message and exit.