Bad Request
Internal Server Error
The saved Cluster
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Unlink a cluster from an environment by identifier
Bad Request
Internal Server Error
Returns true if the Cluster is deleted
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Returns the list of cluster for a Project
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Link a GitOps cluster to an environment by identifier
Details of the createCluster to be linked
Bad Request
Internal Server Error
Returns the linked Cluster
{- "identifier": "string",
- "orgIdentifier": "string",
- "agentIdentifier": "string",
- "projectIdentifier": "string",
- "envRef": "string",
- "scope": "ACCOUNT"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the createCluster to be created
Bad Request
Internal Server Error
Returns the linked Clusters
{- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "envRef": "string",
- "linkAllClusters": true,
- "unlinkAllClusters": true,
- "searchTerm": "string",
- "clusters": [
- {
- "identifier": "string",
- "agentIdentifier": "string",
- "name": "string",
- "scope": "ACCOUNT"
}
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the createCluster to be created
Bad Request
Internal Server Error
Returns true if all the Clusters are deleted
{- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "envRef": "string",
- "linkAllClusters": true,
- "unlinkAllClusters": true,
- "searchTerm": "string",
- "clusters": [
- {
- "identifier": "string",
- "agentIdentifier": "string",
- "name": "string",
- "scope": "ACCOUNT"
}
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get a cluster managed by agent using name
A successful response.
An unexpected error response.
{- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "agentIdentifier": "string",
- "identifier": "string",
- "cluster": {
- "server": "string",
- "name": "string",
- "config": {
- "username": "string",
- "password": "string",
- "bearerToken": "string",
- "tlsClientConfig": {
- "insecure": true,
- "serverName": "string",
- "certData": "string",
- "keyData": "string",
- "caData": "string"
}, - "awsAuthConfig": {
- "clusterName": "string",
- "roleARN": "string"
}, - "execProviderConfig": {
- "command": "string",
- "args": [
- "string"
], - "env": {
- "property1": "string",
- "property2": "string"
}, - "apiVersion": "string",
- "installHint": "string"
}, - "clusterConnectionType": "string",
- "roleARN": "string",
- "awsClusterName": "string"
}, - "connectionState": {
- "status": "string",
- "message": "string",
- "attemptedAt": {
- "seconds": "string",
- "nanos": 0
}, - "attemptedAtTs": "2019-08-24T14:15:22Z"
}, - "serverVersion": "string",
- "namespaces": [
- "string"
], - "refreshRequestedAt": {
- "seconds": "string",
- "nanos": 0
}, - "info": {
- "connectionState": {
- "status": "string",
- "message": "string",
- "attemptedAt": {
- "seconds": "string",
- "nanos": 0
}, - "attemptedAtTs": "2019-08-24T14:15:22Z"
}, - "serverVersion": "string",
- "cacheInfo": {
- "resourcesCount": "string",
- "apisCount": "string",
- "lastCacheSyncTime": {
- "seconds": "string",
- "nanos": 0
}, - "lastCacheSyncTimeTs": "2019-08-24T14:15:22Z"
}, - "applicationsCount": "string",
- "apiVersions": [
- "string"
]
}, - "shard": "string",
- "clusterResources": true,
- "project": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "type": "CUSTOMER_PROVIDED",
- "refreshRequestedAtTs": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "stale": true,
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
Get a cluster managed by agent using URL
A successful response.
An unexpected error response.
{- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "agentIdentifier": "string",
- "identifier": "string",
- "cluster": {
- "server": "string",
- "name": "string",
- "config": {
- "username": "string",
- "password": "string",
- "bearerToken": "string",
- "tlsClientConfig": {
- "insecure": true,
- "serverName": "string",
- "certData": "string",
- "keyData": "string",
- "caData": "string"
}, - "awsAuthConfig": {
- "clusterName": "string",
- "roleARN": "string"
}, - "execProviderConfig": {
- "command": "string",
- "args": [
- "string"
], - "env": {
- "property1": "string",
- "property2": "string"
}, - "apiVersion": "string",
- "installHint": "string"
}, - "clusterConnectionType": "string",
- "roleARN": "string",
- "awsClusterName": "string"
}, - "connectionState": {
- "status": "string",
- "message": "string",
- "attemptedAt": {
- "seconds": "string",
- "nanos": 0
}, - "attemptedAtTs": "2019-08-24T14:15:22Z"
}, - "serverVersion": "string",
- "namespaces": [
- "string"
], - "refreshRequestedAt": {
- "seconds": "string",
- "nanos": 0
}, - "info": {
- "connectionState": {
- "status": "string",
- "message": "string",
- "attemptedAt": {
- "seconds": "string",
- "nanos": 0
}, - "attemptedAtTs": "2019-08-24T14:15:22Z"
}, - "serverVersion": "string",
- "cacheInfo": {
- "resourcesCount": "string",
- "apisCount": "string",
- "lastCacheSyncTime": {
- "seconds": "string",
- "nanos": 0
}, - "lastCacheSyncTimeTs": "2019-08-24T14:15:22Z"
}, - "applicationsCount": "string",
- "apiVersions": [
- "string"
]
}, - "shard": "string",
- "clusterResources": true,
- "project": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "type": "CUSTOMER_PROVIDED",
- "refreshRequestedAtTs": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "stale": true,
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
List clusters.
A successful response.
An unexpected error response.
{- "metadata": {
- "selfLink": "string",
- "resourceVersion": "string",
- "continue": "string",
- "remainingItemCount": "string"
}, - "items": [
- {
- "server": "string",
- "name": "string",
- "config": {
- "username": "string",
- "password": "string",
- "bearerToken": "string",
- "tlsClientConfig": {
- "insecure": true,
- "serverName": "string",
- "certData": "string",
- "keyData": "string",
- "caData": "string"
}, - "awsAuthConfig": {
- "clusterName": "string",
- "roleARN": "string"
}, - "execProviderConfig": {
- "command": "string",
- "args": [
- "string"
], - "env": {
- "property1": "string",
- "property2": "string"
}, - "apiVersion": "string",
- "installHint": "string"
}, - "clusterConnectionType": "string",
- "roleARN": "string",
- "awsClusterName": "string"
}, - "connectionState": {
- "status": "string",
- "message": "string",
- "attemptedAt": {
- "seconds": "string",
- "nanos": 0
}, - "attemptedAtTs": "2019-08-24T14:15:22Z"
}, - "serverVersion": "string",
- "namespaces": [
- "string"
], - "refreshRequestedAt": {
- "seconds": "string",
- "nanos": 0
}, - "info": {
- "connectionState": {
- "status": "string",
- "message": "string",
- "attemptedAt": {
- "seconds": "string",
- "nanos": 0
}, - "attemptedAtTs": "2019-08-24T14:15:22Z"
}, - "serverVersion": "string",
- "cacheInfo": {
- "resourcesCount": "string",
- "apisCount": "string",
- "lastCacheSyncTime": {
- "seconds": "string",
- "nanos": 0
}, - "lastCacheSyncTimeTs": "2019-08-24T14:15:22Z"
}, - "applicationsCount": "string",
- "apiVersions": [
- "string"
]
}, - "shard": "string",
- "clusterResources": true,
- "project": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "type": "CUSTOMER_PROVIDED",
- "refreshRequestedAtTs": "2019-08-24T14:15:22Z"
}
]
}