NorskManager.stopBundleJob() method

Stop a bundle job and keep it down: the daemon stops every running instance and re-stamps the dormant tag (startMode=manual), so the job is not placed again until NorskManager.startBundleJob(). opts.graceMs is how long its containers get before they are killed.

Signature:

stopBundleJob(bundleId: string, replicaIndex: number, jobName: string, opts?: StopBundleJobOptions): Promise<void>;

Parameters

Parameter Type Description

bundleId

string

replicaIndex

number

jobName

string

opts

StopBundleJobOptions

(Optional)

Returns:

Promise<void>