addResourceToTeam

Add a resource to a team

Format

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

Parameters

Table 1. Parameters
Parameter Type Required Description
resource string true Path to the resource, such as /ResourceGroup/Agents/Agent1
template string false Name or ID of the resource template (Optional)
blueprintId string false Name or ID of the blueprint (Optional)
application string false Name or ID of the application (Required to look up blueprint by name)
team string true Name or ID of the team
type string false Name of the type to use. Leave blank if you are using the type "Standard Resource".

Example

udclient -username jsmith -password passwd 
  -weburl https://myserver.example.com:8443
  addResourceToTeam
  -resource /Resource1/Subresource1
  -team MyTeam

Related REST command: Add a resource to a team.