This method gets the assigned license information.

Synopsis

LicenseInfo getLicenseInfo();
LicenseInfo is a data object. It encapsulates information about a license. It has the following fields:
Field Description
editionKey The license edition
costUnit The cost unit for this license. costUnit enumerates the following:
  • cpuPackage: One license is required per CPU package
  • vm: One license is required per VM
  • unknown: Unknown cost unit
total Total capacity of the license
used Number of units currently used from this asset
productName The product name for this license
productVersion The product version for this license
expiryDays Number of days left until the license expires.
expiryDate Expiration date of the license.
inUseFeatures The features in this license.

Faults

  • RuntimeFault

See Faults in Site Recovery Manager API for more details.