Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get a file system user quota

Retrieve a specific user quota associated with a filesystem.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/filesystems/{filesystemId}/quotas/user
Parameters
Name Type Required Values Description
filesystemId URI_PARAM Y string Either the file system object ID or HNAS file system ID.
userIdBODYYstringUser ID.
Return codes
Code Data Description
200 quotaQuota retrieved successfully.
400 Error Message Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: Td5qNSpXX4.732uVwjjuN1Wgmxw7yJwL5nygQk79k6pbVg.wvMFqH2" https://172.27.5.11:8444/v8/storage/filesystems/075EAD9FEFAB4EB90000000000000000/quotas/user?userId=55
Response example
HTTP/1.1 200 Ok
{
  "quota": {
    "filesystemId": "075EAD9FEFAB4EB90000000000000000",
    "objectId": "30373545414439464546414234454239303030303030303030303030303030303a3a3a65323536343235322d613731352d313164382d393030632d3963353534373037356537353a3a3a303a3a3a4f49445f24232140255f56",
    "quota": {
      "diskUsage": 0,
      "diskUsageThreshold": {
        "isHard": true,
        "limit": 0,
        "reset": 5,
        "severe": 0,
        "warning": 0
      },
      "fileCountThreshold": {
        "isHard": true,
        "limit": 0,
        "reset": 5,
        "severe": 0,
        "warning": 0
      },
      "fileUsage": 0,
      "globalId": "e2564252-a715-11d8-900c-9c5547075e75",
      "logEvent": false
    },
    "targetDomain": "",
    "targetName": "55",
    "targetType": "USER",
    "virtualServerId": 1
  }
}

 

  • Was this article helpful?