Query License Usage

Query License Usage

An API for fetching the count of all physical and virtual devices discovered in each domain manager.

Request
URI
GET
https://{api_host}/tcsa/api/license-management/v1/license-usage
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

Ok

Returns BrokerConfigurationResponse of type(s) application/json
{
    "brokers": [
        {
            "host": "haas-us-wgt-95-107.eng.vmware.com",
            "port": 426,
            "domains": [
                {
                    "name": "INCHARGE-AM-PM",
                    "host": "haas-us-wgt-95-107.eng.vmware.com",
                    "type": "IP",
                    "instances": [
                        {
                            "class": "Switch",
                            "total": 2,
                            "managed": 1
                        }
                    ]
                }
            ]
        }
    ]
}
array of object
brokers
Optional

Total number of Brokers


400

Invalid Request sent by the user

Operation doesn't return any data structure

401

User authentication failed

Operation doesn't return any data structure

403

Access to the requested resource/operation is forbidden

Operation doesn't return any data structure

404

Cannot find requested resource

Operation doesn't return any data structure

500

Internal server error

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/tcsa/api/license-management/v1/license-usage