Service

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

服务

serviceId

string

服务唯一 ID

svc-cr6pk4tlhtgm***

sourceType

string

string 服务来源类型

MSE_NACOS

name

string

服务名

user-service

namespace

string

命名空间

PUBLIC

healthCheck ServiceHealthCheck

健康检查配置

healthStatus

string

监控检查状态 Healthy|Unhealthy

Healthy

qualifier

string

函数限定名

LATEST

createTimestamp

integer

创建时间。

1725617840096

updateTimestamp

integer

创建时间

1725868548440

protocol

string

服务协议

HTTP

gatewayId

string

网关实例 ID

gw-xxxx

modelProviderId

string

模型供应商资源 ID

mp-xxxx

serviceMetaData

object

服务列表中的 ExtProc 引用状态;关系读取失败时不返回

extProc

boolean

当前服务是否被同用户同网关的 ExtProc 配置引用

dfpReferenced

boolean

当前服务是否被网关显式 DFP ExtProc 绑定引用

resourceGroupId

string

资源组 ID

rg-xxx

groupName

string

服务分组名

publich

aiServiceConfig AiServiceConfig

AI 服务配置。

agentServiceConfig AgentServiceConfig

Agent 服务配置

expressType

string

云工作流执行方式

StartExecution

addresses

array

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

string

域名或固定地址列表。

127.0.0.1:8080

ports

array

端口信息列表。

object

端口信息。

port

integer

端口号。

8080

name

string

端口名

user-service

protocol

string

协议 TCP|UDP

TCP

unhealthyEndpoints

array

非健康的 endpoints

string

不健康的 Endpoint。

192.168.1.12:8080

outlierEndpoints

array

熔断的 endpoints

string

参数

["10.0.0.2:8080"]

labelDetails

array

服务的标签信息

LabelDetail

参数

runtimeDetailStatus

string

运行时详情状态

Available

runtimeDetailErrorCode

string

运行时详情脱敏错误码

RuntimeEndpointTimeout

dnsServers

array

DNS 服务器列表

string

自定义 DNS 服务器

8.8.8.8

healthyPanicThreshold

number

健康 panic 阈值

1

outlierDetection

object

异常实例摘除配置

enable

boolean

是否开启

false

baseEjectionTime

integer

基础弹出时长秒,1~3600

30

interval

integer

检测间隔秒,1~3600

30

failurePercentageThreshold

integer

失败率阈值 %,1~100

80

failurePercentageMinimumHosts

integer

最小主机数,≥0

1

versions

array

服务版本列表

object

列表

name

string

版本名称

v1

labels

array

版本标签列表

object

列表

key

string

标签键名

version

value

string

标签值

v1