Skip to content

Instantly share code, notes, and snippets.

@dlinsley
Created May 4, 2017 23:06
Show Gist options
  • Save dlinsley/2f9291e6bc87de1582ddcef5ab6cd2f0 to your computer and use it in GitHub Desktop.
Save dlinsley/2f9291e6bc87de1582ddcef5ab6cd2f0 to your computer and use it in GitHub Desktop.
Get All CatalogResourceActions defined in vRA
// VMware vRealize Orchestrator (vRO) action sample
//
// Returns all Catalog Resource Actions.
// The result can be iterated and filtered to populate entitlements.
//
// For vRO/vRA 7.0+
//
// Action Inputs:
// vraHost - vCACCAFE:VCACHost
//
// Return type: Array/vCACCAFE:CatalogResourceAction
var cc = vraHost.createCatalogClient();
var ros = cc.getCatalogAdminResourceOperationService();
var odataRequest = new vCACCAFEPageOdataRequest(1, 10000);
var actions = ros.findResourceOperations(odataRequest);
return actions;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment