Retrieves a list of IP Pools for the specified private gateway
GEThttps://api.spectrocloud.com/v1/overlords/vsphere/:uid/pools
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Retrieves a list of IP Pools for the specified private gateway
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": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2023-12-01T21:31:48.677Z",
"deletionTimestamp": "2023-12-01T21:31:48.677Z",
"labels": {},
"lastModifiedTimestamp": "2023-12-01T21:31:48.677Z",
"name": "string",
"uid": "string"
},
"spec": {
"pool": {
"end": "string",
"gateway": "string",
"nameserver": {
"addresses": [
"string"
],
"search": [
"string"
]
},
"prefix": 0,
"start": "string",
"subnet": "string"
},
"priavetGatewayUid": "string",
"restrictToSingleCluster": true
},
"status": {
"allottedIps": [
"string"
],
"associatedClusters": [
"string"
],
"inUse": true
}
}
]
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/overlords/vsphere/:uid/pools' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'