Skip to content

Commit 5a08e62

Browse files
authored
add available_storage_tier_configurations field to package (#286)
* add available_storage_tier_configurations field to package
1 parent c595234 commit 5a08e62

7 files changed

Lines changed: 318 additions & 150 deletions

File tree

gen/go/qdrant/cloud/booking/v1/booking.pb.go

Lines changed: 172 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/booking/v1/booking.swagger.json

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/booking/v1/booking_pb2.py

Lines changed: 42 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/booking/v1/booking_pb2.pyi

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/typescript/qdrant/cloud/booking/v1/booking_pb.d.ts

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/typescript/qdrant/cloud/booking/v1/booking_pb.js

Lines changed: 20 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/qdrant/cloud/booking/v1/booking.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ message Package {
249249
// if not set, additional resources are not available for this package.
250250
// Currently, only `DISK` is supported.
251251
optional AvailableAdditionalResources available_additional_resources = 8;
252+
// Available storage tier configurations and prices.
253+
// Always includes at least COST_OPTIMISED storage tier configuration
254+
repeated AvailableStoragePerformanceTierConfigurations available_storage_tier_configurations = 10 [(buf.validate.field).repeated = {min_items: 1}];
252255
}
253256

254257
// AvailableAdditionalResources represents additional resources that can be added to the cluster.
@@ -259,6 +262,15 @@ message AvailableAdditionalResources {
259262
uint32 disk_price_per_hour = 1;
260263
}
261264

265+
// AvailableStoragePerformanceTierConfigurations represents available storage tier configurations for given package
266+
// region and provider.
267+
message AvailableStoragePerformanceTierConfigurations {
268+
// Represents performance tier type.
269+
qdrant.cloud.common.v1.StorageTierType storage_tier_type = 1;
270+
// Represents additional cost per hour in millicents for given region/provider and pricing tier.
271+
uint32 price_per_hour = 2;
272+
}
273+
262274
// ResourceConfiguration defines the resource configuration for a package.
263275
message ResourceConfiguration {
264276
// The amount of RAM (e.g., "1GiB")

0 commit comments

Comments
 (0)