Skip to content

K8sSlbBindingProps

Properties for defining a K8sSlbBinding.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Edas;
new K8sSlbBindingProps {
    object AppId,
    object ClusterId,
    object ServicePortInfos,
    object Type,
    object LoadBalancerId = null,
    object Scheduler = null,
    object Specification = null
};

Properties

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

AppIdRequired

public object AppId { get; set; }
  • Type: object

Property appId: The ID of the application.


ClusterIdRequired

public object ClusterId { get; set; }
  • Type: object

Property clusterId: The ID of the cluster.


ServicePortInfosRequired

public object ServicePortInfos { get; set; }
  • Type: object

Property servicePortInfos: The information about the ports.


TypeRequired

public object Type { get; set; }
  • Type: object

Property type: The type of the SLB instance.

Valid values: internet and intranet.


LoadBalancerIdOptional

public object LoadBalancerId { get; set; }
  • Type: object

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 object Scheduler { get; set; }
  • Type: object

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 object Specification { get; set; }
  • Type: object

Property specification: The specification of the load balancer instance.