Update properties of a Kubernetes application group
Select
SaaS
Customer Managed
API to update properties of a Kubernetes application group
Path Parameters
- applicationGroupId int32 required
applicationGroupId is the ID of the Kubernetes application group
- application/json
Request Body
- name string
Specify new name to rename an Application Group
plan object
content object
filters object
options object
timezone object
activityControl object
tags object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v5/kubernetes/applicationgroup/:applicationgroupid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/:applicationGroupId' \
-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"
}
]
},
"options": {
"backupStreams": 5,
"jobStartTime": 0,
"onSnapFailureFallbackToLiveVolume": false,
"scheduleWorkerToConfigNamespace": false,
"workerResources": {
"cpuLimits": "string",
"cpuRequests": "string",
"memoryLimits": "string",
"memoryRequests": "string"
}
},
"timezone": {
"id": 0,
"name": "string"
},
"activityControl": {
"enableBackup": true
},
"tags": [
{
"name": "string",
"value": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/:applicationGroupId' \
-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"
}
]
},
"options": {
"backupStreams": 5,
"jobStartTime": 0,
"onSnapFailureFallbackToLiveVolume": false,
"scheduleWorkerToConfigNamespace": false,
"workerResources": {
"cpuLimits": "string",
"cpuRequests": "string",
"memoryLimits": "string",
"memoryRequests": "string"
}
},
"timezone": {
"id": 0,
"name": "string"
},
"activityControl": {
"enableBackup": true
},
"tags": [
{
"name": "string",
"value": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/:applicationGroupId' \
-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"
}
]
},
"options": {
"backupStreams": 5,
"jobStartTime": 0,
"onSnapFailureFallbackToLiveVolume": false,
"scheduleWorkerToConfigNamespace": false,
"workerResources": {
"cpuLimits": "string",
"cpuRequests": "string",
"memoryLimits": "string",
"memoryRequests": "string"
}
},
"timezone": {
"id": 0,
"name": "string"
},
"activityControl": {
"enableBackup": true
},
"tags": [
{
"name": "string",
"value": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/:applicationGroupId' \
-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"
}
]
},
"options": {
"backupStreams": 5,
"jobStartTime": 0,
"onSnapFailureFallbackToLiveVolume": false,
"scheduleWorkerToConfigNamespace": false,
"workerResources": {
"cpuLimits": "string",
"cpuRequests": "string",
"memoryLimits": "string",
"memoryRequests": "string"
}
},
"timezone": {
"id": 0,
"name": "string"
},
"activityControl": {
"enableBackup": true
},
"tags": [
{
"name": "string",
"value": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/:applicationGroupId' \
-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"
}
]
},
"options": {
"backupStreams": 5,
"jobStartTime": 0,
"onSnapFailureFallbackToLiveVolume": false,
"scheduleWorkerToConfigNamespace": false,
"workerResources": {
"cpuLimits": "string",
"cpuRequests": "string",
"memoryLimits": "string",
"memoryRequests": "string"
}
},
"timezone": {
"id": 0,
"name": "string"
},
"activityControl": {
"enableBackup": true
},
"tags": [
{
"name": "string",
"value": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/:applicationGroupId' \
-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"
}
]
},
"options": {
"backupStreams": 5,
"jobStartTime": 0,
"onSnapFailureFallbackToLiveVolume": false,
"scheduleWorkerToConfigNamespace": false,
"workerResources": {
"cpuLimits": "string",
"cpuRequests": "string",
"memoryLimits": "string",
"memoryRequests": "string"
}
},
"timezone": {
"id": 0,
"name": "string"
},
"activityControl": {
"enableBackup": true
},
"tags": [
{
"name": "string",
"value": "string"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/:applicationGroupId' \
-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"
}
]
},
"options": {
"backupStreams": 5,
"jobStartTime": 0,
"onSnapFailureFallbackToLiveVolume": false,
"scheduleWorkerToConfigNamespace": false,
"workerResources": {
"cpuLimits": "string",
"cpuRequests": "string",
"memoryLimits": "string",
"memoryRequests": "string"
}
},
"timezone": {
"id": 0,
"name": "string"
},
"activityControl": {
"enableBackup": true
},
"tags": [
{
"name": "string",
"value": "string"
}
]
}'