Get Addon Tca K 8s Resources

Get Addon Tca K 8s Resources

API to fetch underyling tca k8s NodePool CRs for Telco Cloud Automation

Request
URI
GET
https://{api_host}/telco/api/caas/v2/clusters/{clusterName}/addon/{addonName}/tcak8sresources
COPY
Path Parameters
string
clusterName
Required

Name of the cluster to which resources need to be fetched

string
addonName
Required

addonName

Query Parameters
string
mgmtClusterName
Required

Name of the management cluster of the given cluster

string
tcaCpId
Required

Id of the TCA CP of the given cluster


Authentication
This operation uses the following authentication methods.
Responses
200

Returns underlying tca NodePool K8s CRs

Returns tcaAddonResource of type(s) application/json
{
    "tcaK8sResources": [
        {
            "metadata": "{}",
            "apiVersion": "apiVersion",
            "kind": "kind",
            "spec": {
                "tcaBomReleaseRef": {
                    "uid": "uid",
                    "apiVersion": "apiVersion",
                    "kind": "kind",
                    "resourceVersion": "resourceVersion",
                    "fieldPath": "fieldPath",
                    "name": "name",
                    "namespace": "namespace"
                },
                "name": "name",
                "namespace": "namespace",
                "secretRef": {
                    "uid": "uid",
                    "apiVersion": "apiVersion",
                    "kind": "kind",
                    "resourceVersion": "resourceVersion",
                    "fieldPath": "fieldPath",
                    "name": "name",
                    "namespace": "namespace"
                },
                "clusterRef": {
                    "uid": "uid",
                    "apiVersion": "apiVersion",
                    "kind": "kind",
                    "resourceVersion": "resourceVersion",
                    "fieldPath": "fieldPath",
                    "name": "name",
                    "namespace": "namespace"
                }
            },
            "status": {
                "phase": "phase",
                "tcaBomRelease": "tcaBomRelease",
                "conditions": [
                    {
                        "severity": "severity",
                        "reason": "reason",
                        "lastTransitionTime": "2000-01-23T04:56:07.000Z",
                        "message": "message",
                        "type": "type",
                        "status": "status"
                    },
                    {
                        "severity": "severity",
                        "reason": "reason",
                        "lastTransitionTime": "2000-01-23T04:56:07.000Z",
                        "message": "message",
                        "type": "type",
                        "status": "status"
                    }
                ],
                "version": "version"
            }
        },
        {
            "metadata": "{}",
            "apiVersion": "apiVersion",
            "kind": "kind",
            "spec": {
                "tcaBomReleaseRef": {
                    "uid": "uid",
                    "apiVersion": "apiVersion",
                    "kind": "kind",
                    "resourceVersion": "resourceVersion",
                    "fieldPath": "fieldPath",
                    "name": "name",
                    "namespace": "namespace"
                },
                "name": "name",
                "namespace": "namespace",
                "secretRef": {
                    "uid": "uid",
                    "apiVersion": "apiVersion",
                    "kind": "kind",
                    "resourceVersion": "resourceVersion",
                    "fieldPath": "fieldPath",
                    "name": "name",
                    "namespace": "namespace"
                },
                "clusterRef": {
                    "uid": "uid",
                    "apiVersion": "apiVersion",
                    "kind": "kind",
                    "resourceVersion": "resourceVersion",
                    "fieldPath": "fieldPath",
                    "name": "name",
                    "namespace": "namespace"
                }
            },
            "status": {
                "phase": "phase",
                "tcaBomRelease": "tcaBomRelease",
                "conditions": [
                    {
                        "severity": "severity",
                        "reason": "reason",
                        "lastTransitionTime": "2000-01-23T04:56:07.000Z",
                        "message": "message",
                        "type": "type",
                        "status": "status"
                    },
                    {
                        "severity": "severity",
                        "reason": "reason",
                        "lastTransitionTime": "2000-01-23T04:56:07.000Z",
                        "message": "message",
                        "type": "type",
                        "status": "status"
                    }
                ],
                "version": "version"
            }
        }
    ]
}
tcaK8sResources
Optional

tcaK8sResources


400

Bad Request

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

errors


404

Resource request is not found

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

errors


500

Internal Server Error

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

errors