Get Licenses
Get information for current licenses and license usage
Request
URI
GET
https://vrni.example.com/api/ni/settings/licensing/
COPY
Responses
200
OK
Returns LicensingResponse of type(s) application/json
{
"result": {
"licenses": [
{
"productName": "VMware vRealize Network Insight",
"evaluation": false,
"licenseKey": "AAAAA-BBBBB-CCCCC-DDDDD-EEEE",
"numberOfSockets": 25,
"serviceTag": "CPN0EgdEOFVWNzM0",
"deploymentType": "onprem",
"capacityType": "string",
"edition": "string",
"suspended": false,
"deleted": false,
"invalid": false,
"entitlements": [
{
"capacityType": "string",
"count": 0
}
]
}
],
"licenseUsage": [
[
{
"type": "string",
"unit": "string",
"count": 132,
"socketsUsed": 132,
"coresUsed": 1584,
"edgesUsed": 0,
"devicesUsed": 0,
"query": "Hosts where manager.SDDC Type = 'ONPREM' and model != 'VMware Mobility Platform' and Witness = False group by manager order by sum(CPU Sockets)"
}
]
],
"customerId": 10000,
"cpuCapacity": 10,
"ccuCapacity": 10,
"vmCapacity": 10,
"coreCapacity": 10,
"edgeCapacity": 10,
"serviceTag": "CJBOEgdEQVMzWTFI",
"expireDate": 10,
"enterprise": false,
"evaluation": false,
"numOfEnterpriseLicense": 10,
"numOfValidLicense": 1,
"numOfValidEnterpriseLicense": 10,
"numOfValidSDWANLicense": 5,
"numOfValidNAVLicense": 2,
"numOfValidAdvancedLicense": 5,
"numOfValidROBOLicense": 1,
"numOfActiveLicense": 1,
"numOfActiveEnterpriseLicense": 2,
"numOfActiveSDWANLicense": 1,
"numOfActiveNAVLicense": 7,
"numOfActiveAdvancedLicense": 5,
"numOfActiveROBOLicense": 10,
"usedSockets": 64,
"usedCores": 768,
"usedEdges": 10,
"usedDevices": 10
}
}
object
result
Optional
result
400
Bad Request
Returns ApiError of type(s) application/json
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
integer As int32 As int32
code
Optional
code
string
message
Optional
message
401
Unauthorized
Returns ApiError of type(s) application/json
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
integer As int32 As int32
code
Optional
code
string
message
Optional
message
404
Not Found
Returns ApiError of type(s) application/json
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
integer As int32 As int32
code
Optional
code
string
message
Optional
message
500
Internal Error
Operation doesn't return any data structure
Settings Operations
POST
Activate Serial Number
POST
Add new SNMP Trap destination profile
POST
Add Backup Config
POST
Add Ip Tag
POST
Add Restore Config
POST
Add Vidm User
POST
Add Vidm User Group
POST
Add Web Proxy
POST
Create Subnet Mapping
POST
Create User Defined Event
DELETE
Deactivate Serial Number
DELETE
Delete An existing SNMP Trap destination profile
DELETE
Delete Backup Config
DELETE
Delete Restore Config
DELETE
Delete Subnet Mapping
DELETE
Delete User
DELETE
Delete User Defined Event
DELETE
Delete User Group
DELETE
Delete Vidm Configuration
DELETE
Delete Web Proxy
POST
Disable User Defined Event
POST
Disable Vidm
POST
Enable User Defined Event
POST
Enable Vidm
GET
Get details Of An existing SNMP destination profile
GET
Get All User Defined Events
GET
Get Backup Config
GET
Get Backup Status Report
GET
Get Certificate
GET
Get Connected Clients To Web Proxy
GET
Get Infra Nodes Web Proxy
GET
Get Ip Tag
GET
Get Ip Tag Ids
GET
Get Licenses
GET
Get Restore Config
GET
Get Restore Status Report
GET
Get Subnet Mappings
GET
Get User
GET
Get User Defined Event
GET
Get User Group
GET
Get User Groups
GET
Get Users
GET
Get Vidm Configuration
GET
Get Web Proxies
GET
Get Web Proxy
GET
List the configured SNMP Trap destination profiles
POST
Migrate event subscriptions To other SNMP Trap destination profiles
POST
Remove Ip Tag
POST
Save Vidm Configuration
POST
Send Test trap To SNMP destination profile
PUT
Update An existing SNMP destination profile
PUT
Update user password
PUT
Update Backup Config
PUT
Update Subnet Mapping
PUT
Update User Defined Event
PUT
Update Vidm Configuration
PUT
Update Vidm User Group Role
PUT
Update Vidm User Role
PUT
Update Web Proxy
POST
Validate Connections Via Web Proxy
POST
Validate Serial Number
POST
Validate Web Proxy Migration