ImportLicenseResultDto
ImportLicenseResultDto
Result of a successful import
JSON Example
{
"license": {
"serialNumber": "string",
"product": "string",
"validFrom": "string",
"validTo": "string",
"cores": 0,
"status": "string",
"contributionCores": 0,
"importedAt": "string",
"importedBy": "string",
"deletable": false
},
"summary": {
"state": "string",
"restricted": false,
"overCapacity": false,
"validLicenseCount": 0,
"entitledCores": 0,
"consumedCores": 0,
"availableCores": 0,
"overageCores": 0,
"registeredAgents": 0,
"onlineAgents": 0,
"offlineAgents": 0,
"consumingHosts": 0,
"reclaimedHosts": 0,
"hostsWithUnknownTopology": 0,
"inactiveAgentDays": 0,
"nextExpiry": {
"serialNumber": "string",
"validTo": "string",
"daysLeft": 0
},
"lastExpiry": {
"serialNumber": "string",
"validTo": "string",
"daysLeft": 0
},
"graceEndsAt": "string",
"evaluatedAt": "string",
"inventoryObservedAt": "string"
},
"action": "string",
"previous": {
"cores": 0,
"validFrom": "string",
"validTo": "string"
}
}
summary
Required
Pooled entitlement, measured consumption and state. restricted is true for NO_LICENSE and RESTRICTED
action
Required
What an accepted import did
INSTALLED: The serial number was not installed before; the license was stored as a new oneUPDATED: The serial number was already installed; its file, cores and dates were replaced
Enumeration:
INSTALLED,
UPDATED
object
previous
Optional
The term that was replaced when action is UPDATED; null for a new install