Updated on 2023-07-19 GMT+08:00

WatchMicroServiceKey

Table 1 Parameters

Parameter

Mandatory

Type

Description

appId

No

String

Application ID, which must be unique. The value contains 1 to 160 characters. Regular expression: ^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$.

serviceName

No

String

Microservice name. For a provider microservice, the value can be *, indicating all services of a tenant. If the value is *, both appId and version can be omitted. For a consumer microservice, the value cannot be *.

version

No

String

Microservice version. For a provider microservice, the value can be the version+, fixed version, or latest version. For example, 1.0.1+ indicates version 1.0.1 or later. For a consumer microservice, the value can only be a fixed version.