[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Get Licenses
DescriptionGet information for current licenses and license usage
Request
Operation doesn't accept any path, query or header parameters.
URL
https://vrni.example.com/api/ni/settings/licensing
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
LicensingResponse
of type(s) application/json
{
"result": {
"ccuCapacity": 10,
"coreCapacity": 10,
"cpuCapacity": 10,
"customerId": 10000,
"edgeCapacity": 10,
"enterprise": false,
"evaluation": false,
"expireDate": 10,
"licenseUsage": [
{
"coresUsed": 1584,
"count": 132,
"devicesUsed": 0,
"edgesUsed": 0,
"query": "Hosts where manager.SDDC Type = 'ONPREM' and model != 'VMware Mobility Platform' and Witness = False group by manager order by sum(CPU Sockets)",
"socketsUsed": 132,
"type": "VMware vSphere",
"unit": "CPUs"
}
],
"licenses": [
{
"capacityType": "CPU",
"deleted": false,
"deploymentType": "onprem",
"edition": "ADVANCED",
"entitlements": [
{
"capacityType": "CPU",
"count": 0
}
],
"evaluation": false,
"invalid": false,
"licenseKey": "AAAAA-BBBBB-CCCCC-DDDDD-EEEE",
"numberOfSockets": 25,
"productName": "VMware vRealize Network Insight",
"serviceTag": "CPN0EgdEOFVWNzM0",
"suspended": false
}
],
"numOfActiveAdvancedLicense": 5,
"numOfActiveEnterpriseLicense": 2,
"numOfActiveLicense": 1,
"numOfActiveNAVLicense": 7,
"numOfActiveROBOLicense": 10,
"numOfActiveSDWANLicense": 1,
"numOfEnterpriseLicense": 10,
"numOfValidAdvancedLicense": 5,
"numOfValidEnterpriseLicense": 10,
"numOfValidLicense": 1,
"numOfValidNAVLicense": 2,
"numOfValidROBOLicense": 1,
"numOfValidSDWANLicense": 5,
"serviceTag": "CJBOEgdEQVMzWTFI",
"usedCores": 768,
"usedDevices": 10,
"usedEdges": 10,
"usedSockets": 64,
"vmCapacity": 10
}
}
Errors
ApiError
400
Bad Request
ApiError
401
Unauthorized
ApiError
404
Not Found
500
Internal Error
Code Samples
cURL Command
curl https://vrni.example.com/api/ni/settings/licensing
[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
On This Page
Settings Operations
post
post
post
post
post
post
post
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
post
post
get
get
get
get
get
get
get
get
get
get
get
post
put