Name to ID conversions

  1. Lists the available Accounts and their detailed information using the listAccount API.
    Following is a sample request:
    https://1.2.3.4/client/api?command=listAccount&apiKey=Jj6GQNj07iqido49QAngCbLjMj4th_T_OW39J4Wtpa7o1Ext_T8gfXsmVop_noQ6PXVdrp_zajPPImKFts5UVw&response=json
    .
  2. Sample JSON response

    { "listAccountResponse" : { "count":1 ,"account" : [  {"id": "7b791118-55be-4439-8cd4-c9ac9bc1bf24",
    "name": "Acc1",
    "simpleid": 1,
    "description": "None",
    "iqnname": "iqn.2015-05.Acc1",
    "availIOPS": 1390,
    "totaliops": 1400,
    "usedIOPS": 10,
    "volumes": [
    {
      "tsmId": "cf25b459-f91e-3791-9475-254fd30f92ce",
       "iops": "5",
       "clusterid": "c5f02013-3767-4de5-a5be-90df197c783c",
       "cifs": "false",
       "availspace": "1024",
       "nfs": "false",
       "type": "volume",
       "throughput": "0",
       "fc": "false",
       "iscsi": "true",
       "id": "d244db0f-a280-3030-a216-4dce890b0933",
       "parentId": "5ef6d74c-4b74-322d-bcfc-f1ad9a731b27",
       ...
       ...
    
       "numericquota": 1048576.0,
       "currentnumericquota": 3072.0,
       "currentavailablequota": 1045504.0,
       "revisionnumber": 0
    	} ] } };22
  3. Lists the available VSMs and their detailed information using the listTsm API.
    Following is a sample request:
    https://1.2.3.4/client/api?command=listTsm&response=json&accountid=7b791118-55be-4439-8cd4-c9ac9bc1bf24
    .
    The accountid value can be fetched from the output of listAccount request.
  4. Sample JSON response

     { "listTsmResponse" : { "count":1 ,"listTsm" : [  {
    	"id": "cf25b459-f91e-3791-9475-254fd30f92ce",
    	"simpleid": 8,
    	"name": "TSM1",
    	"ipaddress": "172.16.30.10",
    	"accountname": "Acc1",
    	"sitename": "Site1",
    	"clustername": "HAG1",
    	"controllerName": "Node1",
    	"controlleripaddress": "172.16.30.1",
    	"clusterstatus": "Online",
    	"hapoolstatus": "ONLINE",
    	"hapoolname": "Pool1",
    	"hapoolavailiops": 0,
    	"hapoolgrace": true,
    	"hapooldeduplication": "off",
    	"hapoolavailtput": 173600,
    	"poollatency": 10,
    	"accountid": "7b791118-55be-4439-8cd4-c9ac9bc1bf24",
    	"controllerid": "1745ab4e-84de-31a0-8fdc-f8fc001a8d58",
    	"poolid": "ca31777d-006c-390e-b507-4f79c501d572",
    	"datasetid": "5ef6d74c-4b74-322d-bcfc-f1ad9a731b27",
    	"storageBuckets": [
    {
    	"clusterid": "c5f02013-3767-4de5-a5be-90df197c783c",
    	"cifs": "null",
    	"nfs": "null",
    	"type": "bucket",
    	...
           ...
           ...
      
    
    	],
    	"qosgrouplist": [
    {
    	"id": "be9b105f-f078-35d0-9c01-c458cd51fb38",
    	"networkspeed": "0",
    	"iops": "5",
    	"latency": "15",
    	"name": "QoS_f58c23f050f84895968491f1d780faa1Acc1TSM1",
    	"memlimit": "0",
    	"throughput": "0"
    },
       
        ]
    } ] } };40