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. |
AppId
Required
public object AppId { get; set; }
- Type: object
Property appId: The ID of the application.
ClusterId
Required
public object ClusterId { get; set; }
- Type: object
Property clusterId: The ID of the cluster.
ServicePortInfos
Required
public object ServicePortInfos { get; set; }
- Type: object
Property servicePortInfos: The information about the ports.
Type
Required
public object Type { get; set; }
- Type: object
Property type: The type of the SLB instance.
Valid values: internet and intranet.
LoadBalancerId
Optional
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.
Scheduler
Optional
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
Specification
Optional
public object Specification { get; set; }
- Type: object
Property specification: The specification of the load balancer instance.