list_service_instances
Retrieve a list of service instances by specifying namespace, group, service name, and optional cluster details for efficient service discovery and management.
Instructions
This interface retrieves the list of instances for a specified service.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clusterName | No | The cluster name of instances in service, optional and default is null means match all cluster. If need match multiple cluster, use `,` to split like `cluster1,cluster2` | |
groupName | No | The groupName pattern of service, default is `DEFAULT_GROUP` if missing | |
namespaceId | No | The namespaceId of service, default is `public` if missing | |
serviceName | Yes | The serviceName pattern of service, required. |
Input Schema (JSON Schema)
{
"properties": {
"clusterName": {
"description": "The cluster name of instances in service, optional and default is null means match all cluster. If need match multiple cluster, use `,` to split like `cluster1,cluster2`",
"type": "string"
},
"groupName": {
"description": "The groupName pattern of service, default is `DEFAULT_GROUP` if missing",
"type": "string"
},
"namespaceId": {
"description": "The namespaceId of service, default is `public` if missing",
"type": "string"
},
"serviceName": {
"description": "The serviceName pattern of service, required.",
"type": "string"
}
},
"required": [
"serviceName"
],
"type": "object"
}