NacosServiceProps
Properties for defining a NacosService
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice
Initializer
import ros_cdk_mse
ros_cdk_mse.NacosServiceProps(
instance_id: typing.Union[str, IResolvable],
service_name: typing.Union[str, IResolvable],
ephemeral: typing.Union[bool, IResolvable] = None,
group_name: typing.Union[str, IResolvable] = None,
namespace_id: typing.Union[str, IResolvable] = None,
protect_threshold: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: The ID of the instance. |
service_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property serviceName: The name of the service. |
ephemeral |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property ephemeral: Specifies whether the instance is a temporary node. |
group_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property groupName: The name of the group. |
namespace_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property namespaceId: The ID of the namespace. |
protect_threshold |
typing.Union[str, ros_cdk_core.IResolvable] |
Property protectThreshold: The protection threshold. |
instance_id
Required
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The ID of the instance.
service_name
Required
service_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property serviceName: The name of the service.
ephemeral
Optional
ephemeral: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property ephemeral: Specifies whether the instance is a temporary node.
Valid values: true: yes false: no
group_name
Optional
group_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property groupName: The name of the group.
namespace_id
Optional
namespace_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property namespaceId: The ID of the namespace.
protect_threshold
Optional
protect_threshold: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property protectThreshold: The protection threshold.