public class xen_health_disk extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
xen_health_disk() |
| 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_disk resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of xen_health_disk resources.
|
static long |
count(nitro_service service)
Use this API to count the xen_health_disk resources configured on NetScaler SDX.
|
Integer |
get_bay_number()
Bay number
|
Double |
get_block_read_rate()
Blocks read per second
|
Double |
get_block_write_rate()
Blocks written per second
|
static xen_health_disk[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of xen_health_disk resources.
|
static xen_health_disk[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of xen_health_disk resources.
|
String |
get_host_ip_address()
Host IP Address
|
String |
get_name()
Name of the Disk
|
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.
|
Double |
get_size()
Size of the disk (bytes)
|
Double |
get_total_blocks_read()
Total blocks read
|
Double |
get_total_blocks_written()
Total blocks written
|
Double |
get_transaction_rate()
Transactions per second
|
Double |
get_utilized()
Utilization of the disk (bytes)
|
static xen_health_disk[] |
get(nitro_service client)
Use this operation to get disk IO statistics.
|
static xen_health_disk |
get(nitro_service client,
xen_health_disk resource)
Use this operation to get disk IO statistics.
|
void |
set_bay_number(Integer bay_number)
Bay number
|
void |
set_block_read_rate(Double block_read_rate)
Blocks read per second
|
void |
set_block_write_rate(Double block_write_rate)
Blocks written per second
|
void |
set_host_ip_address(String host_ip_address)
Host IP Address
|
void |
set_name(String name)
Name of the Disk
|
void |
set_size(Double size)
Size of the disk (bytes)
|
void |
set_total_blocks_read(Double total_blocks_read)
Total blocks read
|
void |
set_total_blocks_written(Double total_blocks_written)
Total blocks written
|
void |
set_transaction_rate(Double transaction_rate)
Transactions per second
|
void |
set_utilized(Double utilized)
Utilization of the disk (bytes)
|
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_total_blocks_read(Double total_blocks_read)
Total blocks read
public Double get_total_blocks_read()
Total blocks read
public void set_name(String name)
Name of the Disk
public String get_name()
Name of the Disk
public void set_size(Double size)
Size of the disk (bytes)
public Double get_size()
Size of the disk (bytes)
public void set_total_blocks_written(Double total_blocks_written)
Total blocks written
public Double get_total_blocks_written()
Total blocks written
public void set_block_read_rate(Double block_read_rate)
Blocks read per second
public Double get_block_read_rate()
Blocks read per second
public void set_block_write_rate(Double block_write_rate)
Blocks written per second
public Double get_block_write_rate()
Blocks written per second
public void set_bay_number(Integer bay_number)
Bay number
public Integer get_bay_number()
Bay number
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_utilized(Double utilized)
Utilization of the disk (bytes)
public Double get_utilized()
Utilization of the disk (bytes)
public void set_transaction_rate(Double transaction_rate)
Transactions per second
public Double get_transaction_rate()
Transactions per second
public static xen_health_disk[] get(nitro_service client) throws Exception
Use this operation to get disk IO statistics.
Exceptionpublic static xen_health_disk get(nitro_service client, xen_health_disk resource) throws Exception
Exceptionpublic static xen_health_disk[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static xen_health_disk[] 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.