public class snmp_user extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
snmp_user() |
| Modifier and Type | Method and Description |
|---|---|
static snmp_user |
add(nitro_service client,
snmp_user resource)
Use this operation to add SNMP User.
|
static snmp_user[] |
add(nitro_service client,
snmp_user[] resources)
Use this operation to add SNMP User in bulk.
|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of snmp_user resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of snmp_user resources.
|
static long |
count(nitro_service service)
Use this API to count the snmp_user resources configured on NetScaler SDX.
|
static snmp_user |
delete(nitro_service client,
snmp_user resource)
Use this operation to delete SNMP User.
|
static snmp_user[] |
delete(nitro_service client,
snmp_user[] resources)
Use this operation to delete SNMP User in bulk.
|
String |
get_auth_password()
Authentication Password of SNMP User
|
String |
get_auth_protocol_str()
Authentication Protocol of SNMP User in string format.(Only for GET request)
|
Integer |
get_auth_protocol()
Authentication Protocol of SNMP User.
|
static snmp_user[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of snmp_user resources.
|
static snmp_user[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of snmp_user resources.
|
String |
get_name()
Name of SNMP User
|
protected base_resource[] |
get_nitro_bulk_response(nitro_service service,
String response)
Converts API response of bulk operation into object and returns the object array in case of get request.
|
protected base_resource[] |
get_nitro_response(nitro_service service,
String response)
Converts API response into object and returns the object array in case of get request.
|
protected String |
get_object_id()
Returns the value of object identifier argument.
|
protected String |
get_object_type()
Gets the resource type.
|
String |
get_privacy_password()
Privacy Password of SNMP User
|
String |
get_privacy_protocol_str()
Privacy Protocol of SNMP User in string format.(Only for GET request)
|
Integer |
get_privacy_protocol()
Privacy Protocol of SNMP User.
|
String |
get_security_level_str()
Security Level of SNMP User in string format.(Only for GET request)
|
Integer |
get_security_level()
Security Level of SNMP User.
|
String |
get_view_name()
SNMP View Name attached to the SNMP User
|
static snmp_user[] |
get(nitro_service client)
Use this operation to get SNMP User details.
|
static snmp_user |
get(nitro_service client,
snmp_user resource)
Use this operation to get SNMP User details.
|
void |
set_auth_password(String auth_password)
Authentication Password of SNMP User
|
void |
set_auth_protocol_str(String auth_protocol_str)
Authentication Protocol of SNMP User in string format.(Only for GET request)
|
void |
set_auth_protocol(Integer auth_protocol)
Authentication Protocol of SNMP User.
|
void |
set_name(String name)
Name of SNMP User
|
void |
set_privacy_password(String privacy_password)
Privacy Password of SNMP User
|
void |
set_privacy_protocol_str(String privacy_protocol_str)
Privacy Protocol of SNMP User in string format.(Only for GET request)
|
void |
set_privacy_protocol(Integer privacy_protocol)
Privacy Protocol of SNMP User.
|
void |
set_security_level_str(String security_level_str)
Security Level of SNMP User in string format.(Only for GET request)
|
void |
set_security_level(Integer security_level)
Security Level of SNMP User.
|
void |
set_view_name(String view_name)
SNMP View Name attached to the SNMP User
|
static snmp_user |
update(nitro_service client,
snmp_user resource)
Use this operation to modify SNMP User.
|
static snmp_user[] |
update(nitro_service client,
snmp_user[] resources)
Use this operation to modify SNMP User in bulk.
|
protected void |
validate(String operationType)
Performs generic data validation for the operation to be performed
|
add_resource, add_resource, delete_bulk_request, delete_resource, get_resource, get_resource, get_resources, get_resources, getfiltered, perform_operation_bulk_request, perform_operation, perform_operation, perform_operation, resource_to_string, resource_to_string, update_bulk_request, update_resource, update_resourceprotected String get_object_type()
base_resourceget_object_type in class base_resourceprotected String get_object_id()
get_object_id in class base_resourcepublic void set_security_level(Integer security_level)
Security Level of SNMP User. Values: 0: noAuthNoPriv, 1: authNoPriv, 2: authPriv
public Integer get_security_level()
Security Level of SNMP User. Values: 0: noAuthNoPriv, 1: authNoPriv, 2: authPriv
public void set_auth_password(String auth_password)
Authentication Password of SNMP User
public String get_auth_password()
Authentication Password of SNMP User
public void set_privacy_protocol(Integer privacy_protocol)
Privacy Protocol of SNMP User. Values: 0:noValue, 1: DES, 2: AES
public Integer get_privacy_protocol()
Privacy Protocol of SNMP User. Values: 0:noValue, 1: DES, 2: AES
public void set_name(String name)
Name of SNMP User
public String get_name()
Name of SNMP User
public void set_privacy_password(String privacy_password)
Privacy Password of SNMP User
public String get_privacy_password()
Privacy Password of SNMP User
public void set_view_name(String view_name)
SNMP View Name attached to the SNMP User
public String get_view_name()
SNMP View Name attached to the SNMP User
public void set_auth_protocol(Integer auth_protocol)
Authentication Protocol of SNMP User. Values: 0:noValue, 1: MD5, 2: SHA1
public Integer get_auth_protocol()
Authentication Protocol of SNMP User. Values: 0:noValue, 1: MD5, 2: SHA1
public void set_security_level_str(String security_level_str)
Security Level of SNMP User in string format.(Only for GET request)
public String get_security_level_str()
Security Level of SNMP User in string format.(Only for GET request)
public void set_privacy_protocol_str(String privacy_protocol_str)
Privacy Protocol of SNMP User in string format.(Only for GET request)
public String get_privacy_protocol_str()
Privacy Protocol of SNMP User in string format.(Only for GET request)
public void set_auth_protocol_str(String auth_protocol_str)
Authentication Protocol of SNMP User in string format.(Only for GET request)
public String get_auth_protocol_str()
Authentication Protocol of SNMP User in string format.(Only for GET request)
public static snmp_user add(nitro_service client, snmp_user resource) throws Exception
Use this operation to add SNMP User.
Exceptionpublic static snmp_user[] add(nitro_service client, snmp_user[] resources) throws Exception
Use this operation to add SNMP User in bulk.
Exceptionpublic static snmp_user delete(nitro_service client, snmp_user resource) throws Exception
Use this operation to delete SNMP User.
Exceptionpublic static snmp_user[] delete(nitro_service client, snmp_user[] resources) throws Exception
Use this operation to delete SNMP User in bulk.
Exceptionpublic static snmp_user[] get(nitro_service client) throws Exception
Use this operation to get SNMP User details.
Exceptionpublic static snmp_user get(nitro_service client, snmp_user resource) throws Exception
Exceptionpublic static snmp_user update(nitro_service client, snmp_user resource) throws Exception
Use this operation to modify SNMP User.
Exceptionpublic static snmp_user[] update(nitro_service client, snmp_user[] resources) throws Exception
Use this operation to modify SNMP User in bulk.
Exceptionpublic static snmp_user[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static snmp_user[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
Exceptionpublic static long count(nitro_service service) throws Exception
Exceptionpublic static long count_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static long count_filtered(nitro_service service, filtervalue[] filter) throws Exception
Exceptionprotected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception
Converts API response into object and returns the object array in case of get request.
get_nitro_response in class base_resourceExceptionprotected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
Converts API response of bulk operation into object and returns the object array in case of get request.
get_nitro_bulk_response in class base_resourceExceptionprotected void validate(String operationType) throws Exception
Performs generic data validation for the operation to be performed
validate in class base_resourceoperationType - : add,delete,modify,get etc.ExceptionCopyright © 2013 Citrix Systems, Inc.. All Rights Reserved.