To use this function add it to the class library file named vCloudService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCloudService.ts
Description: Orchestrator Function to undeploy a VclVApp.
Function VclVAppUndeploy
public VclVAppUndeploy(objVclVApp: VclVApp): void {
if (objVclVApp.deployed == true) {
let objVclTask: VclTask = objVclVApp.undeploy(VclUndeployPowerActionType.SHUTDOWN);
this.WaitForVclTask(objVclTask, 1);
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
