ServiceSourceProps
Properties for defining a ServiceSource
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-servicesource
Initializer
import com.aliyun.ros.cdk.mse.ServiceSourceProps;
ServiceSourceProps.builder()
.gatewayUniqueId(java.lang.String)
.gatewayUniqueId(IResolvable)
.name(java.lang.String)
.name(IResolvable)
.source(java.lang.String)
.source(IResolvable)
// .address(java.lang.String)
// .address(IResolvable)
// .groupList(java.util.List<java.lang.Object>)
// .groupList(IResolvable)
// .ingressOptions(IResolvable)
// .ingressOptions(IngressOptionsProperty)
// .pathList(java.util.List<java.lang.Object>)
// .pathList(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
gatewayUniqueId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property gatewayUniqueId: The unique ID of the gateway. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name. |
source |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property source: The service source. |
address |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property address: Registration Address. |
groupList |
java.util.List |
Property groupList: The list of service groups. |
ingressOptions |
com.aliyun.ros.cdk.core.IResolvable OR IngressOptionsProperty |
Property ingressOptions: The Ingress configuration. |
pathList |
java.util.List |
Property pathList: An array of service root paths. |
gatewayUniqueId
Required
public java.lang.Object getGatewayUniqueId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property gatewayUniqueId: The unique ID of the gateway.
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.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
public java.lang.Object getSource();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property source: The service source.
Valid values: K8S: ACK cluster MSE: MSE Nacos instance
address
Optional
public java.lang.Object getAddress();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property address: Registration Address.
If not specified, it will be automatically generated based on the selected instance.
groupList
Optional
public java.lang.Object getGroupList();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property groupList: The list of service groups.
This is required when Source=EDAS.
ingressOptions
Optional
public java.lang.Object getIngressOptions();
- Type: com.aliyun.ros.cdk.core.IResolvable OR IngressOptionsProperty
Property ingressOptions: The Ingress configuration.
pathList
Optional
public java.lang.Object getPathList();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property pathList: An array of service root paths.