Retrieve a vSphere Automation Endpoint on a vCenter Server Instance
Through the vSphere Automation 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 Endpoint.
Prerequisites
- Verify that you have established a connection with the Lookup Service.
- Verify that you have retrieved 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
- 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 endpoint.
- Save the URL from the resulting single-element list.