yandexcloud 0.337.0__py3-none-any.whl → 0.339.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.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- 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/backup_service_pb2.py +44 -40
- yandex/cloud/backup/v1/backup_service_pb2.pyi +14 -2
- 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/key_service_pb2.pyi +0 -2
- 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 +88 -70
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +102 -4
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +89 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +49 -3
- 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/searchapi/v2/search_query_pb2.py +8 -8
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +11 -3
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +24 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +44 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +20 -0
- 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 +2 -2
- yandexcloud/_operation_waiter.py +17 -19
- yandexcloud/_retry_policy.py +17 -3
- yandexcloud/_wrappers/dataproc/__init__.py +39 -0
- {yandexcloud-0.337.0.dist-info → yandexcloud-0.339.0.dist-info}/METADATA +9 -9
- {yandexcloud-0.337.0.dist-info → yandexcloud-0.339.0.dist-info}/RECORD +230 -118
- {yandexcloud-0.337.0.dist-info → yandexcloud-0.339.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.337.0.dist-info → yandexcloud-0.339.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.337.0.dist-info → yandexcloud-0.339.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.337.0.dist-info → yandexcloud-0.339.0.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
|
@@ -29,7 +29,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
29
29
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/backup/v1/resource_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a%yandex/cloud/backup/v1/resource.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"\xa9\x01\n\x14ListResourcesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x32\n\x04type\x18\x04 \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\"e\n\x15ListResourcesResponse\x12\x33\n\tresources\x18\x01 \x03(\x0b\x32 .yandex.cloud.backup.v1.Resource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/backup/v1/resource_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a%yandex/cloud/backup/v1/resource.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"\xa9\x01\n\x14ListResourcesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x32\n\x04type\x18\x04 \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\"e\n\x15ListResourcesResponse\x12\x33\n\tresources\x18\x01 \x03(\x0b\x32 .yandex.cloud.backup.v1.Resource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\\\n\x12GetResourceRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x13include_tenant_info\x18\x02 \x01(\x08\"I\n\x13GetResourceResponse\x12\x32\n\x08resource\x18\x01 \x01(\x0b\x32 .yandex.cloud.backup.v1.Resource\"]\n\x15\x44\x65leteResourceRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x19\n\x0bresource_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"5\n\x16\x44\x65leteResourceMetadata\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\"{\n\x10ListTasksRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"Y\n\x11ListTasksResponse\x12+\n\x05tasks\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.backup.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"n\n\x14ListDirectoryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x13\x63ompute_instance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\x04path\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x00\"\xfd\x02\n\x15ListDirectoryResponse\x12K\n\x05items\x18\x01 \x03(\x0b\x32<.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem\x1a\x96\x02\n\x0e\x46ilesystemItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x04type\x18\x02 \x01(\x0e\x32\x41.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem.Type\x12T\n\tfile_type\x18\x03 \x01(\x0e\x32\x41.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem.Type\x12\x0c\n\x04size\x18\x04 \x01(\x03\"A\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06VOLUME\x10\x01\x12\r\n\tDIRECTORY\x10\x02\x12\x08\n\x04\x46ILE\x10\x03\"p\n\x16\x43reateDirectoryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x13\x63ompute_instance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\x04path\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\"D\n\x17\x43reateDirectoryMetadata\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x88\x01\n\x1dListResourceOperationsRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"p\n\x1eListResourceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x97\x08\n\x0fResourceService\x12\x81\x01\n\x04List\x12,.yandex.cloud.backup.v1.ListResourcesRequest\x1a-.yandex.cloud.backup.v1.ListResourcesResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/backup/v1/resources\x12\x92\x01\n\x03Get\x12*.yandex.cloud.backup.v1.GetResourceRequest\x1a+.yandex.cloud.backup.v1.GetResourceResponse\"2\x82\xd3\xe4\x93\x02,\x12*/backup/v1/resources/{compute_instance_id}\x12\xc1\x01\n\x06\x44\x65lete\x12-.yandex.cloud.backup.v1.DeleteResourceRequest\x1a!.yandex.cloud.operation.Operation\"e\xb2\xd2*/\n\x16\x44\x65leteResourceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02,**/backup/v1/resources/{compute_instance_id}\x12\x9a\x01\n\tListTasks\x12(.yandex.cloud.backup.v1.ListTasksRequest\x1a).yandex.cloud.backup.v1.ListTasksResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/backup/v1/resources/{compute_instance_id}/tasks\x12l\n\rListDirectory\x12,.yandex.cloud.backup.v1.ListDirectoryRequest\x1a-.yandex.cloud.backup.v1.ListDirectoryResponse\x12\x9a\x01\n\x0f\x43reateDirectory\x12..yandex.cloud.backup.v1.CreateDirectoryRequest\x1a!.yandex.cloud.operation.Operation\"4\xb2\xd2*0\n\x17\x43reateDirectoryMetadata\x12\x15google.protobuf.Empty\x12\x7f\n\x0eListOperations\x12\x35.yandex.cloud.backup.v1.ListResourceOperationsRequest\x1a\x36.yandex.cloud.backup.v1.ListResourceOperationsResponseB_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -88,33 +88,33 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
88
88
|
_globals['_LISTRESOURCESRESPONSE']._serialized_start=419
|
|
89
89
|
_globals['_LISTRESOURCESRESPONSE']._serialized_end=520
|
|
90
90
|
_globals['_GETRESOURCEREQUEST']._serialized_start=522
|
|
91
|
-
_globals['_GETRESOURCEREQUEST']._serialized_end=
|
|
92
|
-
_globals['_GETRESOURCERESPONSE']._serialized_start=
|
|
93
|
-
_globals['_GETRESOURCERESPONSE']._serialized_end=
|
|
94
|
-
_globals['_DELETERESOURCEREQUEST']._serialized_start=
|
|
95
|
-
_globals['_DELETERESOURCEREQUEST']._serialized_end=
|
|
96
|
-
_globals['_DELETERESOURCEMETADATA']._serialized_start=
|
|
97
|
-
_globals['_DELETERESOURCEMETADATA']._serialized_end=
|
|
98
|
-
_globals['_LISTTASKSREQUEST']._serialized_start=
|
|
99
|
-
_globals['_LISTTASKSREQUEST']._serialized_end=
|
|
100
|
-
_globals['_LISTTASKSRESPONSE']._serialized_start=
|
|
101
|
-
_globals['_LISTTASKSRESPONSE']._serialized_end=
|
|
102
|
-
_globals['_LISTDIRECTORYREQUEST']._serialized_start=
|
|
103
|
-
_globals['_LISTDIRECTORYREQUEST']._serialized_end=
|
|
104
|
-
_globals['_LISTDIRECTORYRESPONSE']._serialized_start=
|
|
105
|
-
_globals['_LISTDIRECTORYRESPONSE']._serialized_end=
|
|
106
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_start=
|
|
107
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_end=
|
|
108
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_start=
|
|
109
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_end=
|
|
110
|
-
_globals['_CREATEDIRECTORYREQUEST']._serialized_start=
|
|
111
|
-
_globals['_CREATEDIRECTORYREQUEST']._serialized_end=
|
|
112
|
-
_globals['_CREATEDIRECTORYMETADATA']._serialized_start=
|
|
113
|
-
_globals['_CREATEDIRECTORYMETADATA']._serialized_end=
|
|
114
|
-
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_start=
|
|
115
|
-
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_end=
|
|
116
|
-
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_start=
|
|
117
|
-
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_end=
|
|
118
|
-
_globals['_RESOURCESERVICE']._serialized_start=
|
|
119
|
-
_globals['_RESOURCESERVICE']._serialized_end=
|
|
91
|
+
_globals['_GETRESOURCEREQUEST']._serialized_end=614
|
|
92
|
+
_globals['_GETRESOURCERESPONSE']._serialized_start=616
|
|
93
|
+
_globals['_GETRESOURCERESPONSE']._serialized_end=689
|
|
94
|
+
_globals['_DELETERESOURCEREQUEST']._serialized_start=691
|
|
95
|
+
_globals['_DELETERESOURCEREQUEST']._serialized_end=784
|
|
96
|
+
_globals['_DELETERESOURCEMETADATA']._serialized_start=786
|
|
97
|
+
_globals['_DELETERESOURCEMETADATA']._serialized_end=839
|
|
98
|
+
_globals['_LISTTASKSREQUEST']._serialized_start=841
|
|
99
|
+
_globals['_LISTTASKSREQUEST']._serialized_end=964
|
|
100
|
+
_globals['_LISTTASKSRESPONSE']._serialized_start=966
|
|
101
|
+
_globals['_LISTTASKSRESPONSE']._serialized_end=1055
|
|
102
|
+
_globals['_LISTDIRECTORYREQUEST']._serialized_start=1057
|
|
103
|
+
_globals['_LISTDIRECTORYREQUEST']._serialized_end=1167
|
|
104
|
+
_globals['_LISTDIRECTORYRESPONSE']._serialized_start=1170
|
|
105
|
+
_globals['_LISTDIRECTORYRESPONSE']._serialized_end=1551
|
|
106
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_start=1273
|
|
107
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_end=1551
|
|
108
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_start=1486
|
|
109
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_end=1551
|
|
110
|
+
_globals['_CREATEDIRECTORYREQUEST']._serialized_start=1553
|
|
111
|
+
_globals['_CREATEDIRECTORYREQUEST']._serialized_end=1665
|
|
112
|
+
_globals['_CREATEDIRECTORYMETADATA']._serialized_start=1667
|
|
113
|
+
_globals['_CREATEDIRECTORYMETADATA']._serialized_end=1735
|
|
114
|
+
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_start=1738
|
|
115
|
+
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_end=1874
|
|
116
|
+
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_start=1876
|
|
117
|
+
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_end=1988
|
|
118
|
+
_globals['_RESOURCESERVICE']._serialized_start=1991
|
|
119
|
+
_globals['_RESOURCESERVICE']._serialized_end=3038
|
|
120
120
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -76,14 +76,18 @@ class GetResourceRequest(google.protobuf.message.Message):
|
|
|
76
76
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
77
77
|
|
|
78
78
|
COMPUTE_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
79
|
+
INCLUDE_TENANT_INFO_FIELD_NUMBER: builtins.int
|
|
79
80
|
compute_instance_id: builtins.str
|
|
80
81
|
"""Compute Cloud instance ID."""
|
|
82
|
+
include_tenant_info: builtins.bool
|
|
83
|
+
"""If flag is set tenant informantion would be added to the response."""
|
|
81
84
|
def __init__(
|
|
82
85
|
self,
|
|
83
86
|
*,
|
|
84
87
|
compute_instance_id: builtins.str = ...,
|
|
88
|
+
include_tenant_info: builtins.bool = ...,
|
|
85
89
|
) -> None: ...
|
|
86
|
-
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id"]) -> None: ...
|
|
90
|
+
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id", "include_tenant_info", b"include_tenant_info"]) -> None: ...
|
|
87
91
|
|
|
88
92
|
global___GetResourceRequest = GetResourceRequest
|
|
89
93
|
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/baremetal/v1alpha/configuration.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/baremetal/v1alpha/configuration.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud.baremetal.v1alpha import disk_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_disk__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/baremetal/v1alpha/configuration.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a)yandex/cloud/baremetal/v1alpha/disk.proto\"2\n\x03\x43PU\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06vendor\x18\x02 \x01(\t\x12\r\n\x05\x63ores\x18\x03 \x01(\x03\"\x80\x01\n\x16\x44iskDriveConfiguration\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.yandex.cloud.baremetal.v1alpha.DiskDriveType\x12\x12\n\ndisk_count\x18\x02 \x01(\x03\x12\x15\n\rdisk_size_gib\x18\x03 \x01(\x03\"\xf2\x01\n\rConfiguration\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nmemory_gib\x18\x03 \x01(\x03\x12\x30\n\x03\x63pu\x18\x04 \x01(\x0b\x32#.yandex.cloud.baremetal.v1alpha.CPU\x12K\n\x0b\x64isk_drives\x18\x05 \x03(\x0b\x32\x36.yandex.cloud.baremetal.v1alpha.DiskDriveConfiguration\x12\x1d\n\x15network_capacity_gbps\x18\x06 \x01(\x03\x12\x0f\n\x07\x63pu_num\x18\x08 \x01(\x03J\x04\x08\x07\x10\x08\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.configuration_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
36
|
+
_globals['_CPU']._serialized_start=129
|
|
37
|
+
_globals['_CPU']._serialized_end=179
|
|
38
|
+
_globals['_DISKDRIVECONFIGURATION']._serialized_start=182
|
|
39
|
+
_globals['_DISKDRIVECONFIGURATION']._serialized_end=310
|
|
40
|
+
_globals['_CONFIGURATION']._serialized_start=313
|
|
41
|
+
_globals['_CONFIGURATION']._serialized_end=555
|
|
42
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.baremetal.v1alpha.disk_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class CPU(google.protobuf.message.Message):
|
|
18
|
+
"""CPU configuration."""
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
|
+
|
|
22
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
23
|
+
VENDOR_FIELD_NUMBER: builtins.int
|
|
24
|
+
CORES_FIELD_NUMBER: builtins.int
|
|
25
|
+
name: builtins.str
|
|
26
|
+
"""Name of the CPU."""
|
|
27
|
+
vendor: builtins.str
|
|
28
|
+
"""Vendor of the CPU."""
|
|
29
|
+
cores: builtins.int
|
|
30
|
+
"""Number of cores."""
|
|
31
|
+
def __init__(
|
|
32
|
+
self,
|
|
33
|
+
*,
|
|
34
|
+
name: builtins.str = ...,
|
|
35
|
+
vendor: builtins.str = ...,
|
|
36
|
+
cores: builtins.int = ...,
|
|
37
|
+
) -> None: ...
|
|
38
|
+
def ClearField(self, field_name: typing.Literal["cores", b"cores", "name", b"name", "vendor", b"vendor"]) -> None: ...
|
|
39
|
+
|
|
40
|
+
global___CPU = CPU
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class DiskDriveConfiguration(google.protobuf.message.Message):
|
|
44
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
45
|
+
|
|
46
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
47
|
+
DISK_COUNT_FIELD_NUMBER: builtins.int
|
|
48
|
+
DISK_SIZE_GIB_FIELD_NUMBER: builtins.int
|
|
49
|
+
type: yandex.cloud.baremetal.v1alpha.disk_pb2.DiskDriveType.ValueType
|
|
50
|
+
"""Type of the disk drive."""
|
|
51
|
+
disk_count: builtins.int
|
|
52
|
+
"""Number of disk drives."""
|
|
53
|
+
disk_size_gib: builtins.int
|
|
54
|
+
"""Size of a single disk drive in gibibytes (2^30 bytes)."""
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
*,
|
|
58
|
+
type: yandex.cloud.baremetal.v1alpha.disk_pb2.DiskDriveType.ValueType = ...,
|
|
59
|
+
disk_count: builtins.int = ...,
|
|
60
|
+
disk_size_gib: builtins.int = ...,
|
|
61
|
+
) -> None: ...
|
|
62
|
+
def ClearField(self, field_name: typing.Literal["disk_count", b"disk_count", "disk_size_gib", b"disk_size_gib", "type", b"type"]) -> None: ...
|
|
63
|
+
|
|
64
|
+
global___DiskDriveConfiguration = DiskDriveConfiguration
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class Configuration(google.protobuf.message.Message):
|
|
68
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
69
|
+
|
|
70
|
+
ID_FIELD_NUMBER: builtins.int
|
|
71
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
72
|
+
MEMORY_GIB_FIELD_NUMBER: builtins.int
|
|
73
|
+
CPU_FIELD_NUMBER: builtins.int
|
|
74
|
+
DISK_DRIVES_FIELD_NUMBER: builtins.int
|
|
75
|
+
NETWORK_CAPACITY_GBPS_FIELD_NUMBER: builtins.int
|
|
76
|
+
CPU_NUM_FIELD_NUMBER: builtins.int
|
|
77
|
+
id: builtins.str
|
|
78
|
+
"""ID of the configuration."""
|
|
79
|
+
name: builtins.str
|
|
80
|
+
"""Name of the configuration."""
|
|
81
|
+
memory_gib: builtins.int
|
|
82
|
+
"""Random-access memory (RAM) size in gibibytes (2^30 bytes)."""
|
|
83
|
+
network_capacity_gbps: builtins.int
|
|
84
|
+
"""Network capacity or bandwidth in gigabits per second."""
|
|
85
|
+
cpu_num: builtins.int
|
|
86
|
+
"""Number of cpu."""
|
|
87
|
+
@property
|
|
88
|
+
def cpu(self) -> global___CPU:
|
|
89
|
+
"""CPU configuration."""
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def disk_drives(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DiskDriveConfiguration]:
|
|
93
|
+
"""Array of disk drive configurations."""
|
|
94
|
+
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
*,
|
|
98
|
+
id: builtins.str = ...,
|
|
99
|
+
name: builtins.str = ...,
|
|
100
|
+
memory_gib: builtins.int = ...,
|
|
101
|
+
cpu: global___CPU | None = ...,
|
|
102
|
+
disk_drives: collections.abc.Iterable[global___DiskDriveConfiguration] | None = ...,
|
|
103
|
+
network_capacity_gbps: builtins.int = ...,
|
|
104
|
+
cpu_num: builtins.int = ...,
|
|
105
|
+
) -> None: ...
|
|
106
|
+
def HasField(self, field_name: typing.Literal["cpu", b"cpu"]) -> builtins.bool: ...
|
|
107
|
+
def ClearField(self, field_name: typing.Literal["cpu", b"cpu", "cpu_num", b"cpu_num", "disk_drives", b"disk_drives", "id", b"id", "memory_gib", b"memory_gib", "name", b"name", "network_capacity_gbps", b"network_capacity_gbps"]) -> None: ...
|
|
108
|
+
|
|
109
|
+
global___Configuration = Configuration
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/baremetal/v1alpha/configuration_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/baremetal/v1alpha/configuration_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud.baremetal.v1alpha import configuration_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_configuration__pb2
|
|
26
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/baremetal/v1alpha/configuration_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x32yandex/cloud/baremetal/v1alpha/configuration.proto\x1a\x1dyandex/cloud/validation.proto\"M\n\x17GetConfigurationRequest\x12\x32\n\x10\x63onfiguration_id\x18\x01 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\"u\n\x19ListConfigurationsRequest\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x12\n\npage_token\x18\x65 \x01(\t\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x0e\n\x06\x66ilter\x18g \x01(\tJ\x04\x08\x01\x10\x64\"\x82\x01\n\x1aListConfigurationsResponse\x12\x45\n\x0e\x63onfigurations\x18\x01 \x03(\x0b\x32-.yandex.cloud.baremetal.v1alpha.Configuration\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\x32\x88\x02\n\x14\x43onfigurationService\x12o\n\x03Get\x12\x37.yandex.cloud.baremetal.v1alpha.GetConfigurationRequest\x1a-.yandex.cloud.baremetal.v1alpha.Configuration\"\x00\x12\x7f\n\x04List\x12\x39.yandex.cloud.baremetal.v1alpha.ListConfigurationsRequest\x1a:.yandex.cloud.baremetal.v1alpha.ListConfigurationsResponse\"\x00\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.configuration_service_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
37
|
+
_globals['_GETCONFIGURATIONREQUEST'].fields_by_name['configuration_id']._loaded_options = None
|
|
38
|
+
_globals['_GETCONFIGURATIONREQUEST'].fields_by_name['configuration_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
|
|
39
|
+
_globals['_LISTCONFIGURATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
40
|
+
_globals['_LISTCONFIGURATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
41
|
+
_globals['_GETCONFIGURATIONREQUEST']._serialized_start=177
|
|
42
|
+
_globals['_GETCONFIGURATIONREQUEST']._serialized_end=254
|
|
43
|
+
_globals['_LISTCONFIGURATIONSREQUEST']._serialized_start=256
|
|
44
|
+
_globals['_LISTCONFIGURATIONSREQUEST']._serialized_end=373
|
|
45
|
+
_globals['_LISTCONFIGURATIONSRESPONSE']._serialized_start=376
|
|
46
|
+
_globals['_LISTCONFIGURATIONSRESPONSE']._serialized_end=506
|
|
47
|
+
_globals['_CONFIGURATIONSERVICE']._serialized_start=509
|
|
48
|
+
_globals['_CONFIGURATIONSERVICE']._serialized_end=773
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|