K8sSlbBindingProps
Properties for defining a K8sSlbBinding.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-k8sslbbinding
Initializer
import { K8sSlbBindingProps } from '@alicloud/ros-cdk-edas'
const k8sSlbBindingProps: K8sSlbBindingProps = { ... }
Properties
| Name | Type | Description | 
|---|---|---|
appId | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property appId: The ID of the application. | 
clusterId | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property clusterId: The ID of the cluster. | 
servicePortInfos | 
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServicePortInfosProperty[] | 
Property servicePortInfos: The information about the ports. | 
type | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property type: The type of the SLB instance. | 
loadBalancerId | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property loadBalancerId: The ID of the load balancer instance. | 
scheduler | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property scheduler: The scheduling algorithm. | 
specification | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property specification: The specification of the load balancer instance. | 
appIdRequired 
public readonly appId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property appId: The ID of the application.
clusterIdRequired 
public readonly clusterId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property clusterId: The ID of the cluster.
servicePortInfosRequired 
public readonly servicePortInfos: IResolvable | IResolvable | ServicePortInfosProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServicePortInfosProperty[]
 
Property servicePortInfos: The information about the ports.
typeRequired 
public readonly type: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property type: The type of the SLB instance.
Valid values: internet and intranet.
loadBalancerIdOptional 
public readonly loadBalancerId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
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 
public readonly scheduler: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
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 
public readonly specification: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property specification: The specification of the load balancer instance.