Skip to main content

Preview application group content for discovery of applications

Select

SaaS
Customer Managed

API to preview application content

Query Parameters
  • clusterId int32 required

    clusterId of the Kubernetes client to do a Preview

Request Body
  • content object required

    Item to describe the applications and label selectors

  • applications object[]

    List of applications to be added as content

  • GUID string required

    GUID value of the Kubernetes Application to be associated as content

  • type string required

    Possible values: [NAMESPACE, APPLICATION, PVC, LABELS]

    Type of the Kubernetes application

  • name string

    Name of the application

  • labelSelectors object[]

    List of label selectors to be added as content

  • selectorValue string required

    Value of the label selector in key=value format

  • selectorLevel string required

    Possible values: [Application, Volumes, Namespace]

    Selector level of the label selector

  • filters object

    Item to describe the applications and label selectors

  • skipStatelessApps boolean

    Default value: false

    Specify whether to skip backup of stateless applications

  • applications object[]

    List of applications to be added as content

  • GUID string required

    GUID value of the Kubernetes Application to be associated as content

  • type string required

    Possible values: [NAMESPACE, APPLICATION, PVC, LABELS]

    Type of the Kubernetes application

  • name string

    Name of the application

  • labelSelectors object[]

    List of label selectors to be added as content

  • selectorValue string required

    Value of the label selector in key=value format

  • selectorLevel string required

    Possible values: [Application, Volumes, Namespace]

    Selector level of the label selector

Responses

OK


Schema
  • protectedApplicationCount int32
  • applicationGroup object
  • id int32
  • name string
  • applicationList object[]
POST /v5/kubernetes/applicationgroup/preview    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
clusterId — query required
Body

{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'