Created
August 29, 2022 09:29
-
-
Save YagmurOzden/12d90a31a65e15f1d3a312b24e4d42d7 to your computer and use it in GitHub Desktop.
Returns the configuration element
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 | |
// vRA 8.7.0 | |
// input types: categoryPath [string] | |
configName [string] | |
// return type: ConfigurationElement | |
var category = Server.getConfigurationElementCategoryWithPath(categoryPath); | |
for each (var c in category.configurationElements){ | |
if (c.name == configName){ | |
return c; | |
} | |
} | |
return null; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment