Skip to main content
Version: latest

Creates a cluster profile

POST 

https://api.spectrocloud.com/v1/clusterprofiles

Creates a cluster profile

Request

Responses

Created successfully

Response Headers
    AuditUid

    Audit uid for the request

Authorization: ApiKey

name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
curl -L 'https://api.spectrocloud.com/v1/clusterprofiles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'ApiKey: <ApiKey>' \
-d '{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-29T15:51:28.071Z",
"deletionTimestamp": "2024-07-29T15:51:28.071Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-29T15:51:28.071Z",
"name": "string",
"uid": "string"
},
"spec": {
"template": {
"cloudType": "string",
"packs": [
{
"layer": "string",
"manifests": [
{
"content": "string",
"name": "string"
}
],
"name": "string",
"registryUid": "string",
"tag": "string",
"type": "spectro",
"uid": "string",
"values": "string"
}
],
"type": "cluster"
},
"variables": [
{
"defaultValue": "string",
"description": "string",
"displayName": "string",
"format": "string",
"hidden": true,
"immutable": true,
"isSensitive": true,
"name": "string",
"regex": "string",
"required": true
}
],
"version": "string"
}
}'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— header
Body
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-29T15:51:28.071Z",
"deletionTimestamp": "2024-07-29T15:51:28.071Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-29T15:51:28.071Z",
"name": "string",
"uid": "string"
},
"spec": {
"template": {
"cloudType": "string",
"packs": [
{
"layer": "string",
"manifests": [
{
"content": "string",
"name": "string"
}
],
"name": "string",
"registryUid": "string",
"tag": "string",
"type": "spectro",
"uid": "string",
"values": "string"
}
],
"type": "cluster"
},
"variables": [
{
"defaultValue": "string",
"description": "string",
"displayName": "string",
"format": "string",
"hidden": true,
"immutable": true,
"isSensitive": true,
"name": "string",
"regex": "string",
"required": true
}
],
"version": "string"
}
}