Skip to content

export template

Chris Lowth edited this page Sep 21, 2022 · 8 revisions

export template, export templates

Usage:

tbutil [{cred}] export template [-j|-s ..|-y] [-by-name] {template_id_or_name}
tbutil [{cred}] export [all] templates [-v] {directory_name}

The singular variant outputs the definition of the specified template as a JSON document that can be editted and/or re-imported into a Turbonomic instance using the "import template" command.

If any of the allowed common formatting options are specified, then the output is the unprocessed output of the API call used. The resulting text is NOT suitable to be imported using "import template".

The supported formatting flags are -j, -s and -y (see common formatting options)

The plural variant exports all custom templates to files in the named directory. The tool first creates the directory (which must not pre-exist). The option -v means that the export files contain the full template DTO rather than the simplified version. Files created using -v are NOT suitable for re-importing.

If all is used with the plural variant, then system-generated templates are included in the export directory. Note that they CANNOT be re-imported.

See also: "delete template", "import template", "list templates"

Clone this wiki locally