How to assign agents to environment using command line or API?
There is no command line utility for this matter.
We have 2 ways to assign agents to environment using other utilities.
- Using RA Action
You can use [Application Environment - Assign Servers] action, if you want to assign agents in your deployments.
- Using SOAP API
If you want to assign agents from external, you can use SOAP method [mapInstanceToEnvironment]. It needs some coding, so CA Services can assist you with fee if you need.
You can find SOAP API Reference:
- Access on your NAC.
- Select [Index] on top of menu.
- Click [M] in the index and select [mapInstanceToEnvironment].