Skip to content

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.

InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: The ID of the instance.


ServiceNameRequired

public object ServiceName { get; set; }
  • Type: object

Property serviceName: The name of the service.


EphemeralOptional

public object Ephemeral { get; set; }
  • Type: object

Property ephemeral: Specifies whether the instance is a temporary node.

Valid values: true: yes false: no


GroupNameOptional

public object GroupName { get; set; }
  • Type: object

Property groupName: The name of the group.


NamespaceIdOptional

public object NamespaceId { get; set; }
  • Type: object

Property namespaceId: The ID of the namespace.


ProtectThresholdOptional

public object ProtectThreshold { get; set; }
  • Type: object

Property protectThreshold: The protection threshold.