yandexcloud 0.334.0__py3-none-any.whl → 0.335.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/tuning/v1/tuning_service_pb2.py +8 -8
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +11 -3
- yandex/cloud/cic/v1/partner_pb2.pyi +1 -1
- yandex/cloud/cic/v1/private_connection_pb2.py +10 -9
- yandex/cloud/cic/v1/private_connection_pb2.pyi +40 -12
- yandex/cloud/cic/v1/private_connection_service_pb2.py +76 -9
- yandex/cloud/cic/v1/private_connection_service_pb2.pyi +379 -1
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +270 -0
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +151 -0
- yandex/cloud/cic/v1/public_connection_pb2.py +10 -7
- yandex/cloud/cic/v1/public_connection_pb2.pyi +32 -2
- yandex/cloud/cic/v1/trunk_connection_pb2.py +16 -13
- yandex/cloud/cic/v1/trunk_connection_pb2.pyi +38 -2
- yandex/cloud/cic/v1/trunk_connection_service_pb2.py +62 -9
- yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +360 -1
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +180 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +99 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +16 -15
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +11 -3
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +86 -15
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +388 -1
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +360 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +203 -0
- yandex/cloud/compute/v1/instance_pb2.py +52 -52
- yandex/cloud/compute/v1/instance_pb2.pyi +5 -1
- yandex/cloud/compute/v1/instance_service_pb2.py +130 -126
- yandex/cloud/compute/v1/instance_service_pb2.pyi +17 -2
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +59 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +171 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.py +24 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.pyi +17 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +123 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +345 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +282 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +147 -0
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +30 -24
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +47 -2
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +78 -78
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +29 -5
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +0 -2
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +38 -22
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +193 -13
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +18 -18
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +8 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +18 -18
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +8 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.py +3 -3
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +8 -0
- yandex/cloud/storage/v1/bucket_pb2.py +75 -73
- yandex/cloud/video/v1/channel_service_pb2.py +36 -29
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +133 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +61 -0
- yandex/cloud/video/v1/episode_service_pb2.py +54 -53
- yandex/cloud/video/v1/episode_service_pb2.pyi +9 -2
- yandexcloud/__init__.py +2 -1
- yandexcloud/_channels.py +8 -3
- yandexcloud/_retry_interceptor.py +2 -0
- yandexcloud/_retry_policy.py +31 -0
- yandexcloud/_sdk.py +5 -10
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/METADATA +20 -1
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/RECORD +65 -56
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/top_level.txt +0 -0
|
@@ -5,6 +5,7 @@ import warnings
|
|
|
5
5
|
|
|
6
6
|
from yandex.cloud.cic.v1 import private_connection_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__pb2
|
|
7
7
|
from yandex.cloud.cic.v1 import private_connection_service_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2
|
|
8
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
8
9
|
|
|
9
10
|
GRPC_GENERATED_VERSION = '1.70.0'
|
|
10
11
|
GRPC_VERSION = grpc.__version__
|
|
@@ -46,6 +47,36 @@ class PrivateConnectionServiceStub(object):
|
|
|
46
47
|
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionsRequest.SerializeToString,
|
|
47
48
|
response_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionsResponse.FromString,
|
|
48
49
|
_registered_method=True)
|
|
50
|
+
self.Create = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/Create',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.CreatePrivateConnectionRequest.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.cic.v1.PrivateConnectionService/Update',
|
|
57
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.UpdatePrivateConnectionRequest.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.cic.v1.PrivateConnectionService/Delete',
|
|
62
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.DeletePrivateConnectionRequest.SerializeToString,
|
|
63
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
64
|
+
_registered_method=True)
|
|
65
|
+
self.UpsertStaticRoute = channel.unary_unary(
|
|
66
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/UpsertStaticRoute',
|
|
67
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.UpsertStaticRouteRequest.SerializeToString,
|
|
68
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
69
|
+
_registered_method=True)
|
|
70
|
+
self.RemoveStaticRoute = channel.unary_unary(
|
|
71
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/RemoveStaticRoute',
|
|
72
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.RemoveStaticRouteRequest.SerializeToString,
|
|
73
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
74
|
+
_registered_method=True)
|
|
75
|
+
self.ListOperations = channel.unary_unary(
|
|
76
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/ListOperations',
|
|
77
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionOperationsRequest.SerializeToString,
|
|
78
|
+
response_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionOperationsResponse.FromString,
|
|
79
|
+
_registered_method=True)
|
|
49
80
|
|
|
50
81
|
|
|
51
82
|
class PrivateConnectionServiceServicer(object):
|
|
@@ -68,6 +99,53 @@ class PrivateConnectionServiceServicer(object):
|
|
|
68
99
|
context.set_details('Method not implemented!')
|
|
69
100
|
raise NotImplementedError('Method not implemented!')
|
|
70
101
|
|
|
102
|
+
def Create(self, request, context):
|
|
103
|
+
"""Creates a PrivateConnection resource in the specified folder using the data specified in the request.
|
|
104
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
105
|
+
"""
|
|
106
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
|
+
context.set_details('Method not implemented!')
|
|
108
|
+
raise NotImplementedError('Method not implemented!')
|
|
109
|
+
|
|
110
|
+
def Update(self, request, context):
|
|
111
|
+
"""Updates a PrivateConnection resource using the data specified in the request.
|
|
112
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
113
|
+
"""
|
|
114
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
115
|
+
context.set_details('Method not implemented!')
|
|
116
|
+
raise NotImplementedError('Method not implemented!')
|
|
117
|
+
|
|
118
|
+
def Delete(self, request, context):
|
|
119
|
+
"""Deletes a PrivateConnection resource.
|
|
120
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
121
|
+
"""
|
|
122
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
123
|
+
context.set_details('Method not implemented!')
|
|
124
|
+
raise NotImplementedError('Method not implemented!')
|
|
125
|
+
|
|
126
|
+
def UpsertStaticRoute(self, request, context):
|
|
127
|
+
"""Upserts specified static routes to a PrivateConnection resource.
|
|
128
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
129
|
+
"""
|
|
130
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
131
|
+
context.set_details('Method not implemented!')
|
|
132
|
+
raise NotImplementedError('Method not implemented!')
|
|
133
|
+
|
|
134
|
+
def RemoveStaticRoute(self, request, context):
|
|
135
|
+
"""Removes specified static routes to a PrivateConnection resource.
|
|
136
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
137
|
+
"""
|
|
138
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
139
|
+
context.set_details('Method not implemented!')
|
|
140
|
+
raise NotImplementedError('Method not implemented!')
|
|
141
|
+
|
|
142
|
+
def ListOperations(self, request, context):
|
|
143
|
+
"""Lists operations for the specified PrivateConnection.
|
|
144
|
+
"""
|
|
145
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
146
|
+
context.set_details('Method not implemented!')
|
|
147
|
+
raise NotImplementedError('Method not implemented!')
|
|
148
|
+
|
|
71
149
|
|
|
72
150
|
def add_PrivateConnectionServiceServicer_to_server(servicer, server):
|
|
73
151
|
rpc_method_handlers = {
|
|
@@ -81,6 +159,36 @@ def add_PrivateConnectionServiceServicer_to_server(servicer, server):
|
|
|
81
159
|
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionsRequest.FromString,
|
|
82
160
|
response_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionsResponse.SerializeToString,
|
|
83
161
|
),
|
|
162
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
163
|
+
servicer.Create,
|
|
164
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.CreatePrivateConnectionRequest.FromString,
|
|
165
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
166
|
+
),
|
|
167
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
168
|
+
servicer.Update,
|
|
169
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.UpdatePrivateConnectionRequest.FromString,
|
|
170
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
171
|
+
),
|
|
172
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
173
|
+
servicer.Delete,
|
|
174
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.DeletePrivateConnectionRequest.FromString,
|
|
175
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
176
|
+
),
|
|
177
|
+
'UpsertStaticRoute': grpc.unary_unary_rpc_method_handler(
|
|
178
|
+
servicer.UpsertStaticRoute,
|
|
179
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.UpsertStaticRouteRequest.FromString,
|
|
180
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
181
|
+
),
|
|
182
|
+
'RemoveStaticRoute': grpc.unary_unary_rpc_method_handler(
|
|
183
|
+
servicer.RemoveStaticRoute,
|
|
184
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.RemoveStaticRouteRequest.FromString,
|
|
185
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
186
|
+
),
|
|
187
|
+
'ListOperations': grpc.unary_unary_rpc_method_handler(
|
|
188
|
+
servicer.ListOperations,
|
|
189
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionOperationsRequest.FromString,
|
|
190
|
+
response_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionOperationsResponse.SerializeToString,
|
|
191
|
+
),
|
|
84
192
|
}
|
|
85
193
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
86
194
|
'yandex.cloud.cic.v1.PrivateConnectionService', rpc_method_handlers)
|
|
@@ -146,3 +254,165 @@ class PrivateConnectionService(object):
|
|
|
146
254
|
timeout,
|
|
147
255
|
metadata,
|
|
148
256
|
_registered_method=True)
|
|
257
|
+
|
|
258
|
+
@staticmethod
|
|
259
|
+
def Create(request,
|
|
260
|
+
target,
|
|
261
|
+
options=(),
|
|
262
|
+
channel_credentials=None,
|
|
263
|
+
call_credentials=None,
|
|
264
|
+
insecure=False,
|
|
265
|
+
compression=None,
|
|
266
|
+
wait_for_ready=None,
|
|
267
|
+
timeout=None,
|
|
268
|
+
metadata=None):
|
|
269
|
+
return grpc.experimental.unary_unary(
|
|
270
|
+
request,
|
|
271
|
+
target,
|
|
272
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/Create',
|
|
273
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.CreatePrivateConnectionRequest.SerializeToString,
|
|
274
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
275
|
+
options,
|
|
276
|
+
channel_credentials,
|
|
277
|
+
insecure,
|
|
278
|
+
call_credentials,
|
|
279
|
+
compression,
|
|
280
|
+
wait_for_ready,
|
|
281
|
+
timeout,
|
|
282
|
+
metadata,
|
|
283
|
+
_registered_method=True)
|
|
284
|
+
|
|
285
|
+
@staticmethod
|
|
286
|
+
def Update(request,
|
|
287
|
+
target,
|
|
288
|
+
options=(),
|
|
289
|
+
channel_credentials=None,
|
|
290
|
+
call_credentials=None,
|
|
291
|
+
insecure=False,
|
|
292
|
+
compression=None,
|
|
293
|
+
wait_for_ready=None,
|
|
294
|
+
timeout=None,
|
|
295
|
+
metadata=None):
|
|
296
|
+
return grpc.experimental.unary_unary(
|
|
297
|
+
request,
|
|
298
|
+
target,
|
|
299
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/Update',
|
|
300
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.UpdatePrivateConnectionRequest.SerializeToString,
|
|
301
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
302
|
+
options,
|
|
303
|
+
channel_credentials,
|
|
304
|
+
insecure,
|
|
305
|
+
call_credentials,
|
|
306
|
+
compression,
|
|
307
|
+
wait_for_ready,
|
|
308
|
+
timeout,
|
|
309
|
+
metadata,
|
|
310
|
+
_registered_method=True)
|
|
311
|
+
|
|
312
|
+
@staticmethod
|
|
313
|
+
def Delete(request,
|
|
314
|
+
target,
|
|
315
|
+
options=(),
|
|
316
|
+
channel_credentials=None,
|
|
317
|
+
call_credentials=None,
|
|
318
|
+
insecure=False,
|
|
319
|
+
compression=None,
|
|
320
|
+
wait_for_ready=None,
|
|
321
|
+
timeout=None,
|
|
322
|
+
metadata=None):
|
|
323
|
+
return grpc.experimental.unary_unary(
|
|
324
|
+
request,
|
|
325
|
+
target,
|
|
326
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/Delete',
|
|
327
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.DeletePrivateConnectionRequest.SerializeToString,
|
|
328
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
329
|
+
options,
|
|
330
|
+
channel_credentials,
|
|
331
|
+
insecure,
|
|
332
|
+
call_credentials,
|
|
333
|
+
compression,
|
|
334
|
+
wait_for_ready,
|
|
335
|
+
timeout,
|
|
336
|
+
metadata,
|
|
337
|
+
_registered_method=True)
|
|
338
|
+
|
|
339
|
+
@staticmethod
|
|
340
|
+
def UpsertStaticRoute(request,
|
|
341
|
+
target,
|
|
342
|
+
options=(),
|
|
343
|
+
channel_credentials=None,
|
|
344
|
+
call_credentials=None,
|
|
345
|
+
insecure=False,
|
|
346
|
+
compression=None,
|
|
347
|
+
wait_for_ready=None,
|
|
348
|
+
timeout=None,
|
|
349
|
+
metadata=None):
|
|
350
|
+
return grpc.experimental.unary_unary(
|
|
351
|
+
request,
|
|
352
|
+
target,
|
|
353
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/UpsertStaticRoute',
|
|
354
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.UpsertStaticRouteRequest.SerializeToString,
|
|
355
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
356
|
+
options,
|
|
357
|
+
channel_credentials,
|
|
358
|
+
insecure,
|
|
359
|
+
call_credentials,
|
|
360
|
+
compression,
|
|
361
|
+
wait_for_ready,
|
|
362
|
+
timeout,
|
|
363
|
+
metadata,
|
|
364
|
+
_registered_method=True)
|
|
365
|
+
|
|
366
|
+
@staticmethod
|
|
367
|
+
def RemoveStaticRoute(request,
|
|
368
|
+
target,
|
|
369
|
+
options=(),
|
|
370
|
+
channel_credentials=None,
|
|
371
|
+
call_credentials=None,
|
|
372
|
+
insecure=False,
|
|
373
|
+
compression=None,
|
|
374
|
+
wait_for_ready=None,
|
|
375
|
+
timeout=None,
|
|
376
|
+
metadata=None):
|
|
377
|
+
return grpc.experimental.unary_unary(
|
|
378
|
+
request,
|
|
379
|
+
target,
|
|
380
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/RemoveStaticRoute',
|
|
381
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.RemoveStaticRouteRequest.SerializeToString,
|
|
382
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
383
|
+
options,
|
|
384
|
+
channel_credentials,
|
|
385
|
+
insecure,
|
|
386
|
+
call_credentials,
|
|
387
|
+
compression,
|
|
388
|
+
wait_for_ready,
|
|
389
|
+
timeout,
|
|
390
|
+
metadata,
|
|
391
|
+
_registered_method=True)
|
|
392
|
+
|
|
393
|
+
@staticmethod
|
|
394
|
+
def ListOperations(request,
|
|
395
|
+
target,
|
|
396
|
+
options=(),
|
|
397
|
+
channel_credentials=None,
|
|
398
|
+
call_credentials=None,
|
|
399
|
+
insecure=False,
|
|
400
|
+
compression=None,
|
|
401
|
+
wait_for_ready=None,
|
|
402
|
+
timeout=None,
|
|
403
|
+
metadata=None):
|
|
404
|
+
return grpc.experimental.unary_unary(
|
|
405
|
+
request,
|
|
406
|
+
target,
|
|
407
|
+
'/yandex.cloud.cic.v1.PrivateConnectionService/ListOperations',
|
|
408
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionOperationsRequest.SerializeToString,
|
|
409
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_private__connection__service__pb2.ListPrivateConnectionOperationsResponse.FromString,
|
|
410
|
+
options,
|
|
411
|
+
channel_credentials,
|
|
412
|
+
insecure,
|
|
413
|
+
call_credentials,
|
|
414
|
+
compression,
|
|
415
|
+
wait_for_ready,
|
|
416
|
+
timeout,
|
|
417
|
+
metadata,
|
|
418
|
+
_registered_method=True)
|
|
@@ -10,6 +10,7 @@ import grpc.aio
|
|
|
10
10
|
import typing
|
|
11
11
|
import yandex.cloud.cic.v1.private_connection_pb2
|
|
12
12
|
import yandex.cloud.cic.v1.private_connection_service_pb2
|
|
13
|
+
import yandex.cloud.operation.operation_pb2
|
|
13
14
|
|
|
14
15
|
_T = typing.TypeVar("_T")
|
|
15
16
|
|
|
@@ -37,6 +38,52 @@ class PrivateConnectionServiceStub:
|
|
|
37
38
|
]
|
|
38
39
|
"""Retrieves the list of PrivateConnection resources in the specified folder."""
|
|
39
40
|
|
|
41
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.CreatePrivateConnectionRequest,
|
|
43
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
44
|
+
]
|
|
45
|
+
"""Creates a PrivateConnection resource in the specified folder using the data specified in the request.
|
|
46
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
50
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.UpdatePrivateConnectionRequest,
|
|
51
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
52
|
+
]
|
|
53
|
+
"""Updates a PrivateConnection resource using the data specified in the request.
|
|
54
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
58
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.DeletePrivateConnectionRequest,
|
|
59
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
60
|
+
]
|
|
61
|
+
"""Deletes a PrivateConnection resource.
|
|
62
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
UpsertStaticRoute: grpc.UnaryUnaryMultiCallable[
|
|
66
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.UpsertStaticRouteRequest,
|
|
67
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
68
|
+
]
|
|
69
|
+
"""Upserts specified static routes to a PrivateConnection resource.
|
|
70
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
RemoveStaticRoute: grpc.UnaryUnaryMultiCallable[
|
|
74
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.RemoveStaticRouteRequest,
|
|
75
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
76
|
+
]
|
|
77
|
+
"""Removes specified static routes to a PrivateConnection resource.
|
|
78
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
ListOperations: grpc.UnaryUnaryMultiCallable[
|
|
82
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionOperationsRequest,
|
|
83
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionOperationsResponse,
|
|
84
|
+
]
|
|
85
|
+
"""Lists operations for the specified PrivateConnection."""
|
|
86
|
+
|
|
40
87
|
class PrivateConnectionServiceAsyncStub:
|
|
41
88
|
"""A set of methods for managing PrivateConnection resources."""
|
|
42
89
|
|
|
@@ -55,6 +102,52 @@ class PrivateConnectionServiceAsyncStub:
|
|
|
55
102
|
]
|
|
56
103
|
"""Retrieves the list of PrivateConnection resources in the specified folder."""
|
|
57
104
|
|
|
105
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
106
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.CreatePrivateConnectionRequest,
|
|
107
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
108
|
+
]
|
|
109
|
+
"""Creates a PrivateConnection resource in the specified folder using the data specified in the request.
|
|
110
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
114
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.UpdatePrivateConnectionRequest,
|
|
115
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
116
|
+
]
|
|
117
|
+
"""Updates a PrivateConnection resource using the data specified in the request.
|
|
118
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
122
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.DeletePrivateConnectionRequest,
|
|
123
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
124
|
+
]
|
|
125
|
+
"""Deletes a PrivateConnection resource.
|
|
126
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
UpsertStaticRoute: grpc.aio.UnaryUnaryMultiCallable[
|
|
130
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.UpsertStaticRouteRequest,
|
|
131
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
132
|
+
]
|
|
133
|
+
"""Upserts specified static routes to a PrivateConnection resource.
|
|
134
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
135
|
+
"""
|
|
136
|
+
|
|
137
|
+
RemoveStaticRoute: grpc.aio.UnaryUnaryMultiCallable[
|
|
138
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.RemoveStaticRouteRequest,
|
|
139
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
140
|
+
]
|
|
141
|
+
"""Removes specified static routes to a PrivateConnection resource.
|
|
142
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
ListOperations: grpc.aio.UnaryUnaryMultiCallable[
|
|
146
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionOperationsRequest,
|
|
147
|
+
yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionOperationsResponse,
|
|
148
|
+
]
|
|
149
|
+
"""Lists operations for the specified PrivateConnection."""
|
|
150
|
+
|
|
58
151
|
class PrivateConnectionServiceServicer(metaclass=abc.ABCMeta):
|
|
59
152
|
"""A set of methods for managing PrivateConnection resources."""
|
|
60
153
|
|
|
@@ -77,4 +170,62 @@ class PrivateConnectionServiceServicer(metaclass=abc.ABCMeta):
|
|
|
77
170
|
) -> typing.Union[yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionsResponse, collections.abc.Awaitable[yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionsResponse]]:
|
|
78
171
|
"""Retrieves the list of PrivateConnection resources in the specified folder."""
|
|
79
172
|
|
|
173
|
+
@abc.abstractmethod
|
|
174
|
+
def Create(
|
|
175
|
+
self,
|
|
176
|
+
request: yandex.cloud.cic.v1.private_connection_service_pb2.CreatePrivateConnectionRequest,
|
|
177
|
+
context: _ServicerContext,
|
|
178
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
179
|
+
"""Creates a PrivateConnection resource in the specified folder using the data specified in the request.
|
|
180
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
@abc.abstractmethod
|
|
184
|
+
def Update(
|
|
185
|
+
self,
|
|
186
|
+
request: yandex.cloud.cic.v1.private_connection_service_pb2.UpdatePrivateConnectionRequest,
|
|
187
|
+
context: _ServicerContext,
|
|
188
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
189
|
+
"""Updates a PrivateConnection resource using the data specified in the request.
|
|
190
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
@abc.abstractmethod
|
|
194
|
+
def Delete(
|
|
195
|
+
self,
|
|
196
|
+
request: yandex.cloud.cic.v1.private_connection_service_pb2.DeletePrivateConnectionRequest,
|
|
197
|
+
context: _ServicerContext,
|
|
198
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
199
|
+
"""Deletes a PrivateConnection resource.
|
|
200
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
@abc.abstractmethod
|
|
204
|
+
def UpsertStaticRoute(
|
|
205
|
+
self,
|
|
206
|
+
request: yandex.cloud.cic.v1.private_connection_service_pb2.UpsertStaticRouteRequest,
|
|
207
|
+
context: _ServicerContext,
|
|
208
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
209
|
+
"""Upserts specified static routes to a PrivateConnection resource.
|
|
210
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
211
|
+
"""
|
|
212
|
+
|
|
213
|
+
@abc.abstractmethod
|
|
214
|
+
def RemoveStaticRoute(
|
|
215
|
+
self,
|
|
216
|
+
request: yandex.cloud.cic.v1.private_connection_service_pb2.RemoveStaticRouteRequest,
|
|
217
|
+
context: _ServicerContext,
|
|
218
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
219
|
+
"""Removes specified static routes to a PrivateConnection resource.
|
|
220
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
@abc.abstractmethod
|
|
224
|
+
def ListOperations(
|
|
225
|
+
self,
|
|
226
|
+
request: yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionOperationsRequest,
|
|
227
|
+
context: _ServicerContext,
|
|
228
|
+
) -> typing.Union[yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionOperationsResponse, collections.abc.Awaitable[yandex.cloud.cic.v1.private_connection_service_pb2.ListPrivateConnectionOperationsResponse]]:
|
|
229
|
+
"""Lists operations for the specified PrivateConnection."""
|
|
230
|
+
|
|
80
231
|
def add_PrivateConnectionServiceServicer_to_server(servicer: PrivateConnectionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -23,10 +23,11 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
27
|
from yandex.cloud.cic.v1 import peering_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_peering__pb2
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/cic/v1/public_connection.proto\x12\x13yandex.cloud.cic.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a!yandex/cloud/cic/v1/peering.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/cic/v1/public_connection.proto\x12\x13yandex.cloud.cic.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!yandex/cloud/cic/v1/peering.proto\"\xb1\x08\n\x10PublicConnection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x11\n\tregion_id\x18\x06 \x01(\t\x12\x1b\n\x13trunk_connection_id\x18\x07 \x01(\t\x12,\n\x07vlan_id\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0cipv4_peering\x18\t \x01(\x0b\x32\x1c.yandex.cloud.cic.v1.Peering\x12Z\n\x1aipv4_allowed_service_types\x18\x0b \x03(\x0e\x32\x36.yandex.cloud.cic.v1.PublicConnection.CloudServiceType\x12$\n\x1cipv4_peer_announced_prefixes\x18\r \x03(\t\x12\x41\n\x06labels\x18\x12 \x03(\x0b\x32\x31.yandex.cloud.cic.v1.PublicConnection.LabelsEntry\x12<\n\x06status\x18\x13 \x01(\x0e\x32,.yandex.cloud.cic.v1.PublicConnection.Status\x12.\n\ncreated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf0\x02\n\x10\x43loudServiceType\x12\"\n\x1e\x43LOUD_SERVICE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x14\x43LOUD_SERVICE_YANDEX\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x18\x43LOUD_SERVICE_ALL_PUBLIC\x10\x02\x12\x14\n\x10\x43LOUD_SERVICE_S3\x10\x03\x12\x14\n\x10\x43LOUD_SERVICE_ML\x10\x04\x12\x17\n\x13\x43LOUD_SERVICE_APIGW\x10\x05\x12$\n CLOUD_SERVICE_CONTAINER_REGISTRY\x10\x06\x12\x19\n\x15\x43LOUD_SERVICE_CONSOLE\x10\x07\x12\x1c\n\x18\x43LOUD_SERVICE_MONITORING\x10\x08\x12\x1c\n\x18\x43LOUD_SERVICE_YANDEX_GPT\x10\t\x12#\n\x1f\x43LOUD_SERVICES_ALL_API_ENDPOINT\x10\n\x12\x15\n\x11\x43LOUD_SERVICE_YMQ\x10\x0b\"V\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x12J\x04\x08\x14\x10\x15\x42V\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
|
|
30
31
|
|
|
31
32
|
_globals = globals()
|
|
32
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,10 +39,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
39
|
_globals['_PUBLICCONNECTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
39
40
|
_globals['_PUBLICCONNECTION_CLOUDSERVICETYPE'].values_by_name["CLOUD_SERVICE_YANDEX"]._loaded_options = None
|
|
40
41
|
_globals['_PUBLICCONNECTION_CLOUDSERVICETYPE'].values_by_name["CLOUD_SERVICE_YANDEX"]._serialized_options = b'\010\001'
|
|
41
|
-
_globals['_PUBLICCONNECTION']._serialized_start=
|
|
42
|
-
_globals['_PUBLICCONNECTION']._serialized_end=
|
|
43
|
-
_globals['_PUBLICCONNECTION_LABELSENTRY']._serialized_start=
|
|
44
|
-
_globals['_PUBLICCONNECTION_LABELSENTRY']._serialized_end=
|
|
45
|
-
_globals['_PUBLICCONNECTION_CLOUDSERVICETYPE']._serialized_start=
|
|
46
|
-
_globals['_PUBLICCONNECTION_CLOUDSERVICETYPE']._serialized_end=
|
|
42
|
+
_globals['_PUBLICCONNECTION']._serialized_start=169
|
|
43
|
+
_globals['_PUBLICCONNECTION']._serialized_end=1242
|
|
44
|
+
_globals['_PUBLICCONNECTION_LABELSENTRY']._serialized_start=708
|
|
45
|
+
_globals['_PUBLICCONNECTION_LABELSENTRY']._serialized_end=753
|
|
46
|
+
_globals['_PUBLICCONNECTION_CLOUDSERVICETYPE']._serialized_start=756
|
|
47
|
+
_globals['_PUBLICCONNECTION_CLOUDSERVICETYPE']._serialized_end=1124
|
|
48
|
+
_globals['_PUBLICCONNECTION_STATUS']._serialized_start=1126
|
|
49
|
+
_globals['_PUBLICCONNECTION_STATUS']._serialized_end=1212
|
|
47
50
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -9,6 +9,7 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
11
11
|
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
12
13
|
import google.protobuf.wrappers_pb2
|
|
13
14
|
import sys
|
|
14
15
|
import typing
|
|
@@ -60,6 +61,25 @@ class PublicConnection(google.protobuf.message.Message):
|
|
|
60
61
|
CLOUD_SERVICES_ALL_API_ENDPOINT: PublicConnection.CloudServiceType.ValueType # 10
|
|
61
62
|
CLOUD_SERVICE_YMQ: PublicConnection.CloudServiceType.ValueType # 11
|
|
62
63
|
|
|
64
|
+
class _Status:
|
|
65
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
66
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
67
|
+
|
|
68
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PublicConnection._Status.ValueType], builtins.type):
|
|
69
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
70
|
+
STATUS_UNSPECIFIED: PublicConnection._Status.ValueType # 0
|
|
71
|
+
CREATING: PublicConnection._Status.ValueType # 1
|
|
72
|
+
UPDATING: PublicConnection._Status.ValueType # 2
|
|
73
|
+
DELETING: PublicConnection._Status.ValueType # 3
|
|
74
|
+
ACTIVE: PublicConnection._Status.ValueType # 4
|
|
75
|
+
|
|
76
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
77
|
+
STATUS_UNSPECIFIED: PublicConnection.Status.ValueType # 0
|
|
78
|
+
CREATING: PublicConnection.Status.ValueType # 1
|
|
79
|
+
UPDATING: PublicConnection.Status.ValueType # 2
|
|
80
|
+
DELETING: PublicConnection.Status.ValueType # 3
|
|
81
|
+
ACTIVE: PublicConnection.Status.ValueType # 4
|
|
82
|
+
|
|
63
83
|
@typing.final
|
|
64
84
|
class LabelsEntry(google.protobuf.message.Message):
|
|
65
85
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -87,6 +107,8 @@ class PublicConnection(google.protobuf.message.Message):
|
|
|
87
107
|
IPV4_ALLOWED_SERVICE_TYPES_FIELD_NUMBER: builtins.int
|
|
88
108
|
IPV4_PEER_ANNOUNCED_PREFIXES_FIELD_NUMBER: builtins.int
|
|
89
109
|
LABELS_FIELD_NUMBER: builtins.int
|
|
110
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
111
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
90
112
|
id: builtins.str
|
|
91
113
|
"""ID of the publicConnection."""
|
|
92
114
|
name: builtins.str
|
|
@@ -102,6 +124,8 @@ class PublicConnection(google.protobuf.message.Message):
|
|
|
102
124
|
"""ID of the region that the publicConnection belongs to."""
|
|
103
125
|
trunk_connection_id: builtins.str
|
|
104
126
|
"""ID of the trunk_connection that the publicConnection belongs to."""
|
|
127
|
+
status: global___PublicConnection.Status.ValueType
|
|
128
|
+
"""Status of the publicConnection."""
|
|
105
129
|
@property
|
|
106
130
|
def vlan_id(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
107
131
|
"""VLAN_ID that the privateConnection uses in multiplexing.
|
|
@@ -133,6 +157,10 @@ class PublicConnection(google.protobuf.message.Message):
|
|
|
133
157
|
Each key must match the regular expression `[a-z][-_0-9a-z]*`.
|
|
134
158
|
"""
|
|
135
159
|
|
|
160
|
+
@property
|
|
161
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
162
|
+
"""Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
163
|
+
|
|
136
164
|
def __init__(
|
|
137
165
|
self,
|
|
138
166
|
*,
|
|
@@ -147,8 +175,10 @@ class PublicConnection(google.protobuf.message.Message):
|
|
|
147
175
|
ipv4_allowed_service_types: collections.abc.Iterable[global___PublicConnection.CloudServiceType.ValueType] | None = ...,
|
|
148
176
|
ipv4_peer_announced_prefixes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
149
177
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
178
|
+
status: global___PublicConnection.Status.ValueType = ...,
|
|
179
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
150
180
|
) -> None: ...
|
|
151
|
-
def HasField(self, field_name: typing.Literal["ipv4_peering", b"ipv4_peering", "vlan_id", b"vlan_id"]) -> builtins.bool: ...
|
|
152
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "folder_id", b"folder_id", "id", b"id", "ipv4_allowed_service_types", b"ipv4_allowed_service_types", "ipv4_peer_announced_prefixes", b"ipv4_peer_announced_prefixes", "ipv4_peering", b"ipv4_peering", "labels", b"labels", "name", b"name", "region_id", b"region_id", "trunk_connection_id", b"trunk_connection_id", "vlan_id", b"vlan_id"]) -> None: ...
|
|
181
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "ipv4_peering", b"ipv4_peering", "vlan_id", b"vlan_id"]) -> builtins.bool: ...
|
|
182
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "id", b"id", "ipv4_allowed_service_types", b"ipv4_allowed_service_types", "ipv4_peer_announced_prefixes", b"ipv4_peer_announced_prefixes", "ipv4_peering", b"ipv4_peering", "labels", b"labels", "name", b"name", "region_id", b"region_id", "status", b"status", "trunk_connection_id", b"trunk_connection_id", "vlan_id", b"vlan_id"]) -> None: ...
|
|
153
183
|
|
|
154
184
|
global___PublicConnection = PublicConnection
|
|
@@ -23,11 +23,12 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
27
|
from yandex.cloud.cic.v1.common import transceiver_type_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_common_dot_transceiver__type__pb2
|
|
27
28
|
from yandex.cloud.cic.v1.common import lag_allocation_settings_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_common_dot_lag__allocation__settings__pb2
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/cic/v1/trunk_connection.proto\x12\x13yandex.cloud.cic.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x31yandex/cloud/cic/v1/common/transceiver_type.proto\x1a\x38yandex/cloud/cic/v1/common/lag_allocation_settings.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/cic/v1/trunk_connection.proto\x12\x13yandex.cloud.cic.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x31yandex/cloud/cic/v1/common/transceiver_type.proto\x1a\x38yandex/cloud/cic/v1/common/lag_allocation_settings.proto\"\xda\r\n\x0fTrunkConnection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x11\n\tregion_id\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12^\n\x18single_port_direct_joint\x18\t \x01(\x0b\x32:.yandex.cloud.cic.v1.TrunkConnection.SinglePortDirectJointH\x00\x12O\n\x10lag_direct_joint\x18\n \x01(\x0b\x32\x33.yandex.cloud.cic.v1.TrunkConnection.LagDirectJointH\x00\x12S\n\x12partner_joint_info\x18\x0b \x01(\x0b\x32\x35.yandex.cloud.cic.v1.TrunkConnection.PartnerJointInfoH\x00\x12:\n\x14point_of_presence_id\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x08\x63\x61pacity\x18\x16 \x01(\x0e\x32-.yandex.cloud.cic.v1.TrunkConnection.Capacity\x12@\n\x06labels\x18\x17 \x03(\x0b\x32\x30.yandex.cloud.cic.v1.TrunkConnection.LabelsEntry\x12;\n\x06status\x18\x18 \x01(\x0e\x32+.yandex.cloud.cic.v1.TrunkConnection.Status\x12\x1b\n\x13\x64\x65letion_protection\x18\x19 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a_\n\x10PartnerJointInfo\x12\x13\n\x0bservice_key\x18\x03 \x01(\t\x12\x30\n\npartner_id\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueJ\x04\x08\x01\x10\x03\x1a\xb1\x01\n\x15SinglePortDirectJoint\x12\x45\n\x10transceiver_type\x18\x01 \x01(\x0e\x32+.yandex.cloud.cic.v1.common.TransceiverType\x12/\n\tport_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x1a\n\x12\x61\x63\x63\x65ss_device_name\x18\x04 \x01(\tJ\x04\x08\x02\x10\x03\x1a\xcd\x01\n\x0eLagDirectJoint\x12\x45\n\x10transceiver_type\x18\x01 \x01(\x0e\x32+.yandex.cloud.cic.v1.common.TransceiverType\x12R\n\x17lag_allocation_settings\x18\x03 \x01(\x0b\x32\x31.yandex.cloud.cic.v1.common.LagAllocationSettings\x12\x1a\n\x12\x61\x63\x63\x65ss_device_name\x18\x04 \x01(\tJ\x04\x08\x02\x10\x03\"\x9b\x03\n\x08\x43\x61pacity\x12\x18\n\x14\x43\x41PACITY_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43\x41PACITY_50_MBPS\x10\x01\x12\x15\n\x11\x43\x41PACITY_100_MBPS\x10\x02\x12\x15\n\x11\x43\x41PACITY_200_MBPS\x10\x03\x12\x15\n\x11\x43\x41PACITY_300_MBPS\x10\x04\x12\x15\n\x11\x43\x41PACITY_400_MBPS\x10\x05\x12\x15\n\x11\x43\x41PACITY_500_MBPS\x10\x06\x12\x13\n\x0f\x43\x41PACITY_1_GBPS\x10\x07\x12\x13\n\x0f\x43\x41PACITY_2_GBPS\x10\x08\x12\x13\n\x0f\x43\x41PACITY_3_GBPS\x10\t\x12\x13\n\x0f\x43\x41PACITY_4_GBPS\x10\n\x12\x13\n\x0f\x43\x41PACITY_5_GBPS\x10\x0b\x12\x14\n\x10\x43\x41PACITY_10_GBPS\x10\x0c\x12\x14\n\x10\x43\x41PACITY_20_GBPS\x10\r\x12\x14\n\x10\x43\x41PACITY_30_GBPS\x10\x0e\x12\x14\n\x10\x43\x41PACITY_40_GBPS\x10\x0f\x12\x14\n\x10\x43\x41PACITY_50_GBPS\x10\x10\x12\x15\n\x11\x43\x41PACITY_100_GBPS\x10\x11\"V\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04\x42\x07\n\x05jointJ\x04\x08\x04\x10\x05J\x04\x08\x08\x10\tJ\x04\x08\r\x10\x16\x42V\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
|
|
31
32
|
|
|
32
33
|
_globals = globals()
|
|
33
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,16 +38,18 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
38
|
_globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cic'
|
|
38
39
|
_globals['_TRUNKCONNECTION_LABELSENTRY']._loaded_options = None
|
|
39
40
|
_globals['_TRUNKCONNECTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
40
|
-
_globals['_TRUNKCONNECTION']._serialized_start=
|
|
41
|
-
_globals['_TRUNKCONNECTION']._serialized_end=
|
|
42
|
-
_globals['_TRUNKCONNECTION_LABELSENTRY']._serialized_start=
|
|
43
|
-
_globals['_TRUNKCONNECTION_LABELSENTRY']._serialized_end=
|
|
44
|
-
_globals['_TRUNKCONNECTION_PARTNERJOINTINFO']._serialized_start=
|
|
45
|
-
_globals['_TRUNKCONNECTION_PARTNERJOINTINFO']._serialized_end=
|
|
46
|
-
_globals['_TRUNKCONNECTION_SINGLEPORTDIRECTJOINT']._serialized_start=
|
|
47
|
-
_globals['_TRUNKCONNECTION_SINGLEPORTDIRECTJOINT']._serialized_end=
|
|
48
|
-
_globals['_TRUNKCONNECTION_LAGDIRECTJOINT']._serialized_start=
|
|
49
|
-
_globals['_TRUNKCONNECTION_LAGDIRECTJOINT']._serialized_end=
|
|
50
|
-
_globals['_TRUNKCONNECTION_CAPACITY']._serialized_start=
|
|
51
|
-
_globals['_TRUNKCONNECTION_CAPACITY']._serialized_end=
|
|
41
|
+
_globals['_TRUNKCONNECTION']._serialized_start=242
|
|
42
|
+
_globals['_TRUNKCONNECTION']._serialized_end=1996
|
|
43
|
+
_globals['_TRUNKCONNECTION_LABELSENTRY']._serialized_start=937
|
|
44
|
+
_globals['_TRUNKCONNECTION_LABELSENTRY']._serialized_end=982
|
|
45
|
+
_globals['_TRUNKCONNECTION_PARTNERJOINTINFO']._serialized_start=984
|
|
46
|
+
_globals['_TRUNKCONNECTION_PARTNERJOINTINFO']._serialized_end=1079
|
|
47
|
+
_globals['_TRUNKCONNECTION_SINGLEPORTDIRECTJOINT']._serialized_start=1082
|
|
48
|
+
_globals['_TRUNKCONNECTION_SINGLEPORTDIRECTJOINT']._serialized_end=1259
|
|
49
|
+
_globals['_TRUNKCONNECTION_LAGDIRECTJOINT']._serialized_start=1262
|
|
50
|
+
_globals['_TRUNKCONNECTION_LAGDIRECTJOINT']._serialized_end=1467
|
|
51
|
+
_globals['_TRUNKCONNECTION_CAPACITY']._serialized_start=1470
|
|
52
|
+
_globals['_TRUNKCONNECTION_CAPACITY']._serialized_end=1881
|
|
53
|
+
_globals['_TRUNKCONNECTION_STATUS']._serialized_start=1883
|
|
54
|
+
_globals['_TRUNKCONNECTION_STATUS']._serialized_end=1969
|
|
52
55
|
# @@protoc_insertion_point(module_scope)
|