Skip to main content

Get the vSphere datacenters & datacluster for the given overlord account

GET 

https://api.spectrocloud.com/v1/cloudaccounts/vsphere/:uid/properties/datacenters

Get the vSphere datacenters & datacluster for the given overlord account

Request

Path Parameters

    uid stringrequired

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Responses

(empty)

Schema

    items

    object[]

    required

    List of associated datacenters

  • Array [

  • computeclustersstring[]

    List of the VSphere compute clusters in datacenter

    datacenterstring

    name of the datacenter of the VSphere

    foldersstring[]

    List of the VSphere folders in datacenter

  • ]

curl -L -X GET 'https://api.spectrocloud.com/v1/cloudaccounts/vsphere/:uid/properties/datacenters' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— pathrequired
— header