Get Customer Usage Data
Usage data that includes awsVMCount, azureVMCount etc.
Request
URI
GET
https://{api_host}/ni/api/ni/customers/usage
COPY
Responses
200
OK
Returns
CustomerUsageDataResponse
of type(s)
application/json
{
"deploymentId": "string",
"customerId": 0,
"orgId": "string",
"status": "SUCCESS",
"usage": {
"awsVMCount": 0,
"azureVMCount": 0,
"vcVMCount": 0,
"activeFlowsCount": 0,
"devicesCount": 0,
"totalFlowsCount": 0,
"networkRulesCount": 0,
"fbadVMCount": 0
}
}
string
deploymentId
Optional
Deployment ID
integer As int32
As int32
customerId
Optional
customerId
string
orgId
Optional
Organization ID (Only in case of VRNI-Cloud)
string
status
Optional
status
Possible values are :
SUCCESS,
FAILED,
object
usage
Optional
usage
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
500
Internal Error
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/ni/api/ni/customers/usage