Creates a application deployment in the virtual cluster
POSThttps://api.spectrocloud.com/v1/appDeployments
Creates a application deployment in the virtual cluster
Request
- 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 'https://api.spectrocloud.com/v1/appDeployments' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"metadata": {
"annotations": {},
"labels": {},
"name": "string"
},
"spec": {
"config": {
"targetSpec": {
"clusterUid": "string"
}
},
"profile": {
"appProfileUid": "string"
}
}
}'