Post Agent

Post Agent

Register a usage metering agent.

Request
URI
POST
https://console.cloud.vmware.com/commerce/usage-insight/api/usage-metering-agents
COPY
Request Body

the specification of the metering agent that will be registered

RegistrationSpec of type(s) application/json
Required

Show optional properties

{
    "agentId": "string",
    "label": "string"
}
{
    "agentId": "string",
    "label": "string",
    "meteringMode": "string"
}
string As uuid As uuid
agentId
Required

the ID of the usage metering agent

string
label
Required

Human readable label for the agent

string
meteringMode
Optional

the MeteringMode of the agent

Possible values are : PRODUCTION, TEST,
Authentication
This operation uses the following authentication methods.
Responses
201

Created

Operation doesn't return any data structure