Sends the restartDataPipeline operation through the do-data-pipe-line-action command to restart a data pipeline that is in the paused state.
Command syntax
ossutil api do-data-pipe-line-action --action restartDataPipeline \
--parameters dataPipelineName=my-data-pipeline \
--region cn-hangzhouParameters
Parameter | Type | Description |
--action | string | The name of the data pipeline operation to send. |
--parameters | stringArray | The query parameters of the request, in k=v format. You can specify this option multiple times. For example, dataPipelineName=my-data-pipeline and role=acs:ram::<AccountId>:role/my-data-pipeline-role. |
--region | string | The region in which the bucket is located. For example, cn-hangzhou. |
-i, --access-key-id / -k, --access-key-secret | string | The AccessKey ID and AccessKey secret used to access OSS. You can also configure them in advance by running ossutil config. |
For information about the supported global command-line options, see the global command-line options supported by ossutil.
Examples
ossutil api do-data-pipe-line-action --action restartDataPipeline \
--parameters dataPipelineName=my-data-pipeline \
--region cn-hangzhou