PUT https://{hostname}:{port}
/cli/resourceTemplate/create
Accept: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept | application/json | true |
{
"cloudResourceId": "ID of cloud resource; leave blank
when not cloud-based template (Optional)",
"connection": "ID of cloud connection; leave blank when
not cloud-based template (Optional)",
"description": "Description",
"isVsys": "Specify 'true' when cloud resource is Virtual
System Pattern (non-classic) in IPAS 2.0 or ICO 2.0 cloud
product, otherwise specify 'false' when cloud resource is
using Weaver (for IWD, SCO, ICO, and IPAS versions before
2.0 and 'classic' virtual system pattern in IPAS 2.0 or
ICO 2.0); leave blank when not cloud-based template
(Optional)",
"name": "Name for the resource template",
"parentId": "ID of parent resource template; leave blank
when none or creating cloud-based template (Optional)",
"rootTeamMappings": "Array of UCD team ids; if not
specified, no teams will be mapped to Root Resource;
format: [ {teamId: '<ID-of-team-1>'}, {teamId: '<ID-of-
team-2>'}, ... ]; (Optional)",
"teamMappings": "Array of UCD team ids; if not
specified, no teams will be mapped to Template; format: [
{teamId: '<ID-of-team-1>'}, {teamId: '<ID-of-team-2>'},
... ]; (Optional)"
}
Related CLI command: createResourceTemplate.