DeviceManager extends FortiManagerAPI
FortiManager API DeviceManager
Tags
Table of Contents
- $config : Config
- $session : string
- $transaction : int|null
- $config : Config
- $session : string
- $transaction : mixed
- __construct() : mixed
- Constructor takes care of checking and registering FortiManager's data and login to the API
- __destruct() : mixed
- Destructor takes care of logout.
- addAdom() : stdClass
- addAdomDeviceVdom() : stdClass
- addAdomFolder() : stdClass
- addAdomGroup() : stdClass
- addAdomGroupObject() : stdClass
- addAdomObject() : stdClass
- addAdomRevision() : stdClass
- addAdomScript() : stdClass
- addAdomScriptObject() : stdClass
- addAdomScriptScriptSchedule() : stdClass
- addDeviceVdom() : stdClass
- addFolder() : stdClass
- addGlobalRevision() : stdClass
- addGlobalScript() : stdClass
- addGlobalScriptObject() : stdClass
- addGlobalScriptScriptSchedule() : stdClass
- addGroup() : stdClass
- addGroupObject() : stdClass
- addMetaFieldsAdom() : stdClass
- addMetaFieldsDevice() : stdClass
- addMetaFieldsGroup() : stdClass
- addRevision() : stdClass
- addScript() : stdClass
- addScriptObject() : stdClass
- addScriptScriptSchedule() : stdClass
- cloneOneAdomRevision() : stdClass
- cloneOneGlobalRevision() : stdClass
- cloneOneRevision() : stdClass
- deleteAdomAdom() : stdClass
- deleteAdomGroupObject() : stdClass
- deleteAdomObject() : stdClass
- deleteAdomScriptObject() : stdClass
- deleteGlobalScriptObject() : stdClass
- deleteGroupObject() : stdClass
- deleteMetaFieldsAdom() : stdClass
- deleteMetaFieldsDevice() : stdClass
- deleteMetaFieldsGroup() : stdClass
- deleteOneAdomDeviceVdom() : stdClass
- deleteOneAdomFolder() : stdClass
- deleteOneAdomGroup() : stdClass
- deleteOneAdomRevision() : stdClass
- deleteOneAdomScript() : stdClass
- deleteOneAdomScriptScriptSchedule() : stdClass
- deleteOneDeviceVdom() : stdClass
- deleteOneFolder() : stdClass
- deleteOneGlobalRevision() : stdClass
- deleteOneGlobalScript() : stdClass
- deleteOneGlobalScriptScriptSchedule() : stdClass
- deleteOneGroup() : stdClass
- deleteOneRevision() : stdClass
- deleteOneScript() : stdClass
- deleteOneScriptScriptSchedule() : stdClass
- deleteScriptObject() : stdClass
- execAdomScriptExecute() : stdClass
- execAdomWorkspaceCommit() : stdClass
- execAdomWorkspaceLock() : stdClass
- execAdomWorkspaceUnlock() : stdClass
- execCmdAddDevice() : stdClass
- execCmdAddDevList() : stdClass
- execCmdChangeHaSeq() : stdClass
- execCmdDelDevice() : stdClass
- execCmdDelDevList() : stdClass
- execCmdDiscoverDevice() : stdClass
- execCmdImportDevList() : stdClass
- execCmdReloadDevList() : stdClass
- execCmdUpdateDevice() : stdClass
- execCmdUpdateDevList() : stdClass
- execGlobalScriptExecute() : stdClass
- execGlobalWorkspaceCommit() : stdClass
- execGlobalWorkspaceLock() : stdClass
- execGlobalWorkspaceUnlock() : stdClass
- execOneAdomDeviceReplaceSn() : stdClass
- execOneAdomWorkflowApprove() : stdClass
- execOneAdomWorkflowDiscard() : stdClass
- execOneAdomWorkflowDrop() : stdClass
- execOneAdomWorkflowReject() : stdClass
- execOneAdomWorkflowRepair() : stdClass
- execOneAdomWorkflowRevert() : stdClass
- execOneAdomWorkflowReview() : stdClass
- execOneAdomWorkflowSave() : stdClass
- execOneAdomWorkflowStart() : stdClass
- execOneAdomWorkflowSubmit() : stdClass
- execOneAdomWorkspaceCommitDev() : stdClass
- execOneAdomWorkspaceCommitObject() : stdClass
- execOneAdomWorkspaceCommitPkg() : stdClass
- execOneAdomWorkspaceLockDev() : stdClass
- execOneAdomWorkspaceLockObject() : stdClass
- execOneAdomWorkspaceLockPkg() : stdClass
- execOneAdomWorkspaceUnlockDev() : stdClass
- execOneAdomWorkspaceUnlockObject() : stdClass
- execOneAdomWorkspaceUnlockPkg() : stdClass
- execOneDeviceReplaceSn() : stdClass
- execOneGlobalWorkflowApprove() : stdClass
- execOneGlobalWorkflowDiscard() : stdClass
- execOneGlobalWorkflowDrop() : stdClass
- execOneGlobalWorkflowReject() : stdClass
- execOneGlobalWorkflowRepair() : stdClass
- execOneGlobalWorkflowRevert() : stdClass
- execOneGlobalWorkflowReview() : stdClass
- execOneGlobalWorkflowSave() : stdClass
- execOneGlobalWorkflowStart() : stdClass
- execOneGlobalWorkflowSubmit() : stdClass
- execOneGlobalWorkspaceCommitObject() : stdClass
- execOneGlobalWorkspaceCommitPkg() : stdClass
- execOneGlobalWorkspaceLockObject() : stdClass
- execOneGlobalWorkspaceLockPkg() : stdClass
- execOneGlobalWorkspaceUnlockObject() : stdClass
- execOneGlobalWorkspaceUnlockPkg() : stdClass
- execScriptExecute() : stdClass
- getAdom() : stdClass
- getAdomAdom() : stdClass
- getAdomDevice() : stdClass
- getAdomDeviceHaSlave() : stdClass
- getAdomDeviceVdom() : stdClass
- getAdomFolder() : stdClass
- getAdomGroup() : stdClass
- getAdomRevision() : stdClass
- getAdomScript() : stdClass
- getAdomScriptLogLatest() : stdClass
- getAdomScriptLogList() : stdClass
- getAdomScriptLogSummary() : stdClass
- getAdomScriptScriptSchedule() : stdClass
- getAdomWorkflow() : stdClass
- getAdomWorkflowWflog() : stdClass
- getAdomWorkspaceDirty() : stdClass
- getAdomWorkspaceLockinfo() : stdClass
- getDevice() : stdClass
- getDeviceHaSlave() : stdClass
- getDeviceVdom() : stdClass
- getFolder() : stdClass
- getGlobalRevision() : stdClass
- getGlobalScript() : stdClass
- getGlobalScriptLogLatest() : stdClass
- getGlobalScriptLogList() : stdClass
- getGlobalScriptLogSummary() : stdClass
- getGlobalScriptScriptSchedule() : stdClass
- getGlobalWorkflow() : stdClass
- getGlobalWorkflowWflog() : stdClass
- getGlobalWorkspaceDirty() : stdClass
- getGlobalWorkspaceLockinfo() : stdClass
- getGroup() : stdClass
- getMetaFieldsAdom() : stdClass
- getMetaFieldsDevice() : stdClass
- getMetaFieldsGroup() : stdClass
- getOneAdomDevice() : stdClass
- getOneAdomDeviceHaSlave() : stdClass
- getOneAdomDeviceVdom() : stdClass
- getOneAdomFolder() : stdClass
- getOneAdomGroup() : stdClass
- getOneAdomRevision() : stdClass
- getOneAdomScript() : stdClass
- getOneAdomScriptLogLatestDevice() : stdClass
- getOneAdomScriptLogListDevice() : stdClass
- getOneAdomScriptLogOutputDeviceLogid() : stdClass
- getOneAdomScriptLogOutputLogid() : stdClass
- getOneAdomScriptLogSummaryDevice() : stdClass
- getOneAdomScriptScriptSchedule() : stdClass
- getOneAdomWorkflow() : stdClass
- getOneAdomWorkflowWflog() : stdClass
- getOneAdomWorkspaceDirtyDev() : stdClass
- getOneAdomWorkspaceLockinfoDev() : stdClass
- getOneAdomWorkspaceLockinfoObject() : stdClass
- getOneAdomWorkspaceLockinfoPkg() : stdClass
- getOneDevice() : stdClass
- getOneDeviceHaSlave() : stdClass
- getOneDeviceVdom() : stdClass
- getOneFolder() : stdClass
- getOneGlobalRevision() : stdClass
- getOneGlobalScript() : stdClass
- getOneGlobalScriptLogOutputLogid() : stdClass
- getOneGlobalScriptScriptSchedule() : stdClass
- getOneGlobalWorkflow() : stdClass
- getOneGlobalWorkflowWflog() : stdClass
- getOneGlobalWorkspaceLockinfoObject() : stdClass
- getOneGlobalWorkspaceLockinfoPkg() : stdClass
- getOneGroup() : stdClass
- getOneRevision() : stdClass
- getOneScript() : stdClass
- getOneScriptLogLatestDevice() : stdClass
- getOneScriptLogListDevice() : stdClass
- getOneScriptLogOutputDeviceLogid() : stdClass
- getOneScriptLogSummaryDevice() : stdClass
- getOneScriptScriptSchedule() : stdClass
- getOneWorkflow() : stdClass
- getOneWorkflowWflog() : stdClass
- getRevision() : stdClass
- getScript() : stdClass
- getScriptScriptSchedule() : stdClass
- getWorkflow() : stdClass
- getWorkflowWflog() : stdClass
- setAdom() : stdClass
- setAdomAdom() : stdClass
- setAdomDevice() : stdClass
- setAdomDeviceVdom() : stdClass
- setAdomFolder() : stdClass
- setAdomGroup() : stdClass
- setAdomGroupObject() : stdClass
- setAdomObject() : stdClass
- setAdomRevision() : stdClass
- setAdomScript() : stdClass
- setAdomScriptObject() : stdClass
- setAdomScriptScriptSchedule() : stdClass
- setDevice() : stdClass
- setDeviceVdom() : stdClass
- setFolder() : stdClass
- setGlobalRevision() : stdClass
- setGlobalScript() : stdClass
- setGlobalScriptObject() : stdClass
- setGlobalScriptScriptSchedule() : stdClass
- setGroup() : stdClass
- setGroupObject() : stdClass
- setMetaFieldsAdom() : stdClass
- setMetaFieldsDevice() : stdClass
- setMetaFieldsGroup() : stdClass
- setOneAdomDevice() : stdClass
- setOneAdomDeviceVdom() : stdClass
- setOneAdomFolder() : stdClass
- setOneAdomGroup() : stdClass
- setOneAdomRevision() : stdClass
- setOneAdomScript() : stdClass
- setOneAdomScriptScriptSchedule() : stdClass
- setOneDevice() : stdClass
- setOneDeviceVdom() : stdClass
- setOneFolder() : stdClass
- setOneGlobalRevision() : stdClass
- setOneGlobalScript() : stdClass
- setOneGlobalScriptScriptSchedule() : stdClass
- setOneGroup() : stdClass
- setOneRevision() : stdClass
- setOneScript() : stdClass
- setOneScriptScriptSchedule() : stdClass
- setRevision() : stdClass
- setScript() : stdClass
- setScriptObject() : stdClass
- setScriptScriptSchedule() : stdClass
- updateAdom() : stdClass
- updateAdomAdom() : stdClass
- updateAdomDevice() : stdClass
- updateAdomDeviceVdom() : stdClass
- updateAdomFolder() : stdClass
- updateAdomGroup() : stdClass
- updateAdomGroupObject() : stdClass
- updateAdomObject() : stdClass
- updateAdomRevision() : stdClass
- updateAdomScript() : stdClass
- updateAdomScriptObject() : stdClass
- updateAdomScriptScriptSchedule() : stdClass
- updateDevice() : stdClass
- updateDeviceVdom() : stdClass
- updateFolder() : stdClass
- updateGlobalRevision() : stdClass
- updateGlobalScript() : stdClass
- updateGlobalScriptObject() : stdClass
- updateGlobalScriptScriptSchedule() : stdClass
- updateGroup() : stdClass
- updateGroupObject() : stdClass
- updateMetaFieldsAdom() : stdClass
- updateMetaFieldsDevice() : stdClass
- updateMetaFieldsGroup() : stdClass
- updateOneAdomDevice() : stdClass
- updateOneAdomDeviceVdom() : stdClass
- updateOneAdomFolder() : stdClass
- updateOneAdomGroup() : stdClass
- updateOneAdomRevision() : stdClass
- updateOneAdomScript() : stdClass
- updateOneAdomScriptScriptSchedule() : stdClass
- updateOneDevice() : stdClass
- updateOneDeviceVdom() : stdClass
- updateOneFolder() : stdClass
- updateOneGlobalRevision() : stdClass
- updateOneGlobalScript() : stdClass
- updateOneGlobalScriptScriptSchedule() : stdClass
- updateOneGroup() : stdClass
- updateOneRevision() : stdClass
- updateOneScript() : stdClass
- updateOneScriptScriptSchedule() : stdClass
- updateRevision() : stdClass
- updateScript() : stdClass
- updateScriptObject() : stdClass
- updateScriptScriptSchedule() : stdClass
- curlRequest() : stdClass
- Method to request the FortiManager's API.
- login() : bool
- Login in the FortiManager.
- logout() : Return
- Logout from the FortiManager.
Properties
$config
public
Config
$config
Config object with all needed information.
$session
public
string
$session
Authentication token kept in cache.
$transaction
public
int|null
$transaction
Ongoning transaction ID. WARNING : When going through the method prepareRequestData(), all upper case letter in function parameter name will be replaced by '-' and ;brought down to lower case. If you modify or add new endpoints replace all '-' in parameter name by the next letter in uppercase.
$config
private
Config
$config
$session
private
string
$session
= ''
$transaction
private
mixed
$transaction
Methods
__construct()
Constructor takes care of checking and registering FortiManager's data and login to the API
public
__construct(Config $config) : mixed
Parameters
- $config : Config
-
Object containing all necessary configuration.
Return values
mixed —__destruct()
Destructor takes care of logout.
public
__destruct() : mixed
Return values
mixed —addAdom()
public
addAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomDeviceVdom()
public
addAdomDeviceVdom([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomFolder()
public
addAdomFolder([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomGroup()
public
addAdomGroup([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomGroupObject()
public
addAdomGroupObject([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomObject()
public
addAdomObject([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomRevision()
public
addAdomRevision([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomScript()
public
addAdomScript([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomScriptObject()
public
addAdomScriptObject([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addAdomScriptScriptSchedule()
public
addAdomScriptScriptSchedule([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addDeviceVdom()
public
addDeviceVdom( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addFolder()
public
addFolder([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addGlobalRevision()
public
addGlobalRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addGlobalScript()
public
addGlobalScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addGlobalScriptObject()
public
addGlobalScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addGlobalScriptScriptSchedule()
public
addGlobalScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addGroup()
public
addGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addGroupObject()
public
addGroupObject( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addMetaFieldsAdom()
public
addMetaFieldsAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addMetaFieldsDevice()
public
addMetaFieldsDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addMetaFieldsGroup()
public
addMetaFieldsGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addRevision()
public
addRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addScript()
public
addScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addScriptObject()
public
addScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
addScriptScriptSchedule()
public
addScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
cloneOneAdomRevision()
public
cloneOneAdomRevision([ $adom = 'root' ], $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
cloneOneGlobalRevision()
public
cloneOneGlobalRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
cloneOneRevision()
public
cloneOneRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteAdomAdom()
public
deleteAdomAdom([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteAdomGroupObject()
public
deleteAdomGroupObject([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteAdomObject()
public
deleteAdomObject([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteAdomScriptObject()
public
deleteAdomScriptObject([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteGlobalScriptObject()
public
deleteGlobalScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteGroupObject()
public
deleteGroupObject( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteMetaFieldsAdom()
public
deleteMetaFieldsAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteMetaFieldsDevice()
public
deleteMetaFieldsDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteMetaFieldsGroup()
public
deleteMetaFieldsGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneAdomDeviceVdom()
public
deleteOneAdomDeviceVdom([ $adom = 'root' ], $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneAdomFolder()
public
deleteOneAdomFolder([ $adom = 'root' ], $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneAdomGroup()
public
deleteOneAdomGroup([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneAdomRevision()
public
deleteOneAdomRevision([ $adom = 'root' ], $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneAdomScript()
public
deleteOneAdomScript([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneAdomScriptScriptSchedule()
public
deleteOneAdomScriptScriptSchedule([ $adom = 'root' ], $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneDeviceVdom()
public
deleteOneDeviceVdom( $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneFolder()
public
deleteOneFolder( $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneGlobalRevision()
public
deleteOneGlobalRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneGlobalScript()
public
deleteOneGlobalScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneGlobalScriptScriptSchedule()
public
deleteOneGlobalScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneGroup()
public
deleteOneGroup( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneRevision()
public
deleteOneRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneScript()
public
deleteOneScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteOneScriptScriptSchedule()
public
deleteOneScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
deleteScriptObject()
public
deleteScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execAdomScriptExecute()
public
execAdomScriptExecute([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execAdomWorkspaceCommit()
public
execAdomWorkspaceCommit([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execAdomWorkspaceLock()
public
execAdomWorkspaceLock([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execAdomWorkspaceUnlock()
public
execAdomWorkspaceUnlock([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdAddDevice()
public
execCmdAddDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdAddDevList()
public
execCmdAddDevList([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdChangeHaSeq()
public
execCmdChangeHaSeq([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdDelDevice()
public
execCmdDelDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdDelDevList()
public
execCmdDelDevList([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdDiscoverDevice()
public
execCmdDiscoverDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdImportDevList()
public
execCmdImportDevList([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdReloadDevList()
public
execCmdReloadDevList([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdUpdateDevice()
public
execCmdUpdateDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execCmdUpdateDevList()
public
execCmdUpdateDevList([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execGlobalScriptExecute()
public
execGlobalScriptExecute([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execGlobalWorkspaceCommit()
public
execGlobalWorkspaceCommit([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execGlobalWorkspaceLock()
public
execGlobalWorkspaceLock([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execGlobalWorkspaceUnlock()
public
execGlobalWorkspaceUnlock([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomDeviceReplaceSn()
public
execOneAdomDeviceReplaceSn([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowApprove()
public
execOneAdomWorkflowApprove([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowDiscard()
public
execOneAdomWorkflowDiscard([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowDrop()
public
execOneAdomWorkflowDrop([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowReject()
public
execOneAdomWorkflowReject([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowRepair()
public
execOneAdomWorkflowRepair([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowRevert()
public
execOneAdomWorkflowRevert([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowReview()
public
execOneAdomWorkflowReview([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowSave()
public
execOneAdomWorkflowSave([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowStart()
public
execOneAdomWorkflowStart([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkflowSubmit()
public
execOneAdomWorkflowSubmit([ $adom = 'root' ], $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceCommitDev()
public
execOneAdomWorkspaceCommitDev([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceCommitObject()
public
execOneAdomWorkspaceCommitObject([ $adom = 'root' ], $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceCommitPkg()
public
execOneAdomWorkspaceCommitPkg([ $adom = 'root' ], $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceLockDev()
public
execOneAdomWorkspaceLockDev([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceLockObject()
public
execOneAdomWorkspaceLockObject([ $adom = 'root' ], $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceLockPkg()
public
execOneAdomWorkspaceLockPkg([ $adom = 'root' ], $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceUnlockDev()
public
execOneAdomWorkspaceUnlockDev([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceUnlockObject()
public
execOneAdomWorkspaceUnlockObject([ $adom = 'root' ], $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneAdomWorkspaceUnlockPkg()
public
execOneAdomWorkspaceUnlockPkg([ $adom = 'root' ], $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneDeviceReplaceSn()
public
execOneDeviceReplaceSn( $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowApprove()
public
execOneGlobalWorkflowApprove( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowDiscard()
public
execOneGlobalWorkflowDiscard( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowDrop()
public
execOneGlobalWorkflowDrop( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowReject()
public
execOneGlobalWorkflowReject( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowRepair()
public
execOneGlobalWorkflowRepair( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowRevert()
public
execOneGlobalWorkflowRevert( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowReview()
public
execOneGlobalWorkflowReview( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowSave()
public
execOneGlobalWorkflowSave( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowStart()
public
execOneGlobalWorkflowStart( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkflowSubmit()
public
execOneGlobalWorkflowSubmit( $session_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkspaceCommitObject()
public
execOneGlobalWorkspaceCommitObject( $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkspaceCommitPkg()
public
execOneGlobalWorkspaceCommitPkg( $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkspaceLockObject()
public
execOneGlobalWorkspaceLockObject( $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkspaceLockPkg()
public
execOneGlobalWorkspaceLockPkg( $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkspaceUnlockObject()
public
execOneGlobalWorkspaceUnlockObject( $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execOneGlobalWorkspaceUnlockPkg()
public
execOneGlobalWorkspaceUnlockPkg( $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
execScriptExecute()
public
execScriptExecute([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdom()
public
getAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomAdom()
public
getAdomAdom([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomDevice()
public
getAdomDevice([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomDeviceHaSlave()
public
getAdomDeviceHaSlave([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomDeviceVdom()
public
getAdomDeviceVdom([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomFolder()
public
getAdomFolder([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomGroup()
public
getAdomGroup([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomRevision()
public
getAdomRevision([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomScript()
public
getAdomScript([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomScriptLogLatest()
public
getAdomScriptLogLatest([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomScriptLogList()
public
getAdomScriptLogList([ $adom = 'root' ], $list[, $body = null ]) : stdClass
Parameters
- $adom : = 'root'
-
ADOM name.
- $list :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomScriptLogSummary()
public
getAdomScriptLogSummary([ $adom = 'root' ], $summary[, $body = null ]) : stdClass
Parameters
- $adom : = 'root'
-
ADOM name.
- $summary :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomScriptScriptSchedule()
public
getAdomScriptScriptSchedule([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomWorkflow()
public
getAdomWorkflow([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomWorkflowWflog()
public
getAdomWorkflowWflog([ $adom = 'root' ], $workflow[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomWorkspaceDirty()
public
getAdomWorkspaceDirty([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getAdomWorkspaceLockinfo()
public
getAdomWorkspaceLockinfo([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getDevice()
public
getDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getDeviceHaSlave()
public
getDeviceHaSlave( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getDeviceVdom()
public
getDeviceVdom( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getFolder()
public
getFolder([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalRevision()
public
getGlobalRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalScript()
public
getGlobalScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalScriptLogLatest()
public
getGlobalScriptLogLatest([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalScriptLogList()
public
getGlobalScriptLogList( $list[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalScriptLogSummary()
public
getGlobalScriptLogSummary( $summary[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalScriptScriptSchedule()
public
getGlobalScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalWorkflow()
public
getGlobalWorkflow([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalWorkflowWflog()
public
getGlobalWorkflowWflog( $workflow[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalWorkspaceDirty()
public
getGlobalWorkspaceDirty([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGlobalWorkspaceLockinfo()
public
getGlobalWorkspaceLockinfo([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getGroup()
public
getGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getMetaFieldsAdom()
public
getMetaFieldsAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getMetaFieldsDevice()
public
getMetaFieldsDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getMetaFieldsGroup()
public
getMetaFieldsGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomDevice()
public
getOneAdomDevice([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomDeviceHaSlave()
public
getOneAdomDeviceHaSlave([ $adom = 'root' ], $device, $ha_slave[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomDeviceVdom()
public
getOneAdomDeviceVdom([ $adom = 'root' ], $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomFolder()
public
getOneAdomFolder([ $adom = 'root' ], $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomGroup()
public
getOneAdomGroup([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomRevision()
public
getOneAdomRevision([ $adom = 'root' ], $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomScript()
public
getOneAdomScript([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomScriptLogLatestDevice()
public
getOneAdomScriptLogLatestDevice([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomScriptLogListDevice()
public
getOneAdomScriptLogListDevice([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
- $adom : = 'root'
-
ADOM name.
- $device_name :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomScriptLogOutputDeviceLogid()
public
getOneAdomScriptLogOutputDeviceLogid([ $adom = 'root' ], $device, $log_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomScriptLogOutputLogid()
public
getOneAdomScriptLogOutputLogid([ $adom = 'root' ], $log_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomScriptLogSummaryDevice()
public
getOneAdomScriptLogSummaryDevice([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
- $adom : = 'root'
-
ADOM name.
- $device_name :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomScriptScriptSchedule()
public
getOneAdomScriptScriptSchedule([ $adom = 'root' ], $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomWorkflow()
public
getOneAdomWorkflow([ $adom = 'root' ], $workflow[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomWorkflowWflog()
public
getOneAdomWorkflowWflog([ $adom = 'root' ], $workflow, $wflog[, $body = null ]) : stdClass
Parameters
- $adom : = 'root'
-
ADOM name.
- $workflow :
- $wflog :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomWorkspaceDirtyDev()
public
getOneAdomWorkspaceDirtyDev([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomWorkspaceLockinfoDev()
public
getOneAdomWorkspaceLockinfoDev([ $adom = 'root' ], $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomWorkspaceLockinfoObject()
public
getOneAdomWorkspaceLockinfoObject([ $adom = 'root' ], $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneAdomWorkspaceLockinfoPkg()
public
getOneAdomWorkspaceLockinfoPkg([ $adom = 'root' ], $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneDevice()
public
getOneDevice( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneDeviceHaSlave()
public
getOneDeviceHaSlave( $device, $ha_slave[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneDeviceVdom()
public
getOneDeviceVdom( $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneFolder()
public
getOneFolder( $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalRevision()
public
getOneGlobalRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalScript()
public
getOneGlobalScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalScriptLogOutputLogid()
public
getOneGlobalScriptLogOutputLogid( $log_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalScriptScriptSchedule()
public
getOneGlobalScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalWorkflow()
public
getOneGlobalWorkflow( $workflow[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalWorkflowWflog()
public
getOneGlobalWorkflowWflog( $workflow, $wflog[, $body = null ]) : stdClass
Parameters
- $workflow :
- $wflog :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalWorkspaceLockinfoObject()
public
getOneGlobalWorkspaceLockinfoObject( $object_url_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGlobalWorkspaceLockinfoPkg()
public
getOneGlobalWorkspaceLockinfoPkg( $package_path_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneGroup()
public
getOneGroup( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneRevision()
public
getOneRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneScript()
public
getOneScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneScriptLogLatestDevice()
public
getOneScriptLogLatestDevice( $device_name[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneScriptLogListDevice()
public
getOneScriptLogListDevice( $device_name[, $body = null ]) : stdClass
Parameters
- $device_name :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneScriptLogOutputDeviceLogid()
public
getOneScriptLogOutputDeviceLogid( $device, $log_id[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneScriptLogSummaryDevice()
public
getOneScriptLogSummaryDevice( $device_name[, $body = null ]) : stdClass
Parameters
- $device_name :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneScriptScriptSchedule()
public
getOneScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneWorkflow()
public
getOneWorkflow( $workflow[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getOneWorkflowWflog()
public
getOneWorkflowWflog( $workflow, $wflog[, $body = null ]) : stdClass
Parameters
- $workflow :
- $wflog :
-
Log sequence, with 1 being assigned to the latest result.
- $body : = null
-
Request body.
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getRevision()
public
getRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getScript()
public
getScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getScriptScriptSchedule()
public
getScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getWorkflow()
public
getWorkflow([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
getWorkflowWflog()
public
getWorkflowWflog( $workflow[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdom()
public
setAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomAdom()
public
setAdomAdom([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomDevice()
public
setAdomDevice([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomDeviceVdom()
public
setAdomDeviceVdom([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomFolder()
public
setAdomFolder([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomGroup()
public
setAdomGroup([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomGroupObject()
public
setAdomGroupObject([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomObject()
public
setAdomObject([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomRevision()
public
setAdomRevision([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomScript()
public
setAdomScript([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomScriptObject()
public
setAdomScriptObject([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setAdomScriptScriptSchedule()
public
setAdomScriptScriptSchedule([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setDevice()
public
setDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setDeviceVdom()
public
setDeviceVdom( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setFolder()
public
setFolder([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setGlobalRevision()
public
setGlobalRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setGlobalScript()
public
setGlobalScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setGlobalScriptObject()
public
setGlobalScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setGlobalScriptScriptSchedule()
public
setGlobalScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setGroup()
public
setGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setGroupObject()
public
setGroupObject( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setMetaFieldsAdom()
public
setMetaFieldsAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setMetaFieldsDevice()
public
setMetaFieldsDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setMetaFieldsGroup()
public
setMetaFieldsGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneAdomDevice()
public
setOneAdomDevice([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneAdomDeviceVdom()
public
setOneAdomDeviceVdom([ $adom = 'root' ], $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneAdomFolder()
public
setOneAdomFolder([ $adom = 'root' ], $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneAdomGroup()
public
setOneAdomGroup([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneAdomRevision()
public
setOneAdomRevision([ $adom = 'root' ], $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneAdomScript()
public
setOneAdomScript([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneAdomScriptScriptSchedule()
public
setOneAdomScriptScriptSchedule([ $adom = 'root' ], $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneDevice()
public
setOneDevice( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneDeviceVdom()
public
setOneDeviceVdom( $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneFolder()
public
setOneFolder( $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneGlobalRevision()
public
setOneGlobalRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneGlobalScript()
public
setOneGlobalScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneGlobalScriptScriptSchedule()
public
setOneGlobalScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneGroup()
public
setOneGroup( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneRevision()
public
setOneRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneScript()
public
setOneScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setOneScriptScriptSchedule()
public
setOneScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setRevision()
public
setRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setScript()
public
setScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setScriptObject()
public
setScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
setScriptScriptSchedule()
public
setScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdom()
public
updateAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomAdom()
public
updateAdomAdom([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomDevice()
public
updateAdomDevice([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomDeviceVdom()
public
updateAdomDeviceVdom([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomFolder()
public
updateAdomFolder([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomGroup()
public
updateAdomGroup([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomGroupObject()
public
updateAdomGroupObject([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomObject()
public
updateAdomObject([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomRevision()
public
updateAdomRevision([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomScript()
public
updateAdomScript([ $adom = 'root' ][, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomScriptObject()
public
updateAdomScriptObject([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateAdomScriptScriptSchedule()
public
updateAdomScriptScriptSchedule([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateDevice()
public
updateDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateDeviceVdom()
public
updateDeviceVdom( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateFolder()
public
updateFolder([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateGlobalRevision()
public
updateGlobalRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateGlobalScript()
public
updateGlobalScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateGlobalScriptObject()
public
updateGlobalScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateGlobalScriptScriptSchedule()
public
updateGlobalScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateGroup()
public
updateGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateGroupObject()
public
updateGroupObject( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateMetaFieldsAdom()
public
updateMetaFieldsAdom([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateMetaFieldsDevice()
public
updateMetaFieldsDevice([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateMetaFieldsGroup()
public
updateMetaFieldsGroup([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneAdomDevice()
public
updateOneAdomDevice([ $adom = 'root' ], $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneAdomDeviceVdom()
public
updateOneAdomDeviceVdom([ $adom = 'root' ], $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneAdomFolder()
public
updateOneAdomFolder([ $adom = 'root' ], $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneAdomGroup()
public
updateOneAdomGroup([ $adom = 'root' ], $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneAdomRevision()
public
updateOneAdomRevision([ $adom = 'root' ], $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneAdomScript()
public
updateOneAdomScript([ $adom = 'root' ], $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneAdomScriptScriptSchedule()
public
updateOneAdomScriptScriptSchedule([ $adom = 'root' ], $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneDevice()
public
updateOneDevice( $device[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneDeviceVdom()
public
updateOneDeviceVdom( $device, $vdom[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneFolder()
public
updateOneFolder( $folder[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneGlobalRevision()
public
updateOneGlobalRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneGlobalScript()
public
updateOneGlobalScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneGlobalScriptScriptSchedule()
public
updateOneGlobalScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneGroup()
public
updateOneGroup( $group[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneRevision()
public
updateOneRevision( $revision[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneScript()
public
updateOneScript( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateOneScriptScriptSchedule()
public
updateOneScriptScriptSchedule( $script, $script_schedule[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateRevision()
public
updateRevision([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateScript()
public
updateScript([ $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateScriptObject()
public
updateScriptObject( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
updateScriptScriptSchedule()
public
updateScriptScriptSchedule( $script[, $body = null ]) : stdClass
Parameters
Tags
Return values
stdClass —Return the fortimanager's response as an object.
curlRequest()
Method to request the FortiManager's API.
protected
curlRequest(string $method, string $endpoint[, stdClass|array<string|int, mixed> $pathData = null ][, stdClass|array<string|int, mixed> $bodyData = null ][, int $timeout = null ]) : stdClass
Parameters
- $method : string
-
API method for the request. Must be one of those : get, add, set, update, delete, move, clone, exec.
- $endpoint : string
-
API endpoint without the first element ('jsonrpc') and with data in the path not replaced. E.g. /pm/config/adom/{adom}/obj/firewall/address.
- $pathData : stdClass|array<string|int, mixed> = null
-
Data to be passed in the request path.
- $bodyData : stdClass|array<string|int, mixed> = null
-
Params to be passed in the request body.
- $timeout : int = null
Return values
stdClass —Return FortiManager's response as a stdClass.
login()
Login in the FortiManager.
private
login() : bool
Return values
bool —Return TRUE if successful or throw Exception if fails.
logout()
Logout from the FortiManager.
private
logout() : Return
Return values
Return —TRUE if successful, FALSE if it failed.