public class host_device extends managed_device
SESSION_NOT_EXISTS| Constructor and Description |
|---|
host_device() |
| Modifier and Type | Method and Description |
|---|---|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of host_device resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of host_device resources.
|
static long |
count(nitro_service service)
Use this API to count the host_device resources configured on NetScaler SDX.
|
Double |
get_cpu_usage()
CPU Usage (%) of host
|
Boolean |
get_enabled()
host State
|
static host_device[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of host_device resources.
|
static host_device[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of host_device resources.
|
Double |
get_memory_free()
Free memory available (MB) in host
|
Double |
get_memory_total()
Total memory of host in MB
|
Double |
get_memory_usage()
Memory Usage (%) of host
|
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.
|
Integer |
get_number_of_cpu()
Number of total CPU of host
|
protected String |
get_object_id()
Returns the value of object identifier argument.
|
protected String |
get_object_type()
Gets the resource type.
|
Double |
get_rx()
In Throughput (Mbps) of host
|
Integer |
get_ssl_cores_free()
Free SSL Cores available in XenServer
|
Integer |
get_ssl_cores_total()
Total SSL Cores available in host
|
Double |
get_tx()
Out Throughput (Mbps) of host
|
String |
get_uptime()
Uptime of host
|
String |
get_uuid()
UUID of host
|
static host_device[] |
get(nitro_service client)
Use this operation to get host.
|
static host_device |
get(nitro_service client,
host_device resource)
Use this operation to get host.
|
protected void |
validate(String operationType)
Performs generic data validation for the operation to be performed
|
add, add, delete, delete, get_act_id, get_description, get_device_family, get_gateway, get_hostname, get_id, get_instance_state, get_ip_address, get_name, get_netmask, get_ping_state, get_profile_name, get_profile_password, get_profile_username, get_reason, get_status, get_type, get_user_driven, get_version, set_description, set_device_family, set_gateway, set_hostname, set_id, set_ip_address, set_name, set_netmask, set_profile_name, set_profile_password, set_profile_username, set_typeadd_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 managed_deviceprotected String get_object_id()
get_object_id in class managed_devicepublic Double get_tx()
Out Throughput (Mbps) of host
public Double get_memory_total()
Total memory of host in MB
public Integer get_ssl_cores_total()
Total SSL Cores available in host
public Double get_rx()
In Throughput (Mbps) of host
public Double get_memory_usage()
Memory Usage (%) of host
public String get_uuid()
UUID of host
public Integer get_number_of_cpu()
Number of total CPU of host
public Double get_memory_free()
Free memory available (MB) in host
public String get_uptime()
Uptime of host
public Double get_cpu_usage()
CPU Usage (%) of host
public Boolean get_enabled()
host State
public Integer get_ssl_cores_free()
Free SSL Cores available in XenServer
public static host_device[] get(nitro_service client) throws Exception
Use this operation to get host.
Exceptionpublic static host_device get(nitro_service client, host_device resource) throws Exception
Exceptionpublic static host_device[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static host_device[] 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 managed_deviceExceptionprotected 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 managed_deviceExceptionprotected void validate(String operationType) throws Exception
Performs generic data validation for the operation to be performed
validate in class managed_deviceoperationType - : add,delete,modify,get etc.ExceptionCopyright © 2013 Citrix Systems, Inc.. All Rights Reserved.