Queries the billing mode of a Logstore.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetLogStoreMeteringMode |
get |
*All Resource
|
None | None |
Request syntax
GET /logstores/{logstore}/meteringmode HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| logstore |
string |
Yes |
The name of the Logstore. |
logstoreName |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
projectName |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| meteringMode |
string |
The billing mode. Default value: ChargeByFunction. Valid values: ChargeByFunction and ChargeByDataIngest. |
ChargeByFunction |
Examples
Success response
JSON format
{
"meteringMode": "ChargeByFunction"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.