Get the vSphere datacenters & datacluster for the given overlord account
GEThttps://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
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
items
object[]
required
{
"items": [
{
"computeclusters": [
"string"
],
"datacenter": "string",
"folders": [
"string"
]
}
]
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/cloudaccounts/vsphere/:uid/properties/datacenters' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'