yandexcloud 0.338.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/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-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/RECORD +216 -104
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,327 @@
|
|
|
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
|
+
from yandex.cloud.baremetal.v1alpha import public_subnet_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__pb2
|
|
7
|
+
from yandex.cloud.baremetal.v1alpha import public_subnet_service_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2
|
|
8
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
9
|
+
|
|
10
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
11
|
+
GRPC_VERSION = grpc.__version__
|
|
12
|
+
_version_not_supported = False
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from grpc._utilities import first_version_is_lower
|
|
16
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
17
|
+
except ImportError:
|
|
18
|
+
_version_not_supported = True
|
|
19
|
+
|
|
20
|
+
if _version_not_supported:
|
|
21
|
+
raise RuntimeError(
|
|
22
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
23
|
+
+ f' but the generated code in yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.py depends on'
|
|
24
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
25
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
26
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class PublicSubnetServiceStub(object):
|
|
31
|
+
"""A set of methods for managing PublicSubnet resources.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
def __init__(self, channel):
|
|
35
|
+
"""Constructor.
|
|
36
|
+
|
|
37
|
+
Args:
|
|
38
|
+
channel: A grpc.Channel.
|
|
39
|
+
"""
|
|
40
|
+
self.Get = channel.unary_unary(
|
|
41
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Get',
|
|
42
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.GetPublicSubnetRequest.SerializeToString,
|
|
43
|
+
response_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__pb2.PublicSubnet.FromString,
|
|
44
|
+
_registered_method=True)
|
|
45
|
+
self.List = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/List',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetResponse.FromString,
|
|
49
|
+
_registered_method=True)
|
|
50
|
+
self.Create = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Create',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.CreatePublicSubnetRequest.SerializeToString,
|
|
53
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
54
|
+
_registered_method=True)
|
|
55
|
+
self.Update = channel.unary_unary(
|
|
56
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Update',
|
|
57
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.UpdatePublicSubnetRequest.SerializeToString,
|
|
58
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
59
|
+
_registered_method=True)
|
|
60
|
+
self.Delete = channel.unary_unary(
|
|
61
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Delete',
|
|
62
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.DeletePublicSubnetRequest.SerializeToString,
|
|
63
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
64
|
+
_registered_method=True)
|
|
65
|
+
self.ListOperations = channel.unary_unary(
|
|
66
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/ListOperations',
|
|
67
|
+
request_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetOperationsRequest.SerializeToString,
|
|
68
|
+
response_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetOperationsResponse.FromString,
|
|
69
|
+
_registered_method=True)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class PublicSubnetServiceServicer(object):
|
|
73
|
+
"""A set of methods for managing PublicSubnet resources.
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
def Get(self, request, context):
|
|
77
|
+
"""Returns the specific PublicSubnet resource.
|
|
78
|
+
|
|
79
|
+
To get the list of available PublicSubnet resources, make a [List] request.
|
|
80
|
+
"""
|
|
81
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
82
|
+
context.set_details('Method not implemented!')
|
|
83
|
+
raise NotImplementedError('Method not implemented!')
|
|
84
|
+
|
|
85
|
+
def List(self, request, context):
|
|
86
|
+
"""Retrieves the list of PublicSubnet resources in the specified folder.
|
|
87
|
+
"""
|
|
88
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
89
|
+
context.set_details('Method not implemented!')
|
|
90
|
+
raise NotImplementedError('Method not implemented!')
|
|
91
|
+
|
|
92
|
+
def Create(self, request, context):
|
|
93
|
+
"""Creates a public subnet in the specified folder.
|
|
94
|
+
"""
|
|
95
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
|
+
context.set_details('Method not implemented!')
|
|
97
|
+
raise NotImplementedError('Method not implemented!')
|
|
98
|
+
|
|
99
|
+
def Update(self, request, context):
|
|
100
|
+
"""Updates the specified public subnet.
|
|
101
|
+
"""
|
|
102
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
103
|
+
context.set_details('Method not implemented!')
|
|
104
|
+
raise NotImplementedError('Method not implemented!')
|
|
105
|
+
|
|
106
|
+
def Delete(self, request, context):
|
|
107
|
+
"""Deletes the specified public subnet.
|
|
108
|
+
|
|
109
|
+
Deleting a public subnet removes its data permanently and is irreversible.
|
|
110
|
+
"""
|
|
111
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
112
|
+
context.set_details('Method not implemented!')
|
|
113
|
+
raise NotImplementedError('Method not implemented!')
|
|
114
|
+
|
|
115
|
+
def ListOperations(self, request, context):
|
|
116
|
+
"""Lists operations for the specified public subnet.
|
|
117
|
+
"""
|
|
118
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
119
|
+
context.set_details('Method not implemented!')
|
|
120
|
+
raise NotImplementedError('Method not implemented!')
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def add_PublicSubnetServiceServicer_to_server(servicer, server):
|
|
124
|
+
rpc_method_handlers = {
|
|
125
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
126
|
+
servicer.Get,
|
|
127
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.GetPublicSubnetRequest.FromString,
|
|
128
|
+
response_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__pb2.PublicSubnet.SerializeToString,
|
|
129
|
+
),
|
|
130
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
131
|
+
servicer.List,
|
|
132
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetRequest.FromString,
|
|
133
|
+
response_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetResponse.SerializeToString,
|
|
134
|
+
),
|
|
135
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
136
|
+
servicer.Create,
|
|
137
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.CreatePublicSubnetRequest.FromString,
|
|
138
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
139
|
+
),
|
|
140
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
141
|
+
servicer.Update,
|
|
142
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.UpdatePublicSubnetRequest.FromString,
|
|
143
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
144
|
+
),
|
|
145
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
146
|
+
servicer.Delete,
|
|
147
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.DeletePublicSubnetRequest.FromString,
|
|
148
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
149
|
+
),
|
|
150
|
+
'ListOperations': grpc.unary_unary_rpc_method_handler(
|
|
151
|
+
servicer.ListOperations,
|
|
152
|
+
request_deserializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetOperationsRequest.FromString,
|
|
153
|
+
response_serializer=yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetOperationsResponse.SerializeToString,
|
|
154
|
+
),
|
|
155
|
+
}
|
|
156
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
157
|
+
'yandex.cloud.baremetal.v1alpha.PublicSubnetService', rpc_method_handlers)
|
|
158
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
159
|
+
server.add_registered_method_handlers('yandex.cloud.baremetal.v1alpha.PublicSubnetService', rpc_method_handlers)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
# This class is part of an EXPERIMENTAL API.
|
|
163
|
+
class PublicSubnetService(object):
|
|
164
|
+
"""A set of methods for managing PublicSubnet resources.
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
@staticmethod
|
|
168
|
+
def Get(request,
|
|
169
|
+
target,
|
|
170
|
+
options=(),
|
|
171
|
+
channel_credentials=None,
|
|
172
|
+
call_credentials=None,
|
|
173
|
+
insecure=False,
|
|
174
|
+
compression=None,
|
|
175
|
+
wait_for_ready=None,
|
|
176
|
+
timeout=None,
|
|
177
|
+
metadata=None):
|
|
178
|
+
return grpc.experimental.unary_unary(
|
|
179
|
+
request,
|
|
180
|
+
target,
|
|
181
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Get',
|
|
182
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.GetPublicSubnetRequest.SerializeToString,
|
|
183
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__pb2.PublicSubnet.FromString,
|
|
184
|
+
options,
|
|
185
|
+
channel_credentials,
|
|
186
|
+
insecure,
|
|
187
|
+
call_credentials,
|
|
188
|
+
compression,
|
|
189
|
+
wait_for_ready,
|
|
190
|
+
timeout,
|
|
191
|
+
metadata,
|
|
192
|
+
_registered_method=True)
|
|
193
|
+
|
|
194
|
+
@staticmethod
|
|
195
|
+
def List(request,
|
|
196
|
+
target,
|
|
197
|
+
options=(),
|
|
198
|
+
channel_credentials=None,
|
|
199
|
+
call_credentials=None,
|
|
200
|
+
insecure=False,
|
|
201
|
+
compression=None,
|
|
202
|
+
wait_for_ready=None,
|
|
203
|
+
timeout=None,
|
|
204
|
+
metadata=None):
|
|
205
|
+
return grpc.experimental.unary_unary(
|
|
206
|
+
request,
|
|
207
|
+
target,
|
|
208
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/List',
|
|
209
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetRequest.SerializeToString,
|
|
210
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetResponse.FromString,
|
|
211
|
+
options,
|
|
212
|
+
channel_credentials,
|
|
213
|
+
insecure,
|
|
214
|
+
call_credentials,
|
|
215
|
+
compression,
|
|
216
|
+
wait_for_ready,
|
|
217
|
+
timeout,
|
|
218
|
+
metadata,
|
|
219
|
+
_registered_method=True)
|
|
220
|
+
|
|
221
|
+
@staticmethod
|
|
222
|
+
def Create(request,
|
|
223
|
+
target,
|
|
224
|
+
options=(),
|
|
225
|
+
channel_credentials=None,
|
|
226
|
+
call_credentials=None,
|
|
227
|
+
insecure=False,
|
|
228
|
+
compression=None,
|
|
229
|
+
wait_for_ready=None,
|
|
230
|
+
timeout=None,
|
|
231
|
+
metadata=None):
|
|
232
|
+
return grpc.experimental.unary_unary(
|
|
233
|
+
request,
|
|
234
|
+
target,
|
|
235
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Create',
|
|
236
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.CreatePublicSubnetRequest.SerializeToString,
|
|
237
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
238
|
+
options,
|
|
239
|
+
channel_credentials,
|
|
240
|
+
insecure,
|
|
241
|
+
call_credentials,
|
|
242
|
+
compression,
|
|
243
|
+
wait_for_ready,
|
|
244
|
+
timeout,
|
|
245
|
+
metadata,
|
|
246
|
+
_registered_method=True)
|
|
247
|
+
|
|
248
|
+
@staticmethod
|
|
249
|
+
def Update(request,
|
|
250
|
+
target,
|
|
251
|
+
options=(),
|
|
252
|
+
channel_credentials=None,
|
|
253
|
+
call_credentials=None,
|
|
254
|
+
insecure=False,
|
|
255
|
+
compression=None,
|
|
256
|
+
wait_for_ready=None,
|
|
257
|
+
timeout=None,
|
|
258
|
+
metadata=None):
|
|
259
|
+
return grpc.experimental.unary_unary(
|
|
260
|
+
request,
|
|
261
|
+
target,
|
|
262
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Update',
|
|
263
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.UpdatePublicSubnetRequest.SerializeToString,
|
|
264
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
265
|
+
options,
|
|
266
|
+
channel_credentials,
|
|
267
|
+
insecure,
|
|
268
|
+
call_credentials,
|
|
269
|
+
compression,
|
|
270
|
+
wait_for_ready,
|
|
271
|
+
timeout,
|
|
272
|
+
metadata,
|
|
273
|
+
_registered_method=True)
|
|
274
|
+
|
|
275
|
+
@staticmethod
|
|
276
|
+
def Delete(request,
|
|
277
|
+
target,
|
|
278
|
+
options=(),
|
|
279
|
+
channel_credentials=None,
|
|
280
|
+
call_credentials=None,
|
|
281
|
+
insecure=False,
|
|
282
|
+
compression=None,
|
|
283
|
+
wait_for_ready=None,
|
|
284
|
+
timeout=None,
|
|
285
|
+
metadata=None):
|
|
286
|
+
return grpc.experimental.unary_unary(
|
|
287
|
+
request,
|
|
288
|
+
target,
|
|
289
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/Delete',
|
|
290
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.DeletePublicSubnetRequest.SerializeToString,
|
|
291
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
292
|
+
options,
|
|
293
|
+
channel_credentials,
|
|
294
|
+
insecure,
|
|
295
|
+
call_credentials,
|
|
296
|
+
compression,
|
|
297
|
+
wait_for_ready,
|
|
298
|
+
timeout,
|
|
299
|
+
metadata,
|
|
300
|
+
_registered_method=True)
|
|
301
|
+
|
|
302
|
+
@staticmethod
|
|
303
|
+
def ListOperations(request,
|
|
304
|
+
target,
|
|
305
|
+
options=(),
|
|
306
|
+
channel_credentials=None,
|
|
307
|
+
call_credentials=None,
|
|
308
|
+
insecure=False,
|
|
309
|
+
compression=None,
|
|
310
|
+
wait_for_ready=None,
|
|
311
|
+
timeout=None,
|
|
312
|
+
metadata=None):
|
|
313
|
+
return grpc.experimental.unary_unary(
|
|
314
|
+
request,
|
|
315
|
+
target,
|
|
316
|
+
'/yandex.cloud.baremetal.v1alpha.PublicSubnetService/ListOperations',
|
|
317
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetOperationsRequest.SerializeToString,
|
|
318
|
+
yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_public__subnet__service__pb2.ListPublicSubnetOperationsResponse.FromString,
|
|
319
|
+
options,
|
|
320
|
+
channel_credentials,
|
|
321
|
+
insecure,
|
|
322
|
+
call_credentials,
|
|
323
|
+
compression,
|
|
324
|
+
wait_for_ready,
|
|
325
|
+
timeout,
|
|
326
|
+
metadata,
|
|
327
|
+
_registered_method=True)
|
|
@@ -0,0 +1,170 @@
|
|
|
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
|
+
import yandex.cloud.baremetal.v1alpha.public_subnet_pb2
|
|
12
|
+
import yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2
|
|
13
|
+
import yandex.cloud.operation.operation_pb2
|
|
14
|
+
|
|
15
|
+
_T = typing.TypeVar("_T")
|
|
16
|
+
|
|
17
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
18
|
+
|
|
19
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
class PublicSubnetServiceStub:
|
|
23
|
+
"""A set of methods for managing PublicSubnet resources."""
|
|
24
|
+
|
|
25
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.GetPublicSubnetRequest,
|
|
28
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_pb2.PublicSubnet,
|
|
29
|
+
]
|
|
30
|
+
"""Returns the specific PublicSubnet resource.
|
|
31
|
+
|
|
32
|
+
To get the list of available PublicSubnet resources, make a [List] request.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
36
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetRequest,
|
|
37
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetResponse,
|
|
38
|
+
]
|
|
39
|
+
"""Retrieves the list of PublicSubnet resources in the specified folder."""
|
|
40
|
+
|
|
41
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.CreatePublicSubnetRequest,
|
|
43
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
44
|
+
]
|
|
45
|
+
"""Creates a public subnet in the specified folder."""
|
|
46
|
+
|
|
47
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.UpdatePublicSubnetRequest,
|
|
49
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
50
|
+
]
|
|
51
|
+
"""Updates the specified public subnet."""
|
|
52
|
+
|
|
53
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
54
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.DeletePublicSubnetRequest,
|
|
55
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
56
|
+
]
|
|
57
|
+
"""Deletes the specified public subnet.
|
|
58
|
+
|
|
59
|
+
Deleting a public subnet removes its data permanently and is irreversible.
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
ListOperations: grpc.UnaryUnaryMultiCallable[
|
|
63
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetOperationsRequest,
|
|
64
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetOperationsResponse,
|
|
65
|
+
]
|
|
66
|
+
"""Lists operations for the specified public subnet."""
|
|
67
|
+
|
|
68
|
+
class PublicSubnetServiceAsyncStub:
|
|
69
|
+
"""A set of methods for managing PublicSubnet resources."""
|
|
70
|
+
|
|
71
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.GetPublicSubnetRequest,
|
|
73
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_pb2.PublicSubnet,
|
|
74
|
+
]
|
|
75
|
+
"""Returns the specific PublicSubnet resource.
|
|
76
|
+
|
|
77
|
+
To get the list of available PublicSubnet resources, make a [List] request.
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
81
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetRequest,
|
|
82
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetResponse,
|
|
83
|
+
]
|
|
84
|
+
"""Retrieves the list of PublicSubnet resources in the specified folder."""
|
|
85
|
+
|
|
86
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
87
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.CreatePublicSubnetRequest,
|
|
88
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
89
|
+
]
|
|
90
|
+
"""Creates a public subnet in the specified folder."""
|
|
91
|
+
|
|
92
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
93
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.UpdatePublicSubnetRequest,
|
|
94
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
95
|
+
]
|
|
96
|
+
"""Updates the specified public subnet."""
|
|
97
|
+
|
|
98
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
99
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.DeletePublicSubnetRequest,
|
|
100
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
101
|
+
]
|
|
102
|
+
"""Deletes the specified public subnet.
|
|
103
|
+
|
|
104
|
+
Deleting a public subnet removes its data permanently and is irreversible.
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
ListOperations: grpc.aio.UnaryUnaryMultiCallable[
|
|
108
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetOperationsRequest,
|
|
109
|
+
yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetOperationsResponse,
|
|
110
|
+
]
|
|
111
|
+
"""Lists operations for the specified public subnet."""
|
|
112
|
+
|
|
113
|
+
class PublicSubnetServiceServicer(metaclass=abc.ABCMeta):
|
|
114
|
+
"""A set of methods for managing PublicSubnet resources."""
|
|
115
|
+
|
|
116
|
+
@abc.abstractmethod
|
|
117
|
+
def Get(
|
|
118
|
+
self,
|
|
119
|
+
request: yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.GetPublicSubnetRequest,
|
|
120
|
+
context: _ServicerContext,
|
|
121
|
+
) -> typing.Union[yandex.cloud.baremetal.v1alpha.public_subnet_pb2.PublicSubnet, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.public_subnet_pb2.PublicSubnet]]:
|
|
122
|
+
"""Returns the specific PublicSubnet resource.
|
|
123
|
+
|
|
124
|
+
To get the list of available PublicSubnet resources, make a [List] request.
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
@abc.abstractmethod
|
|
128
|
+
def List(
|
|
129
|
+
self,
|
|
130
|
+
request: yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetRequest,
|
|
131
|
+
context: _ServicerContext,
|
|
132
|
+
) -> typing.Union[yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetResponse, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetResponse]]:
|
|
133
|
+
"""Retrieves the list of PublicSubnet resources in the specified folder."""
|
|
134
|
+
|
|
135
|
+
@abc.abstractmethod
|
|
136
|
+
def Create(
|
|
137
|
+
self,
|
|
138
|
+
request: yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.CreatePublicSubnetRequest,
|
|
139
|
+
context: _ServicerContext,
|
|
140
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
141
|
+
"""Creates a public subnet in the specified folder."""
|
|
142
|
+
|
|
143
|
+
@abc.abstractmethod
|
|
144
|
+
def Update(
|
|
145
|
+
self,
|
|
146
|
+
request: yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.UpdatePublicSubnetRequest,
|
|
147
|
+
context: _ServicerContext,
|
|
148
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
149
|
+
"""Updates the specified public subnet."""
|
|
150
|
+
|
|
151
|
+
@abc.abstractmethod
|
|
152
|
+
def Delete(
|
|
153
|
+
self,
|
|
154
|
+
request: yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.DeletePublicSubnetRequest,
|
|
155
|
+
context: _ServicerContext,
|
|
156
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
157
|
+
"""Deletes the specified public subnet.
|
|
158
|
+
|
|
159
|
+
Deleting a public subnet removes its data permanently and is irreversible.
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
@abc.abstractmethod
|
|
163
|
+
def ListOperations(
|
|
164
|
+
self,
|
|
165
|
+
request: yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetOperationsRequest,
|
|
166
|
+
context: _ServicerContext,
|
|
167
|
+
) -> typing.Union[yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetOperationsResponse, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.public_subnet_service_pb2.ListPublicSubnetOperationsResponse]]:
|
|
168
|
+
"""Lists operations for the specified public subnet."""
|
|
169
|
+
|
|
170
|
+
def add_PublicSubnetServiceServicer_to_server(servicer: PublicSubnetServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,54 @@
|
|
|
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/server.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/server.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from yandex.cloud.baremetal.v1alpha import disk_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_disk__pb2
|
|
27
|
+
from yandex.cloud.baremetal.v1alpha import storage_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_storage__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/baremetal/v1alpha/server.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)yandex/cloud/baremetal/v1alpha/disk.proto\x1a,yandex/cloud/baremetal/v1alpha/storage.proto\"\xe2\x06\n\x06Server\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0f\n\x07zone_id\x18\x06 \x01(\t\x12\x18\n\x10hardware_pool_id\x18\x07 \x01(\t\x12=\n\x06status\x18\t \x01(\x0e\x32-.yandex.cloud.baremetal.v1alpha.Server.Status\x12?\n\x0bos_settings\x18\n \x01(\x0b\x32*.yandex.cloud.baremetal.v1alpha.OsSettings\x12L\n\x12network_interfaces\x18\x12 \x03(\x0b\x32\x30.yandex.cloud.baremetal.v1alpha.NetworkInterface\x12\x18\n\x10\x63onfiguration_id\x18\x14 \x01(\t\x12\x33\n\x05\x64isks\x18\x15 \x03(\x0b\x32$.yandex.cloud.baremetal.v1alpha.Disk\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x32.yandex.cloud.baremetal.v1alpha.Server.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd4\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0c\n\x08STOPPING\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0e\n\nRESTARTING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\x12\x10\n\x0cREINSTALLING\x10\t\x12\x0c\n\x08UPDATING\x10\n\x12\x0f\n\x0bQUARANTINED\x10\x0c\x12\x0b\n\x07RUNNING\x10\x0e\"\x04\x08\x02\x10\x02\"\x04\x08\x0b\x10\x0b\"\x04\x08\r\x10\rJ\x04\x08\x08\x10\tJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0c\x10\rJ\x04\x08\x0f\x10\x12J\x04\x08\x13\x10\x14J\x04\x08\x16\x10\x17J\x04\x08\x17\x10\x18J\x04\x08\r\x10\x0eJ\x04\x08\x0e\x10\x0fJ\x04\x08\x18\x10\x64J\x05\x08\x65\x10\xc8\x01\"\x87\x02\n\x10NetworkInterface\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12\x12\n\nip_address\x18\x03 \x01(\t\x12W\n\x0eprivate_subnet\x18\x07 \x01(\x0b\x32=.yandex.cloud.baremetal.v1alpha.PrivateSubnetNetworkInterfaceH\x00\x12U\n\rpublic_subnet\x18\x08 \x01(\x0b\x32<.yandex.cloud.baremetal.v1alpha.PublicSubnetNetworkInterfaceH\x00\x42\x08\n\x06subnetJ\x04\x08\x04\x10\x07\":\n\x1dPrivateSubnetNetworkInterface\x12\x19\n\x11private_subnet_id\x18\x01 \x01(\t\"8\n\x1cPublicSubnetNetworkInterface\x12\x18\n\x10public_subnet_id\x18\x01 \x01(\t\"q\n\nOsSettings\x12\x10\n\x08image_id\x18\x01 \x01(\t\x12\x16\n\x0essh_public_key\x18\x02 \x01(\t\x12\x39\n\x08storages\x18\x03 \x03(\x0b\x32\'.yandex.cloud.baremetal.v1alpha.StorageBr\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.server_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
38
|
+
_globals['_SERVER_LABELSENTRY']._loaded_options = None
|
|
39
|
+
_globals['_SERVER_LABELSENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_SERVER']._serialized_start=202
|
|
41
|
+
_globals['_SERVER']._serialized_end=1068
|
|
42
|
+
_globals['_SERVER_LABELSENTRY']._serialized_start=741
|
|
43
|
+
_globals['_SERVER_LABELSENTRY']._serialized_end=786
|
|
44
|
+
_globals['_SERVER_STATUS']._serialized_start=789
|
|
45
|
+
_globals['_SERVER_STATUS']._serialized_end=1001
|
|
46
|
+
_globals['_NETWORKINTERFACE']._serialized_start=1071
|
|
47
|
+
_globals['_NETWORKINTERFACE']._serialized_end=1334
|
|
48
|
+
_globals['_PRIVATESUBNETNETWORKINTERFACE']._serialized_start=1336
|
|
49
|
+
_globals['_PRIVATESUBNETNETWORKINTERFACE']._serialized_end=1394
|
|
50
|
+
_globals['_PUBLICSUBNETNETWORKINTERFACE']._serialized_start=1396
|
|
51
|
+
_globals['_PUBLICSUBNETNETWORKINTERFACE']._serialized_end=1452
|
|
52
|
+
_globals['_OSSETTINGS']._serialized_start=1454
|
|
53
|
+
_globals['_OSSETTINGS']._serialized_end=1567
|
|
54
|
+
# @@protoc_insertion_point(module_scope)
|