类 CatalogControllerV2


  • @RestController
    @RequestMapping("/v2/ns/catalog")
    public class CatalogControllerV2
    extends java.lang.Object
    CatalogControllerV2.
    作者:
    Weizhan▪Yun
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      com.alibaba.nacos.api.model.v2.Result<com.fasterxml.jackson.databind.node.ObjectNode> instanceList​(java.lang.String namespaceId, java.lang.String serviceName, java.lang.Boolean healthyOnly, java.lang.Boolean enabledOnly, int page, int pageSize)
      List instances of special service.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • CatalogControllerV2

        public CatalogControllerV2()
    • 方法详细资料

      • instanceList

        @RequestMapping("/instances")
        public com.alibaba.nacos.api.model.v2.Result<com.fasterxml.jackson.databind.node.ObjectNode> instanceList​(@RequestParam(defaultValue="public")
                                                                                                                  java.lang.String namespaceId,
                                                                                                                  @RequestParam
                                                                                                                  java.lang.String serviceName,
                                                                                                                  @RequestParam(required=false)
                                                                                                                  java.lang.Boolean healthyOnly,
                                                                                                                  @RequestParam(required=false)
                                                                                                                  java.lang.Boolean enabledOnly,
                                                                                                                  @RequestParam(name="pageNo")
                                                                                                                  int page,
                                                                                                                  @RequestParam
                                                                                                                  int pageSize)
        List instances of special service.
        参数:
        namespaceId - namespace id
        serviceName - service name
        healthyOnly - instance health only
        enabledOnly - instance enabled
        page - number of page
        pageSize - size of each page
        返回:
        instances information