Get a virtual volume group quota

NAS File Storage REST API v7 Reference

Version
14.7.x
14.6.x
Audience
anonymous
Part Number
MK-92HNAS088-05

Retrieve a virtual volume group quota by virtual volume ID.

HTTP request syntax (URI)

GET <base_URI>/v7/storage/virtual-volumes/{vivolObjectId}/quotas/group

Parameters

Name Type Required Values Description
vivolObjectId URI_PARAM Y string Virtual volume object ID.
groupName BODY Y string Group name. If the group is a Windows group then use the format "DOMAIN\\groupname" or if the group is a UNIX group, use the format "groupname".

Return codes

Code Data Description
200 quota Virtual volume group 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/group -d'{"groupName":"development2"}' -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": "development2",
    "targetType": "GROUP"
  }
}