Get Events

Get Events

API to get events for given workload cluster from TCA and K8s

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

Name of cluster for which events should be listed

Query Parameters
string
nodePoolName
Optional

Name of the nodepool

string
mgmtClusterName
Optional

Name of management cluster of the given cluster.

string
tcaCpId
Optional

TCA-CP id of the given cluster

string
nextpage_opaque_marker
Optional

nextpage_opaque_marker

string
sort
Optional

sort

string
filter
Optional

filter


Authentication
This operation uses the following authentication methods.
Responses
200

Returns requested events

Returns eventList of type(s) application/json
{
    "items": [
        {
            "owner": "owner",
            "reason": "reason",
            "metadata": {
                "uid": "uid",
                "name": "name",
                "namespace": "namespace"
            },
            "involvedObject": {
                "kind": "kind",
                "name": "name",
                "namespace": "namespace"
            },
            "kind": "kind",
            "count": 0.8008281904610115,
            "clusterId": "clusterId",
            "source": {
                "component": "component"
            },
            "message": "message",
            "type": "type",
            "firstTimestamp": "2000-01-23T04:56:07.000Z",
            "lastTimestamp": "2000-01-23T04:56:07.000Z",
            "clusterName": "clusterName",
            "objectId": "objectId"
        },
        {
            "owner": "owner",
            "reason": "reason",
            "metadata": {
                "uid": "uid",
                "name": "name",
                "namespace": "namespace"
            },
            "involvedObject": {
                "kind": "kind",
                "name": "name",
                "namespace": "namespace"
            },
            "kind": "kind",
            "count": 0.8008281904610115,
            "clusterId": "clusterId",
            "source": {
                "component": "component"
            },
            "message": "message",
            "type": "type",
            "firstTimestamp": "2000-01-23T04:56:07.000Z",
            "lastTimestamp": "2000-01-23T04:56:07.000Z",
            "clusterName": "clusterName",
            "objectId": "objectId"
        }
    ]
}
array of event
items
Optional

List of Events deployed on Kuberneetes Cluster


400

Bad Request

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