Post / {org Id} /diagnosis/result

Post / {org Id} /diagnosis/result
Request
URI
POST
https://{api_host}/tca/caas/api/v2/orgs/{orgId}/diagnosis/result
COPY
Path Parameters
string
orgId
Optional

The identifier of the tenant

Query Parameters
string
managementClusterId
Optional

managementClusterId

string
managementClusterName
Optional

managementClusterName


Request Body
diagnosis of type(s) application/json
Optional
{
    "timeout": 3600,
    "caseSelectors": [
        "csi",
        "cni"
    ],
    "additionalParams": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "managementCluster": "string",
    "clusters": [
        {
            "clusterName": "string",
            "nodePools": [
                {
                    "nodePoolName": "string"
                }
            ]
        }
    ]
}
integer
timeout
Optional

timeout

array of string
caseSelectors
Optional

caseSelectors

array of params
additionalParams
Optional

additionalParams

string
managementCluster
Optional

managementCluster

array of cluster
clusters
Optional

clusters

Responses
200

TCA diagnosis report

Returns diagnosisReport of type(s) application/json
{
    "diagnosis": {
        "timeout": 3600,
        "caseSelectors": [
            "csi",
            "cni"
        ],
        "additionalParams": [
            {
                "key": "string",
                "value": "string"
            }
        ],
        "managementCluster": "string",
        "clusters": [
            {
                "clusterName": "string",
                "nodePools": [
                    {
                        "nodePoolName": "string"
                    }
                ]
            }
        ]
    },
    "summary": "string",
    "status": {
        "overallStatus": "string",
        "inProgress": false,
        "isReportAvailable": false
    },
    "lastRun": "03-12-2021 18:20:18.674 UTC"
}
diagnosis
Optional

diagnosis

string
summary
Optional

summary

status
Optional

status

string
lastRun
Optional

lastRun


204

No TCA diagnosis report found

Operation doesn't return any data structure

400

Get diagnosis report invalid format

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


403

Access Denied

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


500

Error occurred while getting the diagnosis report

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors