public class ns_snmp_config extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
ns_snmp_config() |
| Modifier and Type | Method and Description |
|---|---|
static ns_snmp_config |
add(nitro_service client,
ns_snmp_config resource)
add ns snmp configuration.
|
static ns_snmp_config[] |
add(nitro_service client,
ns_snmp_config[] resources)
add ns snmp configuration in bulk.
|
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.
|
String[] |
get_ns_ip_address_arr()
List of NS IP Address
|
protected String |
get_object_id()
Returns the value of object identifier argument.
|
protected String |
get_object_type()
Gets the resource type.
|
Boolean |
get_save_config()
true, if save config is required
|
String |
get_snmpauthpassword()
SNMP v3 auth password
|
String |
get_snmpauthprotocol()
SNMP v3 auth protocol
|
String |
get_snmpcommunity()
SNMP community
|
String |
get_snmpprivpassword()
SNMP v3 priv password
|
String |
get_snmpprivprotocol()
SNMP v3 priv protocol
|
String |
get_snmpsecuritylevel()
SNMP v3 security level
|
String |
get_snmpsecurityname()
SNMP v3 security name
|
String |
get_snmpversion()
SNMP version
|
void |
set_ns_ip_address_arr(String[] ns_ip_address_arr)
List of NS IP Address
|
void |
set_save_config(Boolean save_config)
true, if save config is required
|
void |
set_snmpauthpassword(String snmpauthpassword)
SNMP v3 auth password
|
void |
set_snmpauthprotocol(String snmpauthprotocol)
SNMP v3 auth protocol
|
void |
set_snmpcommunity(String snmpcommunity)
SNMP community
|
void |
set_snmpprivpassword(String snmpprivpassword)
SNMP v3 priv password
|
void |
set_snmpprivprotocol(String snmpprivprotocol)
SNMP v3 priv protocol
|
void |
set_snmpsecuritylevel(String snmpsecuritylevel)
SNMP v3 security level
|
void |
set_snmpsecurityname(String snmpsecurityname)
SNMP v3 security name
|
void |
set_snmpversion(String snmpversion)
SNMP version
|
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_save_config(Boolean save_config)
true, if save config is required
public Boolean get_save_config()
true, if save config is required
public void set_snmpauthprotocol(String snmpauthprotocol)
SNMP v3 auth protocol
public String get_snmpauthprotocol()
SNMP v3 auth protocol
public void set_snmpsecurityname(String snmpsecurityname)
SNMP v3 security name
public String get_snmpsecurityname()
SNMP v3 security name
public void set_snmpprivprotocol(String snmpprivprotocol)
SNMP v3 priv protocol
public String get_snmpprivprotocol()
SNMP v3 priv protocol
public void set_ns_ip_address_arr(String[] ns_ip_address_arr)
List of NS IP Address
public String[] get_ns_ip_address_arr()
List of NS IP Address
public void set_snmpsecuritylevel(String snmpsecuritylevel)
SNMP v3 security level
public String get_snmpsecuritylevel()
SNMP v3 security level
public void set_snmpcommunity(String snmpcommunity)
SNMP community
public String get_snmpcommunity()
SNMP community
public void set_snmpprivpassword(String snmpprivpassword)
SNMP v3 priv password
public String get_snmpprivpassword()
SNMP v3 priv password
public void set_snmpversion(String snmpversion)
SNMP version
public String get_snmpversion()
SNMP version
public void set_snmpauthpassword(String snmpauthpassword)
SNMP v3 auth password
public String get_snmpauthpassword()
SNMP v3 auth password
public static ns_snmp_config add(nitro_service client, ns_snmp_config resource) throws Exception
add ns snmp configuration.
Exceptionpublic static ns_snmp_config[] add(nitro_service client, ns_snmp_config[] resources) throws Exception
add ns snmp configuration in bulk.
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.