MapReduce服务 MRS-添加Manager用户:代码样例

时间:2025-02-12 15:00:33

代码样例

以下代码片段是添加用户的示例,在“rest”包的“UserManager”类的main方法中。

    //访问Manager接口完成添加用户    operationName = "AddUser";        operationUrl = webUrl + ADD_USER_URL;    jsonFilePath = "./conf/addUser.json";        httpManager.sendHttpPostRequest(httpClient, operationUrl, jsonFilePath, operationName)
support.huaweicloud.com/devg-lts-mrs/mrs_07_440013.html