Class AddressServerClusterController
- java.lang.Object
-
- com.alibaba.nacos.address.controller.AddressServerClusterController
-
@RestController @RequestMapping("/nacos/v1/as/nodes") public class AddressServerClusterController extends Object- Since:
- 1.1.0
- Author:
- pbting
-
-
Constructor Summary
Constructors Constructor Description AddressServerClusterController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntitydeleteCluster(String product, String cluster, String ips)org.springframework.http.ResponseEntitypostCluster(String product, String cluster, String ips)
-
-
-
Method Detail
-
postCluster
@RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity postCluster(@RequestParam(required=false) String product, @RequestParam(required=false) String cluster, @RequestParam(name="ips") String ips)- Parameters:
product- Ip list of products to be associatedcluster- Ip list of product cluster to be associatedips- will post ip list.- Returns:
-
deleteCluster
@RequestMapping(value="", method=DELETE) public org.springframework.http.ResponseEntity deleteCluster(@RequestParam(required=false) String product, @RequestParam(required=false) String cluster, @RequestParam String ips)- Parameters:
product- Ip list of products to be associatedcluster- Ip list of product cluster to be associatedips- will delete ips.- Returns:
-
-