Skip to content

K8sSlbBindingProps

Properties for defining a K8sSlbBinding.

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

Initializer

import com.aliyun.ros.cdk.edas.K8sSlbBindingProps;
K8sSlbBindingProps.builder()
    .appId(java.lang.String)
    .appId(IResolvable)
    .clusterId(java.lang.String)
    .clusterId(IResolvable)
    .servicePortInfos(IResolvable)
    .servicePortInfos(java.util.List<IResolvable)
    .servicePortInfos(ServicePortInfosProperty>)
    .type(java.lang.String)
    .type(IResolvable)
//  .loadBalancerId(java.lang.String)
//  .loadBalancerId(IResolvable)
//  .scheduler(java.lang.String)
//  .scheduler(IResolvable)
//  .specification(java.lang.String)
//  .specification(IResolvable)
    .build();

Properties

Name Type Description
appId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appId: The ID of the application.
clusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterId: The ID of the cluster.
servicePortInfos com.aliyun.ros.cdk.core.IResolvable OR java.util.ListServicePortInfosProperty> Property servicePortInfos: The information about the ports.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: The type of the SLB instance.
loadBalancerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property loadBalancerId: The ID of the load balancer instance.
scheduler java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property scheduler: The scheduling algorithm.
specification java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property specification: The specification of the load balancer instance.

appIdRequired

public java.lang.Object getAppId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property appId: The ID of the application.


clusterIdRequired

public java.lang.Object getClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterId: The ID of the cluster.


servicePortInfosRequired

public java.lang.Object getServicePortInfos();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListServicePortInfosProperty>

Property servicePortInfos: The information about the ports.


typeRequired

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property type: The type of the SLB instance.

Valid values: internet and intranet.


loadBalancerIdOptional

public java.lang.Object getLoadBalancerId();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getScheduler();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getSpecification();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property specification: The specification of the load balancer instance.