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
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
Kubernetes Operations
POST
Create Generic Kubernetes Entity State
POST
Create Kubernetes Deployment
POST
Create Kubernetes Description
POST
Create Kubernetes Pod
POST
Create Kubernetes Service
DELETE
Delete Generic Kubernetes Entity State
DELETE
Delete Kubernetes Deployment
DELETE
Delete Kubernetes Description
DELETE
Delete Kubernetes Pod
DELETE
Delete Kubernetes Service
GET
Get Generic Kubernetes Entity State
GET
Get Kubernetes Deployment
GET
Get Kubernetes Description
GET
Get Kubernetes Pod
GET
Get Kubernetes Service
GET
List Generic Kubernetes Entity States
GET
List Kubernetes Deployment
GET
List Kubernetes Description
GET
List Kubernetes Pod
GET
List Kubernetes Service
PATCH
Patch Generic Kubernetes Entity State
PATCH
Patch Kubernetes Deployment
PATCH
Patch Kubernetes Description
PATCH
Patch Kubernetes Pod
PATCH
Patch Kubernetes Service
PUT
Update Generic Kubernetes Entity State
PUT
Update Kubernetes Deployment
PUT
Update Kubernetes Description
PUT
Update Kubernetes Pod
PUT
Update Kubernetes Service