All Products
Search
Document Center

UpdateK8sSlb

Last Updated: Jan 24, 2019

Function

Update the SLB instance for the Kubernetes application of Container Service.

Request URL

/pop/v5/k8s/acs/k8s_slb_binding

Request method

PUT

Request parameters

Parameter Type Required Description
AppId String Yes Application ID
ClusterId String Yes Cluster ID
Type String Yes Type of the SLB instance. This parameter can be set to internet for Internet-based SLB instances and intranet for intranet-based SLB instances.
SlbProtocol String Yes SLB instance protocol. The parameter value can be “TCP” only.
Port String Yes Frontend port. The value ranges from 1 to 65535.
TargetPort String Yes Backend port, and also the service port of the application. The value ranges from 1 to 65535.

Response parameters

Parameter Type Description
Code Integer Code
Message String Message
ChangeOrderId String Change process ID