目的:
在OpManager中添加一个新业务视图
先决条件:相关设备已被添加
请求URL: http://<opmanager-server:port>/api/xml/discovery/addBusinessView?apiKey=APIKEY&bvName=BUSINESS-VIEW-NAME&deviceName=DEVICE-NAME
请求参数:
参数 |
描述 |
apiKey* | API键,用来访问OpManager服务器 |
bvName* |
业务视图名称 |
deviceName* |
添加到业务视图的设备名称 |
<form
method="POST"
action="http://opman-vm-win7-2/api/xml/discovery/addBusinessView?apiKey=[APIKEY]"> <input type="hidden" name="bvName" value="[BUSINESS-VIEW-NAME]"> <input type="hidden" name="deviceName" value="[DEVICE-NAME]"> <input type="submit" value="Add Business View" name="submit"> </form> |