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
publicVraCloudAccountServiceDeleteVSphereCloudAccount(objVraHost:VraHost,objVraCloudAccountVsphere:VraCloudAccountVsphere):boolean{
letobjVraCloudAccountService:VraCloudAccountService=this.VraCloudAccountServiceCreate(objVraHost);
try{
objVraCloudAccountService.deleteVSphereCloudAccount(objVraCloudAccountVsphere);
returntrue;
}
catch (objException){
returnfalse;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
