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 | |
// | |
// Gets all Catalog Resources (deployments, machines, etc.) for the given catalog item request | |
// | |
// For vRO/VRA 7.0+ | |
// | |
// Action Inputs: | |
// host - vCACCAFE:VCACHost - vRA CAFE Host | |
// request - vCACCAFE:CatalogItemRequest - vRA Catalog Item Request | |
// |
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 children of a vRA Catalog Resource. | |
// For example, find the Machine resource(s) of a Deployment. | |
// | |
// For vRO/VRA 7.0+ | |
// | |
// Action Inputs: | |
// cafeHost - vCACCAFE:VCACHost - vRA CAFE Host | |
// parentCatalogResource - vCACCAFE:CatalogResource - parent Catalog Resource for which to get children |
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 ID of the Catalog Request for a vRA IaaS VM | |
// | |
// For vRO/VRA 7.0+ | |
// | |
// Action Inputs: | |
// host - vCAC:VCACHost - vRA IaaS Host | |
// virtualMachine - vCAC:VirtualMachine - vRA IaaS VM | |
// |
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 | |
// | |
// Find all VMs with a specific property value in vRA | |
// | |
// For vRO/VRA 7.0+ | |
// | |
// Action Inputs: | |
// vcacHost - vCAC:VCACHost - vRA IaaS Host | |
// propertyName - string - the custom property name to find | |
// propertyValue - Any - the custom property value to find |
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 | |
// | |
// Reconfigures a VM so that it generates a new MAC address at the next reboot | |
// Returns null if no matching MAC address was found on the VM | |
// | |
// For vRO 7.0+/vCenter 6.0+ | |
// | |
// Action Inputs: | |
// vm - VC:VirtualMachine - vCenter VM | |
// oldMacAddress - string - Current MAC address that needs regeneration |
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 | |
// | |
// Create a temporary text-based file, in a temporary directory, on the vRO server | |
// Sample usage would be to later copy the file to a guest vCenter VM | |
// | |
// For vRO 6.0+ | |
// | |
// Action Inputs: | |
// vroTempFileName - string - Name of the file to create | |
// fileContents - string - Contents of the file |
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 all the security profile service keys (IDs) of an ESXi Host, used as parameters for starting/stopping/restarting a service. | |
// | |
// For vRO 6.0+/vCenter 6.0+ | |
// | |
// Action Inputs: | |
// host - VC:HostSystem - ESXi Host from which to retrieve services | |
// logging - boolean - If true, write verbosely to the vRO system logs | |
// |
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 | |
// | |
// Gets the entitied actions of a vRA Catalog Resource | |
// | |
// For vRO/vRA 7.0+ | |
// | |
// Action Inputs: | |
// catalogResource - VCACCAFE:CatalogResource - catalog resource | |
// | |
// Return type: Array/VCACCAFE:CatalogResourceActions - actions of the catalog resource |
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 | |
// | |
// Rename a vRA IaaS VM | |
// | |
// For vRO/VRA 6.0+ | |
// | |
// Action Inputs: | |
// vm - vCAC:VirtualMachine - vRA IaaS VM | |
// vmName - New name of VM | |
// |