yandexcloud 0.349.0__py3-none-any.whl → 0.351.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/ai/assistants/v1/assistant_pb2.py +4 -4
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +26 -26
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +14 -4
- yandex/cloud/ai/assistants/v1/common_pb2.py +5 -1
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +50 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +28 -28
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +8 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +2 -2
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +20 -16
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +62 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +24 -23
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +15 -2
- yandex/cloud/ai/ocr/v1/ocr_pb2.py +24 -20
- yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +72 -2
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/backup/v1/policy_pb2.py +56 -52
- yandex/cloud/backup/v1/policy_pb2.pyi +64 -1
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.pyi +8 -2
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
- yandex/cloud/gitlab/v1/instance_pb2.pyi +58 -4
- yandex/cloud/gitlab/v1/instance_service_pb2.py +50 -27
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +163 -2
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +62 -9
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +50 -6
- yandex/cloud/gitlab/v1/maintenance_pb2.pyi +10 -3
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +34 -1
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +86 -63
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +86 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +52 -46
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +63 -8
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +54 -10
- yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +3 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +142 -142
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +234 -234
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +38 -32
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +40 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +24 -6
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +140 -139
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +42 -42
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +36 -36
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +114 -114
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/metastore/v1/cluster_pb2.py +16 -20
- yandex/cloud/metastore/v1/cluster_pb2.pyi +1 -31
- yandex/cloud/metastore/v1/cluster_service_pb2.py +44 -50
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +3 -35
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +12 -12
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
- yandex/cloud/monitoring/v3/link_pb2.py +8 -4
- yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +8 -8
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +1 -5
- yandex/cloud/spark/v1/cluster_pb2.py +29 -25
- yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/storage/v1/bucket_pb2.py +78 -78
- yandex/cloud/storage/v1/bucket_pb2.pyi +5 -1
- yandex/cloud/storage/v1/bucket_service_pb2.py +4 -2
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +43 -0
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/channel_service_pb2.py +34 -28
- yandex/cloud/video/v1/episode_service_pb2.py +58 -52
- yandex/cloud/video/v1/playlist_pb2.py +14 -5
- yandex/cloud/video/v1/playlist_service_pb2.py +36 -30
- yandex/cloud/video/v1/stream_line_service_pb2.py +46 -46
- yandex/cloud/video/v1/stream_service_pb2.py +50 -44
- yandex/cloud/video/v1/subtitle_pb2.pyi +1 -4
- yandex/cloud/video/v1/subtitle_service_pb2.py +19 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +1 -4
- yandex/cloud/video/v1/video_pb2.pyi +1 -1
- yandex/cloud/video/v1/video_service_pb2.py +90 -84
- yandex/cloud/video/v1/video_service_pb2.pyi +4 -12
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +10 -2
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/RECORD +160 -160
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/top_level.txt +0 -0
|
@@ -108,6 +108,18 @@ class NetworkLoadBalancerServiceStub:
|
|
|
108
108
|
]
|
|
109
109
|
"""Lists operations for the specified network load balancer."""
|
|
110
110
|
|
|
111
|
+
DisableZones: grpc.UnaryUnaryMultiCallable[
|
|
112
|
+
yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.DisableZonesRequest,
|
|
113
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
114
|
+
]
|
|
115
|
+
"""Disable zones for the specified network load balancer."""
|
|
116
|
+
|
|
117
|
+
EnableZones: grpc.UnaryUnaryMultiCallable[
|
|
118
|
+
yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.EnableZonesRequest,
|
|
119
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
120
|
+
]
|
|
121
|
+
"""Enable zones for the specified network load balancer."""
|
|
122
|
+
|
|
111
123
|
class NetworkLoadBalancerServiceAsyncStub:
|
|
112
124
|
"""A set of methods for managing NetworkLoadBalancer resources."""
|
|
113
125
|
|
|
@@ -196,6 +208,18 @@ class NetworkLoadBalancerServiceAsyncStub:
|
|
|
196
208
|
]
|
|
197
209
|
"""Lists operations for the specified network load balancer."""
|
|
198
210
|
|
|
211
|
+
DisableZones: grpc.aio.UnaryUnaryMultiCallable[
|
|
212
|
+
yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.DisableZonesRequest,
|
|
213
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
214
|
+
]
|
|
215
|
+
"""Disable zones for the specified network load balancer."""
|
|
216
|
+
|
|
217
|
+
EnableZones: grpc.aio.UnaryUnaryMultiCallable[
|
|
218
|
+
yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.EnableZonesRequest,
|
|
219
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
220
|
+
]
|
|
221
|
+
"""Enable zones for the specified network load balancer."""
|
|
222
|
+
|
|
199
223
|
class NetworkLoadBalancerServiceServicer(metaclass=abc.ABCMeta):
|
|
200
224
|
"""A set of methods for managing NetworkLoadBalancer resources."""
|
|
201
225
|
|
|
@@ -310,4 +334,20 @@ class NetworkLoadBalancerServiceServicer(metaclass=abc.ABCMeta):
|
|
|
310
334
|
) -> typing.Union[yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.ListNetworkLoadBalancerOperationsResponse, collections.abc.Awaitable[yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.ListNetworkLoadBalancerOperationsResponse]]:
|
|
311
335
|
"""Lists operations for the specified network load balancer."""
|
|
312
336
|
|
|
337
|
+
@abc.abstractmethod
|
|
338
|
+
def DisableZones(
|
|
339
|
+
self,
|
|
340
|
+
request: yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.DisableZonesRequest,
|
|
341
|
+
context: _ServicerContext,
|
|
342
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
343
|
+
"""Disable zones for the specified network load balancer."""
|
|
344
|
+
|
|
345
|
+
@abc.abstractmethod
|
|
346
|
+
def EnableZones(
|
|
347
|
+
self,
|
|
348
|
+
request: yandex.cloud.loadbalancer.v1.network_load_balancer_service_pb2.EnableZonesRequest,
|
|
349
|
+
context: _ServicerContext,
|
|
350
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
351
|
+
"""Enable zones for the specified network load balancer."""
|
|
352
|
+
|
|
313
353
|
def add_NetworkLoadBalancerServiceServicer_to_server(servicer: NetworkLoadBalancerServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -30,7 +30,7 @@ from yandex.cloud.mdb.clickhouse.v1 import maintenance_pb2 as yandex_dot_cloud_d
|
|
|
30
30
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/clickhouse/v1/cluster.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x36yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto\x1a\x30yandex/cloud/mdb/clickhouse/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/clickhouse/v1/cluster.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x36yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto\x1a\x30yandex/cloud/mdb/clickhouse/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x8c\t\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x43\n\x06labels\x18\x06 \x03(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.LabelsEntry\x12H\n\x0b\x65nvironment\x18\x07 \x01(\x0e\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.Environment\x12>\n\nmonitoring\x18\x08 \x03(\x0b\x32*.yandex.cloud.mdb.clickhouse.v1.Monitoring\x12=\n\x06\x63onfig\x18\t \x01(\x0b\x32-.yandex.cloud.mdb.clickhouse.v1.ClusterConfig\x12\x12\n\nnetwork_id\x18\n \x01(\t\x12>\n\x06health\x18\x0b \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Health\x12>\n\x06status\x18\x0c \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Status\x12\x1a\n\x12service_account_id\x18\r \x01(\t\x12M\n\x12maintenance_window\x18\x0e \x01(\x0b\x32\x31.yandex.cloud.mdb.clickhouse.v1.MaintenanceWindow\x12O\n\x11planned_operation\x18\x0f \x01(\x0b\x32\x34.yandex.cloud.mdb.clickhouse.v1.MaintenanceOperation\x12\x1a\n\x12security_group_ids\x18\x10 \x03(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x11 \x01(\x08\x12<\n\x16\x64isk_encryption_key_id\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\r\n\tPRESTABLE\x10\x02\"?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07J\x04\x08\x12\x10\x13\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xe4\x07\n\rClusterConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12L\n\nclickhouse\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Clickhouse\x12J\n\tzookeeper\x18\x03 \x01(\x0b\x32\x37.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Zookeeper\x12\x33\n\x13\x62\x61\x63kup_window_start\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\x0b\x32&.yandex.cloud.mdb.clickhouse.v1.Access\x12\x43\n\rcloud_storage\x18\x06 \x01(\x0b\x32,.yandex.cloud.mdb.clickhouse.v1.CloudStorage\x12;\n\x17sql_database_management\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13sql_user_management\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0f\x65mbedded_keeper\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x19\x62\x61\x63kup_retain_period_days\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\xea\x01\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x03 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\x1a\x9d\x01\n\tZookeeper\x12<\n\tresources\x18\x01 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x02 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"f\n\x05Shard\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12;\n\x06\x63onfig\x18\x03 \x01(\x0b\x32+.yandex.cloud.mdb.clickhouse.v1.ShardConfig\"?\n\x06Shards\x12\x35\n\x06shards\x18\x01 \x03(\x0b\x32%.yandex.cloud.mdb.clickhouse.v1.Shard\"X\n\nShardGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bshard_names\x18\x04 \x03(\t\"\xf3\x02\n\x0bShardConfig\x12J\n\nclickhouse\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.mdb.clickhouse.v1.ShardConfig.Clickhouse\x1a\x97\x02\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12+\n\x06weight\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12R\n\x15\x64isk_size_autoscaling\x18\x04 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"\xe0\x03\n\x04Host\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x37\n\x04type\x18\x04 \x01(\x0e\x32).yandex.cloud.mdb.clickhouse.v1.Host.Type\x12<\n\tresources\x18\x05 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12;\n\x06health\x18\x06 \x01(\x0e\x32+.yandex.cloud.mdb.clickhouse.v1.Host.Health\x12\x39\n\x08services\x18\x07 \x03(\x0b\x32\'.yandex.cloud.mdb.clickhouse.v1.Service\x12\x11\n\tsubnet_id\x18\x08 \x01(\t\x12\x18\n\x10\x61ssign_public_ip\x18\t \x01(\x08\x12\x12\n\nshard_name\x18\n \x01(\t\";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCLICKHOUSE\x10\x01\x12\r\n\tZOOKEEPER\x10\x02\"8\n\x06Health\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"\xee\x01\n\x07Service\x12:\n\x04type\x18\x01 \x01(\x0e\x32,.yandex.cloud.mdb.clickhouse.v1.Service.Type\x12>\n\x06health\x18\x02 \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Service.Health\";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCLICKHOUSE\x10\x01\x12\r\n\tZOOKEEPER\x10\x02\"*\n\x06Health\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\"P\n\tResources\x12\x1a\n\x12resource_preset_id\x18\x01 \x01(\t\x12\x11\n\tdisk_size\x18\x02 \x01(\x03\x12\x14\n\x0c\x64isk_type_id\x18\x03 \x01(\t\"~\n\x06\x41\x63\x63\x65ss\x12\x11\n\tdata_lens\x18\x01 \x01(\x08\x12\x0f\n\x07web_sql\x18\x02 \x01(\x08\x12\x0f\n\x07metrika\x18\x03 \x01(\x08\x12\x12\n\nserverless\x18\x04 \x01(\x08\x12\x15\n\rdata_transfer\x18\x05 \x01(\x08\x12\x14\n\x0cyandex_query\x18\x06 \x01(\x08\"\x86\x02\n\x0c\x43loudStorage\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12:\n\x0bmove_factor\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x07\xfa\xc7\x31\x03\x30-1\x12\x36\n\x12\x64\x61ta_cache_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x38\n\x13\x64\x61ta_cache_max_size\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x13prefer_not_to_merge\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xe7\x01\n\x13\x44iskSizeAutoscaling\x12K\n\x17planned_usage_threshold\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12M\n\x19\x65mergency_usage_threshold\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12\x34\n\x0f\x64isk_size_limit\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueBs\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -42,50 +42,56 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
42
|
_globals['_CLUSTER_LABELSENTRY']._serialized_options = b'8\001'
|
|
43
43
|
_globals['_CLOUDSTORAGE'].fields_by_name['move_factor']._loaded_options = None
|
|
44
44
|
_globals['_CLOUDSTORAGE'].fields_by_name['move_factor']._serialized_options = b'\372\3071\0030-1'
|
|
45
|
+
_globals['_DISKSIZEAUTOSCALING'].fields_by_name['planned_usage_threshold']._loaded_options = None
|
|
46
|
+
_globals['_DISKSIZEAUTOSCALING'].fields_by_name['planned_usage_threshold']._serialized_options = b'\350\3071\000\372\3071\0050-100'
|
|
47
|
+
_globals['_DISKSIZEAUTOSCALING'].fields_by_name['emergency_usage_threshold']._loaded_options = None
|
|
48
|
+
_globals['_DISKSIZEAUTOSCALING'].fields_by_name['emergency_usage_threshold']._serialized_options = b'\350\3071\000\372\3071\0050-100'
|
|
45
49
|
_globals['_CLUSTER']._serialized_start=312
|
|
46
|
-
_globals['_CLUSTER']._serialized_end=
|
|
47
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_start=
|
|
48
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_end=
|
|
49
|
-
_globals['_CLUSTER_ENVIRONMENT']._serialized_start=
|
|
50
|
-
_globals['_CLUSTER_ENVIRONMENT']._serialized_end=
|
|
51
|
-
_globals['_CLUSTER_HEALTH']._serialized_start=
|
|
52
|
-
_globals['_CLUSTER_HEALTH']._serialized_end=
|
|
53
|
-
_globals['_CLUSTER_STATUS']._serialized_start=
|
|
54
|
-
_globals['_CLUSTER_STATUS']._serialized_end=
|
|
55
|
-
_globals['_MONITORING']._serialized_start=
|
|
56
|
-
_globals['_MONITORING']._serialized_end=
|
|
57
|
-
_globals['_CLUSTERCONFIG']._serialized_start=
|
|
58
|
-
_globals['_CLUSTERCONFIG']._serialized_end=
|
|
59
|
-
_globals['_CLUSTERCONFIG_CLICKHOUSE']._serialized_start=
|
|
60
|
-
_globals['_CLUSTERCONFIG_CLICKHOUSE']._serialized_end=
|
|
61
|
-
_globals['_CLUSTERCONFIG_ZOOKEEPER']._serialized_start=
|
|
62
|
-
_globals['_CLUSTERCONFIG_ZOOKEEPER']._serialized_end=
|
|
63
|
-
_globals['_SHARD']._serialized_start=
|
|
64
|
-
_globals['_SHARD']._serialized_end=
|
|
65
|
-
_globals['_SHARDS']._serialized_start=
|
|
66
|
-
_globals['_SHARDS']._serialized_end=
|
|
67
|
-
_globals['_SHARDGROUP']._serialized_start=
|
|
68
|
-
_globals['_SHARDGROUP']._serialized_end=
|
|
69
|
-
_globals['_SHARDCONFIG']._serialized_start=
|
|
70
|
-
_globals['_SHARDCONFIG']._serialized_end=
|
|
71
|
-
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_start=
|
|
72
|
-
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_end=
|
|
73
|
-
_globals['_HOST']._serialized_start=
|
|
74
|
-
_globals['_HOST']._serialized_end=
|
|
75
|
-
_globals['_HOST_TYPE']._serialized_start=
|
|
76
|
-
_globals['_HOST_TYPE']._serialized_end=
|
|
77
|
-
_globals['_HOST_HEALTH']._serialized_start=
|
|
78
|
-
_globals['_HOST_HEALTH']._serialized_end=
|
|
79
|
-
_globals['_SERVICE']._serialized_start=
|
|
80
|
-
_globals['_SERVICE']._serialized_end=
|
|
81
|
-
_globals['_SERVICE_TYPE']._serialized_start=
|
|
82
|
-
_globals['_SERVICE_TYPE']._serialized_end=
|
|
83
|
-
_globals['_SERVICE_HEALTH']._serialized_start=
|
|
84
|
-
_globals['_SERVICE_HEALTH']._serialized_end=
|
|
85
|
-
_globals['_RESOURCES']._serialized_start=
|
|
86
|
-
_globals['_RESOURCES']._serialized_end=
|
|
87
|
-
_globals['_ACCESS']._serialized_start=
|
|
88
|
-
_globals['_ACCESS']._serialized_end=
|
|
89
|
-
_globals['_CLOUDSTORAGE']._serialized_start=
|
|
90
|
-
_globals['_CLOUDSTORAGE']._serialized_end=
|
|
50
|
+
_globals['_CLUSTER']._serialized_end=1476
|
|
51
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=1162
|
|
52
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=1207
|
|
53
|
+
_globals['_CLUSTER_ENVIRONMENT']._serialized_start=1209
|
|
54
|
+
_globals['_CLUSTER_ENVIRONMENT']._serialized_end=1282
|
|
55
|
+
_globals['_CLUSTER_HEALTH']._serialized_start=1284
|
|
56
|
+
_globals['_CLUSTER_HEALTH']._serialized_end=1347
|
|
57
|
+
_globals['_CLUSTER_STATUS']._serialized_start=1349
|
|
58
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1470
|
|
59
|
+
_globals['_MONITORING']._serialized_start=1478
|
|
60
|
+
_globals['_MONITORING']._serialized_end=1539
|
|
61
|
+
_globals['_CLUSTERCONFIG']._serialized_start=1542
|
|
62
|
+
_globals['_CLUSTERCONFIG']._serialized_end=2538
|
|
63
|
+
_globals['_CLUSTERCONFIG_CLICKHOUSE']._serialized_start=2144
|
|
64
|
+
_globals['_CLUSTERCONFIG_CLICKHOUSE']._serialized_end=2378
|
|
65
|
+
_globals['_CLUSTERCONFIG_ZOOKEEPER']._serialized_start=2381
|
|
66
|
+
_globals['_CLUSTERCONFIG_ZOOKEEPER']._serialized_end=2538
|
|
67
|
+
_globals['_SHARD']._serialized_start=2540
|
|
68
|
+
_globals['_SHARD']._serialized_end=2642
|
|
69
|
+
_globals['_SHARDS']._serialized_start=2644
|
|
70
|
+
_globals['_SHARDS']._serialized_end=2707
|
|
71
|
+
_globals['_SHARDGROUP']._serialized_start=2709
|
|
72
|
+
_globals['_SHARDGROUP']._serialized_end=2797
|
|
73
|
+
_globals['_SHARDCONFIG']._serialized_start=2800
|
|
74
|
+
_globals['_SHARDCONFIG']._serialized_end=3171
|
|
75
|
+
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_start=2892
|
|
76
|
+
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_end=3171
|
|
77
|
+
_globals['_HOST']._serialized_start=3174
|
|
78
|
+
_globals['_HOST']._serialized_end=3654
|
|
79
|
+
_globals['_HOST_TYPE']._serialized_start=3537
|
|
80
|
+
_globals['_HOST_TYPE']._serialized_end=3596
|
|
81
|
+
_globals['_HOST_HEALTH']._serialized_start=3598
|
|
82
|
+
_globals['_HOST_HEALTH']._serialized_end=3654
|
|
83
|
+
_globals['_SERVICE']._serialized_start=3657
|
|
84
|
+
_globals['_SERVICE']._serialized_end=3895
|
|
85
|
+
_globals['_SERVICE_TYPE']._serialized_start=3537
|
|
86
|
+
_globals['_SERVICE_TYPE']._serialized_end=3596
|
|
87
|
+
_globals['_SERVICE_HEALTH']._serialized_start=3598
|
|
88
|
+
_globals['_SERVICE_HEALTH']._serialized_end=3640
|
|
89
|
+
_globals['_RESOURCES']._serialized_start=3897
|
|
90
|
+
_globals['_RESOURCES']._serialized_end=3977
|
|
91
|
+
_globals['_ACCESS']._serialized_start=3979
|
|
92
|
+
_globals['_ACCESS']._serialized_end=4105
|
|
93
|
+
_globals['_CLOUDSTORAGE']._serialized_start=4108
|
|
94
|
+
_globals['_CLOUDSTORAGE']._serialized_end=4370
|
|
95
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_start=4373
|
|
96
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_end=4604
|
|
91
97
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -158,6 +158,7 @@ class Cluster(google.protobuf.message.Message):
|
|
|
158
158
|
PLANNED_OPERATION_FIELD_NUMBER: builtins.int
|
|
159
159
|
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
160
160
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
161
|
+
DISK_ENCRYPTION_KEY_ID_FIELD_NUMBER: builtins.int
|
|
161
162
|
id: builtins.str
|
|
162
163
|
"""ID of the ClickHouse cluster.
|
|
163
164
|
This ID is assigned by MDB at creation time.
|
|
@@ -210,6 +211,10 @@ class Cluster(google.protobuf.message.Message):
|
|
|
210
211
|
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
211
212
|
"""User security groups"""
|
|
212
213
|
|
|
214
|
+
@property
|
|
215
|
+
def disk_encryption_key_id(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
216
|
+
"""ID of the key to encrypt cluster disks."""
|
|
217
|
+
|
|
213
218
|
def __init__(
|
|
214
219
|
self,
|
|
215
220
|
*,
|
|
@@ -230,9 +235,10 @@ class Cluster(google.protobuf.message.Message):
|
|
|
230
235
|
planned_operation: yandex.cloud.mdb.clickhouse.v1.maintenance_pb2.MaintenanceOperation | None = ...,
|
|
231
236
|
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
232
237
|
deletion_protection: builtins.bool = ...,
|
|
238
|
+
disk_encryption_key_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
233
239
|
) -> None: ...
|
|
234
|
-
def HasField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "maintenance_window", b"maintenance_window", "planned_operation", b"planned_operation"]) -> builtins.bool: ...
|
|
235
|
-
def ClearField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "health", b"health", "id", b"id", "labels", b"labels", "maintenance_window", b"maintenance_window", "monitoring", b"monitoring", "name", b"name", "network_id", b"network_id", "planned_operation", b"planned_operation", "security_group_ids", b"security_group_ids", "service_account_id", b"service_account_id", "status", b"status"]) -> None: ...
|
|
240
|
+
def HasField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "disk_encryption_key_id", b"disk_encryption_key_id", "maintenance_window", b"maintenance_window", "planned_operation", b"planned_operation"]) -> builtins.bool: ...
|
|
241
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "disk_encryption_key_id", b"disk_encryption_key_id", "environment", b"environment", "folder_id", b"folder_id", "health", b"health", "id", b"id", "labels", b"labels", "maintenance_window", b"maintenance_window", "monitoring", b"monitoring", "name", b"name", "network_id", b"network_id", "planned_operation", b"planned_operation", "security_group_ids", b"security_group_ids", "service_account_id", b"service_account_id", "status", b"status"]) -> None: ...
|
|
236
242
|
|
|
237
243
|
global___Cluster = Cluster
|
|
238
244
|
|
|
@@ -272,6 +278,7 @@ class ClusterConfig(google.protobuf.message.Message):
|
|
|
272
278
|
|
|
273
279
|
CONFIG_FIELD_NUMBER: builtins.int
|
|
274
280
|
RESOURCES_FIELD_NUMBER: builtins.int
|
|
281
|
+
DISK_SIZE_AUTOSCALING_FIELD_NUMBER: builtins.int
|
|
275
282
|
@property
|
|
276
283
|
def config(self) -> yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfigSet:
|
|
277
284
|
"""Configuration settings of a ClickHouse server."""
|
|
@@ -280,31 +287,42 @@ class ClusterConfig(google.protobuf.message.Message):
|
|
|
280
287
|
def resources(self) -> global___Resources:
|
|
281
288
|
"""Resources allocated to ClickHouse hosts."""
|
|
282
289
|
|
|
290
|
+
@property
|
|
291
|
+
def disk_size_autoscaling(self) -> global___DiskSizeAutoscaling:
|
|
292
|
+
"""Disk size autoscaling settings."""
|
|
293
|
+
|
|
283
294
|
def __init__(
|
|
284
295
|
self,
|
|
285
296
|
*,
|
|
286
297
|
config: yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfigSet | None = ...,
|
|
287
298
|
resources: global___Resources | None = ...,
|
|
299
|
+
disk_size_autoscaling: global___DiskSizeAutoscaling | None = ...,
|
|
288
300
|
) -> None: ...
|
|
289
|
-
def HasField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> builtins.bool: ...
|
|
290
|
-
def ClearField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> None: ...
|
|
301
|
+
def HasField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> builtins.bool: ...
|
|
302
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> None: ...
|
|
291
303
|
|
|
292
304
|
@typing.final
|
|
293
305
|
class Zookeeper(google.protobuf.message.Message):
|
|
294
306
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
295
307
|
|
|
296
308
|
RESOURCES_FIELD_NUMBER: builtins.int
|
|
309
|
+
DISK_SIZE_AUTOSCALING_FIELD_NUMBER: builtins.int
|
|
297
310
|
@property
|
|
298
311
|
def resources(self) -> global___Resources:
|
|
299
312
|
"""Resources allocated to ZooKeeper hosts."""
|
|
300
313
|
|
|
314
|
+
@property
|
|
315
|
+
def disk_size_autoscaling(self) -> global___DiskSizeAutoscaling:
|
|
316
|
+
"""Disk size autoscaling settings."""
|
|
317
|
+
|
|
301
318
|
def __init__(
|
|
302
319
|
self,
|
|
303
320
|
*,
|
|
304
321
|
resources: global___Resources | None = ...,
|
|
322
|
+
disk_size_autoscaling: global___DiskSizeAutoscaling | None = ...,
|
|
305
323
|
) -> None: ...
|
|
306
|
-
def HasField(self, field_name: typing.Literal["resources", b"resources"]) -> builtins.bool: ...
|
|
307
|
-
def ClearField(self, field_name: typing.Literal["resources", b"resources"]) -> None: ...
|
|
324
|
+
def HasField(self, field_name: typing.Literal["disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> builtins.bool: ...
|
|
325
|
+
def ClearField(self, field_name: typing.Literal["disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources"]) -> None: ...
|
|
308
326
|
|
|
309
327
|
VERSION_FIELD_NUMBER: builtins.int
|
|
310
328
|
CLICKHOUSE_FIELD_NUMBER: builtins.int
|
|
@@ -455,6 +473,7 @@ class ShardConfig(google.protobuf.message.Message):
|
|
|
455
473
|
CONFIG_FIELD_NUMBER: builtins.int
|
|
456
474
|
RESOURCES_FIELD_NUMBER: builtins.int
|
|
457
475
|
WEIGHT_FIELD_NUMBER: builtins.int
|
|
476
|
+
DISK_SIZE_AUTOSCALING_FIELD_NUMBER: builtins.int
|
|
458
477
|
@property
|
|
459
478
|
def config(self) -> yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfigSet:
|
|
460
479
|
"""ClickHouse settings for a shard."""
|
|
@@ -469,15 +488,20 @@ class ShardConfig(google.protobuf.message.Message):
|
|
|
469
488
|
For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/operations/table_engines/distributed/).
|
|
470
489
|
"""
|
|
471
490
|
|
|
491
|
+
@property
|
|
492
|
+
def disk_size_autoscaling(self) -> global___DiskSizeAutoscaling:
|
|
493
|
+
"""Disk size autoscaling settings."""
|
|
494
|
+
|
|
472
495
|
def __init__(
|
|
473
496
|
self,
|
|
474
497
|
*,
|
|
475
498
|
config: yandex.cloud.mdb.clickhouse.v1.config.clickhouse_pb2.ClickhouseConfigSet | None = ...,
|
|
476
499
|
resources: global___Resources | None = ...,
|
|
477
500
|
weight: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
501
|
+
disk_size_autoscaling: global___DiskSizeAutoscaling | None = ...,
|
|
478
502
|
) -> None: ...
|
|
479
|
-
def HasField(self, field_name: typing.Literal["config", b"config", "resources", b"resources", "weight", b"weight"]) -> builtins.bool: ...
|
|
480
|
-
def ClearField(self, field_name: typing.Literal["config", b"config", "resources", b"resources", "weight", b"weight"]) -> None: ...
|
|
503
|
+
def HasField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources", "weight", b"weight"]) -> builtins.bool: ...
|
|
504
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "disk_size_autoscaling", b"disk_size_autoscaling", "resources", b"resources", "weight", b"weight"]) -> None: ...
|
|
481
505
|
|
|
482
506
|
CLICKHOUSE_FIELD_NUMBER: builtins.int
|
|
483
507
|
@property
|
|
@@ -767,3 +791,34 @@ class CloudStorage(google.protobuf.message.Message):
|
|
|
767
791
|
def ClearField(self, field_name: typing.Literal["data_cache_enabled", b"data_cache_enabled", "data_cache_max_size", b"data_cache_max_size", "enabled", b"enabled", "move_factor", b"move_factor", "prefer_not_to_merge", b"prefer_not_to_merge"]) -> None: ...
|
|
768
792
|
|
|
769
793
|
global___CloudStorage = CloudStorage
|
|
794
|
+
|
|
795
|
+
@typing.final
|
|
796
|
+
class DiskSizeAutoscaling(google.protobuf.message.Message):
|
|
797
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
798
|
+
|
|
799
|
+
PLANNED_USAGE_THRESHOLD_FIELD_NUMBER: builtins.int
|
|
800
|
+
EMERGENCY_USAGE_THRESHOLD_FIELD_NUMBER: builtins.int
|
|
801
|
+
DISK_SIZE_LIMIT_FIELD_NUMBER: builtins.int
|
|
802
|
+
@property
|
|
803
|
+
def planned_usage_threshold(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
804
|
+
"""Amount of used storage for automatic disk scaling in the maintenance window, 0 means disabled, in percent."""
|
|
805
|
+
|
|
806
|
+
@property
|
|
807
|
+
def emergency_usage_threshold(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
808
|
+
"""Amount of used storage for immediately automatic disk scaling, 0 means disabled, in percent."""
|
|
809
|
+
|
|
810
|
+
@property
|
|
811
|
+
def disk_size_limit(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
812
|
+
"""Limit on how large the storage for database instances can automatically grow, in bytes."""
|
|
813
|
+
|
|
814
|
+
def __init__(
|
|
815
|
+
self,
|
|
816
|
+
*,
|
|
817
|
+
planned_usage_threshold: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
818
|
+
emergency_usage_threshold: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
819
|
+
disk_size_limit: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
820
|
+
) -> None: ...
|
|
821
|
+
def HasField(self, field_name: typing.Literal["disk_size_limit", b"disk_size_limit", "emergency_usage_threshold", b"emergency_usage_threshold", "planned_usage_threshold", b"planned_usage_threshold"]) -> builtins.bool: ...
|
|
822
|
+
def ClearField(self, field_name: typing.Literal["disk_size_limit", b"disk_size_limit", "emergency_usage_threshold", b"emergency_usage_threshold", "planned_usage_threshold", b"planned_usage_threshold"]) -> None: ...
|
|
823
|
+
|
|
824
|
+
global___DiskSizeAutoscaling = DiskSizeAutoscaling
|