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. |
instanceId
Required
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the instance.
serviceName
Required
public readonly serviceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serviceName: The name of the service.
ephemeral
Optional
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
groupName
Optional
public readonly groupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property groupName: The name of the group.
namespaceId
Optional
public readonly namespaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property namespaceId: The ID of the namespace.
protectThreshold
Optional
public readonly protectThreshold: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property protectThreshold: The protection threshold.