You can delete a resource template from the resource list in the
GUI. If resource instances created from the template exist, you cannot delete
the template.
Procedure
Select
Shared Objects > Resource Templates.
Select one or more resource templates from the list.
You can use the Type and Scope to filter the list of
resource templates.
Click
Delete.
If resource instances created from the template exist an
error dialog is displayed. Otherwise, the templates are deleted from the
database.
CLI
You can delete a resource template using the command-line
utility.
Procedure
In the data file, specify the type
of the resource template in the
xsi:type attribute.
In the
AMXAdminTask element, set the
action
attribute to
delete and the
objectSelector attribute
ResourceTemplate|Environment/ResourceTemplate|Environment/Application/ResourceTemplate.