Is it possible to get target servers defined under environment configuration into Java Script?
It's possible with some API requests. See links below:
As suggested by @Trung Lam, you can use management APIs to get the target servers and get them into a variable or cache/KVM and use them as appropriately in your Javascript code. Or you can also use Node.js to do this,
Do refer to this community post which talks about your requirement in more detail.
Regards,
Amar
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |