Skip to content

Instantly share code, notes, and snippets.

@trisharia
Last active September 30, 2018 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trisharia/74e2b30dd3feaa787ae8263769e386cd to your computer and use it in GitHub Desktop.
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
// 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