Áú»¢¶Ä²©

This is the documentation page for an unsupported version of Áú»¢¶Ä²©.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

hostinterface.update

³¢±ð¨ª°ù¨¢²õ

object hostinterface.update(object/array hostInterfaces)

Ez a m¨®dszer lehet?v¨¦ teszi a megl¨¦v? gazdag¨¦p interf¨¦szek friss¨ªt¨¦s¨¦t.

Ez a m¨®dszer csak az Admin ¨¦s a Kiemelt rendszergazda sz¨¢m¨¢ra ¨¦rhet? el felhaszn¨¢l¨®i t¨ªpusok. A met¨®dus megh¨ªv¨¢s¨¢ra vonatkoz¨® enged¨¦lyek felhaszn¨¢l¨®i szerepk?rben visszavonhat¨®k be¨¢ll¨ªt¨¢sok. L¨¢sd: User roles tov¨¢bbi inform¨¢ci¨®¨¦rt.

±Ê²¹°ù²¹³¾¨¦³Ù±ð°ù±ð°ì

(object/array) Gazdag¨¦p interf¨¦sz tulajdons¨¢gai friss¨ªteni kell.

Az "interfaceid" tulajdons¨¢got meg kell hat¨¢rozni minden egyes gazdag¨¦p interf¨¦szhez a t?bbi tulajdons¨¢g nem k?telez?. Csak a megadott tulajdons¨¢gok lesznek friss¨ªtve, az ?sszes t?bbi v¨¢ltozatlan marad.

Visszat¨¦r¨¦si ¨¦rt¨¦kek

(object) Egy objektumot ad vissza, amely tartalmazza a friss¨ªtett gazdag¨¦p azonos¨ªt¨®it interf¨¦szeket az interfaceids tulajdons¨¢g alatt.

±Ê¨¦±ô»å¨¢°ì

Changing a host interface port

Change the port of a host interface.

Request:

{
           "jsonrpc": "2.0",
           "method": "hostinterface.update",
           "params": {
               "interfaceid": "30048",
               "port": "30050"
           },
           "auth": "038e1d7b1735c6a5436ee9eae095879e",
           "id": 1
       }

Response:

{
           "jsonrpc": "2.0",
           "result": {
               "interfaceids": [
                   "30048"
               ]
           },
           "id": 1
       }

¹ó´Ç°ù°ù¨¢²õ

CHostInterface::update() in ui/include/classes/api/services/CHostInterface.php.