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 Find a vCenter VAPI Endpoint by Url
Function VAPIEndpointFindByUrl
public VAPIEndpointFindByUrl(strEndpointUrl: string): VAPIEndpoint {
try {
let objVAPIEndpoint: VAPIEndpoint = VAPIManager.findEndpoint(strEndpointUrl);
return objVAPIEndpoint;
}
catch (objException) {
return null;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
