Skip to main content

We've Moved!

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

Get the default user quota template for a file system

Gets the default user quota template for a file system.

This API call has changed in version 8.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/filesystems/{filesystemId}/quota-templates/user
Parameters
Name Type Required Values Description
filesystemId URI_PARAM Y string Either the file system object ID or HNAS file system ID.
Return codes
Code Data Description
200 quotaTemplate User quota template successfully retrieved.
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: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.57.75:8444/v8/storage/filesystems/864553F647F8647D0000000000000000/quota-templates/user
Response example
HTTP/1.1 200 OK
{
  "quotaTemplate": {
    "filesystemId": "075EAD9FEFAB4EB90000000000000000",
    "ignoreDomainUsers": false,
    "quota": {
      "diskUsage": 0,
      "diskUsageThreshold": {
        "isHard": false,
        "limit": 0,
        "reset": 0,
        "severe": 0,
        "warning": 0
      },
      "fileCountThreshold": {
        "isHard": false,
        "limit": 0,
        "reset": 0,
        "severe": 0,
        "warning": 0
      },
      "fileUsage": 0,
      "logEvent": false
    },
    "targetType": "user",
    "virtualServerId": 1
  }
}

 

  • Was this article helpful?