ServiceSourceProps
Properties for defining a ServiceSource
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-servicesource
Initializer
import ros_cdk_mse
ros_cdk_mse.ServiceSourceProps(
gateway_unique_id: typing.Union[str, IResolvable],
name: typing.Union[str, IResolvable],
source: typing.Union[str, IResolvable],
address: typing.Union[str, IResolvable] = None,
group_list: typing.Union[typing.List[typing.Any], IResolvable] = None,
ingress_options: typing.Union[IResolvable, IngressOptionsProperty] = None,
path_list: typing.Union[typing.List[typing.Any], IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
gateway_unique_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property gatewayUniqueId: The unique ID of the gateway. |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The name. |
source |
typing.Union[str, ros_cdk_core.IResolvable] |
Property source: The service source. |
address |
typing.Union[str, ros_cdk_core.IResolvable] |
Property address: Registration Address. |
group_list |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property groupList: The list of service groups. |
ingress_options |
typing.Union[ros_cdk_core.IResolvable, IngressOptionsProperty] |
Property ingressOptions: The Ingress configuration. |
path_list |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property pathList: An array of service root paths. |
gateway_unique_id
Required
gateway_unique_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property gatewayUniqueId: The unique ID of the gateway.
name
Required
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name.
If Source=K8S, this parameter specifies the name of the ACK cluster. If Source=MSE, this parameter specifies the ID of the Nacos instance. If Source=MSE_ZK, this parameter specifies the ID of the ZooKeeper instance. If Source=EDAS, this parameter specifies the ID of the EDAS namespace. If Source=SAE, this parameter specifies the ID of the SAE namespace.
source
Required
source: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property source: The service source.
Valid values: K8S: ACK cluster MSE: MSE Nacos instance
address
Optional
address: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property address: Registration Address.
If not specified, it will be automatically generated based on the selected instance.
group_list
Optional
group_list: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property groupList: The list of service groups.
This is required when Source=EDAS.
ingress_options
Optional
ingress_options: typing.Union[IResolvable, IngressOptionsProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, IngressOptionsProperty]
Property ingressOptions: The Ingress configuration.
path_list
Optional
path_list: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property pathList: An array of service root paths.