Difference between revisions of "NXSL:CreateNode"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Create node object. '''Since:''' 1.2.7 == Syntax == CreateNode(''parent'', ''name'', ''primaryHostName''); == Parameters == :{| |- | ''parent'' || Parent objec...") |
m (Text replacement - "^" to "{{deprecated}}") |
||
Line 1: | Line 1: | ||
__NOTOC__ | {{deprecated}}__NOTOC__ | ||
Create node object. | Create node object. | ||
Latest revision as of 18:13, 13 September 2022
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
Create node object.
Since: 1.2.7
Syntax
CreateNode(parent, name, primaryHostName);
Parameters
parent Parent object. Can be either container or infrastructure services root. Reference to parent object can be obtained using FindObject function. name Name for new node object. primaryHostName primary host name for new node object. Must be valid IP address or resolvable host name.
Return Value
Reference to newly created object.
Examples
CreateNode(FindObject(2), "SERVER", "10.10.10.1"); // Create node directly under "Infrastructure Services"