license

The license data type retrieves information about current and past storage licenses.

license data type properties

The following table describes the properties included in the license data type.

Property nameData typeDescriptionNotes
localCapacityLongSpecifies the active storage capacity in terabytes.Value is returned in bytes.
expirationDateString

Specifies the storage license expiration date.

If there is no expiration date, enter None.

extendedCapacityLongSpecifies the extended storage capacity in terabytes.Value is returned in bytes.
featureString

Specifies the type of license. Valid values are:

  • Basic
  • Premium
serialNumberStringSpecifies the serial number of the HCP system the storage license is intended for.
uploadDateStringSpecifies the date that the license was uploaded.This property is returned only by a verbose GET request.

Example

Here’s an XML example of the license data type:

<license>
         <localCapacity>10000000000000</activeCapacity>
         <expirationDate>Jan 1, 2021</expirationDate>
         <extendedCapacity>0</extendedCapacity>
         <feature>Premium</feature>
         <serialNumber>12345</serialNumber>
         <uploadDate>Aug 14, 2016</uploadDate>
</license>