To use this function add it to the class library file named OrchestratorService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: OrchestratorService.ts
Description: Orchestrator Function to Get vSphere Update Manager Inventory Object
Public Function: getVumVIInventoryFromVcHostSystem
publicgetVumVIInventoryFromVcHostSystem(objVcHostSystem:VcHostSystem,strVCenterUri:string):VumVIInventory{
letobjVumVIInventory:VumVIInventory=newVumVIInventory(strVCenterUri);
objVumVIInventory.name=objVcHostSystem.name;
objVumVIInventory.id=objVcHostSystem.id;
objVumVIInventory.type="HostSystem";
returnobjVumVIInventory;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
