Update Kubernetes Service

Update Kubernetes Service

Only Solution users, Container admins, and System admins can update KubernetesServices.

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

The id of the KubernetesService


Request Body

The KubernetesService to be updated.

KubernetesService of type(s) application/json
Required
{
    "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

Responses
200

'OK' is returned when the KubernetesService is updated.

Operation doesn't return any data structure