NXSL:CreateNode
Jump to navigation
Jump to search
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"