Skip to main content

We've Moved!

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

Get a virtual volume quota

Retrieves a virtual volume quota by virtual volume ID.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/virtual-volumes/{vivolObjectId}/quotas
Parameters
Name Type Required Values Description
vivolObjectId URI_PARAM Y string Virtual volume object ID.
Return codes
Code Data Description
200 virtualVolumeQuota virtualVolumeQuota 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/353a3a3a37353431323730394531434239414142303030303030303030303030303030303a3a3a3136/quotas
Response example
HTTP/1.1 200 Ok
{
  "virtaulVolumeQuota" :
  {
    "filesystemId" : "864553F647F8647D0000000000000000",
    "objectId" : "333a3a3a38363435353346363437463836343744303030303030303030303030303030303a3a3a313a3a3a303a3a3a4f49445f24232140255f56",
    "quota" :
    {
      "diskUsage" : 0, 
      "diskUsageThreshold" :
      {
        "isHard" : false, 
        "limit" : 2147483648,
        "reset" : 5,
        "severe" : 85,
        "warning" : 75
      },
      "fileCountThreshold" :
      {
        "isHard" : false, 
        "limit" : 3,
        "reset" : 5,
        "severe" : 85,
        "warning" : 75
      },
      "fileUsage" : 0, 
      "logEvent" : true, 
      "targetDomain" : "",
      "targetName" : "Network", 
      "targetType" : "VIRTUAL_VOLUME"
    },
    "virtualServerId" : 3,
    "virtualVolumeId" : 1,
  }
}

 

  • Was this article helpful?