Validates Custom cluster create operation
POSThttps://api.spectrocloud.com/v1/spectroclusters/cloudTypes/:cloudType/validate
Validates Custom cluster create operation
Request
Path Parameters
cloudType stringrequired
Cluster's cloud type
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
metadata
object
spec
object
Responses
- 200
Custom Cluster validation response
- application/json
- Schema
- Example (from schema)
Schema
machinePools
object
profiles
object[]
{
"machinePools": {
"results": [
{
"displayName": "string",
"errors": [
{
"code": "string",
"message": "string"
}
],
"name": "string"
}
]
},
"profiles": [
{
"packs": {
"results": [
{
"displayName": "string",
"errors": [
{
"code": "string",
"message": "string"
}
],
"name": "string"
}
]
},
"uid": "string"
}
]
}
- curl
- python
- go
- nodejs
- java
- CURL