Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET info/disk

Returns capacity and usage information for the volumes present on the application's server.

Since Product Version: 2.0

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

DevNet Discussions

Resource URL

/webacs/api/v2/op/info/disk

Unmodified

This resource has not been modified since the previous API version.

Response Parameters

Attribute Description

availableCapacity long

Free/available capacity, in KB.

name String

The name of the volume.

usedCapacity long

Used capacity, in KB.

usedPercentage int

The percentage of the volume used, expressed in whole numbers where 100 is 100%.

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Response Payload

https://localhost/webacs/api/v2/op/info/disk

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v2/op/info/disk" rootUrl="https://localhost/webacs/api/v2/op">
  <volumeDTO>
    <availableCapacity>2</availableCapacity>
    <name>String value</name>
    <usedCapacity>2</usedCapacity>
    <usedPercentage>1</usedPercentage>
  </volumeDTO>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v2/op/info/disk.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v2/op/info/disk",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v2/op",
    "volumeDTO" : [ {
      "availableCapacity" : 2,
      "name" : "String value",
      "usedCapacity" : 2,
      "usedPercentage" : 1
    } ]
  }
}