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
// Check if a vRO workflow has running/waiting executions | |
// | |
// For vRO 7.0+ | |
// | |
// Action Inputs: | |
// targetWorkflow - Workflow - Workflow to check running status | |
// | |
// Return type: boolean | |
var lockName = "RunningWorkfowCheck"; |
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
// Return the vAPI Endpoint for a vCenter VM | |
// | |
// For vRO/VAPI 7.0+ | |
// | |
// Action Inputs: | |
// vm - VC:VirtualMachine - Vcenter VM | |
// | |
// Return type: VAPI:VAPIEndpoint | |
if (vm == null) { return null; } |
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 | |
// | |
// Inflate all Thin provisioned disks on a vCenter VM to Thick Eager Zero | |
// | |
// For vRO 7.0+ | |
// | |
// Action Inputs: | |
// vmObject - VC:VirtualMachine - vCenter Virtual Machine | |
// | |
// Return type: void |
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 | |
// | |
// Search for Configuration Element by name and category path | |
// | |
// For vRO 7.0+ | |
// | |
// Action Inputs: | |
// categoryPath - string - Path to the configuration element category (folder) | |
// configName - string - Name of 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 | |
// | |
// Update the notes for a vCenter VM | |
// | |
// For vRO 7.0+ | |
// | |
// Action Inputs: | |
// vm - VC:VirtualMachine - vCenter VM Object | |
// notes - string - New vCenter VM Notes | |
// |
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 | |
// | |
// Return the notes for a vCenter VM | |
// | |
// For vRO 7.0+ | |
// | |
// Action Inputs: | |
// vm - VC:VirtualMachine - vCenter VM Object | |
// | |
// Return type: string - Notes for 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 | |
// | |
// Search for, and return, vCenter VM Folder using the folder path to look it up | |
// | |
// For vRO 7.0+ | |
// | |
// Action Inputs: | |
// vCenter - VC:SdkConnection - vCenter SDK Connection | |
// datacenterName - string - Name of Datacenter in vCenter | |
// folderPath - string - Folder Path (xpath) |