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 Zone
Private Function: VraCloudZoneServiceDeleteVraZone
publicVraCloudZoneServiceDeleteVraZone(objVraHost:VraHost,objVraZone:VraZone):boolean{
letobjVraCloudZoneService:VraCloudZoneService=this.VraCloudZoneServiceCreate(objVraHost);
try{
objVraCloudZoneService.deleteZone(objVraZone);
returntrue;
}
catch (objException){
returnfalse;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
