Get Kubernetes Service

Get Kubernetes Service

Only Solution users, Container admins, Container developers and System admins can retrieve KubernetesServices.

Request
URI
GET
https://{api_host}/container-service/api/resources/kubernetes-services/{id}
COPY
Path Parameters
string
id
Required

The id of the KubernetesService


Responses
200

OK with the KubernetesService

Returns KubernetesService of type(s) */*
{
    "documentExpirationTimeMicros": "string",
    "parentLink": "string",
    "descriptionLink": "string",
    "kubernetesSelfLink": "string",
    "compositeComponentLink": "string",
    "documentUpdateTimeMicros": "string",
    "regionId": "string",
    "documentSelfLink": "string",
    "service": {
        "metadata": {
            "uid": "string",
            "clusterName": "string",
            "name": "string",
            "namespace": "string",
            "creationTimestamp": "string",
            "generateName": "string",
            "selfLink": "string"
        },
        "apiVersion": "string",
        "kind": "string",
        "spec": {
            "externalIPs": [
                "string"
            ],
            "loadBalancerIP": "string",
            "deprecatedPublicIPs": [
                "string"
            ],
            "sessionAffinity": "string",
            "externalName": "string",
            "loadBalancerSourceRanges": "string",
            "ports": [
                {
                    "protocol": "string",
                    "port": 0,
                    "name": "string",
                    "targetPort": "string",
                    "nodePort": 0
                }
            ],
            "type": "string",
            "clusterIP": "string"
        },
        "status": {
            "loadBalancer": {
                "ingress": [
                    {
                        "hostname": "string",
                        "ip": "string"
                    }
                ]
            }
        }
    },
    "tagLinks": [
        "string"
    ],
    "name": "string",
    "groupLinks": [
        "string"
    ],
    "tenantLinks": [
        "string"
    ],
    "id": "string",
    "desc": "string"
}
string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
parentLink
Optional

parentLink

string
descriptionLink
Optional

descriptionLink

string
kubernetesSelfLink
Optional

kubernetesSelfLink

string
compositeComponentLink
Optional

compositeComponentLink

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

object
customProperties
Optional

customProperties

string
regionId
Optional

regionId

string
documentSelfLink
Optional

documentSelfLink

service
Optional

service

array of string
tagLinks
Optional

tagLinks

string
name
Optional

name

array of string
groupLinks
Optional

groupLinks

array of string
tenantLinks
Optional

tenantLinks

string
id
Optional

id

string
desc
Optional

desc


404

'Not Found' if no KubernetesService with provided id

Operation doesn't return any data structure