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. |
InstanceIdRequired
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of the instance.
This operation contains both the InstanceId and ClusterId parameters. You must specify one of them.
ServiceNameRequired
ServiceName interface{}
- Type: interface{}
Property serviceName: The name of the service.
EphemeralOptional
Ephemeral interface{}
- Type: interface{}
Property ephemeral: Specifies whether the instance is a temporary node.
Valid values: true: yes false: no
GroupNameOptional
GroupName interface{}
- Type: interface{}
Property groupName: The name of the group.
NamespaceIdOptional
NamespaceId interface{}
- Type: interface{}
Property namespaceId: The ID of the namespace.
ProtectThresholdOptional
ProtectThreshold interface{}
- Type: interface{}
Property protectThreshold: The protection threshold.