Working with UMDS Depots
In an air-gapped
vCenter
Server
environment, you can use the vSphere
Automation
REST
API to add a UMDS depot to the depots managed
by 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 Depot Manager. Only one UMDS
depot can be added at a time to Depot Manager. When you add a UMDS depot, its content is
not immediately synchronized. To synchronize the content of the UMDS depots, you must
use the
or wait for the scheduled synchronization to take place. POST
https://
request<vcenter_ip_address_or_fqdn>
/api/esx/settings/depots?action=sync&vmw-task=trueTo add a UMDS depot,
use the
. The UMDS specification must contain the URI location to the
PUT
https://
request and submit a <vcenter_ip_address_or_fqdn>
/api/esx/settings/depots/umdsUmds.SetSpec
JSON object in the request
body.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 Depot Manager to synchronize only the content that is available on that
depot. You can always edit the initial UMDS depot settings, by
using the
PATCH
https://
request and submit a <vcenter_ip_address_or_fqdn>
/api/esx/settings/depots/umdsUmds.UpdateSpec
JSON object in the request
body.To retrieve information about the currently configured UMDS depot, use the . You can remove a currently configured UMDS depot and all its
downloaded content from Depot Manager by
GET
https://
request<vcenter_ip_address_or_fqdn>
/api/esx/settings/depots/umdsusing the
DELETE
https://
request. <vcenter_ip_address_or_fqdn>
/api/esx/settings/depots/umds?vmw-task=true