diff options
author | mokhotskii <mokhotskii@yandex-team.ru> | 2022-06-10 14:51:48 +0300 |
---|---|---|
committer | mokhotskii <mokhotskii@yandex-team.ru> | 2022-06-10 14:51:48 +0300 |
commit | 8737f367c032403e12094d6075c41df0173bb307 (patch) | |
tree | 57fac132c35ee3a36aa2b79d0af32427d7c111e0 /library/cpp/ipmath | |
parent | c7b4bbd7ffa7caccea787cd7e0564809b84f9a18 (diff) | |
download | ydb-8737f367c032403e12094d6075c41df0173bb307.tar.gz |
LOGBROKER-7166 Extend simulate_datastream method for new YDS billing plan
Introduce simulate method for new YDS billing plan
%%
mokhotskii@lbk-dev-02:~$ curl -v -X POST --header 'Accept: application/json' 'localhost:8788/ydbc/cloud-preprod/v1/simulate_datastream?databaseId=cc89j6tm0uq9q2ojq6fh&shards=1&writeQuotaKbps=512&storageLimitMb=1024'
* Hostname was NOT found in DNS cache
* Trying ::1...
* Connected to localhost (::1) port 8788 (#0)
> POST /ydbc/cloud-preprod/v1/simulate_datastream?databaseId=cc89j6tm0uq9q2ojq6fh&shards=1&writeQuotaKbps=512&storageLimitMb=1024 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:8788
> Authorization: Bearer t1.9eudmZ2UjpCamZ2Pi5edkZWLlJySm-3rnZmdxs3MnpuXxo3Oic2cicmax5bl8_cVX3dq-e8mE3p-_d3z91UNdWr57yYTen79._BHOALBYkhQyDiMps4TWNpALDpuQPbphUbZRVlpBKnRji7-1E7l2ztA0aI5T2G-PsXN_uFJsk7zpqcTTT8tqBw
> Accept: application/json
>
POST /ydbc/cloud-preprod/simulate_datastream?databaseId=cc89j6tm0uq9q2ojq6fh&shards=1&writeQuota=512000&retentionHours=24 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:8788
> Authorization: Bearer t1.9eudmZ2UjpCamZ2Pi5edkZWLlJySm-3rnZmdxs3MnpuXxo3Oic2cicmax5bl8_cVX3dq-e8mE3p-_d3z91UNdWr57yYTen79._BHOALBYkhQyDiMps4TWNpALDpuQPbphUbZRVlpBKnRji7-1E7l2ztA0aI5T2G-PsXN_uFJsk7zpqcTTT8tqBw
> Accept: application/json
>
ref:1ca63ff88eca28e8dbf8b13061a2eac11fa5e3cb
Diffstat (limited to 'library/cpp/ipmath')
0 files changed, 0 insertions, 0 deletions