prefect automation
Manage automations.
prefect automation ls
List all automations.
prefect automation inspect
Inspect an automation.Arguments:name: the name of the automation to inspectid: the id of the automation to inspectyaml: output as YAMLjson: output as JSONExamples:
$ prefect automation inspect "my-automation"
$ prefect automation inspect --id "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
$ prefect automation inspect "my-automation" --yaml
$ prefect automation inspect "my-automation" --output json
$ prefect automation inspect "my-automation" --output yaml
Arguments
Arguments
An automation’s name
prefect automation resume
Resume an automation.Arguments:name: the name of the automation to resumeid: the id of the automation to resumeExamples:
$ prefect automation resume "my-automation"
$ prefect automation resume --id "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
prefect automation enable
Resume an automation.Arguments:name: the name of the automation to resumeid: the id of the automation to resumeExamples:
$ prefect automation resume "my-automation"
$ prefect automation resume --id "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
prefect automation pause
Pause an automation.Arguments:name: the name of the automation to pauseid: the id of the automation to pauseExamples:
$ prefect automation pause "my-automation"
$ prefect automation pause --id "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
prefect automation disable
Pause an automation.Arguments:name: the name of the automation to pauseid: the id of the automation to pauseExamples:
$ prefect automation pause "my-automation"
$ prefect automation pause --id "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
prefect automation delete
Delete an automation.
Example:
$ prefect automation delete "my-automation"
$ prefect automation delete --id "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
prefect automation create
Create one or more automations from a file or JSON string.
Example:
$ prefect automation create --from-file automation.yaml
$ prefect automation create -f automation.json
$ prefect automation create --from-json '{"name": "my-automation", "trigger": {...}, "actions": [...]}'
$ prefect automation create -j '[{"name": "auto1", ...}, {"name": "auto2", ...}]'