Created
May 4, 2017 23:06
-
-
Save dlinsley/2f9291e6bc87de1582ddcef5ab6cd2f0 to your computer and use it in GitHub Desktop.
Get All CatalogResourceActions defined in vRA
This file contains hidden or 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 (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