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
public VraCloudZoneServiceDeleteVraZone(objVraHost: VraHost, objVraZone: VraZone): boolean {
let objVraCloudZoneService: VraCloudZoneService = this.VraCloudZoneServiceCreate(objVraHost);
try {
objVraCloudZoneService.deleteZone(objVraZone);
return true;
}
catch (objException) {
return false;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
