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.
Files changed (160) hide show
  1. yandex/cloud/ai/assistants/v1/assistant_pb2.py +4 -4
  2. yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +8 -2
  3. yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +26 -26
  4. yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +14 -4
  5. yandex/cloud/ai/assistants/v1/common_pb2.py +5 -1
  6. yandex/cloud/ai/assistants/v1/common_pb2.pyi +50 -0
  7. yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
  8. yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +8 -2
  9. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +28 -28
  10. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +8 -2
  11. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +2 -2
  12. yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +20 -16
  13. yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +62 -1
  14. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +24 -23
  15. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +15 -2
  16. yandex/cloud/ai/ocr/v1/ocr_pb2.py +24 -20
  17. yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +72 -2
  18. yandex/cloud/ai/stt/v3/stt_pb2.pyi +1 -1
  19. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
  20. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
  21. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
  22. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
  23. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
  24. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
  25. yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
  26. yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
  27. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
  28. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
  29. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
  30. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
  31. yandex/cloud/backup/v1/policy_pb2.py +56 -52
  32. yandex/cloud/backup/v1/policy_pb2.pyi +64 -1
  33. yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
  34. yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
  35. yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
  36. yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
  37. yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
  38. yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
  39. yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.pyi +8 -2
  40. yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
  41. yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
  42. yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
  43. yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
  44. yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
  45. yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
  46. yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
  47. yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
  48. yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
  49. yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
  50. yandex/cloud/gitlab/v1/instance_pb2.pyi +58 -4
  51. yandex/cloud/gitlab/v1/instance_service_pb2.py +50 -27
  52. yandex/cloud/gitlab/v1/instance_service_pb2.pyi +163 -2
  53. yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +62 -9
  54. yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +50 -6
  55. yandex/cloud/gitlab/v1/maintenance_pb2.pyi +10 -3
  56. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -22
  57. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +34 -1
  58. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +86 -63
  59. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +86 -0
  60. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +88 -0
  61. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +40 -0
  62. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +52 -46
  63. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +63 -8
  64. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  65. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +54 -10
  66. yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
  67. yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
  68. yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +3 -3
  69. yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
  70. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
  71. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
  72. yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +142 -142
  73. yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +8 -2
  74. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +234 -234
  75. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +16 -4
  76. yandex/cloud/mdb/mysql/v1/cluster_pb2.py +38 -32
  77. yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +40 -4
  78. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
  79. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +24 -6
  80. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
  81. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
  82. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
  83. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
  84. yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
  85. yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
  86. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +140 -139
  87. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +17 -4
  88. yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +42 -42
  89. yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +8 -2
  90. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
  91. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +16 -4
  92. yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +38 -36
  93. yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +24 -1
  94. yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +38 -36
  95. yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +24 -1
  96. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +38 -36
  97. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +24 -1
  98. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +38 -36
  99. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +24 -1
  100. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +38 -36
  101. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +24 -1
  102. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +38 -36
  103. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +24 -1
  104. yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
  105. yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
  106. yandex/cloud/mdb/redis/v1/cluster_pb2.py +36 -36
  107. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
  108. yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +114 -114
  109. yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +16 -4
  110. yandex/cloud/metastore/v1/cluster_pb2.py +16 -20
  111. yandex/cloud/metastore/v1/cluster_pb2.pyi +1 -31
  112. yandex/cloud/metastore/v1/cluster_service_pb2.py +44 -50
  113. yandex/cloud/metastore/v1/cluster_service_pb2.pyi +3 -35
  114. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +4 -4
  115. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +12 -12
  116. yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
  117. yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
  118. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
  119. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
  120. yandex/cloud/monitoring/v3/link_pb2.py +8 -4
  121. yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
  122. yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
  123. yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
  124. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
  125. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
  126. yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
  127. yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
  128. yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +8 -8
  129. yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +1 -5
  130. yandex/cloud/spark/v1/cluster_pb2.py +29 -25
  131. yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
  132. yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
  133. yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
  134. yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
  135. yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
  136. yandex/cloud/storage/v1/bucket_pb2.py +78 -78
  137. yandex/cloud/storage/v1/bucket_pb2.pyi +5 -1
  138. yandex/cloud/storage/v1/bucket_service_pb2.py +4 -2
  139. yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +43 -0
  140. yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +17 -0
  141. yandex/cloud/video/v1/channel_service_pb2.py +34 -28
  142. yandex/cloud/video/v1/episode_service_pb2.py +58 -52
  143. yandex/cloud/video/v1/playlist_pb2.py +14 -5
  144. yandex/cloud/video/v1/playlist_service_pb2.py +36 -30
  145. yandex/cloud/video/v1/stream_line_service_pb2.py +46 -46
  146. yandex/cloud/video/v1/stream_service_pb2.py +50 -44
  147. yandex/cloud/video/v1/subtitle_pb2.pyi +1 -4
  148. yandex/cloud/video/v1/subtitle_service_pb2.py +19 -17
  149. yandex/cloud/video/v1/subtitle_service_pb2.pyi +1 -4
  150. yandex/cloud/video/v1/video_pb2.pyi +1 -1
  151. yandex/cloud/video/v1/video_service_pb2.py +90 -84
  152. yandex/cloud/video/v1/video_service_pb2.pyi +4 -12
  153. yandexcloud/__init__.py +1 -1
  154. yandexcloud/_wrappers/dataproc/__init__.py +10 -2
  155. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/METADATA +1 -1
  156. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/RECORD +160 -160
  157. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/AUTHORS +0 -0
  158. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/LICENSE +0 -0
  159. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/WHEEL +0 -0
  160. {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/top_level.txt +0 -0
@@ -6,6 +6,7 @@ isort:skip_file
6
6
  import builtins
7
7
  import collections.abc
8
8
  import google.protobuf.descriptor
9
+ import google.protobuf.duration_pb2
9
10
  import google.protobuf.field_mask_pb2
10
11
  import google.protobuf.internal.containers
11
12
  import google.protobuf.message
@@ -1167,3 +1168,98 @@ class CancelZonalShiftMetadata(google.protobuf.message.Message):
1167
1168
  def ClearField(self, field_name: typing.Literal["load_balancer_id", b"load_balancer_id", "zone_ids", b"zone_ids"]) -> None: ...
1168
1169
 
1169
1170
  global___CancelZonalShiftMetadata = CancelZonalShiftMetadata
1171
+
1172
+ @typing.final
1173
+ class DisableZonesRequest(google.protobuf.message.Message):
1174
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1175
+
1176
+ LOAD_BALANCER_ID_FIELD_NUMBER: builtins.int
1177
+ ZONE_IDS_FIELD_NUMBER: builtins.int
1178
+ DURATION_FIELD_NUMBER: builtins.int
1179
+ load_balancer_id: builtins.str
1180
+ """ID of the application load balancer to disable traffic in zones."""
1181
+ @property
1182
+ def zone_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1183
+ """Zone IDs to disable traffic."""
1184
+
1185
+ @property
1186
+ def duration(self) -> google.protobuf.duration_pb2.Duration:
1187
+ """The interval during which the zones will be disabled (1m-72h). If not set then until EnableZones call."""
1188
+
1189
+ def __init__(
1190
+ self,
1191
+ *,
1192
+ load_balancer_id: builtins.str = ...,
1193
+ zone_ids: collections.abc.Iterable[builtins.str] | None = ...,
1194
+ duration: google.protobuf.duration_pb2.Duration | None = ...,
1195
+ ) -> None: ...
1196
+ def HasField(self, field_name: typing.Literal["duration", b"duration"]) -> builtins.bool: ...
1197
+ def ClearField(self, field_name: typing.Literal["duration", b"duration", "load_balancer_id", b"load_balancer_id", "zone_ids", b"zone_ids"]) -> None: ...
1198
+
1199
+ global___DisableZonesRequest = DisableZonesRequest
1200
+
1201
+ @typing.final
1202
+ class DisableZonesMetadata(google.protobuf.message.Message):
1203
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1204
+
1205
+ LOAD_BALANCER_ID_FIELD_NUMBER: builtins.int
1206
+ ZONE_IDS_FIELD_NUMBER: builtins.int
1207
+ load_balancer_id: builtins.str
1208
+ """ID of the application load balancer to disable traffic in zones."""
1209
+ @property
1210
+ def zone_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1211
+ """Zone IDs where traffic was disabled."""
1212
+
1213
+ def __init__(
1214
+ self,
1215
+ *,
1216
+ load_balancer_id: builtins.str = ...,
1217
+ zone_ids: collections.abc.Iterable[builtins.str] | None = ...,
1218
+ ) -> None: ...
1219
+ def ClearField(self, field_name: typing.Literal["load_balancer_id", b"load_balancer_id", "zone_ids", b"zone_ids"]) -> None: ...
1220
+
1221
+ global___DisableZonesMetadata = DisableZonesMetadata
1222
+
1223
+ @typing.final
1224
+ class EnableZonesRequest(google.protobuf.message.Message):
1225
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1226
+
1227
+ LOAD_BALANCER_ID_FIELD_NUMBER: builtins.int
1228
+ ZONE_IDS_FIELD_NUMBER: builtins.int
1229
+ load_balancer_id: builtins.str
1230
+ """ID of the application load balancer to enable traffic in zones."""
1231
+ @property
1232
+ def zone_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1233
+ """Zone IDs to enable traffic."""
1234
+
1235
+ def __init__(
1236
+ self,
1237
+ *,
1238
+ load_balancer_id: builtins.str = ...,
1239
+ zone_ids: collections.abc.Iterable[builtins.str] | None = ...,
1240
+ ) -> None: ...
1241
+ def ClearField(self, field_name: typing.Literal["load_balancer_id", b"load_balancer_id", "zone_ids", b"zone_ids"]) -> None: ...
1242
+
1243
+ global___EnableZonesRequest = EnableZonesRequest
1244
+
1245
+ @typing.final
1246
+ class EnableZonesMetadata(google.protobuf.message.Message):
1247
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1248
+
1249
+ LOAD_BALANCER_ID_FIELD_NUMBER: builtins.int
1250
+ ZONE_IDS_FIELD_NUMBER: builtins.int
1251
+ load_balancer_id: builtins.str
1252
+ """ID of the application load balancer to enable traffic in zones."""
1253
+ @property
1254
+ def zone_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1255
+ """Zone IDs where traffic was enabled."""
1256
+
1257
+ def __init__(
1258
+ self,
1259
+ *,
1260
+ load_balancer_id: builtins.str = ...,
1261
+ zone_ids: collections.abc.Iterable[builtins.str] | None = ...,
1262
+ ) -> None: ...
1263
+ def ClearField(self, field_name: typing.Literal["load_balancer_id", b"load_balancer_id", "zone_ids", b"zone_ids"]) -> None: ...
1264
+
1265
+ global___EnableZonesMetadata = EnableZonesMetadata
@@ -122,6 +122,16 @@ class LoadBalancerServiceStub(object):
122
122
  request_serializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.CancelZonalShiftRequest.SerializeToString,
123
123
  response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
124
124
  _registered_method=True)
