7.2.19 rmtemplate
Delete an Exascale template.
Syntax
rmtemplate { --vault vault | --cluster }
{ --file-type file-type | --name template-name }
[{ -w | --wallet } wallet-location ]
[{ -T | --trace } trace-level ]
[{ -j | --json } [ --compact ]]
Command Options
The options for the
rmtemplate
command are:
-
--vault
: Identifies the vault associated with the template being deleted. -
--cluster
: Specifies the deletion of a cluster template. -
--file-type
: Deletes the template associated with the specified file type. -
--name
: Deletes the user-defined template having the specified name. -
-w
,--wallet
: Optionally specifies the path to the Exascale wallet directory. -
-T
,--trace
: Optionally enables tracing, with the trace level (trace-level) set to1
(minimum tracing),2
(medium tracing), or3
(maximum tracing). If the trace level is not specified, then minimum tracing is enabled by default.The trace file is written to the first accessible location in the following list:
-
If the
$ADR_BASE
environment variable is set:$ADR_BASE/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
/var/log/oracle/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
/tmp/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
-
-
-j
,--json
: Displays the output in JSON format. -
--compact
: Displays JSON formatted output in a compact format, without white space and line breaks.
Usage Notes
Note the following information when using this command:
-
Deletion of a cluster template that is associated with a file type it is not permitted. Consequently, you cannot specify the
--cluster
and--file-type
options in the same command.
Examples
Example 7-34 Delete an Exascale template
The following example deletes the user-defined template named my-template
, which is associated with the my-data
vault.
$ xsh rmtemplate --vault my-data --name my-template
Related Topics
Parent topic: XSH Command Reference