Skip to content

K8sSlbBindingProps

Properties for defining a K8sSlbBinding.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-k8sslbbinding

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkedas"
&alicloudroscdkedas.K8sSlbBindingProps {
    AppId: interface{},
    ClusterId: interface{},
    ServicePortInfos: interface{},
    Type: interface{},
    LoadBalancerId: interface{},
    Scheduler: interface{},
    Specification: interface{},
}

Properties

Name Type Description
AppId interface{} Property appId: The ID of the application.
ClusterId interface{} Property clusterId: The ID of the cluster.
ServicePortInfos interface{} Property servicePortInfos: The information about the ports.
Type interface{} Property type: The type of the SLB instance.
LoadBalancerId interface{} Property loadBalancerId: The ID of the load balancer instance.
Scheduler interface{} Property scheduler: The scheduling algorithm.
Specification interface{} Property specification: The specification of the load balancer instance.

AppIdRequired

AppId interface{}
  • Type: interface{}

Property appId: The ID of the application.


ClusterIdRequired

ClusterId interface{}
  • Type: interface{}

Property clusterId: The ID of the cluster.


ServicePortInfosRequired

ServicePortInfos interface{}
  • Type: interface{}

Property servicePortInfos: The information about the ports.


TypeRequired

Type interface{}
  • Type: interface{}

Property type: The type of the SLB instance.

Valid values: internet and intranet.


LoadBalancerIdOptional

LoadBalancerId interface{}
  • Type: interface{}

Property loadBalancerId: The ID of the load balancer instance.

If you leave this parameter empty, Enterprise Distributed Application Service (EDAS) automatically purchases an SLB instance.


SchedulerOptional

Scheduler interface{}
  • Type: interface{}

Property scheduler: The scheduling algorithm.

Valid values: wrr: Backend servers that have higher weights receive more requests than those that have lower weights. rr: Requests are distributed to backend servers in sequence. Default value: rr


SpecificationOptional

Specification interface{}
  • Type: interface{}

Property specification: The specification of the load balancer instance.