125
+ self.DisableZones = channel.unary_unary(
126
+ '/yandex.cloud.apploadbalancer.v1.LoadBalancerService/DisableZones',
127
+ request_serializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.DisableZonesRequest.SerializeToString,
128
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
129
+ _registered_method=True)
130
+ self.EnableZones = channel.unary_unary(
131
+ '/yandex.cloud.apploadbalancer.v1.LoadBalancerService/EnableZones',
132
+ request_serializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.EnableZonesRequest.SerializeToString,
133
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
134
+ _registered_method=True)
125
135
 
126
136
 
127
137
  class LoadBalancerServiceServicer(object):
@@ -257,6 +267,20 @@ class LoadBalancerServiceServicer(object):
257
267
  context.set_details('Method not implemented!')
258
268
  raise NotImplementedError('Method not implemented!')
259
269
 
270
+ def DisableZones(self, request, context):
271
+ """Disable L7 traffic routing in zones for the specified load balancer.
272
+ """
273
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
274
+ context.set_details('Method not implemented!')
275
+ raise NotImplementedError('Method not implemented!')
276
+
277
+ def EnableZones(self, request, context):
278
+ """Enable L7 traffic routing back in zones for the specified load balancer.
279
+ """
280
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
281
+ context.set_details('Method not implemented!')
282
+ raise NotImplementedError('Method not implemented!')
283
+
260
284
 
261
285
  def add_LoadBalancerServiceServicer_to_server(servicer, server):
262
286
  rpc_method_handlers = {
@@ -345,6 +369,16 @@ def add_LoadBalancerServiceServicer_to_server(servicer, server):
345
369
  request_deserializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.CancelZonalShiftRequest.FromString,
346
370
  response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
347
371
  ),
372
+ 'DisableZones': grpc.unary_unary_rpc_method_handler(
373
+ servicer.DisableZones,
374
+ request_deserializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.DisableZonesRequest.FromString,
375
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
376
+ ),
377
+ 'EnableZones': grpc.unary_unary_rpc_method_handler(
378
+ servicer.EnableZones,
379
+ request_deserializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.EnableZonesRequest.FromString,
380
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
381
+ ),
348
382
  }
349
383
  generic_handler = grpc.method_handlers_generic_handler(
350
384
  'yandex.cloud.apploadbalancer.v1.LoadBalancerService', rpc_method_handlers)
@@ -815,3 +849,57 @@ class LoadBalancerService(object):
815
849
  timeout,
816
850
  metadata,
817
851
  _registered_method=True)
852
+
853
+ @staticmethod
854
+ def DisableZones(request,
855
+ target,
856
+ options=(),
857
+ channel_credentials=None,
858
+ call_credentials=None,
859
+ insecure=False,
860
+ compression=None,
861
+ wait_for_ready=None,
862
+ timeout=None,
863
+ metadata=None):
864
+ return grpc.experimental.unary_unary(
865
+ request,
866
+ target,
867
+ '/yandex.cloud.apploadbalancer.v1.LoadBalancerService/DisableZones',
868
+ yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.DisableZonesRequest.SerializeToString,
869
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
870
+ options,
871
+ channel_credentials,
872
+ insecure,
873
+ call_credentials,
874
+ compression,
875
+ wait_for_ready,
876
+ timeout,
877
+ metadata,
878
+ _registered_method=True)
879
+
880
+ @staticmethod
881
+ def EnableZones(request,
882
+ target,
883
+ options=(),
884
+ channel_credentials=None,
885
+ call_credentials=None,
886
+ insecure=False,
887
+ compression=None,
888
+ wait_for_ready=None,
889
+ timeout=None,
890
+ metadata=None):
891
+ return grpc.experimental.unary_unary(
892
+ request,
893
+ target,
894
+ '/yandex.cloud.apploadbalancer.v1.LoadBalancerService/EnableZones',
895
+ yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.EnableZonesRequest.SerializeToString,
896
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
897
+ options,
898
+ channel_credentials,
899
+ insecure,
900
+ call_credentials,
901
+ compression,
902
+ wait_for_ready,
903
+ timeout,
904
+ metadata,
905
+ _registered_method=True)
@@ -140,6 +140,18 @@ class LoadBalancerServiceStub:
140
140
  ]
141
141
  """Cancel ZonalShift for the specified load balancer."""
142
142
 
