yandexcloud 0.361.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/baremetal/v1alpha/configuration_pb2.py +10 -6
- yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +10 -2
- yandex/cloud/cdn/v1/shielding_service_pb2.py +9 -7
- yandex/cloud/cdn/v1/shielding_service_pb2.pyi +5 -1
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +15 -15
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +4 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2.py +9 -9
- yandex/cloud/clouddesktop/v1/desktop_pb2.pyi +4 -0
- 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/iam/v1/access_analyzer_service_pb2.py +56 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2.pyi +105 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2_grpc.py +101 -0
- yandex/cloud/iam/v1/access_analyzer_service_pb2_grpc.pyi +50 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +18 -18
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +8 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +81 -79
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +3 -3
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1 -1
- yandex/cloud/mdb/clickhouse/v1/version_pb2.py +2 -2
- yandex/cloud/mdb/clickhouse/v1/version_pb2.pyi +5 -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/mdb/postgresql/v1/cluster_pb2.py +47 -43
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +34 -6
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +111 -107
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +35 -7
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.py +26 -24
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2.py +81 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2.py +81 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/host18_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +36 -34
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.py +40 -38
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2.py +181 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2.pyi +1130 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2.py +181 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2.pyi +1122 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2_grpc.py +24 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql18_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +30 -28
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +30 -18
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +100 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +4 -4
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +127 -159
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +0 -93
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +0 -131
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +0 -57
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +13 -25
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +0 -35
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +0 -44
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +0 -20
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +17 -29
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +0 -35
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +0 -44
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +0 -20
- yandex/cloud/organizationmanager/v1/group_service_pb2.py +21 -3
- yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +102 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +44 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +20 -0
- yandex/cloud/trino/v1/catalog_pb2.py +96 -84
- yandex/cloud/trino/v1/catalog_pb2.pyi +56 -3
- 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
- yandex/cloud/video/v1/video_service_pb2.py +54 -52
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.363.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.363.0.dist-info}/RECORD +125 -97
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.363.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.363.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.363.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.361.0.dist-info → yandexcloud-0.363.0.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from yandex.cloud.baremetal.v1alpha import disk_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_disk__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/baremetal/v1alpha/configuration.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a)yandex/cloud/baremetal/v1alpha/disk.proto\"
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/baremetal/v1alpha/configuration.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a)yandex/cloud/baremetal/v1alpha/disk.proto\"e\n\x03\x43PU\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06vendor\x18\x02 \x01(\t\x12\x11\n\x05\x63ores\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x16\n\x0ephysical_cores\x18\x04 \x01(\x03\x12\x15\n\rfrequency_mhz\x18\x05 \x01(\x03\"\x80\x01\n\x16\x44iskDriveConfiguration\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.yandex.cloud.baremetal.v1alpha.DiskDriveType\x12\x12\n\ndisk_count\x18\x02 \x01(\x03\x12\x15\n\rdisk_size_gib\x18\x03 \x01(\x03\"\xf6\x01\n\rConfiguration\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nmemory_gib\x18\x03 \x01(\x03\x12\x30\n\x03\x63pu\x18\x04 \x01(\x0b\x32#.yandex.cloud.baremetal.v1alpha.CPU\x12K\n\x0b\x64isk_drives\x18\x05 \x03(\x0b\x32\x36.yandex.cloud.baremetal.v1alpha.DiskDriveConfiguration\x12!\n\x15network_capacity_gbps\x18\x06 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x07\x63pu_num\x18\x08 \x01(\x03J\x04\x08\x07\x10\x08\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,10 +33,14 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1al
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
36
|
+
_globals['_CPU'].fields_by_name['cores']._loaded_options = None
|
|
37
|
+
_globals['_CPU'].fields_by_name['cores']._serialized_options = b'\030\001'
|
|
38
|
+
_globals['_CONFIGURATION'].fields_by_name['network_capacity_gbps']._loaded_options = None
|
|
39
|
+
_globals['_CONFIGURATION'].fields_by_name['network_capacity_gbps']._serialized_options = b'\030\001'
|
|
36
40
|
_globals['_CPU']._serialized_start=129
|
|
37
|
-
_globals['_CPU']._serialized_end=
|
|
38
|
-
_globals['_DISKDRIVECONFIGURATION']._serialized_start=
|
|
39
|
-
_globals['_DISKDRIVECONFIGURATION']._serialized_end=
|
|
40
|
-
_globals['_CONFIGURATION']._serialized_start=
|
|
41
|
-
_globals['_CONFIGURATION']._serialized_end=
|
|
41
|
+
_globals['_CPU']._serialized_end=230
|
|
42
|
+
_globals['_DISKDRIVECONFIGURATION']._serialized_start=233
|
|
43
|
+
_globals['_DISKDRIVECONFIGURATION']._serialized_end=361
|
|
44
|
+
_globals['_CONFIGURATION']._serialized_start=364
|
|
45
|
+
_globals['_CONFIGURATION']._serialized_end=610
|
|
42
46
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,20 +22,28 @@ class CPU(google.protobuf.message.Message):
|
|
|
22
22
|
NAME_FIELD_NUMBER: builtins.int
|
|
23
23
|
VENDOR_FIELD_NUMBER: builtins.int
|
|
24
24
|
CORES_FIELD_NUMBER: builtins.int
|
|
25
|
+
PHYSICAL_CORES_FIELD_NUMBER: builtins.int
|
|
26
|
+
FREQUENCY_MHZ_FIELD_NUMBER: builtins.int
|
|
25
27
|
name: builtins.str
|
|
26
28
|
"""Name of the CPU."""
|
|
27
29
|
vendor: builtins.str
|
|
28
30
|
"""Vendor of the CPU."""
|
|
29
31
|
cores: builtins.int
|
|
30
|
-
"""Number of cores."""
|
|
32
|
+
"""@deprecated. Number of cores."""
|
|
33
|
+
physical_cores: builtins.int
|
|
34
|
+
"""Number of physical cores per CPU (socket)."""
|
|
35
|
+
frequency_mhz: builtins.int
|
|
36
|
+
"""Frequency of the CPU in megahertz (MHz)."""
|
|
31
37
|
def __init__(
|
|
32
38
|
self,
|
|
33
39
|
*,
|
|
34
40
|
name: builtins.str = ...,
|
|
35
41
|
vendor: builtins.str = ...,
|
|
36
42
|
cores: builtins.int = ...,
|
|
43
|
+
physical_cores: builtins.int = ...,
|
|
44
|
+
frequency_mhz: builtins.int = ...,
|
|
37
45
|
) -> None: ...
|
|
38
|
-
def ClearField(self, field_name: typing.Literal["cores", b"cores", "name", b"name", "vendor", b"vendor"]) -> None: ...
|
|
46
|
+
def ClearField(self, field_name: typing.Literal["cores", b"cores", "frequency_mhz", b"frequency_mhz", "name", b"name", "physical_cores", b"physical_cores", "vendor", b"vendor"]) -> None: ...
|
|
39
47
|
|
|
40
48
|
global___CPU = CPU
|
|
41
49
|
|
|
@@ -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
|
|
|
@@ -28,7 +28,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
28
28
|
from yandex.cloud.clouddesktop.v1 import disk_pb2 as yandex_dot_cloud_dot_clouddesktop_dot_v1_dot_disk__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/clouddesktop/v1/desktop_group.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/clouddesktop/v1/disk.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/clouddesktop/v1/desktop_group.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/clouddesktop/v1/disk.proto\"\xe1\x07\n\x0c\x44\x65sktopGroup\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\x45\n\x06status\x18\x04 \x01(\x0e\x32\x35.yandex.cloud.clouddesktop.v1.api.DesktopGroup.Status\x12\x0c\n\x04name\x18\x0b \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12G\n\x0eresources_spec\x18\x15 \x01(\x0b\x32/.yandex.cloud.clouddesktop.v1.api.ResourcesSpec\x12V\n\x16network_interface_spec\x18\x16 \x01(\x0b\x32\x36.yandex.cloud.clouddesktop.v1.api.NetworkInterfaceSpec\x12J\n\x06labels\x18\x17 \x03(\x0b\x32:.yandex.cloud.clouddesktop.v1.api.DesktopGroup.LabelsEntry\x12\x42\n\x0e\x62oot_disk_spec\x18\x18 \x01(\x0b\x32*.yandex.cloud.clouddesktop.v1.api.DiskSpec\x12\x42\n\x0e\x64\x61ta_disk_spec\x18\x19 \x01(\x0b\x32*.yandex.cloud.clouddesktop.v1.api.DiskSpec\x12Q\n\x0cgroup_config\x18\x1a \x01(\x0b\x32;.yandex.cloud.clouddesktop.v1.api.DesktopGroupConfiguration\x12P\n\x12\x61uto_update_policy\x18\x1b \x01(\x0b\x32\x32.yandex.cloud.clouddesktop.v1.api.AutoUpdatePolicyH\x00\x12T\n\x14manual_update_policy\x18\x1c \x01(\x0b\x32\x34.yandex.cloud.clouddesktop.v1.api.ManualUpdatePolicyH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"V\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x42\x15\n\rupdate_policy\x12\x04\xc0\xc1\x31\x01J\x04\x08\r\x10\x15J\x04\x08\x05\x10\x0b\"\xd3\x02\n\x19\x44\x65sktopGroupConfiguration\x12%\n\x12min_ready_desktops\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12&\n\x13max_desktops_amount\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12]\n\x0c\x64\x65sktop_type\x18\x03 \x01(\x0e\x32G.yandex.cloud.clouddesktop.v1.api.DesktopGroupConfiguration.DesktopType\x12\x37\n\x07members\x18\x04 \x03(\x0b\x32\x1c.yandex.cloud.access.SubjectB\x08\x82\xc8\x31\x04\x30-10\"O\n\x0b\x44\x65sktopType\x12\x1c\n\x18\x44\x45SKTOP_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPERSISTENT\x10\x01\x12\x12\n\x0eNON_PERSISTENT\x10\x02\"b\n\rResourcesSpec\x12\x17\n\x06memory\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12\x16\n\x05\x63ores\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12 \n\rcore_fraction\x18\x03 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\"`\n\x14NetworkInterfaceSpec\x12 \n\nnetwork_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\nsubnet_ids\x18\x02 \x03(\tB\x12\x82\xc8\x31\x02>0\x8a\xc8\x31\x04<=50\x90\xc8\x31\x01\"\x14\n\x12ManualUpdatePolicy\"\x12\n\x10\x41utoUpdatePolicyBq\n yandex.cloud.api.clouddesktop.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/clouddesktop/v1;clouddesktopb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -57,21 +57,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
57
|
_globals['_NETWORKINTERFACESPEC'].fields_by_name['subnet_ids']._loaded_options = None
|
|
58
58
|
_globals['_NETWORKINTERFACESPEC'].fields_by_name['subnet_ids']._serialized_options = b'\202\3101\002>0\212\3101\004<=50\220\3101\001'
|
|
59
59
|
_globals['_DESKTOPGROUP']._serialized_start=226
|
|
60
|
-
_globals['_DESKTOPGROUP']._serialized_end=
|
|
60
|
+
_globals['_DESKTOPGROUP']._serialized_end=1219
|
|
61
61
|
_globals['_DESKTOPGROUP_LABELSENTRY']._serialized_start=1051
|
|
62
62
|
_globals['_DESKTOPGROUP_LABELSENTRY']._serialized_end=1096
|
|
63
63
|
_globals['_DESKTOPGROUP_STATUS']._serialized_start=1098
|
|
64
|
-
_globals['_DESKTOPGROUP_STATUS']._serialized_end=
|
|
65
|
-
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_start=
|
|
66
|
-
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_end=
|
|
67
|
-
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_start=
|
|
68
|
-
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_end=
|
|
69
|
-
_globals['_RESOURCESSPEC']._serialized_start=
|
|
70
|
-
_globals['_RESOURCESSPEC']._serialized_end=
|
|
71
|
-
_globals['_NETWORKINTERFACESPEC']._serialized_start=
|
|
72
|
-
_globals['_NETWORKINTERFACESPEC']._serialized_end=
|
|
73
|
-
_globals['_MANUALUPDATEPOLICY']._serialized_start=
|
|
74
|
-
_globals['_MANUALUPDATEPOLICY']._serialized_end=
|
|
75
|
-
_globals['_AUTOUPDATEPOLICY']._serialized_start=
|
|
76
|
-
_globals['_AUTOUPDATEPOLICY']._serialized_end=
|
|
64
|
+
_globals['_DESKTOPGROUP_STATUS']._serialized_end=1184
|
|
65
|
+
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_start=1222
|
|
66
|
+
_globals['_DESKTOPGROUPCONFIGURATION']._serialized_end=1561
|
|
67
|
+
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_start=1482
|
|
68
|
+
_globals['_DESKTOPGROUPCONFIGURATION_DESKTOPTYPE']._serialized_end=1561
|
|
69
|
+
_globals['_RESOURCESSPEC']._serialized_start=1563
|
|
70
|
+
_globals['_RESOURCESSPEC']._serialized_end=1661
|
|
71
|
+
_globals['_NETWORKINTERFACESPEC']._serialized_start=1663
|
|
72
|
+
_globals['_NETWORKINTERFACESPEC']._serialized_end=1759
|
|
73
|
+
_globals['_MANUALUPDATEPOLICY']._serialized_start=1761
|
|
74
|
+
_globals['_MANUALUPDATEPOLICY']._serialized_end=1781
|
|
75
|
+
_globals['_AUTOUPDATEPOLICY']._serialized_start=1783
|
|
76
|
+
_globals['_AUTOUPDATEPOLICY']._serialized_end=1801
|
|
77
77
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -41,6 +41,8 @@ class DesktopGroup(google.protobuf.message.Message):
|
|
|
41
41
|
"""Desktop group is ready to use."""
|
|
42
42
|
DELETING: DesktopGroup._Status.ValueType # 3
|
|
43
43
|
"""Desktop group is being deleted."""
|
|
44
|
+
UPDATING: DesktopGroup._Status.ValueType # 4
|
|
45
|
+
"""Desktop group is updating."""
|
|
44
46
|
|
|
45
47
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
46
48
|
STATUS_UNSPECIFIED: DesktopGroup.Status.ValueType # 0
|
|
@@ -50,6 +52,8 @@ class DesktopGroup(google.protobuf.message.Message):
|
|
|
50
52
|
"""Desktop group is ready to use."""
|
|
51
53
|
DELETING: DesktopGroup.Status.ValueType # 3
|
|
52
54
|
"""Desktop group is being deleted."""
|
|
55
|
+
UPDATING: DesktopGroup.Status.ValueType # 4
|
|
56
|
+
"""Desktop group is updating."""
|
|
53
57
|
|
|
54
58
|
@typing.final
|
|
55
59
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
26
26
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/clouddesktop/v1/desktop.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/clouddesktop/v1/desktop.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xcf\x05\n\x07\x44\x65sktop\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65sktop_group_id\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x06status\x18\x05 \x01(\x0e\x32\x30.yandex.cloud.clouddesktop.v1.api.Desktop.Status\x12\x0c\n\x04name\x18\x0b \x01(\t\x12>\n\tresources\x18\x15 \x01(\x0b\x32+.yandex.cloud.clouddesktop.v1.api.Resources\x12N\n\x12network_interfaces\x18\x16 \x03(\x0b\x32\x32.yandex.cloud.clouddesktop.v1.api.NetworkInterface\x12\x35\n\x05users\x18\x17 \x03(\x0b\x32&.yandex.cloud.clouddesktop.v1.api.User\x12\x45\n\x06labels\x18\x18 \x03(\x0b\x32\x35.yandex.cloud.clouddesktop.v1.api.Desktop.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc1\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0e\n\nRESTARTING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08STOPPING\x10\x07\x12\x0b\n\x07STOPPED\x10\x08\x12\t\n\x05\x45RROR\x10\t\x12\x13\n\x0f\x43REATION_FAILED\x10\n\x12\x10\n\x0cHEALTH_CHECK\x10\x0bJ\x04\x08\x0c\x10\x15J\x04\x08\x06\x10\x0b\"^\n\tResources\x12\x17\n\x06memory\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12\x16\n\x05\x63ores\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12 \n\rcore_fraction\x18\x03 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\"N\n\x04User\x12!\n\nsubject_id\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=100\x12#\n\x0csubject_type\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=100\"U\n\x10NetworkInterface\x12 \n\nnetwork_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1f\n\tsubnet_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50Bq\n yandex.cloud.api.clouddesktop.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/clouddesktop/v1;clouddesktopb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -51,15 +51,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
51
51
|
_globals['_NETWORKINTERFACE'].fields_by_name['subnet_id']._loaded_options = None
|
|
52
52
|
_globals['_NETWORKINTERFACE'].fields_by_name['subnet_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
53
53
|
_globals['_DESKTOP']._serialized_start=145
|
|
54
|
-
_globals['_DESKTOP']._serialized_end=
|
|
54
|
+
_globals['_DESKTOP']._serialized_end=864
|
|
55
55
|
_globals['_DESKTOP_LABELSENTRY']._serialized_start=611
|
|
56
56
|
_globals['_DESKTOP_LABELSENTRY']._serialized_end=656
|
|
57
57
|
_globals['_DESKTOP_STATUS']._serialized_start=659
|
|
58
|
-
_globals['_DESKTOP_STATUS']._serialized_end=
|
|
59
|
-
_globals['_RESOURCES']._serialized_start=
|
|
60
|
-
_globals['_RESOURCES']._serialized_end=
|
|
61
|
-
_globals['_USER']._serialized_start=
|
|
62
|
-
_globals['_USER']._serialized_end=
|
|
63
|
-
_globals['_NETWORKINTERFACE']._serialized_start=
|
|
64
|
-
_globals['_NETWORKINTERFACE']._serialized_end=
|
|
58
|
+
_globals['_DESKTOP_STATUS']._serialized_end=852
|
|
59
|
+
_globals['_RESOURCES']._serialized_start=866
|
|
60
|
+
_globals['_RESOURCES']._serialized_end=960
|
|
61
|
+
_globals['_USER']._serialized_start=962
|
|
62
|
+
_globals['_USER']._serialized_end=1040
|
|
63
|
+
_globals['_NETWORKINTERFACE']._serialized_start=1042
|
|
64
|
+
_globals['_NETWORKINTERFACE']._serialized_end=1127
|
|
65
65
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -53,6 +53,8 @@ class Desktop(google.protobuf.message.Message):
|
|
|
53
53
|
"""Desktop did not manage start or restart."""
|
|
54
54
|
CREATION_FAILED: Desktop._Status.ValueType # 10
|
|
55
55
|
"""Desktop did not manage to get created or updated."""
|
|
56
|
+
HEALTH_CHECK: Desktop._Status.ValueType # 11
|
|
57
|
+
"""Desktop in the process of health check."""
|
|
56
58
|
|
|
57
59
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
58
60
|
STATUS_UNSPECIFIED: Desktop.Status.ValueType # 0
|
|
@@ -76,6 +78,8 @@ class Desktop(google.protobuf.message.Message):
|
|
|
76
78
|
"""Desktop did not manage start or restart."""
|
|
77
79
|
CREATION_FAILED: Desktop.Status.ValueType # 10
|
|
78
80
|
"""Desktop did not manage to get created or updated."""
|
|
81
|
+
HEALTH_CHECK: Desktop.Status.ValueType # 11
|
|
82
|
+
"""Desktop in the process of health check."""
|
|
79
83
|
|
|
80
84
|
@typing.final
|
|
81
85
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -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
|
+
...
|