Creates an IP pool defintion for the sepcified private gateway
POSThttps://api.spectrocloud.com/v1/overlords/vsphere/:uid/pools
Creates an IP pool defintion for the sepcified private gateway
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
metadata
object
spec
object
Responses
- 201
Created successfully
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
uidstringrequired
{
"uid": "string"
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X POST 'https://api.spectrocloud.com/v1/overlords/vsphere/:uid/pools' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:48:59.826Z",
"deletionTimestamp": "2024-04-16T17:48:59.826Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:48:59.826Z",
"name": "string",
"uid": "string"
},
"spec": {
"pool": {
"end": "string",
"gateway": "string",
"nameserver": {
"addresses": [
"string"
],
"search": [
"string"
]
},
"prefix": 0,
"start": "string",
"subnet": "string"
},
"restrictToSingleCluster": true
}
}'