NacosServiceProps
Properties for defining a NacosService
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse"
&alicloudroscdkmse.NacosServiceProps {
InstanceId: interface{},
ServiceName: interface{},
Ephemeral: interface{},
GroupName: interface{},
NamespaceId: interface{},
ProtectThreshold: interface{},
}
Properties
Name | Type | Description |
---|---|---|
InstanceId |
interface{} |
Property instanceId: The ID of the instance. |
ServiceName |
interface{} |
Property serviceName: The name of the service. |
Ephemeral |
interface{} |
Property ephemeral: Specifies whether the instance is a temporary node. |
GroupName |
interface{} |
Property groupName: The name of the group. |
NamespaceId |
interface{} |
Property namespaceId: The ID of the namespace. |
ProtectThreshold |
interface{} |
Property protectThreshold: The protection threshold. |
InstanceId
Required
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of the instance.
ServiceName
Required
ServiceName interface{}
- Type: interface{}
Property serviceName: The name of the service.
Ephemeral
Optional
Ephemeral interface{}
- Type: interface{}
Property ephemeral: Specifies whether the instance is a temporary node.
Valid values: true: yes false: no
GroupName
Optional
GroupName interface{}
- Type: interface{}
Property groupName: The name of the group.
NamespaceId
Optional
NamespaceId interface{}
- Type: interface{}
Property namespaceId: The ID of the namespace.
ProtectThreshold
Optional
ProtectThreshold interface{}
- Type: interface{}
Property protectThreshold: The protection threshold.