POST /licensing/ledger/details

POST /licensing/ledger/details

/licensing/ledger/details

Request
URI
POST
https://{api_host}/api/licensing/ledger/details
COPY
Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.

string
X-CSRFToken
Optional

Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.


Request Body

LicenseLedgerDetails object creation

LicenseLedgerDetails of type(s) application/json
Optional
{
    "_last_modified": "string",
    "escrow_infos": [
        {
            "last_updated": 0,
            "service_cores": "number",
            "tenant_uuid": "string",
            "tier": "string",
            "uuid": "string"
        }
    ],
    "se_infos": [
        {
            "last_updated": 0,
            "service_cores": "number",
            "tenant_uuid": "string",
            "tier": "string",
            "uuid": "string"
        }
    ],
    "tier_usages": [
        {
            "tier": "string",
            "usage": {
                "available": "number",
                "consumed": "number",
                "escrow": "number",
                "remaining": "number"
            }
        }
    ],
    "url": "string",
    "uuid": "string"
}
Responses
200

OK

Returns LicenseLedgerDetails of type(s) application/json
"LicenseLedgerDetails Object"
string
_last_modified
Optional

UNIX time since epoch in microseconds. Units(MICROSECONDS).

array of object
escrow_infos
Optional

Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of object
se_infos
Optional

Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of object
tier_usages
Optional

License usage per tier. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
url
Optional

url

string
uuid
Optional

Uuid for reference. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/licensing/ledger/details