Deactivates the specified running pipeline. The pipeline is set to the
DEACTIVATING
state until the deactivation process completes.
To resume a deactivated pipeline, use
activate_pipeline
. By default, the
pipeline resumes from the last completed execution. Optionally, you can
specify the date and time to resume the pipeline.
datapipeline_deactivate_pipeline(pipelineId, cancelActive)
An empty list.
[required] The ID of the pipeline.
Indicates whether to cancel any running objects. The default is true,
which sets the state of any running objects to CANCELED
. If this value
is false, the pipeline is deactivated after all running objects finish.
svc$deactivate_pipeline(
pipelineId = "string",
cancelActive = TRUE|FALSE
)