Imports an Edge cluster
POSThttps://api.spectrocloud.com/v1/spectroclusters/edge/import
Imports an Edge cluster
Request
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/spectroclusters/edge/import' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"metadata": {
"annotations": {},
"labels": {},
"name": "string"
},
"spec": {
"clusterConfig": {
"importMode": "read-only",
"proxy": {
"caContainerMountPath": "string",
"caHostPath": "string",
"httpProxy": "string",
"httpsProxy": "string",
"noProxy": "string"
}
}
}
}'