Getting storage information

You can get the information on storage using the GetStorageInfo method.

Required parameters

ParameterDescriptionSupported values
storageIdThe ID of the storage pool you wish to get information for<int> Integer
<int>

Sample request

{
    "jsonrpc":"2.0",
    "visa": "{{visa}}",
    "id":"jsonrpc",
    "method" : "GetStorageInfo",
    "params" : {
        "storageId" : 100
    }
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
        "result": {
            "Id": 100,
            "LocationId": 1,
            "Name": "Storage01",
            "NodeEmptierTrigger": "",
            "NodeFullTrigger": "",
            "PartnerId": 123456
        }
    },
    "visa": "{{visa}}"
}

Did this page help you?