To use this function add it to the class library file named vCenterVAPIBaseService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCenterVAPIService.ts
Description: Orchestrator Function to Remove a vCenter VAPI Endpoint
Function VAPIEndpointRemove
publicVAPIEndpointRemove(objVAPIEndpoint:VAPIEndpoint):boolean{
try{
VAPIManager.removeEndpoint(objVAPIEndpoint.endpointUrl);
returntrue;
}
catch (objException){
returnfalse;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
