To use this function add it to the class library file named OrchestratorPluginVRAService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: OrchestratorPluginVRAService.ts
Description: Orchestrator Function to Delete a vRA vSphere Cloud Account
Private Function: VraCloudAccountServiceDeleteVSphereCloudAccount
public VraCloudAccountServiceDeleteVSphereCloudAccount(objVraHost: VraHost, objVraCloudAccountVsphere: VraCloudAccountVsphere): boolean {
let objVraCloudAccountService: VraCloudAccountService = this.VraCloudAccountServiceCreate(objVraHost);
try {
objVraCloudAccountService.deleteVSphereCloudAccount(objVraCloudAccountVsphere);
return true;
}
catch (objException) {
return false;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
