You can use templates to store commonly used operations, which allows you to avoid repeated work when an operation is applicable to more than a single virtual dataset. You manage templates through the Delphix Management application.
Hook Operations Templates Not Available via CLI
Hook operation templates cannot be fully utilized from the CLI. Manage and use hook operations through the Delphix Management application.
Creating a Hook Operation Template
The provisioning wizard still imports hook operations from templates.
- Login to the Delphix Management application.
- Click Manage.
- Select Operation Templates.
- Click the Plus icon to add a new operation template.
- Enter a Name for the template.
- Select an operation Type.
- Enter a Description detailing what the operation does or how to use it.
- Enter operation Contents to implement the operation partially or fully.
- Click Create.
Importing a Hook Operation Template
To import a hook operation template:
- In the Datasets panel, select a dataset.
- Click the Configuration tab.
- Within the Configuration tab, click the Hooks tab.
- Select the hook to edit.
- Click the Plus icon to add a new operation.
- Click Import.
- Select the template to import.
- Click Import.
- When you have set all hook operations, click Check to save the changes.
Exporting a Hook Operation Template
To export a hook operation template:
- In the Datasets panel, select a dataset.
- Click the Configuration tab.
- Within the Configuration tab, click the Hooks tab.
- Select the hook to edit.
- Click the Plus icon to add a new operation.
- Select the type of operation.
- Click the text area and edit the contents of the operation.
- Click Export.
- Enter a Name for the template.
- Enter a Description detailing what the operation does or how to use it.
- Click Export.