2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/plugins/haproxy.rst

109 lines
5.5 KiB
ReStructuredText
Raw Normal View History

Haproxy
~~~~~~~
.. csv-table:: Resources (MaintenanceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","haproxy","maintenance","searchServer",""
"``GET``","haproxy","maintenance","serverState",""
"``GET``","haproxy","maintenance","serverStateBulk",""
"``GET``","haproxy","maintenance","serverWeight",""
"``GET``","haproxy","maintenance","serverWeightBulk",""
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","haproxy","service","configtest",""
"``<<uses>>``", "", "", "", "*model* `HAProxy.xml <https://github.com/opnsense/plugins/blob/master/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml>`__"
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","haproxy","settings","addAcl",""
"``POST``","haproxy","settings","addAction",""
"``POST``","haproxy","settings","addBackend",""
"``POST``","haproxy","settings","addCpu",""
"``POST``","haproxy","settings","addErrorfile",""
"``POST``","haproxy","settings","addFrontend",""
"``POST``","haproxy","settings","addGroup",""
"``POST``","haproxy","settings","addHealthcheck",""
"``POST``","haproxy","settings","addLua",""
"``POST``","haproxy","settings","addMapfile",""
"``POST``","haproxy","settings","addServer",""
"``POST``","haproxy","settings","addUser",""
"``POST``","haproxy","settings","addresolver",""
"``POST``","haproxy","settings","delAcl","$uuid"
"``POST``","haproxy","settings","delAction","$uuid"
"``POST``","haproxy","settings","delBackend","$uuid"
"``POST``","haproxy","settings","delCpu","$uuid"
"``POST``","haproxy","settings","delErrorfile","$uuid"
"``POST``","haproxy","settings","delFrontend","$uuid"
"``POST``","haproxy","settings","delGroup","$uuid"
"``POST``","haproxy","settings","delHealthcheck","$uuid"
"``POST``","haproxy","settings","delLua","$uuid"
"``POST``","haproxy","settings","delMapfile","$uuid"
"``POST``","haproxy","settings","delServer","$uuid"
"``POST``","haproxy","settings","delUser","$uuid"
"``POST``","haproxy","settings","delresolver","$uuid"
"``GET``","haproxy","settings","getAcl","$uuid=null"
"``GET``","haproxy","settings","getAction","$uuid=null"
"``GET``","haproxy","settings","getBackend","$uuid=null"
"``GET``","haproxy","settings","getCpu","$uuid=null"
"``GET``","haproxy","settings","getErrorfile","$uuid=null"
"``GET``","haproxy","settings","getFrontend","$uuid=null"
"``GET``","haproxy","settings","getGroup","$uuid=null"
"``GET``","haproxy","settings","getHealthcheck","$uuid=null"
"``GET``","haproxy","settings","getLua","$uuid=null"
"``GET``","haproxy","settings","getMapfile","$uuid=null"
"``GET``","haproxy","settings","getServer","$uuid=null"
"``GET``","haproxy","settings","getUser","$uuid=null"
"``GET``","haproxy","settings","getresolver","$uuid=null"
"``*``","haproxy","settings","searchAcls",""
"``*``","haproxy","settings","searchActions",""
"``*``","haproxy","settings","searchBackends",""
"``*``","haproxy","settings","searchCpus",""
"``*``","haproxy","settings","searchErrorfiles",""
"``*``","haproxy","settings","searchFrontends",""
"``*``","haproxy","settings","searchGroups",""
"``*``","haproxy","settings","searchHealthchecks",""
"``*``","haproxy","settings","searchLuas",""
"``*``","haproxy","settings","searchMapfiles",""
"``*``","haproxy","settings","searchServers",""
"``*``","haproxy","settings","searchUsers",""
"``*``","haproxy","settings","searchresolvers",""
"``POST``","haproxy","settings","setAcl","$uuid"
"``POST``","haproxy","settings","setAction","$uuid"
"``POST``","haproxy","settings","setBackend","$uuid"
"``POST``","haproxy","settings","setCpu","$uuid"
"``POST``","haproxy","settings","setErrorfile","$uuid"
"``POST``","haproxy","settings","setFrontend","$uuid"
"``POST``","haproxy","settings","setGroup","$uuid"
"``POST``","haproxy","settings","setHealthcheck","$uuid"
"``POST``","haproxy","settings","setLua","$uuid"
"``POST``","haproxy","settings","setMapfile","$uuid"
"``POST``","haproxy","settings","setServer","$uuid"
"``POST``","haproxy","settings","setUser","$uuid"
"``POST``","haproxy","settings","setresolver","$uuid"
"``POST``","haproxy","settings","toggleBackend","$uuid,$enabled=null"
"``POST``","haproxy","settings","toggleCpu","$uuid,$enabled=null"
"``POST``","haproxy","settings","toggleFrontend","$uuid"
"``POST``","haproxy","settings","toggleGroup","$uuid,$enabled=null"
"``POST``","haproxy","settings","toggleLua","$uuid,$enabled=null"
"``POST``","haproxy","settings","toggleServer","$uuid,$enabled=null"
"``POST``","haproxy","settings","toggleUser","$uuid,$enabled=null"
"``POST``","haproxy","settings","toggleresolver","$uuid,$enabled=null"
"``<<uses>>``", "", "", "", "*model* `HAProxy.xml <https://github.com/opnsense/plugins/blob/master/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml>`__"
.. csv-table:: Resources (StatisticsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","haproxy","statistics","counters","$zoneid=0"
"``GET``","haproxy","statistics","info","$zoneid=0"
"``GET``","haproxy","statistics","tables","$zoneid=0"