Skip to content

ServiceSourceProps

Properties for defining a ServiceSource.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-servicesource

Initializer

import { ServiceSourceProps } from '@alicloud/ros-cdk-mse'
const serviceSourceProps: ServiceSourceProps = { ... }

Properties

Name Type Description
gatewayUniqueId string | @alicloud/ros-cdk-core.IResolvable Property gatewayUniqueId: The unique ID of the gateway.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name.
source string | @alicloud/ros-cdk-core.IResolvable Property source: The service source.
address string | @alicloud/ros-cdk-core.IResolvable Property address: Registration Address.
groupList any[] | @alicloud/ros-cdk-core.IResolvable Property groupList: The list of service groups.
ingressOptions @alicloud/ros-cdk-core.IResolvable | IngressOptionsProperty Property ingressOptions: The Ingress configuration.
pathList any[] | @alicloud/ros-cdk-core.IResolvable Property pathList: An array of service root paths.

gatewayUniqueIdRequired

public readonly gatewayUniqueId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property gatewayUniqueId: The unique ID of the gateway.


nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/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.


sourceRequired

public readonly source: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property source: The service source.

Valid values: K8S: ACK cluster MSE: MSE Nacos instance


addressOptional

public readonly address: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property address: Registration Address.

If not specified, it will be automatically generated based on the selected instance.


groupListOptional

public readonly groupList: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property groupList: The list of service groups.

This is required when Source=EDAS.


ingressOptionsOptional

public readonly ingressOptions: IResolvable | IngressOptionsProperty;

Property ingressOptions: The Ingress configuration.


pathListOptional

public readonly pathList: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property pathList: An array of service root paths.