yandexcloud 0.362.0__py3-none-any.whl → 0.363.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.
- yandex/cloud/cdn/v1/shielding_service_pb2.py +9 -7
- yandex/cloud/cdn/v1/shielding_service_pb2.pyi +5 -1
- yandex/cloud/compute/v1/application_pb2.py +70 -0
- yandex/cloud/compute/v1/application_pb2.pyi +159 -0
- yandex/cloud/compute/v1/application_pb2_grpc.py +24 -0
- yandex/cloud/compute/v1/application_pb2_grpc.pyi +17 -0
- yandex/cloud/compute/v1/instance_pb2.py +54 -53
- yandex/cloud/compute/v1/instance_pb2.pyi +9 -2
- yandex/cloud/compute/v1/instance_service_pb2.py +134 -133
- yandex/cloud/compute/v1/instance_service_pb2.pyi +17 -4
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +81 -79
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1 -1
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +44 -44
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +16 -5
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +36 -35
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +10 -3
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +104 -103
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +11 -4
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2.py +179 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2.pyi +1048 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2_grpc.py +24 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/cluster_pb2.py +34 -30
- yandex/cloud/trino/v1/cluster_pb2.pyi +28 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +36 -36
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +16 -4
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.363.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.363.0.dist-info}/RECORD +33 -25
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.363.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.363.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.363.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.363.0.dist-info}/top_level.txt +0 -0
|
@@ -28,7 +28,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
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'\n+yandex/cloud/cdn/v1/shielding_service.proto\x12\x13yandex.cloud.cdn.v1\x1a yandex/cloud/api/operation.proto\x1a#yandex/cloud/cdn/v1/shielding.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"?\n\x1aGetShieldingDetailsRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"Z\n\x18\x41\x63tivateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x0blocation_id\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\">\n\x19\x41\x63tivateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"?\n\x1a\x44\x65\x61\x63tivateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"@\n\x1b\x44\x65\x61\x63tivateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"X\n\x16UpdateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x0blocation_id\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\"<\n\x17UpdateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/cdn/v1/shielding_service.proto\x12\x13yandex.cloud.cdn.v1\x1a yandex/cloud/api/operation.proto\x1a#yandex/cloud/cdn/v1/shielding.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"?\n\x1aGetShieldingDetailsRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"Z\n\x18\x41\x63tivateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x0blocation_id\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\">\n\x19\x41\x63tivateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"?\n\x1a\x44\x65\x61\x63tivateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"@\n\x1b\x44\x65\x61\x63tivateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"X\n\x16UpdateShieldingRequest\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x0blocation_id\x18\x02 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\"<\n\x17UpdateShieldingMetadata\x12!\n\x0bresource_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xa1\x01\n\x1dListShieldingLocationsRequest\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!\n\x0bresource_id\x18\x04 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"}\n\x1eListShieldingLocationsResponse\x12\x42\n\x13shielding_locations\x18\x01 \x03(\x0b\x32%.yandex.cloud.cdn.v1.ShieldingDetails\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb0\x05\n\x10ShieldingService\x12\x8f\x01\n\x08\x41\x63tivate\x12-.yandex.cloud.cdn.v1.ActivateShieldingRequest\x1a!.yandex.cloud.operation.Operation\"1\xb2\xd2*-\n\x19\x41\x63tivateShieldingMetadata\x12\x10ShieldingDetails\x12\x9a\x01\n\nDeactivate\x12/.yandex.cloud.cdn.v1.DeactivateShieldingRequest\x1a!.yandex.cloud.operation.Operation\"8\xb2\xd2*4\n\x1b\x44\x65\x61\x63tivateShieldingMetadata\x12\x15google.protobuf.Empty\x12]\n\x03Get\x12/.yandex.cloud.cdn.v1.GetShieldingDetailsRequest\x1a%.yandex.cloud.cdn.v1.ShieldingDetails\x12\x89\x01\n\x06Update\x12+.yandex.cloud.cdn.v1.UpdateShieldingRequest\x1a!.yandex.cloud.operation.Operation\"/\xb2\xd2*+\n\x17UpdateShieldingMetadata\x12\x10ShieldingDetails\x12\x81\x01\n\x16ListAvailableLocations\x12\x32.yandex.cloud.cdn.v1.ListShieldingLocationsRequest\x1a\x33.yandex.cloud.cdn.v1.ListShieldingLocationsResponseBV\n\x17yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdnb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -60,6 +60,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
60
60
|
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
61
61
|
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
62
62
|
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
63
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['resource_id']._loaded_options = None
|
|
64
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST'].fields_by_name['resource_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
63
65
|
_globals['_SHIELDINGSERVICE'].methods_by_name['Activate']._loaded_options = None
|
|
64
66
|
_globals['_SHIELDINGSERVICE'].methods_by_name['Activate']._serialized_options = b'\262\322*-\n\031ActivateShieldingMetadata\022\020ShieldingDetails'
|
|
65
67
|
_globals['_SHIELDINGSERVICE'].methods_by_name['Deactivate']._loaded_options = None
|
|
@@ -80,10 +82,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
80
82
|
_globals['_UPDATESHIELDINGREQUEST']._serialized_end=650
|
|
81
83
|
_globals['_UPDATESHIELDINGMETADATA']._serialized_start=652
|
|
82
84
|
_globals['_UPDATESHIELDINGMETADATA']._serialized_end=712
|
|
83
|
-
_globals['_LISTSHIELDINGLOCATIONSREQUEST']._serialized_start=
|
|
84
|
-
_globals['_LISTSHIELDINGLOCATIONSREQUEST']._serialized_end=
|
|
85
|
-
_globals['_LISTSHIELDINGLOCATIONSRESPONSE']._serialized_start=
|
|
86
|
-
_globals['_LISTSHIELDINGLOCATIONSRESPONSE']._serialized_end=
|
|
87
|
-
_globals['_SHIELDINGSERVICE']._serialized_start=
|
|
88
|
-
_globals['_SHIELDINGSERVICE']._serialized_end=
|
|
85
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST']._serialized_start=715
|
|
86
|
+
_globals['_LISTSHIELDINGLOCATIONSREQUEST']._serialized_end=876
|
|
87
|
+
_globals['_LISTSHIELDINGLOCATIONSRESPONSE']._serialized_start=878
|
|
88
|
+
_globals['_LISTSHIELDINGLOCATIONSRESPONSE']._serialized_end=1003
|
|
89
|
+
_globals['_SHIELDINGSERVICE']._serialized_start=1006
|
|
90
|
+
_globals['_SHIELDINGSERVICE']._serialized_end=1694
|
|
89
91
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -156,6 +156,7 @@ class ListShieldingLocationsRequest(google.protobuf.message.Message):
|
|
|
156
156
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
157
157
|
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
158
158
|
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
159
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
159
160
|
folder_id: builtins.str
|
|
160
161
|
"""ID of the folder for which to request a list of locations where shielding can be activated."""
|
|
161
162
|
page_size: builtins.int
|
|
@@ -165,14 +166,17 @@ class ListShieldingLocationsRequest(google.protobuf.message.Message):
|
|
|
165
166
|
set [page_token] to the [ListShieldingLocationsResponse.next_page_token]
|
|
166
167
|
returned by a previous list response.
|
|
167
168
|
"""
|
|
169
|
+
resource_id: builtins.str
|
|
170
|
+
"""ID of the resource for which to request a list of locations where shielding can be activated."""
|
|
168
171
|
def __init__(
|
|
169
172
|
self,
|
|
170
173
|
*,
|
|
171
174
|
folder_id: builtins.str = ...,
|
|
172
175
|
page_size: builtins.int = ...,
|
|
173
176
|
page_token: builtins.str = ...,
|
|
177
|
+
resource_id: builtins.str = ...,
|
|
174
178
|
) -> None: ...
|
|
175
|
-
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
179
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token", "resource_id", b"resource_id"]) -> None: ...
|
|
176
180
|
|
|
177
181
|
global___ListShieldingLocationsRequest = ListShieldingLocationsRequest
|
|
178
182
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/compute/v1/application.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/compute/v1/application.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/compute/v1/application.proto\x12\x17yandex.cloud.compute.v1\x1a\x1dyandex/cloud/validation.proto\"\\\n\x06Secret\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x03key\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=256\x12\x1c\n\nversion_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"\x99\x03\n\x15\x43ontainerSolutionSpec\x12 \n\nproduct_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x62\n\x07secrets\x18\x02 \x03(\x0b\x32;.yandex.cloud.compute.v1.ContainerSolutionSpec.SecretsEntryB\x14\x82\xc8\x31\x05<=100\xb2\xc8\x31\x07\x1a\x05<=100\x12u\n\x0b\x65nvironment\x18\x03 \x03(\x0b\x32?.yandex.cloud.compute.v1.ContainerSolutionSpec.EnvironmentEntryB\x1f\x82\xc8\x31\x05<=100\x8a\xc8\x31\x07<=10000\xb2\xc8\x31\x07\x1a\x05<=100\x1aO\n\x0cSecretsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.yandex.cloud.compute.v1.Secret:\x02\x38\x01\x1a\x32\n\x10\x45nvironmentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb4\x01\n\nBackupSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12,\n\x12initial_policy_ids\x18\x02 \x03(\tB\x10\x82\xc8\x31\x04<=50\x8a\xc8\x31\x04\x31-50\x12\x1c\n\x14recovery_from_backup\x18\x03 \x01(\x08\x12\x1c\n\tbackup_id\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12+\n\x18instance_registration_id\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\"\xa2\x01\n\x0b\x41pplication\x12L\n\x12\x63ontainer_solution\x18\x01 \x01(\x0b\x32..yandex.cloud.compute.v1.ContainerSolutionSpecH\x00\x12\x38\n\x0b\x63loudbackup\x18\x02 \x01(\x0b\x32#.yandex.cloud.compute.v1.BackupSpecB\x0b\n\tcontainerBb\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.compute.v1.application_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\033yandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;compute'
|
|
36
|
+
_globals['_SECRET'].fields_by_name['id']._loaded_options = None
|
|
37
|
+
_globals['_SECRET'].fields_by_name['id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
38
|
+
_globals['_SECRET'].fields_by_name['key']._loaded_options = None
|
|
39
|
+
_globals['_SECRET'].fields_by_name['key']._serialized_options = b'\350\3071\001\212\3101\005<=256'
|
|
40
|
+
_globals['_SECRET'].fields_by_name['version_id']._loaded_options = None
|
|
41
|
+
_globals['_SECRET'].fields_by_name['version_id']._serialized_options = b'\212\3101\004<=50'
|
|
42
|
+
_globals['_CONTAINERSOLUTIONSPEC_SECRETSENTRY']._loaded_options = None
|
|
43
|
+
_globals['_CONTAINERSOLUTIONSPEC_SECRETSENTRY']._serialized_options = b'8\001'
|
|
44
|
+
_globals['_CONTAINERSOLUTIONSPEC_ENVIRONMENTENTRY']._loaded_options = None
|
|
45
|
+
_globals['_CONTAINERSOLUTIONSPEC_ENVIRONMENTENTRY']._serialized_options = b'8\001'
|
|
46
|
+
_globals['_CONTAINERSOLUTIONSPEC'].fields_by_name['product_id']._loaded_options = None
|
|
47
|
+
_globals['_CONTAINERSOLUTIONSPEC'].fields_by_name['product_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
48
|
+
_globals['_CONTAINERSOLUTIONSPEC'].fields_by_name['secrets']._loaded_options = None
|
|
49
|
+
_globals['_CONTAINERSOLUTIONSPEC'].fields_by_name['secrets']._serialized_options = b'\202\3101\005<=100\262\3101\007\032\005<=100'
|
|
50
|
+
_globals['_CONTAINERSOLUTIONSPEC'].fields_by_name['environment']._loaded_options = None
|
|
51
|
+
_globals['_CONTAINERSOLUTIONSPEC'].fields_by_name['environment']._serialized_options = b'\202\3101\005<=100\212\3101\007<=10000\262\3101\007\032\005<=100'
|
|
52
|
+
_globals['_BACKUPSPEC'].fields_by_name['initial_policy_ids']._loaded_options = None
|
|
53
|
+
_globals['_BACKUPSPEC'].fields_by_name['initial_policy_ids']._serialized_options = b'\202\3101\004<=50\212\3101\0041-50'
|
|
54
|
+
_globals['_BACKUPSPEC'].fields_by_name['backup_id']._loaded_options = None
|
|
55
|
+
_globals['_BACKUPSPEC'].fields_by_name['backup_id']._serialized_options = b'\212\3101\005<=100'
|
|
56
|
+
_globals['_BACKUPSPEC'].fields_by_name['instance_registration_id']._loaded_options = None
|
|
57
|
+
_globals['_BACKUPSPEC'].fields_by_name['instance_registration_id']._serialized_options = b'\212\3101\005<=100'
|
|
58
|
+
_globals['_SECRET']._serialized_start=101
|
|
59
|
+
_globals['_SECRET']._serialized_end=193
|
|
60
|
+
_globals['_CONTAINERSOLUTIONSPEC']._serialized_start=196
|
|
61
|
+
_globals['_CONTAINERSOLUTIONSPEC']._serialized_end=605
|
|
62
|
+
_globals['_CONTAINERSOLUTIONSPEC_SECRETSENTRY']._serialized_start=474
|
|
63
|
+
_globals['_CONTAINERSOLUTIONSPEC_SECRETSENTRY']._serialized_end=553
|
|
64
|
+
_globals['_CONTAINERSOLUTIONSPEC_ENVIRONMENTENTRY']._serialized_start=555
|
|
65
|
+
_globals['_CONTAINERSOLUTIONSPEC_ENVIRONMENTENTRY']._serialized_end=605
|
|
66
|
+
_globals['_BACKUPSPEC']._serialized_start=608
|
|
67
|
+
_globals['_BACKUPSPEC']._serialized_end=788
|
|
68
|
+
_globals['_APPLICATION']._serialized_start=791
|
|
69
|
+
_globals['_APPLICATION']._serialized_end=953
|
|
70
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class Secret(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
ID_FIELD_NUMBER: builtins.int
|
|
20
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
21
|
+
VERSION_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
id: builtins.str
|
|
23
|
+
"""ID of the secret."""
|
|
24
|
+
key: builtins.str
|
|
25
|
+
"""Name of the key."""
|
|
26
|
+
version_id: builtins.str
|
|
27
|
+
"""Version of the secret."""
|
|
28
|
+
def __init__(
|
|
29
|
+
self,
|
|
30
|
+
*,
|
|
31
|
+
id: builtins.str = ...,
|
|
32
|
+
key: builtins.str = ...,
|
|
33
|
+
version_id: builtins.str = ...,
|
|
34
|
+
) -> None: ...
|
|
35
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "key", b"key", "version_id", b"version_id"]) -> None: ...
|
|
36
|
+
|
|
37
|
+
global___Secret = Secret
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class ContainerSolutionSpec(google.protobuf.message.Message):
|
|
41
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
42
|
+
|
|
43
|
+
@typing.final
|
|
44
|
+
class SecretsEntry(google.protobuf.message.Message):
|
|
45
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
46
|
+
|
|
47
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
48
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
49
|
+
key: builtins.str
|
|
50
|
+
@property
|
|
51
|
+
def value(self) -> global___Secret: ...
|
|
52
|
+
def __init__(
|
|
53
|
+
self,
|
|
54
|
+
*,
|
|
55
|
+
key: builtins.str = ...,
|
|
56
|
+
value: global___Secret | None = ...,
|
|
57
|
+
) -> None: ...
|
|
58
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
|
59
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
60
|
+
|
|
61
|
+
@typing.final
|
|
62
|
+
class EnvironmentEntry(google.protobuf.message.Message):
|
|
63
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
64
|
+
|
|
65
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
66
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
67
|
+
key: builtins.str
|
|
68
|
+
value: builtins.str
|
|
69
|
+
def __init__(
|
|
70
|
+
self,
|
|
71
|
+
*,
|
|
72
|
+
key: builtins.str = ...,
|
|
73
|
+
value: builtins.str = ...,
|
|
74
|
+
) -> None: ...
|
|
75
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
76
|
+
|
|
77
|
+
PRODUCT_ID_FIELD_NUMBER: builtins.int
|
|
78
|
+
SECRETS_FIELD_NUMBER: builtins.int
|
|
79
|
+
ENVIRONMENT_FIELD_NUMBER: builtins.int
|
|
80
|
+
product_id: builtins.str
|
|
81
|
+
"""ID of the product."""
|
|
82
|
+
@property
|
|
83
|
+
def secrets(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Secret]:
|
|
84
|
+
"""A list of the secrets."""
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def environment(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
88
|
+
"""A list of the environmets."""
|
|
89
|
+
|
|
90
|
+
def __init__(
|
|
91
|
+
self,
|
|
92
|
+
*,
|
|
93
|
+
product_id: builtins.str = ...,
|
|
94
|
+
secrets: collections.abc.Mapping[builtins.str, global___Secret] | None = ...,
|
|
95
|
+
environment: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
96
|
+
) -> None: ...
|
|
97
|
+
def ClearField(self, field_name: typing.Literal["environment", b"environment", "product_id", b"product_id", "secrets", b"secrets"]) -> None: ...
|
|
98
|
+
|
|
99
|
+
global___ContainerSolutionSpec = ContainerSolutionSpec
|
|
100
|
+
|
|
101
|
+
@typing.final
|
|
102
|
+
class BackupSpec(google.protobuf.message.Message):
|
|
103
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
104
|
+
|
|
105
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
106
|
+
INITIAL_POLICY_IDS_FIELD_NUMBER: builtins.int
|
|
107
|
+
RECOVERY_FROM_BACKUP_FIELD_NUMBER: builtins.int
|
|
108
|
+
BACKUP_ID_FIELD_NUMBER: builtins.int
|
|
109
|
+
INSTANCE_REGISTRATION_ID_FIELD_NUMBER: builtins.int
|
|
110
|
+
enabled: builtins.bool
|
|
111
|
+
"""If true, backup is enabled."""
|
|
112
|
+
recovery_from_backup: builtins.bool
|
|
113
|
+
"""If true, recovery from backup starts on instance."""
|
|
114
|
+
backup_id: builtins.str
|
|
115
|
+
"""ID of the backup to recover from."""
|
|
116
|
+
instance_registration_id: builtins.str
|
|
117
|
+
"""ID of the instance registration for cloud backup agent installation."""
|
|
118
|
+
@property
|
|
119
|
+
def initial_policy_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
120
|
+
"""A list of policy IDs to apply after resource registration."""
|
|
121
|
+
|
|
122
|
+
def __init__(
|
|
123
|
+
self,
|
|
124
|
+
*,
|
|
125
|
+
enabled: builtins.bool = ...,
|
|
126
|
+
initial_policy_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
127
|
+
recovery_from_backup: builtins.bool = ...,
|
|
128
|
+
backup_id: builtins.str = ...,
|
|
129
|
+
instance_registration_id: builtins.str = ...,
|
|
130
|
+
) -> None: ...
|
|
131
|
+
def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "enabled", b"enabled", "initial_policy_ids", b"initial_policy_ids", "instance_registration_id", b"instance_registration_id", "recovery_from_backup", b"recovery_from_backup"]) -> None: ...
|
|
132
|
+
|
|
133
|
+
global___BackupSpec = BackupSpec
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class Application(google.protobuf.message.Message):
|
|
137
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
138
|
+
|
|
139
|
+
CONTAINER_SOLUTION_FIELD_NUMBER: builtins.int
|
|
140
|
+
CLOUDBACKUP_FIELD_NUMBER: builtins.int
|
|
141
|
+
@property
|
|
142
|
+
def container_solution(self) -> global___ContainerSolutionSpec:
|
|
143
|
+
"""Container specification."""
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
def cloudbackup(self) -> global___BackupSpec:
|
|
147
|
+
"""Backup settings."""
|
|
148
|
+
|
|
149
|
+
def __init__(
|
|
150
|
+
self,
|
|
151
|
+
*,
|
|
152
|
+
container_solution: global___ContainerSolutionSpec | None = ...,
|
|
153
|
+
cloudbackup: global___BackupSpec | None = ...,
|
|
154
|
+
) -> None: ...
|
|
155
|
+
def HasField(self, field_name: typing.Literal["cloudbackup", b"cloudbackup", "container", b"container", "container_solution", b"container_solution"]) -> builtins.bool: ...
|
|
156
|
+
def ClearField(self, field_name: typing.Literal["cloudbackup", b"cloudbackup", "container", b"container", "container_solution", b"container_solution"]) -> None: ...
|
|
157
|
+
def WhichOneof(self, oneof_group: typing.Literal["container", b"container"]) -> typing.Literal["container_solution"] | None: ...
|
|
158
|
+
|
|
159
|
+
global___Application = Application
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/compute/v1/application_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -24,11 +24,12 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from yandex.cloud.compute.v1 import application_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_application__pb2
|
|
27
28
|
from yandex.cloud.compute.v1 import hardware_generation_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_hardware__generation__pb2
|
|
28
29
|
from yandex.cloud.compute.v1 import maintenance_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_maintenance__pb2
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/compute/v1/instance.proto\x12\x17yandex.cloud.compute.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\x1a)yandex/cloud/compute/v1/maintenance.proto\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/compute/v1/instance.proto\x12\x17yandex.cloud.compute.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)yandex/cloud/compute/v1/application.proto\x1a\x31yandex/cloud/compute/v1/hardware_generation.proto\x1a)yandex/cloud/compute/v1/maintenance.proto\"\x8c\x0e\n\x08Instance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.compute.v1.Instance.LabelsEntry\x12\x0f\n\x07zone_id\x18\x07 \x01(\t\x12\x13\n\x0bplatform_id\x18\x08 \x01(\t\x12\x35\n\tresources\x18\t \x01(\x0b\x32\".yandex.cloud.compute.v1.Resources\x12\x38\n\x06status\x18\n \x01(\x0e\x32(.yandex.cloud.compute.v1.Instance.Status\x12\x41\n\x08metadata\x18\x0b \x03(\x0b\x32/.yandex.cloud.compute.v1.Instance.MetadataEntry\x12\x42\n\x10metadata_options\x18\x17 \x01(\x0b\x32(.yandex.cloud.compute.v1.MetadataOptions\x12\x38\n\tboot_disk\x18\x0c \x01(\x0b\x32%.yandex.cloud.compute.v1.AttachedDisk\x12>\n\x0fsecondary_disks\x18\r \x03(\x0b\x32%.yandex.cloud.compute.v1.AttachedDisk\x12?\n\x0blocal_disks\x18\x16 \x03(\x0b\x32*.yandex.cloud.compute.v1.AttachedLocalDisk\x12@\n\x0b\x66ilesystems\x18\x15 \x03(\x0b\x32+.yandex.cloud.compute.v1.AttachedFilesystem\x12\x45\n\x12network_interfaces\x18\x0e \x03(\x0b\x32).yandex.cloud.compute.v1.NetworkInterface\x12I\n\x14serial_port_settings\x18\x18 \x01(\x0b\x32+.yandex.cloud.compute.v1.SerialPortSettings\x12:\n\x0cgpu_settings\x18\x1a \x01(\x0b\x32$.yandex.cloud.compute.v1.GpuSettings\x12\x0c\n\x04\x66qdn\x18\x10 \x01(\t\x12\x44\n\x11scheduling_policy\x18\x11 \x01(\x0b\x32).yandex.cloud.compute.v1.SchedulingPolicy\x12\x1a\n\x12service_account_id\x18\x12 \x01(\t\x12\x42\n\x10network_settings\x18\x13 \x01(\x0b\x32(.yandex.cloud.compute.v1.NetworkSettings\x12\x42\n\x10placement_policy\x18\x14 \x01(\x0b\x32(.yandex.cloud.compute.v1.PlacementPolicy\x12\x15\n\rhost_group_id\x18\x1b \x01(\t\x12\x0f\n\x07host_id\x18\x1c \x01(\t\x12\x46\n\x12maintenance_policy\x18\x1d \x01(\x0e\x32*.yandex.cloud.compute.v1.MaintenancePolicy\x12;\n\x18maintenance_grace_period\x18\x1e \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x13hardware_generation\x18\x1f \x01(\x0b\x32+.yandex.cloud.compute.v1.HardwareGeneration\x12!\n\x19reserved_instance_pool_id\x18 \x01(\t\x12\x39\n\x0b\x61pplication\x18! \x01(\x0b\x32$.yandex.cloud.compute.v1.Application\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xac\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0e\n\nRESTARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\t\n\x05\x45RROR\x10\x08\x12\x0b\n\x07\x43RASHED\x10\t\x12\x0c\n\x08\x44\x45LETING\x10\nJ\x04\x08\x0f\x10\x10J\x04\x08\x19\x10\x1a\"O\n\tResources\x12\x0e\n\x06memory\x18\x01 \x01(\x03\x12\r\n\x05\x63ores\x18\x02 \x01(\x03\x12\x15\n\rcore_fraction\x18\x03 \x01(\x03\x12\x0c\n\x04gpus\x18\x04 \x01(\x03\"\xc0\x01\n\x0c\x41ttachedDisk\x12\x38\n\x04mode\x18\x01 \x01(\x0e\x32*.yandex.cloud.compute.v1.AttachedDisk.Mode\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\x12\x13\n\x0b\x61uto_delete\x18\x03 \x01(\x08\x12\x0f\n\x07\x64isk_id\x18\x04 \x01(\t\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"6\n\x11\x41ttachedLocalDisk\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\"\xbd\x01\n\x12\x41ttachedFilesystem\x12>\n\x04mode\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.compute.v1.AttachedFilesystem.Mode\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\x12\x15\n\rfilesystem_id\x18\x03 \x01(\t\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"\xef\x01\n\x10NetworkInterface\x12\r\n\x05index\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12\x11\n\tsubnet_id\x18\x03 \x01(\t\x12\x43\n\x12primary_v4_address\x18\x04 \x01(\x0b\x32\'.yandex.cloud.compute.v1.PrimaryAddress\x12\x43\n\x12primary_v6_address\x18\x05 \x01(\x0b\x32\'.yandex.cloud.compute.v1.PrimaryAddress\x12\x1a\n\x12security_group_ids\x18\x06 \x03(\t\"\x98\x01\n\x0ePrimaryAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0eone_to_one_nat\x18\x02 \x01(\x0b\x32$.yandex.cloud.compute.v1.OneToOneNat\x12\x37\n\x0b\x64ns_records\x18\x03 \x03(\x0b\x32\".yandex.cloud.compute.v1.DnsRecord\"\x8f\x01\n\x0bOneToOneNat\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x36\n\nip_version\x18\x02 \x01(\x0e\x32\".yandex.cloud.compute.v1.IpVersion\x12\x37\n\x0b\x64ns_records\x18\x03 \x03(\x0b\x32\".yandex.cloud.compute.v1.DnsRecord\"H\n\tDnsRecord\x12\x0c\n\x04\x66qdn\x18\x01 \x01(\t\x12\x13\n\x0b\x64ns_zone_id\x18\x02 \x01(\t\x12\x0b\n\x03ttl\x18\x03 \x01(\x03\x12\x0b\n\x03ptr\x18\x04 \x01(\x08\"\'\n\x10SchedulingPolicy\x12\x13\n\x0bpreemptible\x18\x01 \x01(\x08\"\xae\x01\n\x0fNetworkSettings\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.yandex.cloud.compute.v1.NetworkSettings.Type\"^\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x18\n\x14SOFTWARE_ACCELERATED\x10\x02\x12\x18\n\x14HARDWARE_ACCELERATED\x10\x03\"%\n\x0bGpuSettings\x12\x16\n\x0egpu_cluster_id\x18\x01 \x01(\t\"\xe4\x02\n\x0fPlacementPolicy\x12\x1a\n\x12placement_group_id\x18\x01 \x01(\t\x12V\n\x13host_affinity_rules\x18\x02 \x03(\x0b\x32\x39.yandex.cloud.compute.v1.PlacementPolicy.HostAffinityRule\x12!\n\x19placement_group_partition\x18\x03 \x01(\x03\x1a\xb9\x01\n\x10HostAffinityRule\x12\x0b\n\x03key\x18\x01 \x01(\t\x12N\n\x02op\x18\x02 \x01(\x0e\x32\x42.yandex.cloud.compute.v1.PlacementPolicy.HostAffinityRule.Operator\x12\x0e\n\x06values\x18\x03 \x03(\t\"8\n\x08Operator\x12\x18\n\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x06\n\x02IN\x10\x01\x12\n\n\x06NOT_IN\x10\x02\"\xa1\x02\n\x0fMetadataOptions\x12\x42\n\x11gce_http_endpoint\x18\x01 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12\x45\n\x14\x61ws_v1_http_endpoint\x18\x02 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12?\n\x0egce_http_token\x18\x03 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\x12\x42\n\x11\x61ws_v1_http_token\x18\x04 \x01(\x0e\x32\'.yandex.cloud.compute.v1.MetadataOption\"\xc9\x01\n\x12SerialPortSettings\x12W\n\x11ssh_authorization\x18\x01 \x01(\x0e\x32<.yandex.cloud.compute.v1.SerialPortSettings.SSHAuthorization\"Z\n\x10SSHAuthorization\x12!\n\x1dSSH_AUTHORIZATION_UNSPECIFIED\x10\x00\x12\x15\n\x11INSTANCE_METADATA\x10\x01\x12\x0c\n\x08OS_LOGIN\x10\x02*;\n\tIpVersion\x12\x1a\n\x16IP_VERSION_UNSPECIFIED\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02*L\n\x0eMetadataOption\x12\x1f\n\x1bMETADATA_OPTION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x42\x62\n\x1byandex.cloud.api.compute.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;computeb\x06proto3')
|
|
32
33
|
|
|
33
34
|
_globals = globals()
|
|
34
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -40,56 +41,56 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
40
41
|
_globals['_INSTANCE_LABELSENTRY']._serialized_options = b'8\001'
|
|
41
42
|
_globals['_INSTANCE_METADATAENTRY']._loaded_options = None
|
|
42
43
|
_globals['_INSTANCE_METADATAENTRY']._serialized_options = b'8\001'
|
|
43
|
-
_globals['_IPVERSION']._serialized_start=
|
|
44
|
-
_globals['_IPVERSION']._serialized_end=
|
|
45
|
-
_globals['_METADATAOPTION']._serialized_start=
|
|
46
|
-
_globals['_METADATAOPTION']._serialized_end=
|
|
47
|
-
_globals['_INSTANCE']._serialized_start=
|
|
48
|
-
_globals['_INSTANCE']._serialized_end=
|
|
49
|
-
_globals['_INSTANCE_LABELSENTRY']._serialized_start=
|
|
50
|
-
_globals['_INSTANCE_LABELSENTRY']._serialized_end=
|
|
51
|
-
_globals['_INSTANCE_METADATAENTRY']._serialized_start=
|
|
52
|
-
_globals['_INSTANCE_METADATAENTRY']._serialized_end=
|
|
53
|
-
_globals['_INSTANCE_STATUS']._serialized_start=
|
|
54
|
-
_globals['_INSTANCE_STATUS']._serialized_end=
|
|
55
|
-
_globals['_RESOURCES']._serialized_start=
|
|
56
|
-
_globals['_RESOURCES']._serialized_end=
|
|
57
|
-
_globals['_ATTACHEDDISK']._serialized_start=
|
|
58
|
-
_globals['_ATTACHEDDISK']._serialized_end=
|
|
59
|
-
_globals['_ATTACHEDDISK_MODE']._serialized_start=
|
|
60
|
-
_globals['_ATTACHEDDISK_MODE']._serialized_end=
|
|
61
|
-
_globals['_ATTACHEDLOCALDISK']._serialized_start=
|
|
62
|
-
_globals['_ATTACHEDLOCALDISK']._serialized_end=
|
|
63
|
-
_globals['_ATTACHEDFILESYSTEM']._serialized_start=
|
|
64
|
-
_globals['_ATTACHEDFILESYSTEM']._serialized_end=
|
|
65
|
-
_globals['_ATTACHEDFILESYSTEM_MODE']._serialized_start=
|
|
66
|
-
_globals['_ATTACHEDFILESYSTEM_MODE']._serialized_end=
|
|
67
|
-
_globals['_NETWORKINTERFACE']._serialized_start=
|
|
68
|
-
_globals['_NETWORKINTERFACE']._serialized_end=
|
|
69
|
-
_globals['_PRIMARYADDRESS']._serialized_start=
|
|
70
|
-
_globals['_PRIMARYADDRESS']._serialized_end=
|
|
71
|
-
_globals['_ONETOONENAT']._serialized_start=
|
|
72
|
-
_globals['_ONETOONENAT']._serialized_end=
|
|
73
|
-
_globals['_DNSRECORD']._serialized_start=
|
|
74
|
-
_globals['_DNSRECORD']._serialized_end=
|
|
75
|
-
_globals['_SCHEDULINGPOLICY']._serialized_start=
|
|
76
|
-
_globals['_SCHEDULINGPOLICY']._serialized_end=
|
|
77
|
-
_globals['_NETWORKSETTINGS']._serialized_start=
|
|
78
|
-
_globals['_NETWORKSETTINGS']._serialized_end=
|
|
79
|
-
_globals['_NETWORKSETTINGS_TYPE']._serialized_start=
|
|
80
|
-
_globals['_NETWORKSETTINGS_TYPE']._serialized_end=
|
|
81
|
-
_globals['_GPUSETTINGS']._serialized_start=
|
|
82
|
-
_globals['_GPUSETTINGS']._serialized_end=
|
|
83
|
-
_globals['_PLACEMENTPOLICY']._serialized_start=
|
|
84
|
-
_globals['_PLACEMENTPOLICY']._serialized_end=
|
|
85
|
-
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_start=
|
|
86
|
-
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_end=
|
|
87
|
-
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_start=
|
|
88
|
-
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_end=
|
|
89
|
-
_globals['_METADATAOPTIONS']._serialized_start=
|
|
90
|
-
_globals['_METADATAOPTIONS']._serialized_end=
|
|
91
|
-
_globals['_SERIALPORTSETTINGS']._serialized_start=
|
|
92
|
-
_globals['_SERIALPORTSETTINGS']._serialized_end=
|
|
93
|
-
_globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_start=
|
|
94
|
-
_globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_end=
|
|
44
|
+
_globals['_IPVERSION']._serialized_start=4329
|
|
45
|
+
_globals['_IPVERSION']._serialized_end=4388
|
|
46
|
+
_globals['_METADATAOPTION']._serialized_start=4390
|
|
47
|
+
_globals['_METADATAOPTION']._serialized_end=4466
|
|
48
|
+
_globals['_INSTANCE']._serialized_start=270
|
|
49
|
+
_globals['_INSTANCE']._serialized_end=2074
|
|
50
|
+
_globals['_INSTANCE_LABELSENTRY']._serialized_start=1793
|
|
51
|
+
_globals['_INSTANCE_LABELSENTRY']._serialized_end=1838
|
|
52
|
+
_globals['_INSTANCE_METADATAENTRY']._serialized_start=1840
|
|
53
|
+
_globals['_INSTANCE_METADATAENTRY']._serialized_end=1887
|
|
54
|
+
_globals['_INSTANCE_STATUS']._serialized_start=1890
|
|
55
|
+
_globals['_INSTANCE_STATUS']._serialized_end=2062
|
|
56
|
+
_globals['_RESOURCES']._serialized_start=2076
|
|
57
|
+
_globals['_RESOURCES']._serialized_end=2155
|
|
58
|
+
_globals['_ATTACHEDDISK']._serialized_start=2158
|
|
59
|
+
_globals['_ATTACHEDDISK']._serialized_end=2350
|
|
60
|
+
_globals['_ATTACHEDDISK_MODE']._serialized_start=2291
|
|
61
|
+
_globals['_ATTACHEDDISK_MODE']._serialized_end=2350
|
|
62
|
+
_globals['_ATTACHEDLOCALDISK']._serialized_start=2352
|
|
63
|
+
_globals['_ATTACHEDLOCALDISK']._serialized_end=2406
|
|
64
|
+
_globals['_ATTACHEDFILESYSTEM']._serialized_start=2409
|
|
65
|
+
_globals['_ATTACHEDFILESYSTEM']._serialized_end=2598
|
|
66
|
+
_globals['_ATTACHEDFILESYSTEM_MODE']._serialized_start=2291
|
|
67
|
+
_globals['_ATTACHEDFILESYSTEM_MODE']._serialized_end=2350
|
|
68
|
+
_globals['_NETWORKINTERFACE']._serialized_start=2601
|
|
69
|
+
_globals['_NETWORKINTERFACE']._serialized_end=2840
|
|
70
|
+
_globals['_PRIMARYADDRESS']._serialized_start=2843
|
|
71
|
+
_globals['_PRIMARYADDRESS']._serialized_end=2995
|
|
72
|
+
_globals['_ONETOONENAT']._serialized_start=2998
|
|
73
|
+
_globals['_ONETOONENAT']._serialized_end=3141
|
|
74
|
+
_globals['_DNSRECORD']._serialized_start=3143
|
|
75
|
+
_globals['_DNSRECORD']._serialized_end=3215
|
|
76
|
+
_globals['_SCHEDULINGPOLICY']._serialized_start=3217
|
|
77
|
+
_globals['_SCHEDULINGPOLICY']._serialized_end=3256
|
|
78
|
+
_globals['_NETWORKSETTINGS']._serialized_start=3259
|
|
79
|
+
_globals['_NETWORKSETTINGS']._serialized_end=3433
|
|
80
|
+
_globals['_NETWORKSETTINGS_TYPE']._serialized_start=3339
|
|
81
|
+
_globals['_NETWORKSETTINGS_TYPE']._serialized_end=3433
|
|
82
|
+
_globals['_GPUSETTINGS']._serialized_start=3435
|
|
83
|
+
_globals['_GPUSETTINGS']._serialized_end=3472
|
|
84
|
+
_globals['_PLACEMENTPOLICY']._serialized_start=3475
|
|
85
|
+
_globals['_PLACEMENTPOLICY']._serialized_end=3831
|
|
86
|
+
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_start=3646
|
|
87
|
+
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE']._serialized_end=3831
|
|
88
|
+
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_start=3775
|
|
89
|
+
_globals['_PLACEMENTPOLICY_HOSTAFFINITYRULE_OPERATOR']._serialized_end=3831
|
|
90
|
+
_globals['_METADATAOPTIONS']._serialized_start=3834
|
|
91
|
+
_globals['_METADATAOPTIONS']._serialized_end=4123
|
|
92
|
+
_globals['_SERIALPORTSETTINGS']._serialized_start=4126
|
|
93
|
+
_globals['_SERIALPORTSETTINGS']._serialized_end=4327
|
|
94
|
+
_globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_start=4237
|
|
95
|
+
_globals['_SERIALPORTSETTINGS_SSHAUTHORIZATION']._serialized_end=4327
|
|
95
96
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,7 @@ import google.protobuf.message
|
|
|
13
13
|
import google.protobuf.timestamp_pb2
|
|
14
14
|
import sys
|
|
15
15
|
import typing
|
|
16
|
+
import yandex.cloud.compute.v1.application_pb2
|
|
16
17
|
import yandex.cloud.compute.v1.hardware_generation_pb2
|
|
17
18
|
import yandex.cloud.compute.v1.maintenance_pb2
|
|
18
19
|
|
|
@@ -184,6 +185,7 @@ class Instance(google.protobuf.message.Message):
|
|
|
184
185
|
MAINTENANCE_GRACE_PERIOD_FIELD_NUMBER: builtins.int
|
|
185
186
|
HARDWARE_GENERATION_FIELD_NUMBER: builtins.int
|
|
186
187
|
RESERVED_INSTANCE_POOL_ID_FIELD_NUMBER: builtins.int
|
|
188
|
+
APPLICATION_FIELD_NUMBER: builtins.int
|
|
187
189
|
id: builtins.str
|
|
188
190
|
"""ID of the instance."""
|
|
189
191
|
folder_id: builtins.str
|
|
@@ -286,6 +288,10 @@ class Instance(google.protobuf.message.Message):
|
|
|
286
288
|
def hardware_generation(self) -> yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration:
|
|
287
289
|
"""This feature set is inherited from the image/disk used as a boot one at the creation of the instance."""
|
|
288
290
|
|
|
291
|
+
@property
|
|
292
|
+
def application(self) -> yandex.cloud.compute.v1.application_pb2.Application:
|
|
293
|
+
"""Instance application settings."""
|
|
294
|
+
|
|
289
295
|
def __init__(
|
|
290
296
|
self,
|
|
291
297
|
*,
|
|
@@ -319,9 +325,10 @@ class Instance(google.protobuf.message.Message):
|
|
|
319
325
|
maintenance_grace_period: google.protobuf.duration_pb2.Duration | None = ...,
|
|
320
326
|
hardware_generation: yandex.cloud.compute.v1.hardware_generation_pb2.HardwareGeneration | None = ...,
|
|
321
327
|
reserved_instance_pool_id: builtins.str = ...,
|
|
328
|
+
application: yandex.cloud.compute.v1.application_pb2.Application | None = ...,
|
|
322
329
|
) -> None: ...
|
|
323
|
-
def HasField(self, field_name: typing.Literal["boot_disk", b"boot_disk", "created_at", b"created_at", "gpu_settings", b"gpu_settings", "hardware_generation", b"hardware_generation", "maintenance_grace_period", b"maintenance_grace_period", "metadata_options", b"metadata_options", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "serial_port_settings", b"serial_port_settings"]) -> builtins.bool: ...
|
|
324
|
-
def ClearField(self, field_name: typing.Literal["boot_disk", b"boot_disk", "created_at", b"created_at", "description", b"description", "filesystems", b"filesystems", "folder_id", b"folder_id", "fqdn", b"fqdn", "gpu_settings", b"gpu_settings", "hardware_generation", b"hardware_generation", "host_group_id", b"host_group_id", "host_id", b"host_id", "id", b"id", "labels", b"labels", "local_disks", b"local_disks", "maintenance_grace_period", b"maintenance_grace_period", "maintenance_policy", b"maintenance_policy", "metadata", b"metadata", "metadata_options", b"metadata_options", "name", b"name", "network_interfaces", b"network_interfaces", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "platform_id", b"platform_id", "reserved_instance_pool_id", b"reserved_instance_pool_id", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "secondary_disks", b"secondary_disks", "serial_port_settings", b"serial_port_settings", "service_account_id", b"service_account_id", "status", b"status", "zone_id", b"zone_id"]) -> None: ...
|
|
330
|
+
def HasField(self, field_name: typing.Literal["application", b"application", "boot_disk", b"boot_disk", "created_at", b"created_at", "gpu_settings", b"gpu_settings", "hardware_generation", b"hardware_generation", "maintenance_grace_period", b"maintenance_grace_period", "metadata_options", b"metadata_options", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "serial_port_settings", b"serial_port_settings"]) -> builtins.bool: ...
|
|
331
|
+
def ClearField(self, field_name: typing.Literal["application", b"application", "boot_disk", b"boot_disk", "created_at", b"created_at", "description", b"description", "filesystems", b"filesystems", "folder_id", b"folder_id", "fqdn", b"fqdn", "gpu_settings", b"gpu_settings", "hardware_generation", b"hardware_generation", "host_group_id", b"host_group_id", "host_id", b"host_id", "id", b"id", "labels", b"labels", "local_disks", b"local_disks", "maintenance_grace_period", b"maintenance_grace_period", "maintenance_policy", b"maintenance_policy", "metadata", b"metadata", "metadata_options", b"metadata_options", "name", b"name", "network_interfaces", b"network_interfaces", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "platform_id", b"platform_id", "reserved_instance_pool_id", b"reserved_instance_pool_id", "resources", b"resources", "scheduling_policy", b"scheduling_policy", "secondary_disks", b"secondary_disks", "serial_port_settings", b"serial_port_settings", "service_account_id", b"service_account_id", "status", b"status", "zone_id", b"zone_id"]) -> None: ...
|
|
325
332
|
|
|
326
333
|
global___Instance = Instance
|
|
327
334
|
|