prefect automation

prefect automation [OPTIONS] COMMAND [ARGS]...
Manage automations.

prefect automation ls

prefect automation ls [OPTIONS]
List all automations.

prefect automation inspect

prefect automation inspect [OPTIONS] [NAME]
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

Options

prefect automation resume

prefect automation resume [OPTIONS] [NAME]
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"

Arguments

Options

prefect automation enable

prefect automation enable [OPTIONS] [NAME]
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"

Arguments

Options

prefect automation pause

prefect automation pause [OPTIONS] [NAME]
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"

Arguments

Options

prefect automation disable

prefect automation disable [OPTIONS] [NAME]
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"

Arguments

Options

prefect automation delete

prefect automation delete [OPTIONS] [NAME]
Delete an automation.

Arguments

Options

Example:$ prefect automation delete "my-automation" $ prefect automation delete --id "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"

prefect automation create

prefect automation create [OPTIONS]
Create one or more automations from a file or JSON string.

Options

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", ...}]'