Method: Gemfire::AgentInstances#create

Defined in:
lib/vas/gemfire/agent_instances.rb

#create(installation, name) ⇒ AgentInstance

Creates a new agent instance

Parameters:

  • installation (Installation)

    the installation to be used by the instance

  • name (String)

    the name of the instance

Returns:



33
34
35
36
# File 'lib/vas/gemfire/agent_instances.rb', line 33

def create(installation, name)
  payload = { :installation => installation.location, :name => name }
  super(payload, 'agent-group-instance')
end