|
| 1 | +## stackit beta volume automation create |
| 2 | + |
| 3 | +Creates a Volume Automation |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a Volume Automation. |
| 8 | +The input for the automation can be provided as a JSON string or a file path prefixed with "@". |
| 9 | +See https://docs.api.stackit.cloud/documentation/automation-service/version/v1#tag/Volume-Automations/operation/CreateVolumeAutomation for information regarding the payload structure. |
| 10 | + |
| 11 | + |
| 12 | +``` |
| 13 | +stackit beta volume automation create [flags] |
| 14 | +``` |
| 15 | + |
| 16 | +### Examples |
| 17 | + |
| 18 | +``` |
| 19 | + Creates a Volume Automation with name "my-automation", template ID "xxx" and input from the file "./input-payload.json" |
| 20 | + $ stackit beta volume automation create --name my-automation --template-id xxx --input @./input-payload.json |
| 21 | +
|
| 22 | + Creates a Volume Automation with name "my-automation", description "CLI Example", template ID "xxx" and input from the file "./input-payload.json" |
| 23 | + $ stackit beta volume automation create --name my-automation --description "CLI Example" --template-id xxx --input @./input-payload.json |
| 24 | +
|
| 25 | + Creates a Volume Automation with name "my-automation", template ID "xxx", rrule schedule trigger "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR" and input from the file "./input-payload.json" |
| 26 | + $ stackit beta volume automation create --name my-automation --template-id xxx --trigger-schedule-rrule "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR" --input @./input-payload.json |
| 27 | +``` |
| 28 | + |
| 29 | +### Options |
| 30 | + |
| 31 | +``` |
| 32 | + --description string Description of the automation |
| 33 | + -h, --help Help for "stackit beta volume automation create" |
| 34 | + --input string Input for the automation (JSON). Can be a string or a file path, if prefixed with "@" (example: @./payload.json). |
| 35 | + --name string Name of the automation |
| 36 | + --template-id string Template ID which should be used for the automation |
| 37 | + --trigger-schedule-rrule string Trigger schedule (RRULE) for the automation |
| 38 | +``` |
| 39 | + |
| 40 | +### Options inherited from parent commands |
| 41 | + |
| 42 | +``` |
| 43 | + -y, --assume-yes If set, skips all confirmation prompts |
| 44 | + --async If set, runs the command asynchronously |
| 45 | + -o, --output-format string Output format, (one of: [json, pretty, none, yaml]) |
| 46 | + -p, --project-id string Project ID |
| 47 | + --region string Target region for region-specific requests |
| 48 | + --verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info") |
| 49 | +``` |
| 50 | + |
| 51 | +### SEE ALSO |
| 52 | + |
| 53 | +* [stackit beta volume automation](./stackit_beta_volume_automation.md) - Provides functionality for Volume Automation |
| 54 | + |
0 commit comments