addEnvironmentBaseResource

Add a base resource to an environment

Format

udclient [global-args...] [global-flags...]
  addEnvironmentBaseResource [parameters]

Parameters

Table 1. Parameters
Parameter Type Required Description
environment string true Name or ID of the environment
application string false Name of the application; this value is required if you specify the environment name instead of ID
resource string true Path or ID of the resource to add

Example

udclient -username jsmith -password passwd 
  -weburl https://myserver.example.com:8443
  addEnvironmentBaseResource
  -application MyApplication
  -environment Environment1
  -resource /agents/agent1

Related REST command: Add a base resource to an environment.