Get features that the license manager works with
The remoteMode field - is a local or network feature (1 is local, 3 is both network and local)
The consumptionMode field - is the distribution of floating licenses (0 is per workstation, 1 is per login, 2 is per process).
The floatingResource field - is the remaining free floating licenses.
The maxConcurrentResource field - is the maximum number of network licenses.
The reservedResource field - is the number of reserved licenses.
The currentRunCounterValue field - is the current launch counter (for features with a limited number of launches).
The maxRunCounter field - is the maximum launch counter (for features with a limited number of launches).
The validFromDate field - is the start time in seconds from January 1, 1970. (for features with a limited time of operation).
The validUpToDate field - is the end time in seconds from January 1, 1970. (for features with a limited time of operation).
The restOfLifeTimeDays field - is the remaining feature life in days (for features with a limited lifespan).
The sessionsCount field - is the number of active sessions for the feature.
The flags.rdpForbidden flag - is whether the feature is allowed/prohibited in Remote Desktop mode.
The flags.vmForbidden flag - is whether the feature is allowed/prohibited on a virtual machine.
The flags.expired flag - is whether the feature license terms has expired (launches have ended or the operating time has expired).
Network feature resource definition:
If remoteMode == 1, then the feature is local ("Local PC") and network resource definition is not required for it
If remoteMode == 3, then the feature is network and it is necessary to look at the consumptionMode, maxConcurrentResource, floatingResource fields.
Depending on consumptionMode:
0: Message text "(maxConcurrentResource - floatingResource)/maxConcurrentResource workstations"
1: Message text "(maxConcurrentResource - floatingResource)/maxConcurrentResource connections"
2: Message text "(maxConcurrentResource - floatingResource)/maxConcurrentResource software copies"
The number of launches limitations and the feature lifetime:
1. If maxRunCounter > 0 , then the feature has a the number of launches limitation. License restrictions: "currentRunCounterValue from maxRunCounter"
2. If restOfLifeTimeDays > 0, then the feature has a lifetime limitation from the start of use. If the feature has started working, the validFromDate and validUpToDate fields will also be filled in. License restrictions: "restOfLifeTimeDays"
3. If validFromDate > 0 && validUpToDate > 0 && restOfLifeTimeDays == 0, then the feature has a lifetime limitation in an absolute interval. License restrictions: "from validFromDate to validUpToDate"
4. If validFromDate == 0 && validUpToDate > 0 && restOfLifeTimeDays == 0, then the feature will finish working at the specified time. License restrictions: "to validUpToDate"
5. In other cases, license restrictions: "perpetual license"
GET /v1.0/lm/features
Returns the features array:
{
"features": [
{
"consumptionMode": 0,
"currentRunCounterValue": 0,
"featureNumber": 2,
"flags": {
"expired": false,
"rdpForbidden": true,
"vmForbidden": false
},
"floatingResource": 10,
"maxConcurrentResource": 10,
"maxRunCounter": 0,
"name": "Documentation test",
"productModification": 0,
"productName": "Test GCC",
"productNumber": 16,
"remoteMode": 3,
"reservedResource": 0,
"restOfLifeTimeDays": 0,
"sessionsCount": 0,
"validFromDate": 0,
"validUpToDate": 0,
"vendor": {
"publicCode": 1368487351,
"publicCodeText": "DEMONVK"
}
},
{
"consumptionMode": 1,
"currentRunCounterValue": 0,
"featureNumber": 4,
"flags": {
"expired": false,
"rdpForbidden": true,
"vmForbidden": false
},
"floatingResource": 9,
"maxConcurrentResource": 10,
"maxRunCounter": 0,
"name": "Feature is out of license",
"productModification": 0,
"productName": "Test GCC",
"productNumber": 16,
"remoteMode": 3,
"reservedResource": 1,
"restOfLifeTimeDays": 49,
"sessionsCount": 0,
"validFromDate": 1589920649,
"validUpToDate": 1594240649,
"vendor": {
"publicCode": 1368487351,
"publicCodeText": "DEMONVK"
}
},
{
"consumptionMode": 0,
"currentRunCounterValue": 0,
"featureNumber": 2,
"flags": {
"expired": false,
"rdpForbidden": true,
"vmForbidden": false
},
"floatingResource": 0,
"maxConcurrentResource": 0,
"maxRunCounter": 0,
"name": "Documentation test",
"productModification": 0,
"productName": "Test DL VMware Standard",
"productNumber": 13,
"remoteMode": 1,
"reservedResource": 0,
"restOfLifeTimeDays": 0,
"sessionsCount": 0,
"validFromDate": 0,
"validUpToDate": 0,
"vendor": {
"publicCode": 1368487351,
"publicCodeText": "DEMONVK"
}
}
]
}