Administration API for Kerio Control
Main Page
Related Pages
API Reference
IDL Files
All
Classes
Files
Functions
Variables
Pages
Snmp.idl
Go to the documentation of this file.
1
/**
2
* @file Snmp.idl
3
* @brief SNMP API
4
* @version 1
5
*/
6
7
#import <
common.idl
>
8
9
module
webadmin
{
10
11
enum
SnmpVersion {
12
SnmpV2c,
13
SnmpV3
14
};
15
16
struct
SnmpSettings
{
17
boolean
enabled;
18
string
location;
19
string
contact;
20
SnmpVersion version;
21
Password
community;
22
string
username;
23
Password
password;
24
};
25
26
interface
Snmp
{
27
28
/**
29
* Returns SNMP configuration
30
* @param settings - A structure containing all the settings of SNMP that are stored.
31
* @throws kerio::web::ApiException \n
32
* -32001 Session expired. - "The user is not logged in." \n
33
* 1004 Access denied. - "Insufficient rights to perform the requested operation."
34
*/
35
void
get
(out
SnmpSettings
settings);
36
37
/**
38
* Stores SNMP configuration
39
* @param settings - A structure containing all the settings of SNMP that sould be stored.
40
* @throws kerio::web::ApiException \n
41
* -32001 Session expired. - "The user is not logged in." \n
42
* 1004 Access denied. - "Insufficient rights to perform the requested operation."
43
*/
44
void
set(in
SnmpSettings
settings);
45
};
46
47
};
48
common.idl
Common Kerio Control structures, enums and types.
webadmin::SnmpSettings
Definition:
Snmp.idl:16
webadmin::Snmp
Definition:
Snmp.idl:26
webadmin::Password
Definition:
common.idl:116
webadmin
Definition:
Accounting.idl:11
©
Kerio Technologies s.r.o.
, all rights reserved.