REST API - list

vcenter lcm topology nodes: list

This operation retrieves detailed information about all linked vCenter Server nodes. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Request:

HTTP request

GET https://{server}/api/vcenter/lcm/topology/nodes

Response:

HTTP Status Code: 200

Response Body Structure:

[
    {
        "address""string",
        "version""string"
    },
    {
        "address""string",
        "version""string"
    }
]

Headers:

None

Type:

Name Type Description
bold = required
- vc_node[] List of vCenter node details with. See vcenter.lcm.topology.nodes.vc_node.
-[].address string Address of a particular VC node in the federation. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

-[].version string Version of a given VC node in the federation. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Errors:

HTTP Status Code Type Description
401 unauthenticated if the user can not be authenticated.
500 error if there are any errors in retrieving the vCenter data.