NacosServiceProps
Properties for defining a NacosService
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice
Initializer
using AlibabaCloud.SDK.ROS.CDK.Mse;
new NacosServiceProps {
object InstanceId,
object ServiceName,
object Ephemeral = null,
object GroupName = null,
object NamespaceId = null,
object ProtectThreshold = null
};
Properties
Name | Type | Description |
---|---|---|
InstanceId |
object |
Property instanceId: The ID of the instance. |
ServiceName |
object |
Property serviceName: The name of the service. |
Ephemeral |
object |
Property ephemeral: Specifies whether the instance is a temporary node. |
GroupName |
object |
Property groupName: The name of the group. |
NamespaceId |
object |
Property namespaceId: The ID of the namespace. |
ProtectThreshold |
object |
Property protectThreshold: The protection threshold. |
InstanceId
Required
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the instance.
ServiceName
Required
public object ServiceName { get; set; }
- Type: object
Property serviceName: The name of the service.
Ephemeral
Optional
public object Ephemeral { get; set; }
- Type: object
Property ephemeral: Specifies whether the instance is a temporary node.
Valid values: true: yes false: no
GroupName
Optional
public object GroupName { get; set; }
- Type: object
Property groupName: The name of the group.
NamespaceId
Optional
public object NamespaceId { get; set; }
- Type: object
Property namespaceId: The ID of the namespace.
ProtectThreshold
Optional
public object ProtectThreshold { get; set; }
- Type: object
Property protectThreshold: The protection threshold.