To use this function add it to the class library file named vCenterVAPIService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCenterVAPIService.ts
Function ContentLibraryRemove
publicContentLibraryRemove(objVAPIClient:VAPIClient,strContentLibraryName:string):void{
letobjVAPIContentLibraryModel:com_vmware_content_library__model=this.ContentLibraryGet(objVAPIClient,strContentLibraryName);
this.ContentLibraryDelete(objVAPIClient,objVAPIContentLibraryModel);
objVAPIClient.close();
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
