Queries the billing mode of a Metricstore.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /metricstores/{metricStore}/meteringmode HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| project | string | Yes | The name of the project. | projectName |
| metricStore | string | Yes | metricStore | metricStoreName |
Response parameters
Examples
Sample success responses
JSONformat
{
"meteringMode": "ChargeByFunction"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-09-19 | The response structure of the API has changed | View Change Details |
