This method allows to update existing maps. 此方法可以用来更新已存在的拓扑图

    Parameters 参数

    (object/array) Map properties to be updated. (object/array) 更新拓扑图参数

    The mapid property must be defined for each map, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged. 属性必须在每个拓扑图中定义,其他的属性是可选择的。只有传递的参数会被更新,其他的参数将会保持不变。

    Additionally to the , the method accepts the following parameters. 除了standard map properties,此方法还接受以下参数。

    To create map links between new map elements you’ll need to set an elements selementid to an arbitrary value and then use this value to reference this element in the links selementid1 or selementid2 properties. When the element is created, this value will be replaced with the correct ID generated by Zabbix.

    要在新的拓扑图元素之间创建映射链接,您需要将一个元素设置为一个任意的值,然后使用这个值在链接或selemand2属性中引用这个元素。在创建元素时,将用Zabbix生成的正确ID替换该值。See example for map.create.

    Examples 示例如下

    Resize a map 调整拓扑图的大小

    Change the size of the map to 1200×1200 pixels. 改变拓扑图的大小为1200*1200,单位是像素。

    Request:

    Response:

    Change map owner 改变拓扑图的属组

    Available only for admins and super admins. 仅适用于管理员和超级管理员

    Request:

    Response:

    Source