Sets the desired deployment state of a pipeline.
The desired state is set based on the action
path parameter:
/start
sets desired state toRunning
/pause
sets desired state toPaused
/shutdown
sets desired state toShutdown
The endpoint returns immediately after setting the desired state.
The relevant procedure to get to the desired state is performed asynchronously,
and, as such, progress should be monitored by polling the pipeline using the
GET
endpoints.
Note the following:
- A shutdown pipeline can be started through calling either
/start
or/pause
- Both starting as running and resuming a pipeline is done by calling
/start
- Both starting as paused and pausing a pipeline is done by calling
/pause
Path Parameters |
---|
pipeline_name string — REQUIREDUnique pipeline name |
action string — REQUIREDPipeline action (one of: start, pause, shutdown) |
Responses | ||||
---|---|---|---|---|
202 Action accepted and is being performed | ||||
400 Unable to accept action
| ||||
404 Pipeline with that name does not exist
|