createResourceTemplate
Create a resource template from a JSON file
Format
udclient [global-args...] [global-flags...]
createResourceTemplate [JSON file]
Parameters
None.Template
This command takes a JSON request string or file. Use the following template for the request:
{
"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 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 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 REST command: Create a resource template from a JSON file.