public class ns_configtemplate extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
ns_configtemplate() |
| Modifier and Type | Method and Description |
|---|---|
static ns_configtemplate |
add(nitro_service client,
ns_configtemplate resource)
Use this operation to add NetScaler configuration template.
|
static ns_configtemplate[] |
add(nitro_service client,
ns_configtemplate[] resources)
Use this operation to add NetScaler configuration template in bulk.
|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of ns_configtemplate resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of ns_configtemplate resources.
|
static long |
count(nitro_service service)
Use this API to count the ns_configtemplate resources configured on NetScaler SDX.
|
static ns_configtemplate |
delete(nitro_service client,
ns_configtemplate resource)
Use this operation to delete NetScaler configuration template.
|
static ns_configtemplate[] |
delete(nitro_service client,
ns_configtemplate[] resources)
Use this operation to delete NetScaler configuration template in bulk.
|
ns_command[] |
get_commands()
NS Configuration Commands
|
String |
get_description()
Template Description
|
static ns_configtemplate[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of ns_configtemplate resources.
|
static ns_configtemplate[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of ns_configtemplate resources.
|
String |
get_id()
Id is system generated key for all the system users
|
Integer |
get_last_updated_time()
Last Updated Time
|
String |
get_name()
Name of the configuration template
|
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_template_create_user()
User who created the template
|
static ns_configtemplate[] |
get(nitro_service client)
Get netscaler configuration templates.
|
static ns_configtemplate |
get(nitro_service client,
ns_configtemplate resource)
Get netscaler configuration templates.
|
static ns_configtemplate |
modify(nitro_service client,
ns_configtemplate resource)
Use this operation to modify NetScaler configuration template.
|
static ns_configtemplate[] |
modify(nitro_service client,
ns_configtemplate[] resources)
Use this operation to modify NetScaler configuration template in bulk.
|
void |
set_commands(ns_command[] commands)
NS Configuration Commands
|
void |
set_description(String description)
Template Description
|
void |
set_id(String id)
Id is system generated key for all the system users
|
void |
set_last_updated_time(Integer last_updated_time)
Last Updated Time
|
void |
set_name(String name)
Name of the configuration template
|
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 String get_template_create_user()
User who created the template
public void set_last_updated_time(Integer last_updated_time)
Last Updated Time
public Integer get_last_updated_time()
Last Updated Time
public void set_commands(ns_command[] commands)
NS Configuration Commands
public ns_command[] get_commands()
NS Configuration Commands
public void set_name(String name)
Name of the configuration template
public String get_name()
Name of the configuration template
public void set_id(String id)
Id is system generated key for all the system users
public String get_id()
Id is system generated key for all the system users
public void set_description(String description)
Template Description
public String get_description()
Template Description
public static ns_configtemplate add(nitro_service client, ns_configtemplate resource) throws Exception
Use this operation to add NetScaler configuration template.
Exceptionpublic static ns_configtemplate[] add(nitro_service client, ns_configtemplate[] resources) throws Exception
Use this operation to add NetScaler configuration template in bulk.
Exceptionpublic static ns_configtemplate delete(nitro_service client, ns_configtemplate resource) throws Exception
Use this operation to delete NetScaler configuration template.
Exceptionpublic static ns_configtemplate[] delete(nitro_service client, ns_configtemplate[] resources) throws Exception
Use this operation to delete NetScaler configuration template in bulk.
Exceptionpublic static ns_configtemplate[] get(nitro_service client) throws Exception
Get netscaler configuration templates.
Exceptionpublic static ns_configtemplate get(nitro_service client, ns_configtemplate resource) throws Exception
Exceptionpublic static ns_configtemplate modify(nitro_service client, ns_configtemplate resource) throws Exception
Use this operation to modify NetScaler configuration template.
Exceptionpublic static ns_configtemplate[] modify(nitro_service client, ns_configtemplate[] resources) throws Exception
Use this operation to modify NetScaler configuration template in bulk.
Exceptionpublic static ns_configtemplate[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static ns_configtemplate[] 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.