This method allows to update existing host interfaces.此方法允许更新现有的主机接口。
to be updated.更新的主机接口属性。
Returns an object containing the IDs of the updated host interfaces under the property.返回一个包含“interfaceids”属性下更新的主机接口的ID的对象
Changing a host interface port更改主机接口端口
Change the port of a host interface.更改主机接口的端口。
Response:
- {
- "jsonrpc": "2.0",
- "result": {
- "30048"
- ]
- },
- "id": 1
CHostInterface::update() in frontends/php/include/classes/api/services/CHostInterface.php.