143
+ DisableZones: grpc.UnaryUnaryMultiCallable[
144
+ yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.DisableZonesRequest,
145
+ yandex.cloud.operation.operation_pb2.Operation,
146
+ ]
147
+ """Disable L7 traffic routing in zones for the specified load balancer."""
148
+
149
+ EnableZones: grpc.UnaryUnaryMultiCallable[
150
+ yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.EnableZonesRequest,
151
+ yandex.cloud.operation.operation_pb2.Operation,
152
+ ]
153
+ """Enable L7 traffic routing back in zones for the specified load balancer."""
154
+
143
155
  class LoadBalancerServiceAsyncStub:
144
156
  """A set of methods for managing application load balancers."""
145
157
 
@@ -260,6 +272,18 @@ class LoadBalancerServiceAsyncStub:
260
272
  ]
261
273
  """Cancel ZonalShift for the specified load balancer."""
262
274
 
275
+ DisableZones: grpc.aio.UnaryUnaryMultiCallable[
276
+ yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.DisableZonesRequest,
277
+ yandex.cloud.operation.operation_pb2.Operation,
278
+ ]
279
+ """Disable L7 traffic routing in zones for the specified load balancer."""
280
+
281
+ EnableZones: grpc.aio.UnaryUnaryMultiCallable[
282
+ yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.EnableZonesRequest,
283
+ yandex.cloud.operation.operation_pb2.Operation,
284
+ ]
285
+ """Enable L7 traffic routing back in zones for the specified load balancer."""
286
+
263
287
  class LoadBalancerServiceServicer(metaclass=abc.ABCMeta):
264
288
  """A set of methods for managing application load balancers."""
265
289
 
@@ -414,4 +438,20 @@ class LoadBalancerServiceServicer(metaclass=abc.ABCMeta):
414
438
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
415
439
  """Cancel ZonalShift for the specified load balancer."""
416
440
 
