应用管理与运维平台 ServiceStage-ServiceInfo

时间:2023-11-01 16:20:30

ServiceInfo

表1 参数说明

参数

是否必选

类型

描述

serviceId

String

微服务唯一标识。字符为uuid。

正则表达式为^.*$

appId

String

应用app唯一标识。

字符长度为1~160。

正则表达式为^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$

serviceName

String

微服务名称,同一个App要保证唯一。

字符长度为1~128。

正则表达式为^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$

version

String

微服务版本号。

字符长度为1~64。

正则表达式为^[0-9]*$|^[0-9]+(\.[0-9]+)*$'

level

String

微服务层级。包括:

  • FRONT
  • MIDDLE
  • BACK

status

String

服务状态。
  • UP
  • DOWN

timestamp

String

时间戳。

support.huaweicloud.com/api-servicestage/cse_02_0113.html