Create a new Kubernetes application group
Select
SaaS
Customer Managed
API to create new Kubernetes application group
- application/json
Request Body
- name string
Specify new name to rename an Application Group
plan object
content object
filters object
cluster object
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v5/kubernetes/applicationgroup
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"content": {
"overwrite": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"overwrite": false,
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"cluster": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"content": {
"overwrite": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"overwrite": false,
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"cluster": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"content": {
"overwrite": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"overwrite": false,
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"cluster": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"content": {
"overwrite": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"overwrite": false,
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"cluster": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"content": {
"overwrite": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"overwrite": false,
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"cluster": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"content": {
"overwrite": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"overwrite": false,
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"cluster": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"plan": {
"id": 0,
"name": "string"
},
"content": {
"overwrite": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"overwrite": false,
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"cluster": {
"id": 0,
"name": "string"
}
}'