public class device_profile extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
device_profile() |
| Modifier and Type | Method and Description |
|---|---|
static device_profile |
add(nitro_service client,
device_profile resource)
Use this operation to add device profile.
|
static device_profile[] |
add(nitro_service client,
device_profile[] resources)
Use this operation to add device profile in bulk.
|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of device_profile resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of device_profile resources.
|
static long |
count(nitro_service service)
Use this API to count the device_profile resources configured on NetScaler SDX.
|
static device_profile |
delete(nitro_service client,
device_profile resource)
Use this operation to delete device profile(s).
|
static device_profile[] |
delete(nitro_service client,
device_profile[] resources)
Use this operation to delete device profile(s) in bulk.
|
static device_profile[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of device_profile resources.
|
static device_profile[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of device_profile resources.
|
String |
get_id()
Id is system generated key for all the device profiles
|
Boolean |
get_is_default()
True, if this profile is system generated and can not be deleted
|
String |
get_name()
Profile Name
|
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_password()
Password for this profile
|
String |
get_snmpauthpassword()
SNMP v3 auth password for this profile
|
String |
get_snmpauthprotocol()
SNMP v3 auth protocol for this profile
|
String |
get_snmpcommunity()
SNMP community for this profile
|
String |
get_snmpprivpassword()
SNMP v3 priv password for this profile
|
String |
get_snmpprivprotocol()
SNMP v3 priv protocol for this profile
|
String |
get_snmpsecuritylevel()
SNMP v3 security level for this profile
|
String |
get_snmpsecurityname()
SNMP v3 security name for this profile
|
String |
get_snmpversion()
SNMP version for this profile
|
String |
get_type()
Profile Type, This must be with in specified supported profiles (NS / Xen)
|
String |
get_username()
User Name for this profile
|
static device_profile[] |
get(nitro_service client)
Use this operation to get device profiles.
|
static device_profile |
get(nitro_service client,
device_profile resource)
Use this operation to get device profiles.
|
void |
set_id(String id)
Id is system generated key for all the device profiles
|
void |
set_name(String name)
Profile Name
|
void |
set_password(String password)
Password for this profile
|
void |
set_snmpauthpassword(String snmpauthpassword)
SNMP v3 auth password for this profile
|
void |
set_snmpauthprotocol(String snmpauthprotocol)
SNMP v3 auth protocol for this profile
|
void |
set_snmpcommunity(String snmpcommunity)
SNMP community for this profile
|
void |
set_snmpprivpassword(String snmpprivpassword)
SNMP v3 priv password for this profile
|
void |
set_snmpprivprotocol(String snmpprivprotocol)
SNMP v3 priv protocol for this profile
|
void |
set_snmpsecuritylevel(String snmpsecuritylevel)
SNMP v3 security level for this profile
|
void |
set_snmpsecurityname(String snmpsecurityname)
SNMP v3 security name for this profile
|
void |
set_snmpversion(String snmpversion)
SNMP version for this profile
|
void |
set_type(String type)
Profile Type, This must be with in specified supported profiles (NS / Xen)
|
void |
set_username(String username)
User Name for this profile
|
static device_profile |
update(nitro_service client,
device_profile resource)
Use this operation to modify device profile.
|
static device_profile[] |
update(nitro_service client,
device_profile[] resources)
Use this operation to modify device profile 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 Boolean get_is_default()
True, if this profile is system generated and can not be deleted
public void set_name(String name)
Profile Name
public String get_name()
Profile Name
public void set_type(String type)
Profile Type, This must be with in specified supported profiles (NS / Xen)
public String get_type()
Profile Type, This must be with in specified supported profiles (NS / Xen)
public void set_id(String id)
Id is system generated key for all the device profiles
public String get_id()
Id is system generated key for all the device profiles
public void set_snmpauthprotocol(String snmpauthprotocol)
SNMP v3 auth protocol for this profile
public String get_snmpauthprotocol()
SNMP v3 auth protocol for this profile
public void set_snmpsecurityname(String snmpsecurityname)
SNMP v3 security name for this profile
public String get_snmpsecurityname()
SNMP v3 security name for this profile
public void set_snmpprivprotocol(String snmpprivprotocol)
SNMP v3 priv protocol for this profile
public String get_snmpprivprotocol()
SNMP v3 priv protocol for this profile
public void set_username(String username)
User Name for this profile
public String get_username()
User Name for this profile
public void set_password(String password)
Password for this profile
public String get_password()
Password for this profile
public void set_snmpsecuritylevel(String snmpsecuritylevel)
SNMP v3 security level for this profile
public String get_snmpsecuritylevel()
SNMP v3 security level for this profile
public void set_snmpcommunity(String snmpcommunity)
SNMP community for this profile
public String get_snmpcommunity()
SNMP community for this profile
public void set_snmpprivpassword(String snmpprivpassword)
SNMP v3 priv password for this profile
public String get_snmpprivpassword()
SNMP v3 priv password for this profile
public void set_snmpversion(String snmpversion)
SNMP version for this profile
public String get_snmpversion()
SNMP version for this profile
public void set_snmpauthpassword(String snmpauthpassword)
SNMP v3 auth password for this profile
public String get_snmpauthpassword()
SNMP v3 auth password for this profile
public static device_profile add(nitro_service client, device_profile resource) throws Exception
Use this operation to add device profile.
Exceptionpublic static device_profile[] add(nitro_service client, device_profile[] resources) throws Exception
Use this operation to add device profile in bulk.
Exceptionpublic static device_profile delete(nitro_service client, device_profile resource) throws Exception
Use this operation to delete device profile(s).
Exceptionpublic static device_profile[] delete(nitro_service client, device_profile[] resources) throws Exception
Use this operation to delete device profile(s) in bulk.
Exceptionpublic static device_profile[] get(nitro_service client) throws Exception
Use this operation to get device profiles.
Exceptionpublic static device_profile get(nitro_service client, device_profile resource) throws Exception
Exceptionpublic static device_profile update(nitro_service client, device_profile resource) throws Exception
Use this operation to modify device profile.
Exceptionpublic static device_profile[] update(nitro_service client, device_profile[] resources) throws Exception
Use this operation to modify device profile in bulk.
Exceptionpublic static device_profile[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static device_profile[] 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.