Through the vSphere Automation API endpoint, you can access other vSphere Automation services that run on vCenter Server, such as Content Library and Tagging. To use a vSphere Automation service, you must retrieve the vSphere Automation API endpoint.

Prerequisites

  • Establish a connection with the Lookup Service.
  • Retrieve a service registration object.
  • Determine the node ID of the vCenter Server instance where the vSphere Automation service runs.
  • Implement a function that retrieves the endpoint URL of a service on a vCenter Server instance.

Procedure

  1. Invoke the function for retrieving the endpoint URL of a service on a vCenter Server instance by passing filter strings that are specific to the vSphere Automation API endpoint.
  2. Save the URL from the resulting single-element list.