Fetch automation templates
Last updated on
After activating the Automation Service, you need to retrieve the available automation templates to create automations. This guide explains how to fetch currently supported templates for use in API requests or the STACKIT Cloud Portal.
For a complete list of supported templates, see the Volume Recovery Point Management template section.
Prerequisites
Section titled “Prerequisites”List all automation templates
Section titled “List all automation templates”Use the following GET request to obtain a JSON list of all available automation templates:
GET https://automation-service.api.stackit.cloud/v1beta/projects/{projectId}/regions/{region}/services/volumes/automations/templatesOnce you have identified a template from this list, you can use it to create an automation. See Create automation via API for instructions.
API Reference: GetAutomationTemplates.
To get an overview of all available automation templates in the STACKIT Portal, navigate to the entry page for automations and use the drop down list within the Create automation order form.
- On the project overview go to Storage —> Disk Volumes —> Automations.
- Click on Create automation and go to General Information
- Click on the dropdown list in Automation template and it will display all available automation templates you can use.
Get information about a specific automation template
Section titled “Get information about a specific automation template”You need to provide the following information in your API requests:
templateId
Use this GET request to obtain more information about a specific automation template:
GET https://automation-service.api.stackit.cloud/v1beta/projects/{projectId}/regions/{region}/services/volumes/automations/templates/{templateId}Swagger API definition for the STACKIT Automation Service API: GetAutomationTemplate.
In the STACKIT Portal automation configuration options will be displayed automatically when you select the automation template.