yandexcloud 0.354.0__py3-none-any.whl → 0.356.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 +58 -30
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +178 -3
- yandex/cloud/airflow/v1/cluster_pb2.py +12 -8
- yandex/cloud/airflow/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +32 -32
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +5 -1
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +6 -6
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +5 -1
- yandex/cloud/backup/v1/backup_service_pb2.py +46 -40
- yandex/cloud/backup/v1/backup_service_pb2.pyi +26 -4
- yandex/cloud/backup/v1/resource_pb2.py +2 -2
- yandex/cloud/backup/v1/resource_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +18 -9
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +16 -2
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +14 -9
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.py +29 -24
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +43 -36
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +3 -2
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +83 -76
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +16 -11
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +14 -9
- yandex/cloud/compute/v1/maintenance_service_pb2.py +47 -0
- yandex/cloud/compute/v1/maintenance_service_pb2.pyi +8 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py +190 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.pyi +91 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +8 -4
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +69 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +44 -20
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +138 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +88 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +40 -0
- yandex/cloud/datatransfer/v1/transfer_pb2.py +50 -48
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +23 -4
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +12 -4
- yandex/cloud/iam/v1/oauth_client_pb2.py +39 -0
- yandex/cloud/iam/v1/oauth_client_pb2.pyi +85 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.py +38 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.pyi +49 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.py +80 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.pyi +188 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.py +237 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.pyi +121 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.py +99 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.pyi +257 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py +281 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.pyi +141 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/maintenance/__init__.py +0 -0
- yandex/cloud/maintenance/v2/__init__.py +0 -0
- yandex/cloud/maintenance/v2/common_pb2.py +73 -0
- yandex/cloud/maintenance/v2/common_pb2.pyi +324 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.py +24 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +196 -152
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1779 -1066
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +98 -86
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1248 -792
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +14 -14
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +13 -1
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +76 -76
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +4 -0
- yandex/cloud/metastore/v1/cluster_pb2.py +18 -16
- yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +12 -2
- yandex/cloud/serverless/containers/v1/container_pb2.py +46 -44
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +25 -3
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +50 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +241 -2
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +22 -2
- yandex/cloud/storage/v1/presign_service_pb2.py +47 -0
- yandex/cloud/storage/v1/presign_service_pb2.pyi +117 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.py +101 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.pyi +50 -0
- yandex/cloud/trino/v1/access_control_pb2.py +212 -0
- yandex/cloud/trino/v1/access_control_pb2.pyi +926 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/cluster_pb2.py +44 -43
- yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +29 -4
- yandex/cloud/ytsaurus/v1/cluster_pb2.py +40 -37
- yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +32 -18
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/RECORD +102 -68
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
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.maintenance.v2 import common_pb2 as yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2
|
|
7
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
8
|
+
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
10
|
+
GRPC_VERSION = grpc.__version__
|
|
11
|
+
_version_not_supported = False
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
from grpc._utilities import first_version_is_lower
|
|
15
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
16
|
+
except ImportError:
|
|
17
|
+
_version_not_supported = True
|
|
18
|
+
|
|
19
|
+
if _version_not_supported:
|
|
20
|
+
raise RuntimeError(
|
|
21
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
22
|
+
+ f' but the generated code in yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py depends on'
|
|
23
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
24
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
25
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class MaintenanceServiceStub(object):
|
|
30
|
+
"""A set of methods for managing maintenances in a service.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
def __init__(self, channel):
|
|
34
|
+
"""Constructor.
|
|
35
|
+
|
|
36
|
+
Args:
|
|
37
|
+
channel: A grpc.Channel.
|
|
38
|
+
"""
|
|
39
|
+
self.List = channel.unary_unary(
|
|
40
|
+
'/yandex.cloud.compute.v1.MaintenanceService/List',
|
|
41
|
+
request_serializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.ListMaintenancesRequest.SerializeToString,
|
|
42
|
+
response_deserializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.ListMaintenancesResponse.FromString,
|
|
43
|
+
_registered_method=True)
|
|
44
|
+
self.Get = channel.unary_unary(
|
|
45
|
+
'/yandex.cloud.compute.v1.MaintenanceService/Get',
|
|
46
|
+
request_serializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.GetMaintenanceRequest.SerializeToString,
|
|
47
|
+
response_deserializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.Maintenance.FromString,
|
|
48
|
+
_registered_method=True)
|
|
49
|
+
self.Reschedule = channel.unary_unary(
|
|
50
|
+
'/yandex.cloud.compute.v1.MaintenanceService/Reschedule',
|
|
51
|
+
request_serializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.RescheduleMaintenanceRequest.SerializeToString,
|
|
52
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
53
|
+
_registered_method=True)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class MaintenanceServiceServicer(object):
|
|
57
|
+
"""A set of methods for managing maintenances in a service.
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
def List(self, request, context):
|
|
61
|
+
"""Lists maintenances by conditions, specified in request.
|
|
62
|
+
"""
|
|
63
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
+
context.set_details('Method not implemented!')
|
|
65
|
+
raise NotImplementedError('Method not implemented!')
|
|
66
|
+
|
|
67
|
+
def Get(self, request, context):
|
|
68
|
+
"""Retrieves the specific Maintenance by ID.
|
|
69
|
+
"""
|
|
70
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
71
|
+
context.set_details('Method not implemented!')
|
|
72
|
+
raise NotImplementedError('Method not implemented!')
|
|
73
|
+
|
|
74
|
+
def Reschedule(self, request, context):
|
|
75
|
+
"""Allows user to reschedule Maintenance to another date and time.
|
|
76
|
+
"""
|
|
77
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
78
|
+
context.set_details('Method not implemented!')
|
|
79
|
+
raise NotImplementedError('Method not implemented!')
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def add_MaintenanceServiceServicer_to_server(servicer, server):
|
|
83
|
+
rpc_method_handlers = {
|
|
84
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
85
|
+
servicer.List,
|
|
86
|
+
request_deserializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.ListMaintenancesRequest.FromString,
|
|
87
|
+
response_serializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.ListMaintenancesResponse.SerializeToString,
|
|
88
|
+
),
|
|
89
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
90
|
+
servicer.Get,
|
|
91
|
+
request_deserializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.GetMaintenanceRequest.FromString,
|
|
92
|
+
response_serializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.Maintenance.SerializeToString,
|
|
93
|
+
),
|
|
94
|
+
'Reschedule': grpc.unary_unary_rpc_method_handler(
|
|
95
|
+
servicer.Reschedule,
|
|
96
|
+
request_deserializer=yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.RescheduleMaintenanceRequest.FromString,
|
|
97
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
98
|
+
),
|
|
99
|
+
}
|
|
100
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
101
|
+
'yandex.cloud.compute.v1.MaintenanceService', rpc_method_handlers)
|
|
102
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
103
|
+
server.add_registered_method_handlers('yandex.cloud.compute.v1.MaintenanceService', rpc_method_handlers)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# This class is part of an EXPERIMENTAL API.
|
|
107
|
+
class MaintenanceService(object):
|
|
108
|
+
"""A set of methods for managing maintenances in a service.
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
@staticmethod
|
|
112
|
+
def List(request,
|
|
113
|
+
target,
|
|
114
|
+
options=(),
|
|
115
|
+
channel_credentials=None,
|
|
116
|
+
call_credentials=None,
|
|
117
|
+
insecure=False,
|
|
118
|
+
compression=None,
|
|
119
|
+
wait_for_ready=None,
|
|
120
|
+
timeout=None,
|
|
121
|
+
metadata=None):
|
|
122
|
+
return grpc.experimental.unary_unary(
|
|
123
|
+
request,
|
|
124
|
+
target,
|
|
125
|
+
'/yandex.cloud.compute.v1.MaintenanceService/List',
|
|
126
|
+
yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.ListMaintenancesRequest.SerializeToString,
|
|
127
|
+
yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.ListMaintenancesResponse.FromString,
|
|
128
|
+
options,
|
|
129
|
+
channel_credentials,
|
|
130
|
+
insecure,
|
|
131
|
+
call_credentials,
|
|
132
|
+
compression,
|
|
133
|
+
wait_for_ready,
|
|
134
|
+
timeout,
|
|
135
|
+
metadata,
|
|
136
|
+
_registered_method=True)
|
|
137
|
+
|
|
138
|
+
@staticmethod
|
|
139
|
+
def Get(request,
|
|
140
|
+
target,
|
|
141
|
+
options=(),
|
|
142
|
+
channel_credentials=None,
|
|
143
|
+
call_credentials=None,
|
|
144
|
+
insecure=False,
|
|
145
|
+
compression=None,
|
|
146
|
+
wait_for_ready=None,
|
|
147
|
+
timeout=None,
|
|
148
|
+
metadata=None):
|
|
149
|
+
return grpc.experimental.unary_unary(
|
|
150
|
+
request,
|
|
151
|
+
target,
|
|
152
|
+
'/yandex.cloud.compute.v1.MaintenanceService/Get',
|
|
153
|
+
yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.GetMaintenanceRequest.SerializeToString,
|
|
154
|
+
yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.Maintenance.FromString,
|
|
155
|
+
options,
|
|
156
|
+
channel_credentials,
|
|
157
|
+
insecure,
|
|
158
|
+
call_credentials,
|
|
159
|
+
compression,
|
|
160
|
+
wait_for_ready,
|
|
161
|
+
timeout,
|
|
162
|
+
metadata,
|
|
163
|
+
_registered_method=True)
|
|
164
|
+
|
|
165
|
+
@staticmethod
|
|
166
|
+
def Reschedule(request,
|
|
167
|
+
target,
|
|
168
|
+
options=(),
|
|
169
|
+
channel_credentials=None,
|
|
170
|
+
call_credentials=None,
|
|
171
|
+
insecure=False,
|
|
172
|
+
compression=None,
|
|
173
|
+
wait_for_ready=None,
|
|
174
|
+
timeout=None,
|
|
175
|
+
metadata=None):
|
|
176
|
+
return grpc.experimental.unary_unary(
|
|
177
|
+
request,
|
|
178
|
+
target,
|
|
179
|
+
'/yandex.cloud.compute.v1.MaintenanceService/Reschedule',
|
|
180
|
+
yandex_dot_cloud_dot_maintenance_dot_v2_dot_common__pb2.RescheduleMaintenanceRequest.SerializeToString,
|
|
181
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
182
|
+
options,
|
|
183
|
+
channel_credentials,
|
|
184
|
+
insecure,
|
|
185
|
+
call_credentials,
|
|
186
|
+
compression,
|
|
187
|
+
wait_for_ready,
|
|
188
|
+
timeout,
|
|
189
|
+
metadata,
|
|
190
|
+
_registered_method=True)
|
|
@@ -0,0 +1,91 @@
|
|
|
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.maintenance.v2.common_pb2
|
|
12
|
+
import yandex.cloud.operation.operation_pb2
|
|
13
|
+
|
|
14
|
+
_T = typing.TypeVar("_T")
|
|
15
|
+
|
|
16
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
17
|
+
|
|
18
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
19
|
+
...
|
|
20
|
+
|
|
21
|
+
class MaintenanceServiceStub:
|
|
22
|
+
"""A set of methods for managing maintenances in a service."""
|
|
23
|
+
|
|
24
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
25
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
yandex.cloud.maintenance.v2.common_pb2.ListMaintenancesRequest,
|
|
27
|
+
yandex.cloud.maintenance.v2.common_pb2.ListMaintenancesResponse,
|
|
28
|
+
]
|
|
29
|
+
"""Lists maintenances by conditions, specified in request."""
|
|
30
|
+
|
|
31
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
32
|
+
yandex.cloud.maintenance.v2.common_pb2.GetMaintenanceRequest,
|
|
33
|
+
yandex.cloud.maintenance.v2.common_pb2.Maintenance,
|
|
34
|
+
]
|
|
35
|
+
"""Retrieves the specific Maintenance by ID."""
|
|
36
|
+
|
|
37
|
+
Reschedule: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
yandex.cloud.maintenance.v2.common_pb2.RescheduleMaintenanceRequest,
|
|
39
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
40
|
+
]
|
|
41
|
+
"""Allows user to reschedule Maintenance to another date and time."""
|
|
42
|
+
|
|
43
|
+
class MaintenanceServiceAsyncStub:
|
|
44
|
+
"""A set of methods for managing maintenances in a service."""
|
|
45
|
+
|
|
46
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
47
|
+
yandex.cloud.maintenance.v2.common_pb2.ListMaintenancesRequest,
|
|
48
|
+
yandex.cloud.maintenance.v2.common_pb2.ListMaintenancesResponse,
|
|
49
|
+
]
|
|
50
|
+
"""Lists maintenances by conditions, specified in request."""
|
|
51
|
+
|
|
52
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
53
|
+
yandex.cloud.maintenance.v2.common_pb2.GetMaintenanceRequest,
|
|
54
|
+
yandex.cloud.maintenance.v2.common_pb2.Maintenance,
|
|
55
|
+
]
|
|
56
|
+
"""Retrieves the specific Maintenance by ID."""
|
|
57
|
+
|
|
58
|
+
Reschedule: grpc.aio.UnaryUnaryMultiCallable[
|
|
59
|
+
yandex.cloud.maintenance.v2.common_pb2.RescheduleMaintenanceRequest,
|
|
60
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
61
|
+
]
|
|
62
|
+
"""Allows user to reschedule Maintenance to another date and time."""
|
|
63
|
+
|
|
64
|
+
class MaintenanceServiceServicer(metaclass=abc.ABCMeta):
|
|
65
|
+
"""A set of methods for managing maintenances in a service."""
|
|
66
|
+
|
|
67
|
+
@abc.abstractmethod
|
|
68
|
+
def List(
|
|
69
|
+
self,
|
|
70
|
+
request: yandex.cloud.maintenance.v2.common_pb2.ListMaintenancesRequest,
|
|
71
|
+
context: _ServicerContext,
|
|
72
|
+
) -> typing.Union[yandex.cloud.maintenance.v2.common_pb2.ListMaintenancesResponse, collections.abc.Awaitable[yandex.cloud.maintenance.v2.common_pb2.ListMaintenancesResponse]]:
|
|
73
|
+
"""Lists maintenances by conditions, specified in request."""
|
|
74
|
+
|
|
75
|
+
@abc.abstractmethod
|
|
76
|
+
def Get(
|
|
77
|
+
self,
|
|
78
|
+
request: yandex.cloud.maintenance.v2.common_pb2.GetMaintenanceRequest,
|
|
79
|
+
context: _ServicerContext,
|
|
80
|
+
) -> typing.Union[yandex.cloud.maintenance.v2.common_pb2.Maintenance, collections.abc.Awaitable[yandex.cloud.maintenance.v2.common_pb2.Maintenance]]:
|
|
81
|
+
"""Retrieves the specific Maintenance by ID."""
|
|
82
|
+
|
|
83
|
+
@abc.abstractmethod
|
|
84
|
+
def Reschedule(
|
|
85
|
+
self,
|
|
86
|
+
request: yandex.cloud.maintenance.v2.common_pb2.RescheduleMaintenanceRequest,
|
|
87
|
+
context: _ServicerContext,
|
|
88
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
89
|
+
"""Allows user to reschedule Maintenance to another date and time."""
|
|
90
|
+
|
|
91
|
+
def add_MaintenanceServiceServicer_to_server(servicer: MaintenanceServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -28,7 +28,7 @@ from yandex.cloud.compute.v1 import instance_service_pb2 as yandex_dot_cloud_dot
|
|
|
28
28
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4yandex/cloud/compute/v1/reserved_instance_pool.proto\x12\x17yandex.cloud.compute.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&yandex/cloud/compute/v1/instance.proto\x1a.yandex/cloud/compute/v1/instance_service.proto\x1a\x1dyandex/cloud/validation.proto\"+\n\nProductIDs\x12\x1d\n\x0bproduct_ids\x18\x01 \x03(\tB\x08\x8a\xc8\x31\x04<=50\"\xbb\x01\n\x0c\x42ootDiskSpec\x12\x1b\n\x07\x64isk_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1c\n\x08image_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1f\n\x0bsnapshot_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12:\n\x0bproduct_ids\x18\x04 \x01(\x0b\x32#.yandex.cloud.compute.v1.ProductIDsH\x00\x42\x13\n\x0b\x62oot_source\x12\x04\xc0\xc1\x31\x01\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4yandex/cloud/compute/v1/reserved_instance_pool.proto\x12\x17yandex.cloud.compute.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&yandex/cloud/compute/v1/instance.proto\x1a.yandex/cloud/compute/v1/instance_service.proto\x1a\x1dyandex/cloud/validation.proto\"+\n\nProductIDs\x12\x1d\n\x0bproduct_ids\x18\x01 \x03(\tB\x08\x8a\xc8\x31\x04<=50\"\xbb\x01\n\x0c\x42ootDiskSpec\x12\x1b\n\x07\x64isk_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1c\n\x08image_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1f\n\x0bsnapshot_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12:\n\x0bproduct_ids\x18\x04 \x01(\x0b\x32#.yandex.cloud.compute.v1.ProductIDsH\x00\x42\x13\n\x0b\x62oot_source\x12\x04\xc0\xc1\x31\x01\"\xfa\x06\n\x14ReservedInstancePool\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07zone_id\x18\x02 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x03 \x01(\t\x12\x11\n\tfolder_id\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12I\n\x06labels\x18\x07 \x03(\x0b\x32\x39.yandex.cloud.compute.v1.ReservedInstancePool.LabelsEntry\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bplatform_id\x18\t \x01(\t\x12>\n\x0eresources_spec\x18\n \x01(\x0b\x32&.yandex.cloud.compute.v1.ResourcesSpec\x12:\n\x0cgpu_settings\x18\x0b \x01(\x0b\x32$.yandex.cloud.compute.v1.GpuSettings\x12\x13\n\x0bproduct_ids\x18\x0c \x03(\t\x12\x42\n\x10network_settings\x18\r \x01(\x0b\x32(.yandex.cloud.compute.v1.NetworkSettings\x12\x0c\n\x04size\x18\x0e \x01(\x03\x12\x16\n\x0e\x63ommitted_size\x18\x0f \x01(\x03\x12\x1e\n\x16\x61llow_oversubscription\x18\x10 \x01(\x08\x12K\n\nslot_stats\x18\x11 \x01(\x0b\x32\x37.yandex.cloud.compute.v1.ReservedInstancePool.SlotStats\x12S\n\x0einstance_stats\x18\x12 \x01(\x0b\x32;.yandex.cloud.compute.v1.ReservedInstancePool.InstanceStats\x1a\x61\n\tSlotStats\x12\r\n\x05total\x18\x01 \x01(\x03\x12\x0c\n\x04used\x18\x02 \x01(\x03\x12\x11\n\tavailable\x18\x03 \x01(\x03\x12\x13\n\x0bunavailable\x18\x04 \x01(\x03\x12\x0f\n\x07pending\x18\x05 \x01(\x03\x1a\x1e\n\rInstanceStats\x12\r\n\x05total\x18\x01 \x01(\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x62\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -53,7 +53,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
53
53
|
_globals['_BOOTDISKSPEC']._serialized_start=279
|
|
54
54
|
_globals['_BOOTDISKSPEC']._serialized_end=466
|
|
55
55
|
_globals['_RESERVEDINSTANCEPOOL']._serialized_start=469
|
|
56
|
-
_globals['_RESERVEDINSTANCEPOOL']._serialized_end=
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
56
|
+
_globals['_RESERVEDINSTANCEPOOL']._serialized_end=1359
|
|
57
|
+
_globals['_RESERVEDINSTANCEPOOL_SLOTSTATS']._serialized_start=1183
|
|
58
|
+
_globals['_RESERVEDINSTANCEPOOL_SLOTSTATS']._serialized_end=1280
|
|
59
|
+
_globals['_RESERVEDINSTANCEPOOL_INSTANCESTATS']._serialized_start=1282
|
|
60
|
+
_globals['_RESERVEDINSTANCEPOOL_INSTANCESTATS']._serialized_end=1312
|
|
61
|
+
_globals['_RESERVEDINSTANCEPOOL_LABELSENTRY']._serialized_start=1314
|
|
62
|
+
_globals['_RESERVEDINSTANCEPOOL_LABELSENTRY']._serialized_end=1359
|
|
59
63
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -77,6 +77,50 @@ class ReservedInstancePool(google.protobuf.message.Message):
|
|
|
77
77
|
|
|
78
78
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
79
79
|
|
|
80
|
+
@typing.final
|
|
81
|
+
class SlotStats(google.protobuf.message.Message):
|
|
82
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
83
|
+
|
|
84
|
+
TOTAL_FIELD_NUMBER: builtins.int
|
|
85
|
+
USED_FIELD_NUMBER: builtins.int
|
|
86
|
+
AVAILABLE_FIELD_NUMBER: builtins.int
|
|
87
|
+
UNAVAILABLE_FIELD_NUMBER: builtins.int
|
|
88
|
+
PENDING_FIELD_NUMBER: builtins.int
|
|
89
|
+
total: builtins.int
|
|
90
|
+
"""Equals to pool size (and equals to the sum of the following fields)"""
|
|
91
|
+
used: builtins.int
|
|
92
|
+
"""Number of slots used by running instances"""
|
|
93
|
+
available: builtins.int
|
|
94
|
+
"""Number of slots available for instances (but not currently used)"""
|
|
95
|
+
unavailable: builtins.int
|
|
96
|
+
"""Number of slots unavailable for some reason (for example because of underlying host failure)"""
|
|
97
|
+
pending: builtins.int
|
|
98
|
+
"""Number of slots requested for async update, but still waiting for resources and not yet available for usage"""
|
|
99
|
+
def __init__(
|
|
100
|
+
self,
|
|
101
|
+
*,
|
|
102
|
+
total: builtins.int = ...,
|
|
103
|
+
used: builtins.int = ...,
|
|
104
|
+
available: builtins.int = ...,
|
|
105
|
+
unavailable: builtins.int = ...,
|
|
106
|
+
pending: builtins.int = ...,
|
|
107
|
+
) -> None: ...
|
|
108
|
+
def ClearField(self, field_name: typing.Literal["available", b"available", "pending", b"pending", "total", b"total", "unavailable", b"unavailable", "used", b"used"]) -> None: ...
|
|
109
|
+
|
|
110
|
+
@typing.final
|
|
111
|
+
class InstanceStats(google.protobuf.message.Message):
|
|
112
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
113
|
+
|
|
114
|
+
TOTAL_FIELD_NUMBER: builtins.int
|
|
115
|
+
total: builtins.int
|
|
116
|
+
"""Total number of instances linked to the pool"""
|
|
117
|
+
def __init__(
|
|
118
|
+
self,
|
|
119
|
+
*,
|
|
120
|
+
total: builtins.int = ...,
|
|
121
|
+
) -> None: ...
|
|
122
|
+
def ClearField(self, field_name: typing.Literal["total", b"total"]) -> None: ...
|
|
123
|
+
|
|
80
124
|
@typing.final
|
|
81
125
|
class LabelsEntry(google.protobuf.message.Message):
|
|
82
126
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -107,6 +151,10 @@ class ReservedInstancePool(google.protobuf.message.Message):
|
|
|
107
151
|
PRODUCT_IDS_FIELD_NUMBER: builtins.int
|
|
108
152
|
NETWORK_SETTINGS_FIELD_NUMBER: builtins.int
|
|
109
153
|
SIZE_FIELD_NUMBER: builtins.int
|
|
154
|
+
COMMITTED_SIZE_FIELD_NUMBER: builtins.int
|
|
155
|
+
ALLOW_OVERSUBSCRIPTION_FIELD_NUMBER: builtins.int
|
|
156
|
+
SLOT_STATS_FIELD_NUMBER: builtins.int
|
|
157
|
+
INSTANCE_STATS_FIELD_NUMBER: builtins.int
|
|
110
158
|
id: builtins.str
|
|
111
159
|
"""ID of the pool."""
|
|
112
160
|
zone_id: builtins.str
|
|
@@ -123,6 +171,13 @@ class ReservedInstancePool(google.protobuf.message.Message):
|
|
|
123
171
|
"""ID of the hardware platform configuration for pool instances."""
|
|
124
172
|
size: builtins.int
|
|
125
173
|
"""Desired size of the pool (number of slots for instances in this pool)."""
|
|
174
|
+
committed_size: builtins.int
|
|
175
|
+
"""Equals to the size field except when updates occur with allow_pending=true. In those cases, committed_size equals only the number of non-pending slots."""
|
|
176
|
+
allow_oversubscription: builtins.bool
|
|
177
|
+
"""Allows the pool to contain more linked instances than the number of available slots (size without pending or unavailable slots).
|
|
178
|
+
While running instances are still limited by available slots, stopped instances can exceed this limit.
|
|
179
|
+
Warning: When this option is enabled, attempting to start more instances than the number of available slots will result in a "Not Enough Resources" error.
|
|
180
|
+
"""
|
|
126
181
|
@property
|
|
127
182
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
128
183
|
"""Resource labels as `key:value` pairs. Maximum of 64 per resource."""
|
|
@@ -147,6 +202,14 @@ class ReservedInstancePool(google.protobuf.message.Message):
|
|
|
147
202
|
def network_settings(self) -> yandex.cloud.compute.v1.instance_pb2.NetworkSettings:
|
|
148
203
|
"""Network Settings."""
|
|
149
204
|
|
|
205
|
+
@property
|
|
206
|
+
def slot_stats(self) -> global___ReservedInstancePool.SlotStats:
|
|
207
|
+
"""Statuses of the pool slots"""
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def instance_stats(self) -> global___ReservedInstancePool.InstanceStats:
|
|
211
|
+
"""Stats for instances of the pool"""
|
|
212
|
+
|
|
150
213
|
def __init__(
|
|
151
214
|
self,
|
|
152
215
|
*,
|
|
@@ -164,8 +227,12 @@ class ReservedInstancePool(google.protobuf.message.Message):
|
|
|
164
227
|
product_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
165
228
|
network_settings: yandex.cloud.compute.v1.instance_pb2.NetworkSettings | None = ...,
|
|
166
229
|
size: builtins.int = ...,
|
|
230
|
+
committed_size: builtins.int = ...,
|
|
231
|
+
allow_oversubscription: builtins.bool = ...,
|
|
232
|
+
slot_stats: global___ReservedInstancePool.SlotStats | None = ...,
|
|
233
|
+
instance_stats: global___ReservedInstancePool.InstanceStats | None = ...,
|
|
167
234
|
) -> None: ...
|
|
168
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "gpu_settings", b"gpu_settings", "network_settings", b"network_settings", "resources_spec", b"resources_spec"]) -> builtins.bool: ...
|
|
169
|
-
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "gpu_settings", b"gpu_settings", "id", b"id", "labels", b"labels", "name", b"name", "network_settings", b"network_settings", "platform_id", b"platform_id", "product_ids", b"product_ids", "resources_spec", b"resources_spec", "size", b"size", "zone_id", b"zone_id"]) -> None: ...
|
|
235
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "gpu_settings", b"gpu_settings", "instance_stats", b"instance_stats", "network_settings", b"network_settings", "resources_spec", b"resources_spec", "slot_stats", b"slot_stats"]) -> builtins.bool: ...
|
|
236
|
+
def ClearField(self, field_name: typing.Literal["allow_oversubscription", b"allow_oversubscription", "cloud_id", b"cloud_id", "committed_size", b"committed_size", "created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "gpu_settings", b"gpu_settings", "id", b"id", "instance_stats", b"instance_stats", "labels", b"labels", "name", b"name", "network_settings", b"network_settings", "platform_id", b"platform_id", "product_ids", b"product_ids", "resources_spec", b"resources_spec", "size", b"size", "slot_stats", b"slot_stats", "zone_id", b"zone_id"]) -> None: ...
|
|
170
237
|
|
|
171
238
|
global___ReservedInstancePool = ReservedInstancePool
|
|
@@ -32,7 +32,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
32
32
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/compute/v1/reserved_instance_pool_service.proto\x12\x17yandex.cloud.compute.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/compute/v1/instance.proto\x1a.yandex/cloud/compute/v1/instance_service.proto\x1a\x34yandex/cloud/compute/v1/reserved_instance_pool.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\"Q\n\x1eGetReservedInstancePoolRequest\x12/\n\x19reserved_instance_pool_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xba\x01\n ListReservedInstancePoolsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\x1b\n\x08order_by\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\"\x8c\x01\n!ListReservedInstancePoolsResponse\x12N\n\x17reserved_instance_pools\x18\x01 \x03(\x0b\x32-.yandex.cloud.compute.v1.ReservedInstancePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/compute/v1/reserved_instance_pool_service.proto\x12\x17yandex.cloud.compute.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/compute/v1/instance.proto\x1a.yandex/cloud/compute/v1/instance_service.proto\x1a\x34yandex/cloud/compute/v1/reserved_instance_pool.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\"Q\n\x1eGetReservedInstancePoolRequest\x12/\n\x19reserved_instance_pool_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xba\x01\n ListReservedInstancePoolsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\x12\x1b\n\x08order_by\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\"\x8c\x01\n!ListReservedInstancePoolsResponse\x12N\n\x17reserved_instance_pools\x18\x01 \x03(\x0b\x32-.yandex.cloud.compute.v1.ReservedInstancePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe2\x05\n!CreateReservedInstancePoolRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xf2\xc7\x31!|[a-z]([-_a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9b\x01\n\x06labels\x18\x03 \x03(\x0b\x32\x46.yandex.cloud.compute.v1.CreateReservedInstancePoolRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x1d\n\x07zone_id\x18\x04 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1f\n\tfolder_id\x18\x05 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x19\n\x0bplatform_id\x18\x06 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x44\n\x0eresources_spec\x18\x07 \x01(\x0b\x32&.yandex.cloud.compute.v1.ResourcesSpecB\x04\xe8\xc7\x31\x01\x12:\n\x0cgpu_settings\x18\x08 \x01(\x0b\x32$.yandex.cloud.compute.v1.GpuSettings\x12=\n\x0e\x62oot_disk_spec\x18\t \x01(\x0b\x32%.yandex.cloud.compute.v1.BootDiskSpec\x12\x42\n\x10network_settings\x18\n \x01(\x0b\x32(.yandex.cloud.compute.v1.NetworkSettings\x12\x1b\n\x04size\x18\x0b \x01(\x03\x42\r\xfa\xc7\x31\t0-1048576\x12\x1e\n\x16\x61llow_oversubscription\x18\x0c \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\"CreateReservedInstancePoolMetadata\x12!\n\x19reserved_instance_pool_id\x18\x01 \x01(\t\"\x81\x04\n!UpdateReservedInstancePoolRequest\x12/\n\x19reserved_instance_pool_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x33\n\x04name\x18\x03 \x01(\tB%\xf2\xc7\x31!|[a-z]([-_a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9b\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x46.yandex.cloud.compute.v1.UpdateReservedInstancePoolRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x04size\x18\x06 \x01(\x03\x42\r\xfa\xc7\x31\t0-1048576\x12\x1e\n\x16\x61llow_oversubscription\x18\x07 \x01(\x08\x12\x1b\n\x13\x61llow_pending_slots\x18\x08 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\"UpdateReservedInstancePoolMetadata\x12!\n\x19reserved_instance_pool_id\x18\x01 \x01(\t\"T\n!DeleteReservedInstancePoolRequest\x12/\n\x19reserved_instance_pool_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"G\n\"DeleteReservedInstancePoolMetadata\x12!\n\x19reserved_instance_pool_id\x18\x01 \x01(\t\"$\n\"DeleteReservedInstancePoolResponse\"\x9a\x01\n)ListReservedInstancePoolOperationsRequest\x12/\n\x19reserved_instance_pool_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"|\n*ListReservedInstancePoolOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x01\n(ListReservedInstancePoolInstancesRequest\x12/\n\x19reserved_instance_pool_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"z\n)ListReservedInstancePoolInstancesResponse\x12\x34\n\tinstances\x18\x01 \x03(\x0b\x32!.yandex.cloud.compute.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x9e\x0c\n\x1bReservedInstancePoolService\x12\xb4\x01\n\x03Get\x12\x37.yandex.cloud.compute.v1.GetReservedInstancePoolRequest\x1a-.yandex.cloud.compute.v1.ReservedInstancePool\"E\x82\xd3\xe4\x93\x02?\x12=/compute/v1/reservedInstancePools/{reserved_instance_pool_id}\x12\xa8\x01\n\x04List\x12\x39.yandex.cloud.compute.v1.ListReservedInstancePoolsRequest\x1a:.yandex.cloud.compute.v1.ListReservedInstancePoolsResponse\")\x82\xd3\xe4\x93\x02#\x12!/compute/v1/reservedInstancePools\x12\xd3\x01\n\x06\x43reate\x12:.yandex.cloud.compute.v1.CreateReservedInstancePoolRequest\x1a!.yandex.cloud.operation.Operation\"j\xb2\xd2*:\n\"CreateReservedInstancePoolMetadata\x12\x14ReservedInstancePool\x82\xd3\xe4\x93\x02&\"!/compute/v1/reservedInstancePools:\x01*\x12\xf0\x01\n\x06Update\x12:.yandex.cloud.compute.v1.UpdateReservedInstancePoolRequest\x1a!.yandex.cloud.operation.Operation\"\x86\x01\xb2\xd2*:\n\"UpdateReservedInstancePoolMetadata\x12\x14ReservedInstancePool\x82\xd3\xe4\x93\x02\x42\x32=/compute/v1/reservedInstancePools/{reserved_instance_pool_id}:\x01*\x12\xfb\x01\n\x06\x44\x65lete\x12:.yandex.cloud.compute.v1.DeleteReservedInstancePoolRequest\x1a!.yandex.cloud.operation.Operation\"\x91\x01\xb2\xd2*H\n\"DeleteReservedInstancePoolMetadata\x12\"DeleteReservedInstancePoolResponse\x82\xd3\xe4\x93\x02?*=/compute/v1/reservedInstancePools/{reserved_instance_pool_id}\x12\xeb\x01\n\x0eListOperations\x12\x42.yandex.cloud.compute.v1.ListReservedInstancePoolOperationsRequest\x1a\x43.yandex.cloud.compute.v1.ListReservedInstancePoolOperationsResponse\"P\x82\xd3\xe4\x93\x02J\x12H/compute/v1/reservedInstancePools/{reserved_instance_pool_id}/operations\x12\xe7\x01\n\rListInstances\x12\x41.yandex.cloud.compute.v1.ListReservedInstancePoolInstancesRequest\x1a\x42.yandex.cloud.compute.v1.ListReservedInstancePoolInstancesResponse\"O\x82\xd3\xe4\x93\x02I\x12G/compute/v1/reservedInstancePools/{reserved_instance_pool_id}/instancesBb\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
|
|
36
36
|
|
|
37
37
|
_globals = globals()
|
|
38
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -84,6 +84,18 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
84
84
|
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST'].fields_by_name['size']._serialized_options = b'\372\3071\t0-1048576'
|
|
85
85
|
_globals['_DELETERESERVEDINSTANCEPOOLREQUEST'].fields_by_name['reserved_instance_pool_id']._loaded_options = None
|
|
86
86
|
_globals['_DELETERESERVEDINSTANCEPOOLREQUEST'].fields_by_name['reserved_instance_pool_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
87
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST'].fields_by_name['reserved_instance_pool_id']._loaded_options = None
|
|
88
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST'].fields_by_name['reserved_instance_pool_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
89
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
90
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
91
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
92
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
93
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST'].fields_by_name['reserved_instance_pool_id']._loaded_options = None
|
|
94
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST'].fields_by_name['reserved_instance_pool_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
95
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
96
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
97
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
98
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
87
99
|
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
88
100
|
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002?\022=/compute/v1/reservedInstancePools/{reserved_instance_pool_id}'
|
|
89
101
|
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['List']._loaded_options = None
|
|
@@ -94,6 +106,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
94
106
|
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*:\n\"UpdateReservedInstancePoolMetadata\022\024ReservedInstancePool\202\323\344\223\002B2=/compute/v1/reservedInstancePools/{reserved_instance_pool_id}:\001*'
|
|
95
107
|
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
96
108
|
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*H\n\"DeleteReservedInstancePoolMetadata\022\"DeleteReservedInstancePoolResponse\202\323\344\223\002?*=/compute/v1/reservedInstancePools/{reserved_instance_pool_id}'
|
|
109
|
+
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['ListOperations']._loaded_options = None
|
|
110
|
+
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\002J\022H/compute/v1/reservedInstancePools/{reserved_instance_pool_id}/operations'
|
|
111
|
+
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['ListInstances']._loaded_options = None
|
|
112
|
+
_globals['_RESERVEDINSTANCEPOOLSERVICE'].methods_by_name['ListInstances']._serialized_options = b'\202\323\344\223\002I\022G/compute/v1/reservedInstancePools/{reserved_instance_pool_id}/instances'
|
|
97
113
|
_globals['_GETRESERVEDINSTANCEPOOLREQUEST']._serialized_start=400
|
|
98
114
|
_globals['_GETRESERVEDINSTANCEPOOLREQUEST']._serialized_end=481
|
|
99
115
|
_globals['_LISTRESERVEDINSTANCEPOOLSREQUEST']._serialized_start=484
|
|
@@ -101,23 +117,31 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
101
117
|
_globals['_LISTRESERVEDINSTANCEPOOLSRESPONSE']._serialized_start=673
|
|
102
118
|
_globals['_LISTRESERVEDINSTANCEPOOLSRESPONSE']._serialized_end=813
|
|
103
119
|
_globals['_CREATERESERVEDINSTANCEPOOLREQUEST']._serialized_start=816
|
|
104
|
-
_globals['_CREATERESERVEDINSTANCEPOOLREQUEST']._serialized_end=
|
|
105
|
-
_globals['_CREATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_start=
|
|
106
|
-
_globals['_CREATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_end=
|
|
107
|
-
_globals['_CREATERESERVEDINSTANCEPOOLMETADATA']._serialized_start=
|
|
108
|
-
_globals['_CREATERESERVEDINSTANCEPOOLMETADATA']._serialized_end=
|
|
109
|
-
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST']._serialized_start=
|
|
110
|
-
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST']._serialized_end=
|
|
111
|
-
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_start=
|
|
112
|
-
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_end=
|
|
113
|
-
_globals['_UPDATERESERVEDINSTANCEPOOLMETADATA']._serialized_start=
|
|
114
|
-
_globals['_UPDATERESERVEDINSTANCEPOOLMETADATA']._serialized_end=
|
|
115
|
-
_globals['_DELETERESERVEDINSTANCEPOOLREQUEST']._serialized_start=
|
|
116
|
-
_globals['_DELETERESERVEDINSTANCEPOOLREQUEST']._serialized_end=
|
|
117
|
-
_globals['_DELETERESERVEDINSTANCEPOOLMETADATA']._serialized_start=
|
|
118
|
-
_globals['_DELETERESERVEDINSTANCEPOOLMETADATA']._serialized_end=
|
|
119
|
-
_globals['_DELETERESERVEDINSTANCEPOOLRESPONSE']._serialized_start=
|
|
120
|
-
_globals['_DELETERESERVEDINSTANCEPOOLRESPONSE']._serialized_end=
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
120
|
+
_globals['_CREATERESERVEDINSTANCEPOOLREQUEST']._serialized_end=1554
|
|
121
|
+
_globals['_CREATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_start=1509
|
|
122
|
+
_globals['_CREATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_end=1554
|
|
123
|
+
_globals['_CREATERESERVEDINSTANCEPOOLMETADATA']._serialized_start=1556
|
|
124
|
+
_globals['_CREATERESERVEDINSTANCEPOOLMETADATA']._serialized_end=1627
|
|
125
|
+
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST']._serialized_start=1630
|
|
126
|
+
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST']._serialized_end=2143
|
|
127
|
+
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_start=1509
|
|
128
|
+
_globals['_UPDATERESERVEDINSTANCEPOOLREQUEST_LABELSENTRY']._serialized_end=1554
|
|
129
|
+
_globals['_UPDATERESERVEDINSTANCEPOOLMETADATA']._serialized_start=2145
|
|
130
|
+
_globals['_UPDATERESERVEDINSTANCEPOOLMETADATA']._serialized_end=2216
|
|
131
|
+
_globals['_DELETERESERVEDINSTANCEPOOLREQUEST']._serialized_start=2218
|
|
132
|
+
_globals['_DELETERESERVEDINSTANCEPOOLREQUEST']._serialized_end=2302
|
|
133
|
+
_globals['_DELETERESERVEDINSTANCEPOOLMETADATA']._serialized_start=2304
|
|
134
|
+
_globals['_DELETERESERVEDINSTANCEPOOLMETADATA']._serialized_end=2375
|
|
135
|
+
_globals['_DELETERESERVEDINSTANCEPOOLRESPONSE']._serialized_start=2377
|
|
136
|
+
_globals['_DELETERESERVEDINSTANCEPOOLRESPONSE']._serialized_end=2413
|
|
137
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST']._serialized_start=2416
|
|
138
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSREQUEST']._serialized_end=2570
|
|
139
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSRESPONSE']._serialized_start=2572
|
|
140
|
+
_globals['_LISTRESERVEDINSTANCEPOOLOPERATIONSRESPONSE']._serialized_end=2696
|
|
141
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST']._serialized_start=2699
|
|
142
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESREQUEST']._serialized_end=2852
|
|
143
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESRESPONSE']._serialized_start=2854
|
|
144
|
+
_globals['_LISTRESERVEDINSTANCEPOOLINSTANCESRESPONSE']._serialized_end=2976
|
|
145
|
+
_globals['_RESERVEDINSTANCEPOOLSERVICE']._serialized_start=2979
|
|
146
|
+
_globals['_RESERVEDINSTANCEPOOLSERVICE']._serialized_end=4545
|
|
123
147
|
# @@protoc_insertion_point(module_scope)
|