Skip to main content

We've Moved!

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

Get a virtual volume user quota

Retrieves a virtual volume user quota by virtual volume ID.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/virtual-volumes/{vivolObjectId}/quotas/user
Parameters
Name Type Required Values Description
vivolObjectId URI_PARAM Y string Virtual volume object ID.
userNameBODYYstringUser name. If the user is a Windows user, then use the format "DOMAIN\\username" or if the user is a UNIX user, use the format "username" .
Return codes
Code Data Description
200 quota Virtual volume user quota object is returned.
400 No Data Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.
501 No Data Server has not implemented the request operation on the resource.

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/v7/storage/virtual-volumes/323a3a3a37353436443936453941434144454437303030303030303030303030303030303a3a3a313a3a3a303a3a3a4f49445f24232140255f56/quotas/user -d '{"userName":"514"}' -X GET
Response example
HTTP/1.1 200 OK
{
  "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,
    "logEvent": false,
    "targetDomain": "",
    "targetName": "514",
    "targetType": "USER"
  }
}

 

  • Was this article helpful?