SoftNAS API Guide
Menu
Index

3.35. iscsitargetlist

 
Description
 
This method is used to list the available iSCSI targets.
 
Request
 
In addition the the Standard Request Structure, the following parameters are required.
 
For definitions of parameters, see section Properties
Parameter
Parameter Name
Required?
start
start
Y
limit
limit
Y
returnGlobals
 
Y
 
Response
 
 
Example
{
    "result": {
        "msg": "",
        "records": [
            {
                "incominguser": "No authentication required",
                "initiators": "Unrestricted network access",
                "lun1": "/pool3/LUN_vol3/lundata.dat",
                "lundevice": "/pool3/LUN_vol3/lundata.dat",
                "password": "",
                "target": "iqn.2013-02.com.softnas:storage.target1",
                "username": "",
                "writecache": "on"
            }
        ],
        "success": true,
        "total": 2
    },
    "session_id": 11255,
    "success": true
}
 
 
 
 
 
 
Made with help of Dr.Explain