Working with UMDS Depots

In an air-gapped vCenter Server environment, you can use the vSphere Automation APIs to add a UMDS depot to the depots managed by the Depot Manager.

After you install and configure the Update Manager Download Service (UMDS) on a physical machine with Internet access, you can add the UMDS depot to the Depot Manager. Only one UMDS depot can be added at a time to the Depot Manager. When you add a UMDS depot, its content is not immediately synchronized. To synchronize the content of the UMDS depots, you must call the sync_Task() method of the com.vmware.esx.settings.Depots interface or wait for the scheduled synchronization to take place.

To add a UMDS depot, call the set(set_spec) method of the com.vmware.esx.settings.depots.Umds interface and pass a com.vmware.esx.settings.depots.UmdsTypes.SetSpec object as an argument. The UMDS specification must contain the URI location to the index.xml file of the depot. Optionally, you can set a description and indicate whether the depot must be enabled. By enabling the UMDS depot, you instruct the Depot Manager to synchronize only the content that is available on that depot.

You can always edit the initial UMDS depot settings, by calling the update(update_spec) method of the Umds interface and passing an com.vmware.esx.settings.depots.UmdsTypes.UpdateSpec object.

To retrieve information about the currently configured UMDS depot, use the get() method of the Umds interface. You can remove a currently configured UMDS depot by calling the delete() method of the Umds interface.