NacosServiceProps
Properties for defining a NacosService.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice
Initializer
import { NacosServiceProps } from '@alicloud/ros-cdk-mse'
const nacosServiceProps: NacosServiceProps = { ... }
Properties
| Name | Type | Description | 
|---|---|---|
instanceId | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property instanceId: The ID of the instance. | 
serviceName | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property serviceName: The name of the service. | 
ephemeral | 
boolean | @alicloud/ros-cdk-core.IResolvable | 
Property ephemeral: Specifies whether the instance is a temporary node. | 
groupName | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property groupName: The name of the group. | 
namespaceId | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property namespaceId: The ID of the namespace. | 
protectThreshold | 
string | @alicloud/ros-cdk-core.IResolvable | 
Property protectThreshold: The protection threshold. | 
instanceIdRequired 
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property instanceId: The ID of the instance.
serviceNameRequired 
public readonly serviceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property serviceName: The name of the service.
ephemeralOptional 
public readonly ephemeral: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
 
Property ephemeral: Specifies whether the instance is a temporary node.
Valid values: true: yes false: no
groupNameOptional 
public readonly groupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property groupName: The name of the group.
namespaceIdOptional 
public readonly namespaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property namespaceId: The ID of the namespace.
protectThresholdOptional 
public readonly protectThreshold: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
 
Property protectThreshold: The protection threshold.