All Products
Search
Document Center

BindK8sSlb

Last Updated: Jan 24, 2019

Function

Bind an SLB instance for the Kubernetes application of Container Service.

Request URL

/pop/v5/k8s/acs/k8s_slb_binding

Request method

POST

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.
SlbId String No ID of the SLB instance If this parameter is not set, EDAS automatically buys an SLB instance for you.
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