Updated on 2023-06-25 GMT+08:00

WatchMicroServiceKey

Table 1 Parameters

Parameter

Type

Mandatory

Description

appId

String

No

Application ID, which must be unique.

The value must be 1 to 160 characters long.

Regular expression: ^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$

serviceName

String

No

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

String

No

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.