public class physical_disk extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
physical_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 physical_disk resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of physical_disk resources.
|
static long |
count(nitro_service service)
Use this API to count the physical_disk resources configured on NetScaler SDX.
|
Integer |
get_adapter_id()
Adapter ID
|
Integer |
get_deviceid()
Device ID
|
Integer |
get_disk_index()
Disk Index
|
Integer |
get_enclosure()
Enclosure
|
static physical_disk[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of physical_disk resources.
|
static physical_disk[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of physical_disk resources.
|
String |
get_firmwarestate()
Firmware State
|
String |
get_foreignstate()
Foreign State
|
String |
get_host_ip_address()
host_ip_address
|
String |
get_id()
Id is system generated key for all physical drives
|
String |
get_inquiry()
Inquiry
|
Boolean |
get_is_used()
Is Used
|
Integer |
get_ld_number()
Logical Drive number
|
String |
get_logical_disk_name()
Logical Disk Name
|
String |
get_mec()
mec
|
String |
get_mediatype()
Media Type
|
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_oec()
Drives
|
String |
get_size()
oec
|
Integer |
get_slot()
Slot Number
|
String |
get_wwn()
wwn
|
static physical_disk[] |
get(nitro_service client)
Use this operation to get physical disks.
|
static physical_disk |
get(nitro_service client,
physical_disk resource)
Use this operation to get physical disks.
|
void |
set_host_ip_address(String host_ip_address)
host_ip_address
|
void |
set_id(String id)
Id is system generated key for all physical drives
|
void |
set_logical_disk_name(String logical_disk_name)
Logical Disk Name
|
void |
set_slot(Integer slot)
Slot Number
|
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 Integer get_ld_number()
Logical Drive number
public Integer get_deviceid()
Device ID
public void set_logical_disk_name(String logical_disk_name)
Logical Disk Name
public String get_logical_disk_name()
Logical Disk Name
public String get_size()
oec
public String get_firmwarestate()
Firmware State
public Integer get_adapter_id()
Adapter ID
public String get_mec()
mec
public Integer get_disk_index()
Disk Index
public void set_host_ip_address(String host_ip_address)
host_ip_address
public String get_host_ip_address()
host_ip_address
public String get_oec()
Drives
public void set_id(String id)
Id is system generated key for all physical drives
public String get_id()
Id is system generated key for all physical drives
public void set_slot(Integer slot)
Slot Number
public Integer get_slot()
Slot Number
public Integer get_enclosure()
Enclosure
public Boolean get_is_used()
Is Used
public String get_inquiry()
Inquiry
public String get_wwn()
wwn
public String get_foreignstate()
Foreign State
public String get_mediatype()
Media Type
public static physical_disk[] get(nitro_service client) throws Exception
Use this operation to get physical disks.
Exceptionpublic static physical_disk get(nitro_service client, physical_disk resource) throws Exception
Exceptionpublic static physical_disk[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static physical_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.