Function: Get vSphere Update Manager Inventory Object

by Simon Sparks · 4 February 2026

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

public getVumVIInventoryFromVcHostSystem(objVcHostSystem: VcHostSystem, strVCenterUri: string): VumVIInventory {
    let objVumVIInventory: VumVIInventory = new VumVIInventory(strVCenterUri);
    objVumVIInventory.name = objVcHostSystem.name;
    objVumVIInventory.id = objVcHostSystem.id;
    objVumVIInventory.type = "HostSystem";

    return objVumVIInventory;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like