K8sSlbBindingProps
Properties for defining a K8sSlbBinding
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-k8sslbbinding
Initializer
import ros_cdk_edas
ros_cdk_edas.K8sSlbBindingProps(
app_id: typing.Union[str, IResolvable],
cluster_id: typing.Union[str, IResolvable],
service_port_infos: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ServicePortInfosProperty]]],
type: typing.Union[str, IResolvable],
load_balancer_id: typing.Union[str, IResolvable] = None,
scheduler: typing.Union[str, IResolvable] = None,
specification: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
app_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property appId: The ID of the application. |
cluster_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property clusterId: The ID of the cluster. |
service_port_infos |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ServicePortInfosProperty]]] |
Property servicePortInfos: The information about the ports. |
type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property type: The type of the SLB instance. |
load_balancer_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property loadBalancerId: The ID of the load balancer instance. |
scheduler |
typing.Union[str, ros_cdk_core.IResolvable] |
Property scheduler: The scheduling algorithm. |
specification |
typing.Union[str, ros_cdk_core.IResolvable] |
Property specification: The specification of the load balancer instance. |
app_id
Required
app_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property appId: The ID of the application.
cluster_id
Required
cluster_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property clusterId: The ID of the cluster.
service_port_infos
Required
service_port_infos: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ServicePortInfosProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ServicePortInfosProperty]]]
Property servicePortInfos: The information about the ports.
type
Required
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: The type of the SLB instance.
Valid values: internet and intranet.
load_balancer_id
Optional
load_balancer_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
scheduler
Optional
scheduler: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
specification
Optional
specification: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property specification: The specification of the load balancer instance.