Add Server Group - BlueCat Address Manager - 9.0.0

Address Manager API Guide

BlueCat Address Manager

Adds a Server Group that will contain multiple DNS/DHCP Servers.

You can use the generic addEntity() method to add a Server Group. Use ObjectType.ServerGroup to define the Server Group entity. For example:
serverGroup = new APIEntity( 0, name, properties, ObjectTypes.ServerGroup );
serverGroupId = service.addEntity( configurationId, serverGroup );
Note: When defining a Server Group entity, the entity name cannot be empty.
For more information about addEntity(), refer to Adding Objects
Output / Response

Returns the object ID for the new Server Group.