[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api

Get Licenses

Description

Get information for current licenses and license usage

Request

Request

URL

URL


get
https://vrni.example.com/api/ni/settings/licensing
Copy

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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

Errors

400

Bad Request


401

Unauthorized


404

Not Found


500

Internal Error

Code Samples

Code Samples

cURL Command

curl https://vrni.example.com/api/ni/settings/licensing


[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Settings Operations
Feedback

Was this page helpful?