yandexcloud 0.313.0__py3-none-any.whl → 0.315.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/audittrails/v1/trail_pb2.py +2 -2
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +2 -2
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +2 -0
- yandex/cloud/datatransfer/v1/endpoint/clickhouse_pb2.pyi +6 -2
- yandex/cloud/iam/v1/iam_token_service_pb2.py +11 -3
- yandex/cloud/iam/v1/iam_token_service_pb2.pyi +30 -0
- yandex/cloud/iam/v1/iam_token_service_pb2_grpc.py +36 -2
- yandex/cloud/iam/v1/iam_token_service_pb2_grpc.pyi +26 -6
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +152 -150
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/mdb/elasticsearch/v1/cluster_service_pb2.py +86 -84
- yandex/cloud/mdb/elasticsearch/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +24 -24
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +21 -3
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +80 -78
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +37 -7
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +36 -30
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +74 -4
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2.py +50 -48
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/mdb/mongodb/v1/backup_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/backup_pb2.pyi +5 -1
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +127 -127
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +226 -224
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +88 -86
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +9 -1
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +112 -110
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +90 -88
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +9 -1
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +4 -4
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +106 -104
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +38 -36
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +17 -3
- yandex/cloud/serverless/containers/v1/container_pb2.py +4 -4
- yandex/cloud/serverless/functions/v1/function_pb2.py +11 -11
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +42 -36
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +75 -9
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +10 -2
- yandex/cloud/vpc/v1/privatelink/__init__.py +0 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_pb2.py +39 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_pb2.pyi +188 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_pb2_grpc.py +4 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_pb2_grpc.pyi +17 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_service_pb2.py +120 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_service_pb2.pyi +449 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_service_pb2_grpc.py +245 -0
- yandex/cloud/vpc/v1/privatelink/private_endpoint_service_pb2_grpc.pyi +164 -0
- {yandexcloud-0.313.0.dist-info → yandexcloud-0.315.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.313.0.dist-info → yandexcloud-0.315.0.dist-info}/RECORD +58 -49
- {yandexcloud-0.313.0.dist-info → yandexcloud-0.315.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.313.0.dist-info → yandexcloud-0.315.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.313.0.dist-info → yandexcloud-0.315.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.313.0.dist-info → yandexcloud-0.315.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,245 @@
|
|
|
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
|
+
|
|
5
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
6
|
+
from yandex.cloud.vpc.v1.privatelink import private_endpoint_pb2 as yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__pb2
|
|
7
|
+
from yandex.cloud.vpc.v1.privatelink import private_endpoint_service_pb2 as yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PrivateEndpointServiceStub(object):
|
|
11
|
+
"""A set of methods for managing PrivateEndpoint resources.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def __init__(self, channel):
|
|
15
|
+
"""Constructor.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
channel: A grpc.Channel.
|
|
19
|
+
"""
|
|
20
|
+
self.Get = channel.unary_unary(
|
|
21
|
+
'/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Get',
|
|
22
|
+
request_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.GetPrivateEndpointRequest.SerializeToString,
|
|
23
|
+
response_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__pb2.PrivateEndpoint.FromString,
|
|
24
|
+
)
|
|
25
|
+
self.List = channel.unary_unary(
|
|
26
|
+
'/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/List',
|
|
27
|
+
request_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointsRequest.SerializeToString,
|
|
28
|
+
response_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointsResponse.FromString,
|
|
29
|
+
)
|
|
30
|
+
self.Create = channel.unary_unary(
|
|
31
|
+
'/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Create',
|
|
32
|
+
request_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.CreatePrivateEndpointRequest.SerializeToString,
|
|
33
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
34
|
+
)
|
|
35
|
+
self.Update = channel.unary_unary(
|
|
36
|
+
'/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Update',
|
|
37
|
+
request_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.UpdatePrivateEndpointRequest.SerializeToString,
|
|
38
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
39
|
+
)
|
|
40
|
+
self.Delete = channel.unary_unary(
|
|
41
|
+
'/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Delete',
|
|
42
|
+
request_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.DeletePrivateEndpointRequest.SerializeToString,
|
|
43
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
44
|
+
)
|
|
45
|
+
self.ListOperations = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/ListOperations',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointOperationsRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointOperationsResponse.FromString,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class PrivateEndpointServiceServicer(object):
|
|
53
|
+
"""A set of methods for managing PrivateEndpoint resources.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
def Get(self, request, context):
|
|
57
|
+
"""Returns the specified Private Endpoint resource.
|
|
58
|
+
|
|
59
|
+
To get the list of all available PrivateEndpoint resources, make a [List]
|
|
60
|
+
request.
|
|
61
|
+
"""
|
|
62
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
|
+
context.set_details('Method not implemented!')
|
|
64
|
+
raise NotImplementedError('Method not implemented!')
|
|
65
|
+
|
|
66
|
+
def List(self, request, context):
|
|
67
|
+
"""Retrieves the list of PrivateEndpoint resources in the specified folder.
|
|
68
|
+
"""
|
|
69
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
70
|
+
context.set_details('Method not implemented!')
|
|
71
|
+
raise NotImplementedError('Method not implemented!')
|
|
72
|
+
|
|
73
|
+
def Create(self, request, context):
|
|
74
|
+
"""Creates an private endpoint in the specified folder and network.
|
|
75
|
+
"""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details('Method not implemented!')
|
|
78
|
+
raise NotImplementedError('Method not implemented!')
|
|
79
|
+
|
|
80
|
+
def Update(self, request, context):
|
|
81
|
+
"""Updates the specified private endpoint.
|
|
82
|
+
"""
|
|
83
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
84
|
+
context.set_details('Method not implemented!')
|
|
85
|
+
raise NotImplementedError('Method not implemented!')
|
|
86
|
+
|
|
87
|
+
def Delete(self, request, context):
|
|
88
|
+
"""Deletes the specified private endpoint.
|
|
89
|
+
"""
|
|
90
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
91
|
+
context.set_details('Method not implemented!')
|
|
92
|
+
raise NotImplementedError('Method not implemented!')
|
|
93
|
+
|
|
94
|
+
def ListOperations(self, request, context):
|
|
95
|
+
"""List operations for the specified private endpoint.
|
|
96
|
+
"""
|
|
97
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
98
|
+
context.set_details('Method not implemented!')
|
|
99
|
+
raise NotImplementedError('Method not implemented!')
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def add_PrivateEndpointServiceServicer_to_server(servicer, server):
|
|
103
|
+
rpc_method_handlers = {
|
|
104
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
105
|
+
servicer.Get,
|
|
106
|
+
request_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.GetPrivateEndpointRequest.FromString,
|
|
107
|
+
response_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__pb2.PrivateEndpoint.SerializeToString,
|
|
108
|
+
),
|
|
109
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
110
|
+
servicer.List,
|
|
111
|
+
request_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointsRequest.FromString,
|
|
112
|
+
response_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointsResponse.SerializeToString,
|
|
113
|
+
),
|
|
114
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
115
|
+
servicer.Create,
|
|
116
|
+
request_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.CreatePrivateEndpointRequest.FromString,
|
|
117
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
118
|
+
),
|
|
119
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
120
|
+
servicer.Update,
|
|
121
|
+
request_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.UpdatePrivateEndpointRequest.FromString,
|
|
122
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
123
|
+
),
|
|
124
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
125
|
+
servicer.Delete,
|
|
126
|
+
request_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.DeletePrivateEndpointRequest.FromString,
|
|
127
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
128
|
+
),
|
|
129
|
+
'ListOperations': grpc.unary_unary_rpc_method_handler(
|
|
130
|
+
servicer.ListOperations,
|
|
131
|
+
request_deserializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointOperationsRequest.FromString,
|
|
132
|
+
response_serializer=yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointOperationsResponse.SerializeToString,
|
|
133
|
+
),
|
|
134
|
+
}
|
|
135
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
136
|
+
'yandex.cloud.vpc.v1.privatelink.PrivateEndpointService', rpc_method_handlers)
|
|
137
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
# This class is part of an EXPERIMENTAL API.
|
|
141
|
+
class PrivateEndpointService(object):
|
|
142
|
+
"""A set of methods for managing PrivateEndpoint resources.
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
@staticmethod
|
|
146
|
+
def Get(request,
|
|
147
|
+
target,
|
|
148
|
+
options=(),
|
|
149
|
+
channel_credentials=None,
|
|
150
|
+
call_credentials=None,
|
|
151
|
+
insecure=False,
|
|
152
|
+
compression=None,
|
|
153
|
+
wait_for_ready=None,
|
|
154
|
+
timeout=None,
|
|
155
|
+
metadata=None):
|
|
156
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Get',
|
|
157
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.GetPrivateEndpointRequest.SerializeToString,
|
|
158
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__pb2.PrivateEndpoint.FromString,
|
|
159
|
+
options, channel_credentials,
|
|
160
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
161
|
+
|
|
162
|
+
@staticmethod
|
|
163
|
+
def List(request,
|
|
164
|
+
target,
|
|
165
|
+
options=(),
|
|
166
|
+
channel_credentials=None,
|
|
167
|
+
call_credentials=None,
|
|
168
|
+
insecure=False,
|
|
169
|
+
compression=None,
|
|
170
|
+
wait_for_ready=None,
|
|
171
|
+
timeout=None,
|
|
172
|
+
metadata=None):
|
|
173
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/List',
|
|
174
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointsRequest.SerializeToString,
|
|
175
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointsResponse.FromString,
|
|
176
|
+
options, channel_credentials,
|
|
177
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
178
|
+
|
|
179
|
+
@staticmethod
|
|
180
|
+
def Create(request,
|
|
181
|
+
target,
|
|
182
|
+
options=(),
|
|
183
|
+
channel_credentials=None,
|
|
184
|
+
call_credentials=None,
|
|
185
|
+
insecure=False,
|
|
186
|
+
compression=None,
|
|
187
|
+
wait_for_ready=None,
|
|
188
|
+
timeout=None,
|
|
189
|
+
metadata=None):
|
|
190
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Create',
|
|
191
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.CreatePrivateEndpointRequest.SerializeToString,
|
|
192
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
193
|
+
options, channel_credentials,
|
|
194
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
195
|
+
|
|
196
|
+
@staticmethod
|
|
197
|
+
def Update(request,
|
|
198
|
+
target,
|
|
199
|
+
options=(),
|
|
200
|
+
channel_credentials=None,
|
|
201
|
+
call_credentials=None,
|
|
202
|
+
insecure=False,
|
|
203
|
+
compression=None,
|
|
204
|
+
wait_for_ready=None,
|
|
205
|
+
timeout=None,
|
|
206
|
+
metadata=None):
|
|
207
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Update',
|
|
208
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.UpdatePrivateEndpointRequest.SerializeToString,
|
|
209
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
210
|
+
options, channel_credentials,
|
|
211
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
212
|
+
|
|
213
|
+
@staticmethod
|
|
214
|
+
def Delete(request,
|
|
215
|
+
target,
|
|
216
|
+
options=(),
|
|
217
|
+
channel_credentials=None,
|
|
218
|
+
call_credentials=None,
|
|
219
|
+
insecure=False,
|
|
220
|
+
compression=None,
|
|
221
|
+
wait_for_ready=None,
|
|
222
|
+
timeout=None,
|
|
223
|
+
metadata=None):
|
|
224
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Delete',
|
|
225
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.DeletePrivateEndpointRequest.SerializeToString,
|
|
226
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
227
|
+
options, channel_credentials,
|
|
228
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
229
|
+
|
|
230
|
+
@staticmethod
|
|
231
|
+
def ListOperations(request,
|
|
232
|
+
target,
|
|
233
|
+
options=(),
|
|
234
|
+
channel_credentials=None,
|
|
235
|
+
call_credentials=None,
|
|
236
|
+
insecure=False,
|
|
237
|
+
compression=None,
|
|
238
|
+
wait_for_ready=None,
|
|
239
|
+
timeout=None,
|
|
240
|
+
metadata=None):
|
|
241
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/ListOperations',
|
|
242
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointOperationsRequest.SerializeToString,
|
|
243
|
+
yandex_dot_cloud_dot_vpc_dot_v1_dot_privatelink_dot_private__endpoint__service__pb2.ListPrivateEndpointOperationsResponse.FromString,
|
|
244
|
+
options, channel_credentials,
|
|
245
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,164 @@
|
|
|
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.operation.operation_pb2
|
|
12
|
+
import yandex.cloud.vpc.v1.privatelink.private_endpoint_pb2
|
|
13
|
+
import yandex.cloud.vpc.v1.privatelink.private_endpoint_service_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 PrivateEndpointServiceStub:
|
|
23
|
+
"""A set of methods for managing PrivateEndpoint resources."""
|
|
24
|
+
|
|
25
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.GetPrivateEndpointRequest,
|
|
28
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_pb2.PrivateEndpoint,
|
|
29
|
+
]
|
|
30
|
+
"""Returns the specified Private Endpoint resource.
|
|
31
|
+
|
|
32
|
+
To get the list of all available PrivateEndpoint resources, make a [List]
|
|
33
|
+
request.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
37
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointsRequest,
|
|
38
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointsResponse,
|
|
39
|
+
]
|
|
40
|
+
"""Retrieves the list of PrivateEndpoint resources in the specified folder."""
|
|
41
|
+
|
|
42
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
43
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.CreatePrivateEndpointRequest,
|
|
44
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
45
|
+
]
|
|
46
|
+
"""Creates an private endpoint in the specified folder and network."""
|
|
47
|
+
|
|
48
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
49
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.UpdatePrivateEndpointRequest,
|
|
50
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
51
|
+
]
|
|
52
|
+
"""Updates the specified private endpoint."""
|
|
53
|
+
|
|
54
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
55
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.DeletePrivateEndpointRequest,
|
|
56
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
57
|
+
]
|
|
58
|
+
"""Deletes the specified private endpoint."""
|
|
59
|
+
|
|
60
|
+
ListOperations: grpc.UnaryUnaryMultiCallable[
|
|
61
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointOperationsRequest,
|
|
62
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointOperationsResponse,
|
|
63
|
+
]
|
|
64
|
+
"""List operations for the specified private endpoint."""
|
|
65
|
+
|
|
66
|
+
class PrivateEndpointServiceAsyncStub:
|
|
67
|
+
"""A set of methods for managing PrivateEndpoint resources."""
|
|
68
|
+
|
|
69
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
70
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.GetPrivateEndpointRequest,
|
|
71
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_pb2.PrivateEndpoint,
|
|
72
|
+
]
|
|
73
|
+
"""Returns the specified Private Endpoint resource.
|
|
74
|
+
|
|
75
|
+
To get the list of all available PrivateEndpoint resources, make a [List]
|
|
76
|
+
request.
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
80
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointsRequest,
|
|
81
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointsResponse,
|
|
82
|
+
]
|
|
83
|
+
"""Retrieves the list of PrivateEndpoint resources in the specified folder."""
|
|
84
|
+
|
|
85
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
86
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.CreatePrivateEndpointRequest,
|
|
87
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
88
|
+
]
|
|
89
|
+
"""Creates an private endpoint in the specified folder and network."""
|
|
90
|
+
|
|
91
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
92
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.UpdatePrivateEndpointRequest,
|
|
93
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
94
|
+
]
|
|
95
|
+
"""Updates the specified private endpoint."""
|
|
96
|
+
|
|
97
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
98
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.DeletePrivateEndpointRequest,
|
|
99
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
100
|
+
]
|
|
101
|
+
"""Deletes the specified private endpoint."""
|
|
102
|
+
|
|
103
|
+
ListOperations: grpc.aio.UnaryUnaryMultiCallable[
|
|
104
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointOperationsRequest,
|
|
105
|
+
yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointOperationsResponse,
|
|
106
|
+
]
|
|
107
|
+
"""List operations for the specified private endpoint."""
|
|
108
|
+
|
|
109
|
+
class PrivateEndpointServiceServicer(metaclass=abc.ABCMeta):
|
|
110
|
+
"""A set of methods for managing PrivateEndpoint resources."""
|
|
111
|
+
|
|
112
|
+
@abc.abstractmethod
|
|
113
|
+
def Get(
|
|
114
|
+
self,
|
|
115
|
+
request: yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.GetPrivateEndpointRequest,
|
|
116
|
+
context: _ServicerContext,
|
|
117
|
+
) -> typing.Union[yandex.cloud.vpc.v1.privatelink.private_endpoint_pb2.PrivateEndpoint, collections.abc.Awaitable[yandex.cloud.vpc.v1.privatelink.private_endpoint_pb2.PrivateEndpoint]]:
|
|
118
|
+
"""Returns the specified Private Endpoint resource.
|
|
119
|
+
|
|
120
|
+
To get the list of all available PrivateEndpoint resources, make a [List]
|
|
121
|
+
request.
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
@abc.abstractmethod
|
|
125
|
+
def List(
|
|
126
|
+
self,
|
|
127
|
+
request: yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointsRequest,
|
|
128
|
+
context: _ServicerContext,
|
|
129
|
+
) -> typing.Union[yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointsResponse, collections.abc.Awaitable[yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointsResponse]]:
|
|
130
|
+
"""Retrieves the list of PrivateEndpoint resources in the specified folder."""
|
|
131
|
+
|
|
132
|
+
@abc.abstractmethod
|
|
133
|
+
def Create(
|
|
134
|
+
self,
|
|
135
|
+
request: yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.CreatePrivateEndpointRequest,
|
|
136
|
+
context: _ServicerContext,
|
|
137
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
138
|
+
"""Creates an private endpoint in the specified folder and network."""
|
|
139
|
+
|
|
140
|
+
@abc.abstractmethod
|
|
141
|
+
def Update(
|
|
142
|
+
self,
|
|
143
|
+
request: yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.UpdatePrivateEndpointRequest,
|
|
144
|
+
context: _ServicerContext,
|
|
145
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
146
|
+
"""Updates the specified private endpoint."""
|
|
147
|
+
|
|
148
|
+
@abc.abstractmethod
|
|
149
|
+
def Delete(
|
|
150
|
+
self,
|
|
151
|
+
request: yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.DeletePrivateEndpointRequest,
|
|
152
|
+
context: _ServicerContext,
|
|
153
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
154
|
+
"""Deletes the specified private endpoint."""
|
|
155
|
+
|
|
156
|
+
@abc.abstractmethod
|
|
157
|
+
def ListOperations(
|
|
158
|
+
self,
|
|
159
|
+
request: yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointOperationsRequest,
|
|
160
|
+
context: _ServicerContext,
|
|
161
|
+
) -> typing.Union[yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointOperationsResponse, collections.abc.Awaitable[yandex.cloud.vpc.v1.privatelink.private_endpoint_service_pb2.ListPrivateEndpointOperationsResponse]]:
|
|
162
|
+
"""List operations for the specified private endpoint."""
|
|
163
|
+
|
|
164
|
+
def add_PrivateEndpointServiceServicer_to_server(servicer: PrivateEndpointServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|