文档

Service

更新时间:
名称类型描述示例值
object

服务

serviceIdstring

服务唯一 ID

svc-cr6pk4tlhtgm***
sourceTypestring

string 服务来源类型

MSE_NACOS
namestring

服务名

user-service
namespacestring

命名空间

PUBLIC
addressesarray

地址信息, ip 或者与域名列表

string

域名或固定地址列表。

127.0.0.1:8080
portsarray<object>

端口信息列表。

object

端口信息。

portinteger

端口号。

8080
namestring

端口名

user-service
protocolstring

协议 TCP|UDP

TCP
unhealthyEndpointsarray

非健康的 endpoints

string

不健康的 Endpoint。

192.168.1.12:8080
healthCheckServiceHealthCheck

健康检查配置

healthStatusstring

监控检查状态 Healthy|Unhealthy

枚举值:
  • Unhealthy不健康
  • Healthy健康
Healthy
qualifierstring

函数限定名

LATEST
createTimestamplong

创建时间。

1725617840096
updateTimestamplong

创建时间

1725868548440
protocolstring

服务协议

HTTP