Last active
September 30, 2018 22:23
-
-
Save trisharia/74e2b30dd3feaa787ae8263769e386cd to your computer and use it in GitHub Desktop.
Get the name of a vRA Subtenant or Business Group given its ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// VMware vRealize Orchestrator action sample | |
// | |
// Get the name of a vRealize Automation Subtenant (a.k.a. Business Group) given its ID | |
// | |
// For vRO/VRA 7.0+ | |
// | |
// Action Inputs: | |
// cafeHost - vCACCAFE:vCACHost - vRealize Automation host | |
// id - string - ID of the vRA Subtenant | |
// | |
// Return type: string - Subtenant name | |
var mySubtenant = vCACCAFEEntitiesFinder.getSubtenant(cafeHost, id); | |
var name = mySubtenant.name; | |
return name; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment