yandexcloud 0.338.0__py3-none-any.whl → 0.340.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/common_pb2.py +32 -27
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +29 -2
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +32 -32
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +7 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +39 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +220 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +172 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +68 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +50 -50
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +86 -66
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +98 -2
- 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 +36 -5
- yandex/cloud/backup/v1/resource_pb2.py +21 -19
- yandex/cloud/backup/v1/resource_pb2.pyi +32 -2
- yandex/cloud/backup/v1/resource_service_pb2.py +30 -30
- yandex/cloud/backup/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/baremetal/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +109 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +111 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.pyi +33 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.py +39 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +68 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.pyi +36 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.py +44 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.pyi +125 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +108 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.pyi +364 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.py +47 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.pyi +174 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +112 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.pyi +443 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.py +45 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.pyi +143 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +382 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.py +54 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.pyi +282 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +217 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +850 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.py +589 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.pyi +281 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.py +46 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.pyi +165 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +51 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.pyi +91 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.py +145 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.pyi +70 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.pyi +77 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.pyi +357 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.pyi +29 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +40 -40
- yandex/cloud/dataproc/manager/v1/job_pb2.pyi +26 -26
- yandex/cloud/dataproc/manager/v1/job_service_pb2.pyi +7 -7
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.py +2 -2
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/manager/v1/manager_service_pb2.pyi +2 -2
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.pyi +3 -3
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -5
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +13 -13
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/job_pb2.pyi +15 -15
- yandex/cloud/dataproc/v1/job_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/resource_preset_pb2.pyi +2 -2
- yandex/cloud/dataproc/v1/subcluster_pb2.pyi +11 -11
- yandex/cloud/dataproc/v1/subcluster_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.pyi +3 -3
- yandex/cloud/iam/v1/api_key_pb2.pyi +3 -1
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +3 -1
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +32 -25
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +133 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +61 -0
- yandex/cloud/k8s/v1/cluster_pb2.py +40 -30
- yandex/cloud/k8s/v1/cluster_pb2.pyi +94 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -42
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +70 -4
- yandex/cloud/k8s/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/k8s/v1/resource_preset_pb2.pyi +43 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.py +53 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.pyi +81 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.py +146 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.pyi +71 -0
- yandex/cloud/mdb/mysql/v1/backup_pb2.py +6 -6
- yandex/cloud/mdb/mysql/v1/backup_pb2.pyi +5 -1
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +73 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +100 -2
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +30 -3
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +162 -0
- 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 +78 -78
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +29 -29
- yandex/cloud/monitoring/v3/unit_format_pb2.py +2 -2
- yandex/cloud/monitoring/v3/unit_format_pb2.pyi +16 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +28 -22
- yandex/cloud/spark/__init__.py +0 -0
- yandex/cloud/spark/v1/__init__.py +0 -0
- yandex/cloud/spark/v1/cluster_pb2.py +100 -0
- yandex/cloud/spark/v1/cluster_pb2.pyi +444 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +124 -0
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +333 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +366 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +169 -0
- yandex/cloud/spark/v1/job_pb2.py +56 -0
- yandex/cloud/spark/v1/job_pb2.pyi +346 -0
- yandex/cloud/spark/v1/job_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/job_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/job_service_pb2.py +97 -0
- yandex/cloud/spark/v1/job_service_pb2.pyi +224 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.py +279 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.pyi +132 -0
- yandex/cloud/spark/v1/maintenance_pb2.py +53 -0
- yandex/cloud/spark/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_sdk.py +1 -0
- yandexcloud/_wrappers/__init__.py +15 -0
- yandexcloud/_wrappers/spark/__init__.py +603 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/METADATA +2 -1
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/RECORD +219 -106
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/top_level.txt +0 -0
|
@@ -112,6 +112,16 @@ class LoadBalancerServiceStub(object):
|
|
|
112
112
|
request_serializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.ListLoadBalancerOperationsRequest.SerializeToString,
|
|
113
113
|
response_deserializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.ListLoadBalancerOperationsResponse.FromString,
|
|
114
114
|
_registered_method=True)
|
|
115
|
+
self.StartZonalShift = channel.unary_unary(
|
|
116
|
+
'/yandex.cloud.apploadbalancer.v1.LoadBalancerService/StartZonalShift',
|
|
117
|
+
request_serializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.StartZonalShiftRequest.SerializeToString,
|
|
118
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
119
|
+
_registered_method=True)
|
|
120
|
+
self.CancelZonalShift = channel.unary_unary(
|
|
121
|
+
'/yandex.cloud.apploadbalancer.v1.LoadBalancerService/CancelZonalShift',
|
|
122
|
+
request_serializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.CancelZonalShiftRequest.SerializeToString,
|
|
123
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
124
|
+
_registered_method=True)
|
|
115
125
|
|
|
116
126
|
|
|
117
127
|
class LoadBalancerServiceServicer(object):
|
|
@@ -233,6 +243,20 @@ class LoadBalancerServiceServicer(object):
|
|
|
233
243
|
context.set_details('Method not implemented!')
|
|
234
244
|
raise NotImplementedError('Method not implemented!')
|
|
235
245
|
|
|
246
|
+
def StartZonalShift(self, request, context):
|
|
247
|
+
"""Start ZonalShift for the specified load balancer.
|
|
248
|
+
"""
|
|
249
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
250
|
+
context.set_details('Method not implemented!')
|
|
251
|
+
raise NotImplementedError('Method not implemented!')
|
|
252
|
+
|
|
253
|
+
def CancelZonalShift(self, request, context):
|
|
254
|
+
"""Cancel ZonalShift for the specified load balancer.
|
|
255
|
+
"""
|
|
256
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
257
|
+
context.set_details('Method not implemented!')
|
|
258
|
+
raise NotImplementedError('Method not implemented!')
|
|
259
|
+
|
|
236
260
|
|
|
237
261
|
def add_LoadBalancerServiceServicer_to_server(servicer, server):
|
|
238
262
|
rpc_method_handlers = {
|
|
@@ -311,6 +335,16 @@ def add_LoadBalancerServiceServicer_to_server(servicer, server):
|
|
|
311
335
|
request_deserializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.ListLoadBalancerOperationsRequest.FromString,
|
|
312
336
|
response_serializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.ListLoadBalancerOperationsResponse.SerializeToString,
|
|
313
337
|
),
|
|
338
|
+
'StartZonalShift': grpc.unary_unary_rpc_method_handler(
|
|
339
|
+
servicer.StartZonalShift,
|
|
340
|
+
request_deserializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.StartZonalShiftRequest.FromString,
|
|
341
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
342
|
+
),
|
|
343
|
+
'CancelZonalShift': grpc.unary_unary_rpc_method_handler(
|
|
344
|
+
servicer.CancelZonalShift,
|
|
345
|
+
request_deserializer=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.CancelZonalShiftRequest.FromString,
|
|
346
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
347
|
+
),
|
|
314
348
|
}
|
|
315
349
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
316
350
|
'yandex.cloud.apploadbalancer.v1.LoadBalancerService', rpc_method_handlers)
|
|
@@ -727,3 +761,57 @@ class LoadBalancerService(object):
|
|
|
727
761
|
timeout,
|
|
728
762
|
metadata,
|
|
729
763
|
_registered_method=True)
|
|
764
|
+
|
|
765
|
+
@staticmethod
|
|
766
|
+
def StartZonalShift(request,
|
|
767
|
+
target,
|
|
768
|
+
options=(),
|
|
769
|
+
channel_credentials=None,
|
|
770
|
+
call_credentials=None,
|
|
771
|
+
insecure=False,
|
|
772
|
+
compression=None,
|
|
773
|
+
wait_for_ready=None,
|
|
774
|
+
timeout=None,
|
|
775
|
+
metadata=None):
|
|
776
|
+
return grpc.experimental.unary_unary(
|
|
777
|
+
request,
|
|
778
|
+
target,
|
|
779
|
+
'/yandex.cloud.apploadbalancer.v1.LoadBalancerService/StartZonalShift',
|
|
780
|
+
yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.StartZonalShiftRequest.SerializeToString,
|
|
781
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
782
|
+
options,
|
|
783
|
+
channel_credentials,
|
|
784
|
+
insecure,
|
|
785
|
+
call_credentials,
|
|
786
|
+
compression,
|
|
787
|
+
wait_for_ready,
|
|
788
|
+
timeout,
|
|
789
|
+
metadata,
|
|
790
|
+
_registered_method=True)
|
|
791
|
+
|
|
792
|
+
@staticmethod
|
|
793
|
+
def CancelZonalShift(request,
|
|
794
|
+
target,
|
|
795
|
+
options=(),
|
|
796
|
+
channel_credentials=None,
|
|
797
|
+
call_credentials=None,
|
|
798
|
+
insecure=False,
|
|
799
|
+
compression=None,
|
|
800
|
+
wait_for_ready=None,
|
|
801
|
+
timeout=None,
|
|
802
|
+
metadata=None):
|
|
803
|
+
return grpc.experimental.unary_unary(
|
|
804
|
+
request,
|
|
805
|
+
target,
|
|
806
|
+
'/yandex.cloud.apploadbalancer.v1.LoadBalancerService/CancelZonalShift',
|
|
807
|
+
yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_load__balancer__service__pb2.CancelZonalShiftRequest.SerializeToString,
|
|
808
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
809
|
+
options,
|
|
810
|
+
channel_credentials,
|
|
811
|
+
insecure,
|
|
812
|
+
call_credentials,
|
|
813
|
+
compression,
|
|
814
|
+
wait_for_ready,
|
|
815
|
+
timeout,
|
|
816
|
+
metadata,
|
|
817
|
+
_registered_method=True)
|
|
@@ -128,6 +128,18 @@ class LoadBalancerServiceStub:
|
|
|
128
128
|
]
|
|
129
129
|
"""Lists operations for the specified application load balancer."""
|
|
130
130
|
|
|
131
|
+
StartZonalShift: grpc.UnaryUnaryMultiCallable[
|
|
132
|
+
yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.StartZonalShiftRequest,
|
|
133
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
134
|
+
]
|
|
135
|
+
"""Start ZonalShift for the specified load balancer."""
|
|
136
|
+
|
|
137
|
+
CancelZonalShift: grpc.UnaryUnaryMultiCallable[
|
|
138
|
+
yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.CancelZonalShiftRequest,
|
|
139
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
140
|
+
]
|
|
141
|
+
"""Cancel ZonalShift for the specified load balancer."""
|
|
142
|
+
|
|
131
143
|
class LoadBalancerServiceAsyncStub:
|
|
132
144
|
"""A set of methods for managing application load balancers."""
|
|
133
145
|
|
|
@@ -236,6 +248,18 @@ class LoadBalancerServiceAsyncStub:
|
|
|
236
248
|
]
|
|
237
249
|
"""Lists operations for the specified application load balancer."""
|
|
238
250
|
|
|
251
|
+
StartZonalShift: grpc.aio.UnaryUnaryMultiCallable[
|
|
252
|
+
yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.StartZonalShiftRequest,
|
|
253
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
254
|
+
]
|
|
255
|
+
"""Start ZonalShift for the specified load balancer."""
|
|
256
|
+
|
|
257
|
+
CancelZonalShift: grpc.aio.UnaryUnaryMultiCallable[
|
|
258
|
+
yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.CancelZonalShiftRequest,
|
|
259
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
260
|
+
]
|
|
261
|
+
"""Cancel ZonalShift for the specified load balancer."""
|
|
262
|
+
|
|
239
263
|
class LoadBalancerServiceServicer(metaclass=abc.ABCMeta):
|
|
240
264
|
"""A set of methods for managing application load balancers."""
|
|
241
265
|
|
|
@@ -374,4 +398,20 @@ class LoadBalancerServiceServicer(metaclass=abc.ABCMeta):
|
|
|
374
398
|
) -> typing.Union[yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.ListLoadBalancerOperationsResponse, collections.abc.Awaitable[yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.ListLoadBalancerOperationsResponse]]:
|
|
375
399
|
"""Lists operations for the specified application load balancer."""
|
|
376
400
|
|
|
401
|
+
@abc.abstractmethod
|
|
402
|
+
def StartZonalShift(
|
|
403
|
+
self,
|
|
404
|
+
request: yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.StartZonalShiftRequest,
|
|
405
|
+
context: _ServicerContext,
|
|
406
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
407
|
+
"""Start ZonalShift for the specified load balancer."""
|
|
408
|
+
|
|
409
|
+
@abc.abstractmethod
|
|
410
|
+
def CancelZonalShift(
|
|
411
|
+
self,
|
|
412
|
+
request: yandex.cloud.apploadbalancer.v1.load_balancer_service_pb2.CancelZonalShiftRequest,
|
|
413
|
+
context: _ServicerContext,
|
|
414
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
415
|
+
"""Cancel ZonalShift for the specified load balancer."""
|
|
416
|
+
|
|
377
417
|
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\"\
|
|
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')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -74,6 +74,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
74
74
|
_globals['_POLICYSETTINGS'].fields_by_name['compression']._serialized_options = b'\350\3071\001'
|
|
75
75
|
_globals['_POLICYSETTINGS'].fields_by_name['format']._loaded_options = None
|
|
76
76
|
_globals['_POLICYSETTINGS'].fields_by_name['format']._serialized_options = b'\350\3071\001'
|
|
77
|
+
_globals['_POLICYSETTINGS'].fields_by_name['preserve_file_security_settings']._loaded_options = None
|
|
78
|
+
_globals['_POLICYSETTINGS'].fields_by_name['preserve_file_security_settings']._serialized_options = b'\030\001'
|
|
77
79
|
_globals['_POLICYSETTINGS'].fields_by_name['reattempts']._loaded_options = None
|
|
78
80
|
_globals['_POLICYSETTINGS'].fields_by_name['reattempts']._serialized_options = b'\350\3071\001'
|
|
79
81
|
_globals['_POLICYSETTINGS'].fields_by_name['splitting']._loaded_options = None
|
|
@@ -90,58 +92,60 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
90
92
|
_globals['_POLICYSETTINGS'].fields_by_name['scheduling']._serialized_options = b'\350\3071\001'
|
|
91
93
|
_globals['_POLICYSETTINGS'].fields_by_name['cbt']._loaded_options = None
|
|
92
94
|
_globals['_POLICYSETTINGS'].fields_by_name['cbt']._serialized_options = b'\350\3071\001'
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
+
_globals['_POLICYSETTINGS'].fields_by_name['quiesce_snapshotting_enabled']._loaded_options = None
|
|
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
|
|
95
99
|
_globals['_POLICY']._serialized_start=128
|
|
96
100
|
_globals['_POLICY']._serialized_end=380
|
|
97
101
|
_globals['_POLICYSETTINGS']._serialized_start=383
|
|
98
|
-
_globals['_POLICYSETTINGS']._serialized_end=
|
|
99
|
-
_globals['_POLICYSETTINGS_INTERVAL']._serialized_start=
|
|
100
|
-
_globals['_POLICYSETTINGS_INTERVAL']._serialized_end=
|
|
101
|
-
_globals['_POLICYSETTINGS_INTERVAL_TYPE']._serialized_start=
|
|
102
|
-
_globals['_POLICYSETTINGS_INTERVAL_TYPE']._serialized_end=
|
|
103
|
-
_globals['_POLICYSETTINGS_RETRIESCONFIGURATION']._serialized_start=
|
|
104
|
-
_globals['_POLICYSETTINGS_RETRIESCONFIGURATION']._serialized_end=
|
|
105
|
-
_globals['_POLICYSETTINGS_SPLITTING']._serialized_start=
|
|
106
|
-
_globals['_POLICYSETTINGS_SPLITTING']._serialized_end=
|
|
107
|
-
_globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS']._serialized_start=
|
|
108
|
-
_globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS']._serialized_end=
|
|
109
|
-
_globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS_VSSPROVIDER']._serialized_start=
|
|
110
|
-
_globals['_POLICYSETTINGS_VOLUMESHADOWCOPYSERVICESETTINGS_VSSPROVIDER']._serialized_end=
|
|
111
|
-
_globals['_POLICYSETTINGS_ARCHIVEPROPERTIES']._serialized_start=
|
|
112
|
-
_globals['_POLICYSETTINGS_ARCHIVEPROPERTIES']._serialized_end=
|
|
113
|
-
_globals['_POLICYSETTINGS_PERFORMANCEWINDOW']._serialized_start=
|
|
114
|
-
_globals['_POLICYSETTINGS_PERFORMANCEWINDOW']._serialized_end=
|
|
115
|
-
_globals['_POLICYSETTINGS_TIMEOFDAY']._serialized_start=
|
|
116
|
-
_globals['_POLICYSETTINGS_TIMEOFDAY']._serialized_end=
|
|
117
|
-
_globals['_POLICYSETTINGS_RETENTION']._serialized_start=
|
|
118
|
-
_globals['_POLICYSETTINGS_RETENTION']._serialized_end=
|
|
119
|
-
_globals['_POLICYSETTINGS_RETENTION_RETENTIONRULE']._serialized_start=
|
|
120
|
-
_globals['_POLICYSETTINGS_RETENTION_RETENTIONRULE']._serialized_end=
|
|
121
|
-
_globals['_POLICYSETTINGS_SCHEDULING']._serialized_start=
|
|
122
|
-
_globals['_POLICYSETTINGS_SCHEDULING']._serialized_end=
|
|
123
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET']._serialized_start=
|
|
124
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET']._serialized_end=
|
|
125
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TIME']._serialized_start=
|
|
126
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TIME']._serialized_end=
|
|
127
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_SINCELASTEXECTIME']._serialized_start=
|
|
128
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_SINCELASTEXECTIME']._serialized_end=
|
|
129
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TYPE']._serialized_start=
|
|
130
|
-
_globals['_POLICYSETTINGS_SCHEDULING_BACKUPSET_TYPE']._serialized_end=
|
|
131
|
-
_globals['_POLICYSETTINGS_SCHEDULING_SCHEME']._serialized_start=
|
|
132
|
-
_globals['_POLICYSETTINGS_SCHEDULING_SCHEME']._serialized_end=
|
|
133
|
-
_globals['_POLICYSETTINGS_FILEFILTERS']._serialized_start=
|
|
134
|
-
_globals['_POLICYSETTINGS_FILEFILTERS']._serialized_end=
|
|
135
|
-
_globals['_POLICYSETTINGS_COMPRESSION']._serialized_start=
|
|
136
|
-
_globals['_POLICYSETTINGS_COMPRESSION']._serialized_end=
|
|
137
|
-
_globals['_POLICYSETTINGS_REPEATEPERIOD']._serialized_start=
|
|
138
|
-
_globals['_POLICYSETTINGS_REPEATEPERIOD']._serialized_end=
|
|
139
|
-
_globals['_POLICYSETTINGS_DAY']._serialized_start=
|
|
140
|
-
_globals['_POLICYSETTINGS_DAY']._serialized_end=
|
|
141
|
-
_globals['_POLICYSETTINGS_CHANGEDBLOCKTRACKING']._serialized_start=
|
|
142
|
-
_globals['_POLICYSETTINGS_CHANGEDBLOCKTRACKING']._serialized_end=
|
|
143
|
-
_globals['_POLICYAPPLICATION']._serialized_start=
|
|
144
|
-
_globals['_POLICYAPPLICATION']._serialized_end=
|
|
145
|
-
_globals['_POLICYAPPLICATION_STATUS']._serialized_start=
|
|
146
|
-
_globals['_POLICYAPPLICATION_STATUS']._serialized_end=
|
|
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
|
|
147
151
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -472,12 +472,15 @@ class PolicySettings(google.protobuf.message.Message):
|
|
|
472
472
|
INCLUDE_LAST_DAY_OF_MONTH_FIELD_NUMBER: builtins.int
|
|
473
473
|
MONTHS_FIELD_NUMBER: builtins.int
|
|
474
474
|
TYPE_FIELD_NUMBER: builtins.int
|
|
475
|
+
RUN_LATER_FIELD_NUMBER: builtins.int
|
|
475
476
|
include_last_day_of_month: builtins.bool
|
|
476
477
|
"""If set to true, last day of month will activate
|
|
477
478
|
the policy.
|
|
478
479
|
"""
|
|
479
480
|
type: global___PolicySettings.RepeatePeriod.ValueType
|
|
480
481
|
"""Possible types: `REPEATE_PERIOD_UNSPECIFIED`, `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY`."""
|
|
482
|
+
run_later: builtins.bool
|
|
483
|
+
"""If the machine is off, launch missed tasks on boot up."""
|
|
481
484
|
@property
|
|
482
485
|
def weekdays(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PolicySettings.Day.ValueType]:
|
|
483
486
|
"""Days in a week to perform a backup."""
|
|
@@ -520,9 +523,10 @@ class PolicySettings(google.protobuf.message.Message):
|
|
|
520
523
|
include_last_day_of_month: builtins.bool = ...,
|
|
521
524
|
months: collections.abc.Iterable[builtins.int] | None = ...,
|
|
522
525
|
type: global___PolicySettings.RepeatePeriod.ValueType = ...,
|
|
526
|
+
run_later: builtins.bool = ...,
|
|
523
527
|
) -> None: ...
|
|
524
528
|
def HasField(self, field_name: typing.Literal["repeat_every", b"repeat_every", "time_from", b"time_from", "time_to", b"time_to"]) -> builtins.bool: ...
|
|
525
|
-
def ClearField(self, field_name: typing.Literal["include_last_day_of_month", b"include_last_day_of_month", "monthdays", b"monthdays", "months", b"months", "repeat_at", b"repeat_at", "repeat_every", b"repeat_every", "time_from", b"time_from", "time_to", b"time_to", "type", b"type", "weekdays", b"weekdays"]) -> None: ...
|
|
529
|
+
def ClearField(self, field_name: typing.Literal["include_last_day_of_month", b"include_last_day_of_month", "monthdays", b"monthdays", "months", b"months", "repeat_at", b"repeat_at", "repeat_every", b"repeat_every", "run_later", b"run_later", "time_from", b"time_from", "time_to", b"time_to", "type", b"type", "weekdays", b"weekdays"]) -> None: ...
|
|
526
530
|
|
|
527
531
|
@typing.final
|
|
528
532
|
class SinceLastExecTime(google.protobuf.message.Message):
|
|
@@ -643,14 +647,19 @@ class PolicySettings(google.protobuf.message.Message):
|
|
|
643
647
|
FAST_BACKUP_ENABLED_FIELD_NUMBER: builtins.int
|
|
644
648
|
QUIESCE_SNAPSHOTTING_ENABLED_FIELD_NUMBER: builtins.int
|
|
645
649
|
FILE_FILTERS_FIELD_NUMBER: builtins.int
|
|
650
|
+
SECTOR_BY_SECTOR_FIELD_NUMBER: builtins.int
|
|
651
|
+
VALIDATION_ENABLED_FIELD_NUMBER: builtins.int
|
|
652
|
+
LVM_SNAPSHOTTING_ENABLED_FIELD_NUMBER: builtins.int
|
|
646
653
|
compression: global___PolicySettings.Compression.ValueType
|
|
647
654
|
"""Archive compression level."""
|
|
648
655
|
format: global___Format.ValueType
|
|
649
|
-
"""Format of the
|
|
656
|
+
"""Format of the Acronis backup archive."""
|
|
650
657
|
multi_volume_snapshotting_enabled: builtins.bool
|
|
651
658
|
"""If true, snapshots of multiple volumes will be taken simultaneously."""
|
|
652
659
|
preserve_file_security_settings: builtins.bool
|
|
653
|
-
"""If true, the file security settings will be preserved.
|
|
660
|
+
"""If true, the file security settings will be preserved.
|
|
661
|
+
Deprecated.
|
|
662
|
+
"""
|
|
654
663
|
silent_mode_enabled: builtins.bool
|
|
655
664
|
"""If true, a user interaction will be avoided when possible. Equals to false if value is not specified."""
|
|
656
665
|
cbt: global___PolicySettings.ChangedBlockTracking.ValueType
|
|
@@ -658,7 +667,26 @@ class PolicySettings(google.protobuf.message.Message):
|
|
|
658
667
|
fast_backup_enabled: builtins.bool
|
|
659
668
|
"""If true, determines whether a file has changed by the file size and timestamp. Otherwise, the entire file contents are compared to those stored in the backup."""
|
|
660
669
|
quiesce_snapshotting_enabled: builtins.bool
|
|
661
|
-
"""If true, a quiesced snapshot of the virtual machine will be taken.
|
|
670
|
+
"""If true, a quiesced snapshot of the virtual machine will be taken.
|
|
671
|
+
Deprecated.
|
|
672
|
+
"""
|
|
673
|
+
sector_by_sector: builtins.bool
|
|
674
|
+
"""A sector-by-sector backup of a disk or volume creates a backup copy of all sectors of the disk or volume,
|
|
675
|
+
including those that do not contain data.
|
|
676
|
+
Therefore, the size of such a backup copy will be equal to the size of the original disk or volume.
|
|
677
|
+
This method can be used to back up a disk or volume with an unsupported file system.
|
|
678
|
+
"""
|
|
679
|
+
validation_enabled: builtins.bool
|
|
680
|
+
"""Validation is a time-consuming process, even with incremental or differential backups of small amounts of data.
|
|
681
|
+
This is because not only the data physically contained in the backup copy is verified,
|
|
682
|
+
but all data restored when it is selected.
|
|
683
|
+
This option requires access to previously created backup copies.
|
|
684
|
+
"""
|
|
685
|
+
lvm_snapshotting_enabled: builtins.bool
|
|
686
|
+
"""LVM will be used to create the volume snapshot.
|
|
687
|
+
If LVM fails to create a snapshot (for example, because there is not enough free space),
|
|
688
|
+
the software will create the snapshot itself.
|
|
689
|
+
"""
|
|
662
690
|
@property
|
|
663
691
|
def reattempts(self) -> global___PolicySettings.RetriesConfiguration:
|
|
664
692
|
"""Configuration of retries on recoverable errors during the backup operations like reconnection to destination. No attempts to fix recoverable errors will be made if retry configuration is not set."""
|
|
@@ -715,9 +743,12 @@ class PolicySettings(google.protobuf.message.Message):
|
|
|
715
743
|
fast_backup_enabled: builtins.bool = ...,
|
|
716
744
|
quiesce_snapshotting_enabled: builtins.bool = ...,
|
|
717
745
|
file_filters: global___PolicySettings.FileFilters | None = ...,
|
|
746
|
+
sector_by_sector: builtins.bool = ...,
|
|
747
|
+
validation_enabled: builtins.bool = ...,
|
|
748
|
+
lvm_snapshotting_enabled: builtins.bool = ...,
|
|
718
749
|
) -> None: ...
|
|
719
750
|
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: ...
|
|
720
|
-
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", "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", "silent_mode_enabled", b"silent_mode_enabled", "splitting", b"splitting", "vm_snapshot_reattempts", b"vm_snapshot_reattempts", "vss", b"vss"]) -> None: ...
|
|
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: ...
|
|
721
752
|
|
|
722
753
|
global___PolicySettings = PolicySettings
|
|
723
754
|
|
|
@@ -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/backup/v1/resource.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/backup/v1/resource.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n\nTenantInfo\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x1a\n\x12personal_tenant_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\"\xba\x06\n\x08Resource\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06online\x18\x04 \x01(\x08\x12\x0f\n\x07\x65nabled\x18\x05 \x01(\x08\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.yandex.cloud.backup.v1.Resource.Status\x12\x16\n\x0estatus_details\x18\x07 \x01(\t\x12\x17\n\x0fstatus_progress\x18\x08 \x01(\x03\x12\x34\n\x10last_backup_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10next_backup_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x11\n\tis_active\x18\x0c \x01(\x08\x12@\n\x0binit_status\x18\r \x01(\x0e\x32+.yandex.cloud.backup.v1.Resource.InitStatus\x12\x10\n\x08metadata\x18\x0e \x01(\t\x12\x32\n\x04type\x18\x0f \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\x12\x37\n\x0btenant_info\x18\x10 \x01(\x0b\x32\".yandex.cloud.backup.v1.TenantInfo\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04IDLE\x10\x01\x12\r\n\tBACKUPING\x10\x02\x12\x0e\n\nRECOVERING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\t\n\x05OTHER\x10\x05\"o\n\nInitStatus\x12\x1b\n\x17INIT_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bREGISTERING\x10\x01\x12\r\n\tREGISTRED\x10\x02\x12\x17\n\x13\x46\x41ILED_REGISTRATION\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\"*\n\x08Progress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x03\x12\r\n\x05total\x18\x02 \x01(\x03\"\xb7\x06\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x11\n\tpolicy_id\x18\x03 \x01(\t\x12/\n\x04type\x18\x04 \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Type\x12\x32\n\x08progress\x18\x05 \x01(\x0b\x32 .yandex.cloud.backup.v1.Progress\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32#.yandex.cloud.backup.v1.Task.Status\x12/\n\x0b\x65nqueued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x13\x63ompute_instance_id\x18\x0b \x01(\t\x12\x36\n\x0bresult_code\x18\x0c \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Code\x12\r\n\x05\x65rror\x18\r \x01(\t\"j\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x12\r\n\tRETENTION\x10\x02\x12\x0c\n\x08RECOVERY\x10\x03\x12\x10\n\x0c\x41PPLY_POLICY\x10\x04\x12\x11\n\rREVOKE_POLICY\x10\x05\"d\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NQUEUED\x10\x01\x12\x0c\n\x08\x41SSIGNED\x10\x02\x12\x0b\n\x07STARTED\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\r\n\tCOMPLETED\x10\x05\"h\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\r\n\tABANDONED\x10\x05\x12\x0c\n\x08TIMEDOUT\x10\x06*C\n\x0cResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43OMPUTE\x10\x01\x12\x07\n\x03\x42MS\x10\x02\x42_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,22 +33,24 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.backup.v1.reso
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\032yandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backup'
|
|
36
|
-
_globals['_RESOURCETYPE']._serialized_start=
|
|
37
|
-
_globals['_RESOURCETYPE']._serialized_end=
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
36
|
+
_globals['_RESOURCETYPE']._serialized_start=1875
|
|
37
|
+
_globals['_RESOURCETYPE']._serialized_end=1942
|
|
38
|
+
_globals['_TENANTINFO']._serialized_start=98
|
|
39
|
+
_globals['_TENANTINFO']._serialized_end=174
|
|
40
|
+
_globals['_RESOURCE']._serialized_start=177
|
|
41
|
+
_globals['_RESOURCE']._serialized_end=1003
|
|
42
|
+
_globals['_RESOURCE_STATUS']._serialized_start=794
|
|
43
|
+
_globals['_RESOURCE_STATUS']._serialized_end=890
|
|
44
|
+
_globals['_RESOURCE_INITSTATUS']._serialized_start=892
|
|
45
|
+
_globals['_RESOURCE_INITSTATUS']._serialized_end=1003
|
|
46
|
+
_globals['_PROGRESS']._serialized_start=1005
|
|
47
|
+
_globals['_PROGRESS']._serialized_end=1047
|
|
48
|
+
_globals['_TASK']._serialized_start=1050
|
|
49
|
+
_globals['_TASK']._serialized_end=1873
|
|
50
|
+
_globals['_TASK_TYPE']._serialized_start=1559
|
|
51
|
+
_globals['_TASK_TYPE']._serialized_end=1665
|
|
52
|
+
_globals['_TASK_STATUS']._serialized_start=1667
|
|
53
|
+
_globals['_TASK_STATUS']._serialized_end=1767
|
|
54
|
+
_globals['_TASK_CODE']._serialized_start=1769
|
|
55
|
+
_globals['_TASK_CODE']._serialized_end=1873
|
|
54
56
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -39,6 +39,30 @@ BMS: ResourceType.ValueType # 2
|
|
|
39
39
|
"""Resource is baremetal server"""
|
|
40
40
|
global___ResourceType = ResourceType
|
|
41
41
|
|
|
42
|
+
@typing.final
|
|
43
|
+
class TenantInfo(google.protobuf.message.Message):
|
|
44
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
45
|
+
|
|
46
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
47
|
+
PERSONAL_TENANT_ID_FIELD_NUMBER: builtins.int
|
|
48
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
49
|
+
folder_id: builtins.str
|
|
50
|
+
"""Folder ID"""
|
|
51
|
+
personal_tenant_id: builtins.str
|
|
52
|
+
"""Personal tenant id from backup provider"""
|
|
53
|
+
user_id: builtins.str
|
|
54
|
+
"""User id from provider"""
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
*,
|
|
58
|
+
folder_id: builtins.str = ...,
|
|
59
|
+
personal_tenant_id: builtins.str = ...,
|
|
60
|
+
user_id: builtins.str = ...,
|
|
61
|
+
) -> None: ...
|
|
62
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "personal_tenant_id", b"personal_tenant_id", "user_id", b"user_id"]) -> None: ...
|
|
63
|
+
|
|
64
|
+
global___TenantInfo = TenantInfo
|
|
65
|
+
|
|
42
66
|
@typing.final
|
|
43
67
|
class Resource(google.protobuf.message.Message):
|
|
44
68
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -124,6 +148,7 @@ class Resource(google.protobuf.message.Message):
|
|
|
124
148
|
INIT_STATUS_FIELD_NUMBER: builtins.int
|
|
125
149
|
METADATA_FIELD_NUMBER: builtins.int
|
|
126
150
|
TYPE_FIELD_NUMBER: builtins.int
|
|
151
|
+
TENANT_INFO_FIELD_NUMBER: builtins.int
|
|
127
152
|
compute_instance_id: builtins.str
|
|
128
153
|
"""Compute Cloud instance ID."""
|
|
129
154
|
online: builtins.bool
|
|
@@ -162,6 +187,10 @@ class Resource(google.protobuf.message.Message):
|
|
|
162
187
|
def last_backup_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
163
188
|
@property
|
|
164
189
|
def next_backup_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
190
|
+
@property
|
|
191
|
+
def tenant_info(self) -> global___TenantInfo:
|
|
192
|
+
"""Additional info abount tenant which resource belongs to"""
|
|
193
|
+
|
|
165
194
|
def __init__(
|
|
166
195
|
self,
|
|
167
196
|
*,
|
|
@@ -180,9 +209,10 @@ class Resource(google.protobuf.message.Message):
|
|
|
180
209
|
init_status: global___Resource.InitStatus.ValueType = ...,
|
|
181
210
|
metadata: builtins.str = ...,
|
|
182
211
|
type: global___ResourceType.ValueType = ...,
|
|
212
|
+
tenant_info: global___TenantInfo | None = ...,
|
|
183
213
|
) -> None: ...
|
|
184
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "last_backup_time", b"last_backup_time", "next_backup_time", b"next_backup_time", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
185
|
-
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id", "created_at", b"created_at", "enabled", b"enabled", "init_status", b"init_status", "is_active", b"is_active", "last_backup_time", b"last_backup_time", "metadata", b"metadata", "next_backup_time", b"next_backup_time", "online", b"online", "resource_id", b"resource_id", "status", b"status", "status_details", b"status_details", "status_progress", b"status_progress", "type", b"type", "updated_at", b"updated_at"]) -> None: ...
|
|
214
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "last_backup_time", b"last_backup_time", "next_backup_time", b"next_backup_time", "tenant_info", b"tenant_info", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
215
|
+
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id", "created_at", b"created_at", "enabled", b"enabled", "init_status", b"init_status", "is_active", b"is_active", "last_backup_time", b"last_backup_time", "metadata", b"metadata", "next_backup_time", b"next_backup_time", "online", b"online", "resource_id", b"resource_id", "status", b"status", "status_details", b"status_details", "status_progress", b"status_progress", "tenant_info", b"tenant_info", "type", b"type", "updated_at", b"updated_at"]) -> None: ...
|
|
186
216
|
|
|
187
217
|
global___Resource = Resource
|
|
188
218
|
|