441
+ @abc.abstractmethod
442
+ def DisableZones(
443
+ self,
444
+ request: yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.DisableZonesRequest,
445
+ context: _ServicerContext,
446
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
447
+ """Disable L7 traffic routing in zones for the specified load balancer."""
448
+
449
+ @abc.abstractmethod
450
+ def EnableZones(
451
+ self,
452
+ request: yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.EnableZonesRequest,
453
+ context: _ServicerContext,
454
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
455
+ """Enable L7 traffic routing back in zones for the specified load balancer."""
456
+
417
457
  def add_LoadBalancerServiceServicer_to_server(servicer: LoadBalancerServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
26
26
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/backup/v1/policy.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xfc\x01\n\x06Policy\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x04name\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x65nabled\x18\x05 \x01(\x08\x12\x38\n\x08settings\x18\x06 \x01(\x0b\x32&.yandex.cloud.backup.v1.PolicySettings\x12\x11\n\tfolder_id\x18\x07 \x01(\t\"\x80#\n\x0ePolicySettings\x12M\n\x0b\x63ompression\x18\x01 \x01(\x0e\x32\x32.yandex.cloud.backup.v1.PolicySettings.CompressionB\x04\xe8\xc7\x31\x01\x12\x34\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x1e.yandex.cloud.backup.v1.FormatB\x04\xe8\xc7\x31\x01\x12)\n!multi_volume_snapshotting_enabled\x18\x03 \x01(\x08\x12+\n\x1fpreserve_file_security_settings\x18\x04 \x01(\x08\x42\x02\x18\x01\x12U\n\nreattempts\x18\x05 \x01(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.RetriesConfigurationB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13silent_mode_enabled\x18\x06 \x01(\x08\x12I\n\tsplitting\x18\x07 \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.SplittingB\x04\xe8\xc7\x31\x01\x12\x61\n\x16vm_snapshot_reattempts\x18\x08 \x01(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.RetriesConfigurationB\x04\xe8\xc7\x31\x01\x12Y\n\x03vss\x18\t \x01(\x0b\x32\x46.yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettingsB\x04\xe8\xc7\x31\x01\x12I\n\x07\x61rchive\x18\n \x01(\x0b\x32\x38.yandex.cloud.backup.v1.PolicySettings.ArchiveProperties\x12Z\n\x12performance_window\x18\x0b \x01(\x0b\x32\x38.yandex.cloud.backup.v1.PolicySettings.PerformanceWindowB\x04\xe8\xc7\x31\x01\x12I\n\tretention\x18\x0c \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.RetentionB\x04\xe8\xc7\x31\x01\x12K\n\nscheduling\x18\x0f \x01(\x0b\x32\x31.yandex.cloud.backup.v1.PolicySettings.SchedulingB\x04\xe8\xc7\x31\x01\x12N\n\x03\x63\x62t\x18\x10 \x01(\x0e\x32;.yandex.cloud.backup.v1.PolicySettings.ChangedBlockTrackingB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x66\x61st_backup_enabled\x18\x11 \x01(\x08\x12(\n\x1cquiesce_snapshotting_enabled\x18\x12 \x01(\x08\x42\x02\x18\x01\x12H\n\x0c\x66ile_filters\x18\x13 \x01(\x0b\x32\x32.yandex.cloud.backup.v1.PolicySettings.FileFilters\x12\x18\n\x10sector_by_sector\x18\x14 \x01(\x08\x12\x1a\n\x12validation_enabled\x18\x15 \x01(\x08\x12 \n\x18lvm_snapshotting_enabled\x18\x16 \x01(\x08\x1a\xcf\x01\n\x08Interval\x12H\n\x04type\x18\x01 \x01(\x0e\x32\x34.yandex.cloud.backup.v1.PolicySettings.Interval.TypeB\x04\xe8\xc7\x31\x01\x12\x15\n\x05\x63ount\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\"b\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SECONDS\x10\x01\x12\x0b\n\x07MINUTES\x10\x02\x12\t\n\x05HOURS\x10\x03\x12\x08\n\x04\x44\x41YS\x10\x04\x12\t\n\x05WEEKS\x10\x05\x12\n\n\x06MONTHS\x10\x06\x1a\x8e\x01\n\x14RetriesConfiguration\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12G\n\x08interval\x18\x02 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc7\x31\x01\x12\x1c\n\x0cmax_attempts\x18\x03 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\x1a\x19\n\tSplitting\x12\x0c\n\x04size\x18\x01 \x01(\x03\x1a\xf2\x01\n\x1fVolumeShadowCopyServiceSettings\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12j\n\x08provider\x18\x02 \x01(\x0e\x32R.yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings.VSSProviderB\x04\xe8\xc7\x31\x01\"R\n\x0bVSSProvider\x12\x1c\n\x18VSS_PROVIDER_UNSPECIFIED\x10\x00\x12\n\n\x06NATIVE\x10\x01\x12\x19\n\x15TARGET_SYSTEM_DEFINED\x10\x02\x1a!\n\x11\x41rchiveProperties\x12\x0c\n\x04name\x18\x01 \x01(\t\x1a$\n\x11PerformanceWindow\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x1a)\n\tTimeOfDay\x12\x0c\n\x04hour\x18\x01 \x01(\x03\x12\x0e\n\x06minute\x18\x02 \x01(\x03\x1a\xbf\x02\n\tRetention\x12M\n\x05rules\x18\x01 \x03(\x0b\x32>.yandex.cloud.backup.v1.PolicySettings.Retention.RetentionRule\x12\x15\n\rbefore_backup\x18\x03 \x01(\x08\x1a\xc5\x01\n\rRetentionRule\x12H\n\nbackup_set\x18\x01 \x03(\x0e\x32\x34.yandex.cloud.backup.v1.PolicySettings.RepeatePeriod\x12\x42\n\x07max_age\x18\x02 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalH\x00\x12\x13\n\tmax_count\x18\x03 \x01(\x03H\x00\x42\x11\n\tcondition\x12\x04\xc0\xc1\x31\x01J\x04\x08\x02\x10\x03\x1a\x80\r\n\nScheduling\x12X\n\x0b\x62\x61\x63kup_sets\x18\x01 \x03(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSetB\x06\x82\xc8\x31\x02>0\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12\x1c\n\x14max_parallel_backups\x18\x03 \x01(\x03\x12M\n\x0erand_max_delay\x18\x04 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc7\x31\x01\x12N\n\x06scheme\x18\x05 \x01(\x0e\x32\x38.yandex.cloud.backup.v1.PolicySettings.Scheduling.SchemeB\x04\xe8\xc7\x31\x01\x12K\n\x11weekly_backup_day\x18\x06 \x01(\x0e\x32*.yandex.cloud.backup.v1.PolicySettings.DayB\x04\xe8\xc7\x31\x01\x12Q\n\x0ctask_failure\x18\x07 \x01(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.RetriesConfiguration\x1a\x81\x08\n\tBackupSet\x12P\n\x04time\x18\x01 \x01(\x0b\x32@.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.TimeH\x00\x12m\n\x14since_last_exec_time\x18\x02 \x01(\x0b\x32M.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.SinceLastExecTimeH\x00\x12N\n\x04type\x18\x03 \x01(\x0e\x32@.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Type\x1a\x8d\x04\n\x04Time\x12\x42\n\x08weekdays\x18\x01 \x03(\x0e\x32*.yandex.cloud.backup.v1.PolicySettings.DayB\x04\x90\xc8\x31\x01\x12\x43\n\trepeat_at\x18\x02 \x03(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.TimeOfDay\x12\x45\n\x0crepeat_every\x18\x03 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.Interval\x12\x43\n\ttime_from\x18\x04 \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.TimeOfDay\x12\x41\n\x07time_to\x18\x05 \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.TimeOfDay\x12\x17\n\tmonthdays\x18\x06 \x03(\x03\x42\x04\x90\xc8\x31\x01\x12!\n\x19include_last_day_of_month\x18\x07 \x01(\x08\x12\x14\n\x06months\x18\x08 \x03(\x03\x42\x04\x90\xc8\x31\x01\x12H\n\x04type\x18\t \x01(\x0e\x32\x34.yandex.cloud.backup.v1.PolicySettings.RepeatePeriodB\x04\xe8\xc7\x31\x01\x12\x11\n\trun_later\x18\n \x01(\x08\x1aY\n\x11SinceLastExecTime\x12\x44\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc7\x31\x01\"g\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTYPE_AUTO\x10\x01\x12\r\n\tTYPE_FULL\x10\x02\x12\x14\n\x10TYPE_INCREMENTAL\x10\x03\x12\x15\n\x11TYPE_DIFFERENTIAL\x10\x04\x42\x0f\n\x07setting\x12\x04\xc0\xc1\x31\x01\"\xa5\x01\n\x06Scheme\x12\x16\n\x12SCHEME_UNSPECIFIED\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\x0f\n\x0b\x41LWAYS_FULL\x10\x02\x12\x16\n\x12\x41LWAYS_INCREMENTAL\x10\x03\x12\x16\n\x12WEEKLY_INCREMENTAL\x10\x04\x12!\n\x1dWEEKLY_FULL_DAILY_INCREMENTAL\x10\x05\x12\n\n\x06\x43USTOM\x10\x06\x12\x07\n\x03\x43\x44P\x10\x07\x1a?\n\x0b\x46ileFilters\x12\x17\n\x0f\x65xclusion_masks\x18\x01 \x03(\t\x12\x17\n\x0finclusion_masks\x18\x02 \x03(\t\"R\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\x07\n\x03MAX\x10\x03\x12\x07\n\x03OFF\x10\x04\"_\n\rRepeatePeriod\x12\x1e\n\x1aREPEATE_PERIOD_UNSPECIFIED\x10\x00\x12\n\n\x06HOURLY\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06WEEKLY\x10\x03\x12\x0b\n\x07MONTHLY\x10\x04\"v\n\x03\x44\x61y\x12\x13\n\x0f\x44\x41Y_UNSPECIFIED\x10\x00\x12\n\n\x06MONDAY\x10\x01\x12\x0b\n\x07TUESDAY\x10\x02\x12\r\n\tWEDNESDAY\x10\x03\x12\x0c\n\x08THURSDAY\x10\x04\x12\n\n\x06\x46RIDAY\x10\x05\x12\x0c\n\x08SATURDAY\x10\x06\x12\n\n\x06SUNDAY\x10\x07\"v\n\x14\x43hangedBlockTracking\x12&\n\"CHANGED_BLOCK_TRACKING_UNSPECIFIED\x10\x00\x12\x12\n\x0eUSE_IF_ENABLED\x10\x01\x12\x12\n\x0e\x45NABLE_AND_USE\x10\x02\x12\x0e\n\nDO_NOT_USE\x10\x03J\x04\x08\r\x10\x0eJ\x04\x08\x0e\x10\x0f\"\xa2\x02\n\x11PolicyApplication\x12\x11\n\tpolicy_id\x18\x01 \x01(\t\x12\x1b\n\x13\x63ompute_instance_id\x18\x02 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\x12@\n\x06status\x18\x04 \x01(\x0e\x32\x30.yandex.cloud.backup.v1.PolicyApplication.Status\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\ris_processing\x18\x06 \x01(\x08\"C\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03*J\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0e\n\nVERSION_11\x10\x01\x12\x0e\n\nVERSION_12\x10\x02\x12\x08\n\x04\x41UTO\x10\x03\x42_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/backup/v1/policy.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xfc\x01\n\x06Policy\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x04name\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x65nabled\x18\x05 \x01(\x08\x12\x38\n\x08settings\x18\x06 \x01(\x0b\x32&.yandex.cloud.backup.v1.PolicySettings\x12\x11\n\tfolder_id\x18\x07 \x01(\t\"\xd9%\n\x0ePolicySettings\x12M\n\x0b\x63ompression\x18\x01 \x01(\x0e\x32\x32.yandex.cloud.backup.v1.PolicySettings.CompressionB\x04\xe8\xc7\x31\x01\x12\x34\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x1e.yandex.cloud.backup.v1.FormatB\x04\xe8\xc7\x31\x01\x12)\n!multi_volume_snapshotting_enabled\x18\x03 \x01(\x08\x12+\n\x1fpreserve_file_security_settings\x18\x04 \x01(\x08\x42\x02\x18\x01\x12U\n\nreattempts\x18\x05 \x01(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.RetriesConfigurationB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13silent_mode_enabled\x18\x06 \x01(\x08\x12I\n\tsplitting\x18\x07 \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.SplittingB\x04\xe8\xc7\x31\x01\x12\x61\n\x16vm_snapshot_reattempts\x18\x08 \x01(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.RetriesConfigurationB\x04\xe8\xc7\x31\x01\x12Y\n\x03vss\x18\t \x01(\x0b\x32\x46.yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettingsB\x04\xe8\xc7\x31\x01\x12I\n\x07\x61rchive\x18\n \x01(\x0b\x32\x38.yandex.cloud.backup.v1.PolicySettings.ArchiveProperties\x12Z\n\x12performance_window\x18\x0b \x01(\x0b\x32\x38.yandex.cloud.backup.v1.PolicySettings.PerformanceWindowB\x04\xe8\xc7\x31\x01\x12I\n\tretention\x18\x0c \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.RetentionB\x04\xe8\xc7\x31\x01\x12K\n\nscheduling\x18\x0f \x01(\x0b\x32\x31.yandex.cloud.backup.v1.PolicySettings.SchedulingB\x04\xe8\xc7\x31\x01\x12N\n\x03\x63\x62t\x18\x10 \x01(\x0e\x32;.yandex.cloud.backup.v1.PolicySettings.ChangedBlockTrackingB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x66\x61st_backup_enabled\x18\x11 \x01(\x08\x12(\n\x1cquiesce_snapshotting_enabled\x18\x12 \x01(\x08\x42\x02\x18\x01\x12H\n\x0c\x66ile_filters\x18\x13 \x01(\x0b\x32\x32.yandex.cloud.backup.v1.PolicySettings.FileFilters\x12\x18\n\x10sector_by_sector\x18\x14 \x01(\x08\x12\x1a\n\x12validation_enabled\x18\x15 \x01(\x08\x12 \n\x18lvm_snapshotting_enabled\x18\x16 \x01(\x08\x12P\n\x11pre_post_commands\x18\x17 \x03(\x0b\x32\x35.yandex.cloud.backup.v1.PolicySettings.PrePostCommand\x1a\xcf\x01\n\x08Interval\x12H\n\x04type\x18\x01 \x01(\x0e\x32\x34.yandex.cloud.backup.v1.PolicySettings.Interval.TypeB\x04\xe8\xc7\x31\x01\x12\x15\n\x05\x63ount\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\"b\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SECONDS\x10\x01\x12\x0b\n\x07MINUTES\x10\x02\x12\t\n\x05HOURS\x10\x03\x12\x08\n\x04\x44\x41YS\x10\x04\x12\t\n\x05WEEKS\x10\x05\x12\n\n\x06MONTHS\x10\x06\x1a\x8e\x01\n\x14RetriesConfiguration\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12G\n\x08interval\x18\x02 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc7\x31\x01\x12\x1c\n\x0cmax_attempts\x18\x03 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\x1a\x19\n\tSplitting\x12\x0c\n\x04size\x18\x01 \x01(\x03\x1a\xf2\x01\n\x1fVolumeShadowCopyServiceSettings\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12j\n\x08provider\x18\x02 \x01(\x0e\x32R.yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings.VSSProviderB\x04\xe8\xc7\x31\x01\"R\n\x0bVSSProvider\x12\x1c\n\x18VSS_PROVIDER_UNSPECIFIED\x10\x00\x12\n\n\x06NATIVE\x10\x01\x12\x19\n\x15TARGET_SYSTEM_DEFINED\x10\x02\x1a!\n\x11\x41rchiveProperties\x12\x0c\n\x04name\x18\x01 \x01(\t\x1a$\n\x11PerformanceWindow\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x1a)\n\tTimeOfDay\x12\x0c\n\x04hour\x18\x01 \x01(\x03\x12\x0e\n\x06minute\x18\x02 \x01(\x03\x1a\xbf\x02\n\tRetention\x12M\n\x05rules\x18\x01 \x03(\x0b\x32>.yandex.cloud.backup.v1.PolicySettings.Retention.RetentionRule\x12\x15\n\rbefore_backup\x18\x03 \x01(\x08\x1a\xc5\x01\n\rRetentionRule\x12H\n\nbackup_set\x18\x01 \x03(\x0e\x32\x34.yandex.cloud.backup.v1.PolicySettings.RepeatePeriod\x12\x42\n\x07max_age\x18\x02 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalH\x00\x12\x13\n\tmax_count\x18\x03 \x01(\x03H\x00\x42\x11\n\tcondition\x12\x04\xc0\xc1\x31\x01J\x04\x08\x02\x10\x03\x1a\x80\r\n\nScheduling\x12X\n\x0b\x62\x61\x63kup_sets\x18\x01 \x03(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSetB\x06\x82\xc8\x31\x02>0\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12\x1c\n\x14max_parallel_backups\x18\x03 \x01(\x03\x12M\n\x0erand_max_delay\x18\x04 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc7\x31\x01\x12N\n\x06scheme\x18\x05 \x01(\x0e\x32\x38.yandex.cloud.backup.v1.PolicySettings.Scheduling.SchemeB\x04\xe8\xc7\x31\x01\x12K\n\x11weekly_backup_day\x18\x06 \x01(\x0e\x32*.yandex.cloud.backup.v1.PolicySettings.DayB\x04\xe8\xc7\x31\x01\x12Q\n\x0ctask_failure\x18\x07 \x01(\x0b\x32;.yandex.cloud.backup.v1.PolicySettings.RetriesConfiguration\x1a\x81\x08\n\tBackupSet\x12P\n\x04time\x18\x01 \x01(\x0b\x32@.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.TimeH\x00\x12m\n\x14since_last_exec_time\x18\x02 \x01(\x0b\x32M.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.SinceLastExecTimeH\x00\x12N\n\x04type\x18\x03 \x01(\x0e\x32@.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Type\x1a\x8d\x04\n\x04Time\x12\x42\n\x08weekdays\x18\x01 \x03(\x0e\x32*.yandex.cloud.backup.v1.PolicySettings.DayB\x04\x90\xc8\x31\x01\x12\x43\n\trepeat_at\x18\x02 \x03(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.TimeOfDay\x12\x45\n\x0crepeat_every\x18\x03 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.Interval\x12\x43\n\ttime_from\x18\x04 \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.TimeOfDay\x12\x41\n\x07time_to\x18\x05 \x01(\x0b\x32\x30.yandex.cloud.backup.v1.PolicySettings.TimeOfDay\x12\x17\n\tmonthdays\x18\x06 \x03(\x03\x42\x04\x90\xc8\x31\x01\x12!\n\x19include_last_day_of_month\x18\x07 \x01(\x08\x12\x14\n\x06months\x18\x08 \x03(\x03\x42\x04\x90\xc8\x31\x01\x12H\n\x04type\x18\t \x01(\x0e\x32\x34.yandex.cloud.backup.v1.PolicySettings.RepeatePeriodB\x04\xe8\xc7\x31\x01\x12\x11\n\trun_later\x18\n \x01(\x08\x1aY\n\x11SinceLastExecTime\x12\x44\n\x05\x64\x65lay\x18\x01 \x01(\x0b\x32/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc7\x31\x01\"g\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTYPE_AUTO\x10\x01\x12\r\n\tTYPE_FULL\x10\x02\x12\x14\n\x10TYPE_INCREMENTAL\x10\x03\x12\x15\n\x11TYPE_DIFFERENTIAL\x10\x04\x42\x0f\n\x07setting\x12\x04\xc0\xc1\x31\x01\"\xa5\x01\n\x06Scheme\x12\x16\n\x12SCHEME_UNSPECIFIED\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\x0f\n\x0b\x41LWAYS_FULL\x10\x02\x12\x16\n\x12\x41LWAYS_INCREMENTAL\x10\x03\x12\x16\n\x12WEEKLY_INCREMENTAL\x10\x04\x12!\n\x1dWEEKLY_FULL_DAILY_INCREMENTAL\x10\x05\x12\n\n\x06\x43USTOM\x10\x06\x12\x07\n\x03\x43\x44P\x10\x07\x1a?\n\x0b\x46ileFilters\x12\x17\n\x0f\x65xclusion_masks\x18\x01 \x03(\t\x12\x17\n\x0finclusion_masks\x18\x02 \x03(\t\x1a\xb4\x01\n\x0ePrePostCommand\x12\x0b\n\x03\x63md\x18\x01 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x02 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\x12\x15\n\rstop_on_error\x18\x04 \x01(\x08\x12@\n\x04type\x18\x05 \x01(\x0e\x32\x32.yandex.cloud.backup.v1.PolicySettings.CommandType\x12\x0c\n\x04wait\x18\x06 \x01(\x08\x12\x0f\n\x07workdir\x18\x07 \x01(\t\"R\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\x07\n\x03MAX\x10\x03\x12\x07\n\x03OFF\x10\x04\"_\n\rRepeatePeriod\x12\x1e\n\x1aREPEATE_PERIOD_UNSPECIFIED\x10\x00\x12\n\n\x06HOURLY\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06WEEKLY\x10\x03\x12\x0b\n\x07MONTHLY\x10\x04\"v\n\x03\x44\x61y\x12\x13\n\x0f\x44\x41Y_UNSPECIFIED\x10\x00\x12\n\n\x06MONDAY\x10\x01\x12\x0b\n\x07TUESDAY\x10\x02\x12\r\n\tWEDNESDAY\x10\x03\x12\x0c\n\x08THURSDAY\x10\x04\x12\n\n\x06\x46RIDAY\x10\x05\x12\x0c\n\x08SATURDAY\x10\x06\x12\n\n\x06SUNDAY\x10\x07\"v\n\x14\x43hangedBlockTracking\x12&\n\"CHANGED_BLOCK_TRACKING_UNSPECIFIED\x10\x00\x12\x12\n\x0eUSE_IF_ENABLED\x10\x01\x12\x12\n\x0e\x45NABLE_AND_USE\x10\x02\x12\x0e\n\nDO_NOT_USE\x10\x03\"N\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPRE_COMMAND\x10\x01\x12\x10\n\x0cPOST_COMMAND\x10\x02J\x04\x08\r\x10\x0eJ\x04\x08\x0e\x10\x0f\"\xa2\x02\n\x11PolicyApplication\x12\x11\n\tpolicy_id\x18\x01 \x01(\t\x12\x1b\n\x13\x63ompute_instance_id\x18\x02 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08\x12@\n\x06status\x18\x04 \x01(\x0e\x32\x30.yandex.cloud.backup.v1.PolicyApplication.Status\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\ris_processing\x18\x06 \x01(\x08\"C\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03*J\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0e\n\nVERSION_11\x10\x01\x12\x0e\n\nVERSION_12\x10\x02\x12\x08\n\x04\x41UTO\x10\x03\x42_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -94,58 +94,62 @@ if not _descriptor._USE_C_DESCRIPTORS:
94
94
  _globals['_POLICYSETTINGS'].fields_by_name['cbt']._serialized_options = b'\350\3071\001'
95
95
  _globals['_POLICYSETTINGS'].fields_by_name['quiesce_snapshotting_enabled']._loaded_options = None
96
96
  _globals['_POLICYSETTINGS'].fields_by_name['quiesce_snapshotting_enabled']._serialized_options = b'\030\001'
97
- _globals['_FORMAT']._serialized_start=5158
98
- _globals['_FORMAT']._serialized_end=5232
97
+ _globals['_FORMAT']._serialized_start=5503
98
+ _globals['_FORMAT']._serialized_end=5577
99
99
  _globals['_POLICY']._serialized_start=128
100
100
  _globals['_POLICY']._serialized_end=380
101
101
  _globals['_POLICYSETTINGS']._serialized_start=383
102
- _globals['_POLICYSETTINGS']._serialized_end=4863
103
- _globals['_POLICYSETTINGS_INTERVAL']._serialized_start=1636
104
- _globals['_POLICYSETTINGS_INTERVAL']._serialized_end=1843
105
- _globals['_POLICYSETTINGS_INTERVAL_TYPE']._serialized_start=1745
106
- _globals['_POLICYSETTINGS_INTERVAL_TYPE']._serialized_end=1843
107
- _globals['_POLICYSETTINGS_RETRIESCONFIGURATION']._serialized_start=1846
108
- _globals['_POLICYSETTINGS_RETRIESCONFIGURATION']._serialized_end=1988
109
- _globals['_POLICYSETTINGS_SPLITTING']._serialized_start=1990
110
- _globals['_POLICYSETTINGS_SPLITTING']._serialized_end=2015
111
- _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS']._serialized_start=2018
112
- _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS']._serialized_end=2260
113
- _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS_VSSPROVIDER']._serialized_start=2178
114
- _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS_VSSPROVIDER']._serialized_end=2260
115
- _globals['_POLICYSETTINGS_ARCHIVEPROPERTIES']._serialized_start=2262
116
- _globals['_POLICYSETTINGS_ARCHIVEPROPERTIES']._serialized_end=2295
117
- _globals['_POLICYSETTINGS_PERFORMANCEWINDOW']._serialized_start=2297
118
- _globals['_POLICYSETTINGS_PERFORMANCEWINDOW']._serialized_end=2333
119
- _globals['_POLICYSETTINGS_TIMEOFDAY']._serialized_start=2335
120
- _globals['_POLICYSETTINGS_TIMEOFDAY']._serialized_end=2376
121
- _globals['_POLICYSETTINGS_RETENTION']._serialized_start=2379
122
- _globals['_POLICYSETTINGS_RETENTION']._serialized_end=2698
123
- _globals['_POLICYSETTINGS_RETENTION_RETENTIONRULE']._serialized_start=2495
124
- _globals['_POLICYSETTINGS_RETENTION_RETENTIONRULE']._serialized_end=2692
125
- _globals['_POLICYSETTINGS_SCHEDULING']._serialized_start=2701
126
- _globals['_POLICYSETTINGS_SCHEDULING']._serialized_end=4365
127
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET']._serialized_start=3172
128
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET']._serialized_end=4197
129
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TIME']._serialized_start=3459
130
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TIME']._serialized_end=3984
131
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_SINCELASTEXECTIME']._serialized_start=3986
132
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_SINCELASTEXECTIME']._serialized_end=4075
133
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TYPE']._serialized_start=4077
134
- _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TYPE']._serialized_end=4180
135
- _globals['_POLICYSETTINGS_SCHEDULING_SCHEME']._serialized_start=4200
136
- _globals['_POLICYSETTINGS_SCHEDULING_SCHEME']._serialized_end=4365
137
- _globals['_POLICYSETTINGS_FILEFILTERS']._serialized_start=4367
138
- _globals['_POLICYSETTINGS_FILEFILTERS']._serialized_end=4430
139
- _globals['_POLICYSETTINGS_COMPRESSION']._serialized_start=4432
140
- _globals['_POLICYSETTINGS_COMPRESSION']._serialized_end=4514
141
- _globals['_POLICYSETTINGS_REPEATEPERIOD']._serialized_start=4516
142
- _globals['_POLICYSETTINGS_REPEATEPERIOD']._serialized_end=4611
143
- _globals['_POLICYSETTINGS_DAY']._serialized_start=4613
144
- _globals['_POLICYSETTINGS_DAY']._serialized_end=4731
145
- _globals['_POLICYSETTINGS_CHANGEDBLOCKTRACKING']._serialized_start=4733
146
- _globals['_POLICYSETTINGS_CHANGEDBLOCKTRACKING']._serialized_end=4851
147
- _globals['_POLICYAPPLICATION']._serialized_start=4866
148
- _globals['_POLICYAPPLICATION']._serialized_end=5156
149
- _globals['_POLICYAPPLICATION_STATUS']._serialized_start=5089
150
- _globals['_POLICYAPPLICATION_STATUS']._serialized_end=5156
102
+ _globals['_POLICYSETTINGS']._serialized_end=5208
103
+ _globals['_POLICYSETTINGS_INTERVAL']._serialized_start=1718
104
+ _globals['_POLICYSETTINGS_INTERVAL']._serialized_end=1925
105
+ _globals['_POLICYSETTINGS_INTERVAL_TYPE']._serialized_start=1827
106
+ _globals['_POLICYSETTINGS_INTERVAL_TYPE']._serialized_end=1925
107
+ _globals['_POLICYSETTINGS_RETRIESCONFIGURATION']._serialized_start=1928
108
+ _globals['_POLICYSETTINGS_RETRIESCONFIGURATION']._serialized_end=2070
109
+ _globals['_POLICYSETTINGS_SPLITTING']._serialized_start=2072
110
+ _globals['_POLICYSETTINGS_SPLITTING']._serialized_end=2097
111
+ _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS']._serialized_start=2100
112
+ _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS']._serialized_end=2342
113
+ _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS_VSSPROVIDER']._serialized_start=2260
114
+ _globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS_VSSPROVIDER']._serialized_end=2342
115
+ _globals['_POLICYSETTINGS_ARCHIVEPROPERTIES']._serialized_start=2344
116
+ _globals['_POLICYSETTINGS_ARCHIVEPROPERTIES']._serialized_end=2377
117
+ _globals['_POLICYSETTINGS_PERFORMANCEWINDOW']._serialized_start=2379
118
+ _globals['_POLICYSETTINGS_PERFORMANCEWINDOW']._serialized_end=2415
119
+ _globals['_POLICYSETTINGS_TIMEOFDAY']._serialized_start=2417
120
+ _globals['_POLICYSETTINGS_TIMEOFDAY']._serialized_end=2458
121
+ _globals['_POLICYSETTINGS_RETENTION']._serialized_start=2461
122
+ _globals['_POLICYSETTINGS_RETENTION']._serialized_end=2780
123
+ _globals['_POLICYSETTINGS_RETENTION_RETENTIONRULE']._serialized_start=2577
124
+ _globals['_POLICYSETTINGS_RETENTION_RETENTIONRULE']._serialized_end=2774
125
+ _globals['_POLICYSETTINGS_SCHEDULING']._serialized_start=2783
126
+ _globals['_POLICYSETTINGS_SCHEDULING']._serialized_end=4447
127
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET']._serialized_start=3254
128
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET']._serialized_end=4279
129
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TIME']._serialized_start=3541
130
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TIME']._serialized_end=4066
131
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_SINCELASTEXECTIME']._serialized_start=4068
132
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_SINCELASTEXECTIME']._serialized_end=4157
133
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TYPE']._serialized_start=4159
134
+ _globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TYPE']._serialized_end=4262
135
+ _globals['_POLICYSETTINGS_SCHEDULING_SCHEME']._serialized_start=4282
136
+ _globals['_POLICYSETTINGS_SCHEDULING_SCHEME']._serialized_end=4447
137
+ _globals['_POLICYSETTINGS_FILEFILTERS']._serialized_start=4449
138
+ _globals['_POLICYSETTINGS_FILEFILTERS']._serialized_end=4512
139
+ _globals['_POLICYSETTINGS_PREPOSTCOMMAND']._serialized_start=4515
140
+ _globals['_POLICYSETTINGS_PREPOSTCOMMAND']._serialized_end=4695
141
+ _globals['_POLICYSETTINGS_COMPRESSION']._serialized_start=4697
142
+ _globals['_POLICYSETTINGS_COMPRESSION']._serialized_end=4779
143
+ _globals['_POLICYSETTINGS_REPEATEPERIOD']._serialized_start=4781
144
+ _globals['_POLICYSETTINGS_REPEATEPERIOD']._serialized_end=4876
145
+ _globals['_POLICYSETTINGS_DAY']._serialized_start=4878
146
+ _globals['_POLICYSETTINGS_DAY']._serialized_end=4996
147
+ _globals['_POLICYSETTINGS_CHANGEDBLOCKTRACKING']._serialized_start=4998
148
+ _globals['_POLICYSETTINGS_CHANGEDBLOCKTRACKING']._serialized_end=5116
149
+ _globals['_POLICYSETTINGS_COMMANDTYPE']._serialized_start=5118
150
+ _globals['_POLICYSETTINGS_COMMANDTYPE']._serialized_end=5196
151
+ _globals['_POLICYAPPLICATION']._serialized_start=5211
152
+ _globals['_POLICYAPPLICATION']._serialized_end=5501
153
+ _globals['_POLICYAPPLICATION_STATUS']._serialized_start=5434
154
+ _globals['_POLICYAPPLICATION_STATUS']._serialized_end=5501
151
155
  # @@protoc_insertion_point(module_scope)
@@ -186,6 +186,25 @@ class PolicySettings(google.protobuf.message.Message):
186
186
  ENABLE_AND_USE: PolicySettings.ChangedBlockTracking.ValueType # 2
187
187
  DO_NOT_USE: PolicySettings.ChangedBlockTracking.ValueType # 3
188
188
 
189
+ class _CommandType:
190
+ ValueType = typing.NewType("ValueType", builtins.int)
191
+ V: typing_extensions.TypeAlias = ValueType
192
+
193
+ class _CommandTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PolicySettings._CommandType.ValueType], builtins.type):
194
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
195
+ COMMAND_TYPE_UNSPECIFIED: PolicySettings._CommandType.ValueType # 0
196
+ PRE_COMMAND: PolicySettings._CommandType.ValueType # 1
197
+ """Launch command before backup execution"""
198
+ POST_COMMAND: PolicySettings._CommandType.ValueType # 2
199
+ """Launch command after backup execution"""
200
+
201
+ class CommandType(_CommandType, metaclass=_CommandTypeEnumTypeWrapper): ...
202
+ COMMAND_TYPE_UNSPECIFIED: PolicySettings.CommandType.ValueType # 0
203
+ PRE_COMMAND: PolicySettings.CommandType.ValueType # 1
204
+ """Launch command before backup execution"""
205
+ POST_COMMAND: PolicySettings.CommandType.ValueType # 2
206
+ """Launch command after backup execution"""
207
+
189
208
  @typing.final
190
209
  class Interval(google.protobuf.message.Message):
191
210
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -630,6 +649,44 @@ class PolicySettings(google.protobuf.message.Message):
630
649
  ) -> None: ...
631
650
  def ClearField(self, field_name: typing.Literal["exclusion_masks", b"exclusion_masks", "inclusion_masks", b"inclusion_masks"]) -> None: ...
632
651
 
652
+ @typing.final
653
+ class PrePostCommand(google.protobuf.message.Message):
654
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
655
+
656
+ CMD_FIELD_NUMBER: builtins.int
657
+ ARGS_FIELD_NUMBER: builtins.int
658
+ ENABLED_FIELD_NUMBER: builtins.int
659
+ STOP_ON_ERROR_FIELD_NUMBER: builtins.int
660
+ TYPE_FIELD_NUMBER: builtins.int
661
+ WAIT_FIELD_NUMBER: builtins.int
662
+ WORKDIR_FIELD_NUMBER: builtins.int
663
+ cmd: builtins.str
664
+ """Command to execute"""
665
+ args: builtins.str
666
+ """Command args"""
667
+ enabled: builtins.bool
668
+ """Is command enabled"""
669
+ stop_on_error: builtins.bool
670
+ """Stop backup execution on error"""
671
+ type: global___PolicySettings.CommandType.ValueType
672
+ """Type of command: pre or post"""
673
+ wait: builtins.bool
674
+ """Wait command finish before launching backup"""
675
+ workdir: builtins.str
676
+ """Workdir for command execution"""
677
+ def __init__(
678
+ self,
679
+ *,
680
+ cmd: builtins.str = ...,
681
+ args: builtins.str = ...,
682
+ enabled: builtins.bool = ...,
683
+ stop_on_error: builtins.bool = ...,
684
+ type: global___PolicySettings.CommandType.ValueType = ...,
685
+ wait: builtins.bool = ...,
686
+ workdir: builtins.str = ...,
687
+ ) -> None: ...
688
+ def ClearField(self, field_name: typing.Literal["args", b"args", "cmd", b"cmd", "enabled", b"enabled", "stop_on_error", b"stop_on_error", "type", b"type", "wait", b"wait", "workdir", b"workdir"]) -> None: ...
689
+
633
690
  COMPRESSION_FIELD_NUMBER: builtins.int
634
691
  FORMAT_FIELD_NUMBER: builtins.int
635
692
  MULTI_VOLUME_SNAPSHOTTING_ENABLED_FIELD_NUMBER: builtins.int
@@ -650,6 +707,7 @@ class PolicySettings(google.protobuf.message.Message):
650
707
  SECTOR_BY_SECTOR_FIELD_NUMBER: builtins.int
651
708
  VALIDATION_ENABLED_FIELD_NUMBER: builtins.int
652
709
  LVM_SNAPSHOTTING_ENABLED_FIELD_NUMBER: builtins.int
710
+ PRE_POST_COMMANDS_FIELD_NUMBER: builtins.int
653
711
  compression: global___PolicySettings.Compression.ValueType
654
712
  """Archive compression level."""
655
713
  format: global___Format.ValueType
@@ -723,6 +781,10 @@ class PolicySettings(google.protobuf.message.Message):
723
781
  def file_filters(self) -> global___PolicySettings.FileFilters:
724
782
  """File filters to specify masks of files to backup or to exclude of backuping"""
725
783
 
784
+ @property
785
+ def pre_post_commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PolicySettings.PrePostCommand]:
786
+ """Commands to launch before or after backup execution"""
787
+
726
788
  def __init__(
727
789
  self,
728
790
  *,
@@ -746,9 +808,10 @@ class PolicySettings(google.protobuf.message.Message):
746
808
  sector_by_sector: builtins.bool = ...,
747
809
  validation_enabled: builtins.bool = ...,
748
810
  lvm_snapshotting_enabled: builtins.bool = ...,
811
+ pre_post_commands: collections.abc.Iterable[global___PolicySettings.PrePostCommand] | None = ...,
749
812
  ) -> None: ...
750
813
  def HasField(self, field_name: typing.Literal["archive", b"archive", "file_filters", b"file_filters", "performance_window", b"performance_window", "reattempts", b"reattempts", "retention", b"retention", "scheduling", b"scheduling", "splitting", b"splitting", "vm_snapshot_reattempts", b"vm_snapshot_reattempts", "vss", b"vss"]) -> builtins.bool: ...
751
- def ClearField(self, field_name: typing.Literal["archive", b"archive", "cbt", b"cbt", "compression", b"compression", "fast_backup_enabled", b"fast_backup_enabled", "file_filters", b"file_filters", "format", b"format", "lvm_snapshotting_enabled", b"lvm_snapshotting_enabled", "multi_volume_snapshotting_enabled", b"multi_volume_snapshotting_enabled", "performance_window", b"performance_window", "preserve_file_security_settings", b"preserve_file_security_settings", "quiesce_snapshotting_enabled", b"quiesce_snapshotting_enabled", "reattempts", b"reattempts", "retention", b"retention", "scheduling", b"scheduling", "sector_by_sector", b"sector_by_sector", "silent_mode_enabled", b"silent_mode_enabled", "splitting", b"splitting", "validation_enabled", b"validation_enabled", "vm_snapshot_reattempts", b"vm_snapshot_reattempts", "vss", b"vss"]) -> None: ...
814
+ def ClearField(self, field_name: typing.Literal["archive", b"archive", "cbt", b"cbt", "compression", b"compression", "fast_backup_enabled", b"fast_backup_enabled", "file_filters", b"file_filters", "format", b"format", "lvm_snapshotting_enabled", b"lvm_snapshotting_enabled", "multi_volume_snapshotting_enabled", b"multi_volume_snapshotting_enabled", "performance_window", b"performance_window", "pre_post_commands", b"pre_post_commands", "preserve_file_security_settings", b"preserve_file_security_settings", "quiesce_snapshotting_enabled", b"quiesce_snapshotting_enabled", "reattempts", b"reattempts", "retention", b"retention", "scheduling", b"scheduling", "sector_by_sector", b"sector_by_sector", "silent_mode_enabled", b"silent_mode_enabled", "splitting", b"splitting", "validation_enabled", b"validation_enabled", "vm_snapshot_reattempts", b"vm_snapshot_reattempts", "vss", b"vss"]) -> None: ...
752
815
 
753
816
  global___PolicySettings = PolicySettings
754
817
 
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=yandex/cloud/baremetal/v1alpha/private_cloud_connection.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x16PrivateCloudConnection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x04 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x05 \x01(\t\x12\x1b\n\x13routing_instance_id\x18\x06 \x01(\t\x12\x0e\n\x06vrf_id\x18\x07 \x01(\t\x12M\n\x06status\x18\x08 \x01(\x0e\x32=.yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.Status\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\t\x10\x64J\x05\x08\x65\x10\xc9\x01\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=yandex/cloud/baremetal/v1alpha/private_cloud_connection.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x02\n\x16PrivateCloudConnection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x04 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x05 \x01(\t\x12\x1b\n\x13routing_instance_id\x18\x06 \x01(\t\x12\x0e\n\x06vrf_id\x18\x07 \x01(\t\x12M\n\x06status\x18\x08 \x01(\x0e\x32=.yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.Status\x12\x0c\n\x04name\x18\t \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\n\x10\x64J\x05\x08\x65\x10\xc9\x01\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -34,7 +34,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
34
34
  _globals['DESCRIPTOR']._loaded_options = None
35
35
  _globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
36
36
  _globals['_PRIVATECLOUDCONNECTION']._serialized_start=131
37
- _globals['_PRIVATECLOUDCONNECTION']._serialized_end=499
38
- _globals['_PRIVATECLOUDCONNECTION_STATUS']._serialized_start=378
39
- _globals['_PRIVATECLOUDCONNECTION_STATUS']._serialized_end=474
37
+ _globals['_PRIVATECLOUDCONNECTION']._serialized_end=513
38
+ _globals['_PRIVATECLOUDCONNECTION_STATUS']._serialized_start=392
39
+ _globals['_PRIVATECLOUDCONNECTION_STATUS']._serialized_end=488
40
40
  # @@protoc_insertion_point(module_scope)
@@ -65,6 +65,7 @@ class PrivateCloudConnection(google.protobuf.message.Message):
65
65
  ROUTING_INSTANCE_ID_FIELD_NUMBER: builtins.int
66
66
  VRF_ID_FIELD_NUMBER: builtins.int
67
67
  STATUS_FIELD_NUMBER: builtins.int
68
+ NAME_FIELD_NUMBER: builtins.int
68
69
  CREATED_AT_FIELD_NUMBER: builtins.int
69
70
  id: builtins.str
70
71
  """ID of the private cloud connection."""
@@ -78,6 +79,8 @@ class PrivateCloudConnection(google.protobuf.message.Message):
78
79
  """ID of VRF that is connected to routing Instance."""
79
80
  status: global___PrivateCloudConnection.Status.ValueType
80
81
  """Status of the private cloud connection."""
82
+ name: builtins.str
83
+ """Name of the private cloud connection."""
81
84
  @property
82
85
  def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
83
86
  """Creation timestamp."""
@@ -91,9 +94,10 @@ class PrivateCloudConnection(google.protobuf.message.Message):
91
94
  routing_instance_id: builtins.str = ...,
92
95
  vrf_id: builtins.str = ...,
93
96
  status: global___PrivateCloudConnection.Status.ValueType = ...,
97
+ name: builtins.str = ...,
94
98
  created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
95
99
  ) -> None: ...
96
100
  def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
97
- def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "folder_id", b"folder_id", "id", b"id", "routing_instance_id", b"routing_instance_id", "status", b"status", "vrf_id", b"vrf_id"]) -> None: ...
101
+ def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "folder_id", b"folder_id", "id", b"id", "name", b"name", "routing_instance_id", b"routing_instance_id", "status", b"status", "vrf_id", b"vrf_id"]) -> None: ...
98
102
 
99
103
  global___PrivateCloudConnection = PrivateCloudConnection