Mengkueri mode penagihan Logstore.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetLogStoreMeteringMode |
get |
*All Resource
|
None | None |
Sintaks permintaan
GET /logstores/{logstore}/meteringmode HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| logstore |
string |
Yes |
Nama Logstore. |
logstoreName |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
projectName |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| meteringMode |
string |
Mode penagihan. Nilai default: ChargeByFunction. Nilai yang valid: ChargeByFunction dan ChargeByDataIngest. |
ChargeByFunction |
Contoh
Respons sukses
JSONformat
{
"meteringMode": "ChargeByFunction"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.