public class xen_health_interface extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
xen_health_interface() |
| Modifier and Type | Method and Description |
|---|---|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of xen_health_interface resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of xen_health_interface resources.
|
static long |
count(nitro_service service)
Use this API to count the xen_health_interface resources configured on NetScaler SDX.
|
static xen_health_interface[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of xen_health_interface resources.
|
static xen_health_interface[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of xen_health_interface resources.
|
String |
get_host_ip_address()
Host IP Address
|
String |
get_mapped_port()
Mapped Port Name Ex: eth0
|
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_port()
Port Name Ex: 10/1
|
Double |
get_rx_bytes()
Received bytes
|
Double |
get_rx_errors()
Receiving errors
|
Double |
get_rx_packets()
Received packets
|
String |
get_state()
State of the Interface - UP/DOWN
|
Double |
get_tx_bytes()
Transmitted bytes
|
Double |
get_tx_errors()
Transmission errors
|
Double |
get_tx_packets()
Transmitted packets
|
Integer |
get_vf_assigned()
Assigned Virtual Functions
|
Integer |
get_vf_total()
Total Virtual Functions
|
static xen_health_interface[] |
get(nitro_service client)
Use this operation to get health and virtual function statistics for the interface.
|
static xen_health_interface |
get(nitro_service client,
xen_health_interface resource)
Use this operation to get health and virtual function statistics for the interface.
|
void |
set_host_ip_address(String host_ip_address)
Host IP Address
|
void |
set_mapped_port(String mapped_port)
Mapped Port Name Ex: eth0
|
void |
set_port(String port)
Port Name Ex: 10/1
|
void |
set_rx_bytes(Double rx_bytes)
Received bytes
|
void |
set_rx_errors(Double rx_errors)
Receiving errors
|
void |
set_rx_packets(Double rx_packets)
Received packets
|
void |
set_tx_bytes(Double tx_bytes)
Transmitted bytes
|
void |
set_tx_errors(Double tx_errors)
Transmission errors
|
void |
set_tx_packets(Double tx_packets)
Transmitted packets
|
void |
set_vf_assigned(Integer vf_assigned)
Assigned Virtual Functions
|
void |
set_vf_total(Integer vf_total)
Total Virtual Functions
|
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_rx_packets(Double rx_packets)
Received packets
public Double get_rx_packets()
Received packets
public void set_rx_errors(Double rx_errors)
Receiving errors
public Double get_rx_errors()
Receiving errors
public void set_tx_bytes(Double tx_bytes)
Transmitted bytes
public Double get_tx_bytes()
Transmitted bytes
public void set_rx_bytes(Double rx_bytes)
Received bytes
public Double get_rx_bytes()
Received bytes
public void set_tx_packets(Double tx_packets)
Transmitted packets
public Double get_tx_packets()
Transmitted packets
public void set_tx_errors(Double tx_errors)
Transmission errors
public Double get_tx_errors()
Transmission errors
public void set_host_ip_address(String host_ip_address)
Host IP Address
public String get_host_ip_address()
Host IP Address
public void set_mapped_port(String mapped_port)
Mapped Port Name Ex: eth0
public String get_mapped_port()
Mapped Port Name Ex: eth0
public void set_vf_total(Integer vf_total)
Total Virtual Functions
public Integer get_vf_total()
Total Virtual Functions
public void set_port(String port)
Port Name Ex: 10/1
public String get_port()
Port Name Ex: 10/1
public void set_vf_assigned(Integer vf_assigned)
Assigned Virtual Functions
public Integer get_vf_assigned()
Assigned Virtual Functions
public String get_state()
State of the Interface - UP/DOWN
public static xen_health_interface[] get(nitro_service client) throws Exception
Use this operation to get health and virtual function statistics for the interface.
Exceptionpublic static xen_health_interface get(nitro_service client, xen_health_interface resource) throws Exception
Exceptionpublic static xen_health_interface[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static xen_health_interface[] 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.