Skip to main content

We've Moved!

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

Get a quota

Get a filesystem or virtual volume quota by object ID.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/quotas/{quotaObjectId}
Parameters
Name Type Required Values Description
quotaObjectId URI_PARAM Y string Quota object ID.
Return codes
Code Data Description
200 quota Quota 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: Retrieve the virtual volume quota but ignore any user and group ones
curl -vk -H "X-Api-Key: Td5qNSpXX4.732uVwjjuN1Wgmxw7yJwL5nygQk79k6pbVg.wvMFqH2" https://172.27.5.11:8444/v8/storage/quotas/30373545414439464546414234454239303030303030303030303030303030303a3a3a62373962656232342d613731362d313164382d393030662d3963353534373037356537353a3a3a303a3a3a4f49445f24232140255f56
Response example
HTTP/1.1 200 OK
{
  "quota": {
    "filesystemId": "075EAD9FEFAB4EB90000000000000000",
    "objectId": "30373545414439464546414234454239303030303030303030303030303030303a3a3a62373962656232342d613731362d313164382d393030662d3963353534373037356537353a3a3a303a3a3a4f49445f24232140255f56",
    "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": "b79beb24-a716-11d8-900f-9c5547075e75",
      "logEvent": false
    },
    "targetDomain": "PROTOCOLS",
    "targetName": "Domain Users",
    "targetType": "GROUP",
    "virtualServerId": 1
  }
}

 

  • Was this article helpful?