yandexcloud 0.338.0__py3-none-any.whl → 0.340.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.
Files changed (219) hide show
  1. yandex/cloud/ai/assistants/v1/common_pb2.py +32 -27
  2. yandex/cloud/ai/assistants/v1/common_pb2.pyi +29 -2
  3. yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +32 -32
  4. yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +7 -1
  5. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +39 -3
  6. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +220 -0
  7. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +172 -0
  8. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +68 -0
  9. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
  10. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
  11. yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +50 -50
  12. yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
  13. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +86 -66
  14. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +98 -2
  15. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
  16. yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
  17. yandex/cloud/backup/v1/policy_pb2.py +56 -52
  18. yandex/cloud/backup/v1/policy_pb2.pyi +36 -5
  19. yandex/cloud/backup/v1/resource_pb2.py +21 -19
  20. yandex/cloud/backup/v1/resource_pb2.pyi +32 -2
  21. yandex/cloud/backup/v1/resource_service_pb2.py +30 -30
  22. yandex/cloud/backup/v1/resource_service_pb2.pyi +5 -1
  23. yandex/cloud/baremetal/__init__.py +0 -0
  24. yandex/cloud/baremetal/v1alpha/__init__.py +0 -0
  25. yandex/cloud/baremetal/v1alpha/configuration_pb2.py +42 -0
  26. yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +109 -0
  27. yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.py +24 -0
  28. yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.pyi +17 -0
  29. yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +49 -0
  30. yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +111 -0
  31. yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.py +148 -0
  32. yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.pyi +80 -0
  33. yandex/cloud/baremetal/v1alpha/dhcp_pb2.py +37 -0
  34. yandex/cloud/baremetal/v1alpha/dhcp_pb2.pyi +33 -0
  35. yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.py +24 -0
  36. yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.pyi +17 -0
  37. yandex/cloud/baremetal/v1alpha/disk_pb2.py +39 -0
  38. yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +68 -0
  39. yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.py +24 -0
  40. yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.pyi +17 -0
  41. yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.py +37 -0
  42. yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.pyi +36 -0
  43. yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.py +24 -0
  44. yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.pyi +17 -0
  45. yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +49 -0
  46. yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.pyi +87 -0
  47. yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.py +148 -0
  48. yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.pyi +80 -0
  49. yandex/cloud/baremetal/v1alpha/image_pb2.py +44 -0
  50. yandex/cloud/baremetal/v1alpha/image_pb2.pyi +125 -0
  51. yandex/cloud/baremetal/v1alpha/image_pb2_grpc.py +24 -0
  52. yandex/cloud/baremetal/v1alpha/image_pb2_grpc.pyi +17 -0
  53. yandex/cloud/baremetal/v1alpha/image_service_pb2.py +108 -0
  54. yandex/cloud/baremetal/v1alpha/image_service_pb2.pyi +364 -0
  55. yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.py +327 -0
  56. yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.pyi +170 -0
  57. yandex/cloud/baremetal/v1alpha/private_subnet_pb2.py +47 -0
  58. yandex/cloud/baremetal/v1alpha/private_subnet_pb2.pyi +174 -0
  59. yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.py +24 -0
  60. yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.pyi +17 -0
  61. yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +112 -0
  62. yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.pyi +443 -0
  63. yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.py +327 -0
  64. yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.pyi +170 -0
  65. yandex/cloud/baremetal/v1alpha/public_subnet_pb2.py +45 -0
  66. yandex/cloud/baremetal/v1alpha/public_subnet_pb2.pyi +143 -0
  67. yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.py +24 -0
  68. yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.pyi +17 -0
  69. yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +106 -0
  70. yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +382 -0
  71. yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.py +327 -0
  72. yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.pyi +170 -0
  73. yandex/cloud/baremetal/v1alpha/server_pb2.py +54 -0
  74. yandex/cloud/baremetal/v1alpha/server_pb2.pyi +282 -0
  75. yandex/cloud/baremetal/v1alpha/server_pb2_grpc.py +24 -0
  76. yandex/cloud/baremetal/v1alpha/server_pb2_grpc.pyi +17 -0
  77. yandex/cloud/baremetal/v1alpha/server_service_pb2.py +217 -0
  78. yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +850 -0
  79. yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.py +589 -0
  80. yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.pyi +281 -0
  81. yandex/cloud/baremetal/v1alpha/storage_pb2.py +46 -0
  82. yandex/cloud/baremetal/v1alpha/storage_pb2.pyi +165 -0
  83. yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.py +24 -0
  84. yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.pyi +17 -0
  85. yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +51 -0
  86. yandex/cloud/baremetal/v1alpha/storage_service_pb2.pyi +91 -0
  87. yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.py +145 -0
  88. yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.pyi +70 -0
  89. yandex/cloud/baremetal/v1alpha/vrf_pb2.py +42 -0
  90. yandex/cloud/baremetal/v1alpha/vrf_pb2.pyi +77 -0
  91. yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.py +24 -0
  92. yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.pyi +17 -0
  93. yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +106 -0
  94. yandex/cloud/baremetal/v1alpha/vrf_service_pb2.pyi +357 -0
  95. yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.py +327 -0
  96. yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.pyi +170 -0
  97. yandex/cloud/baremetal/v1alpha/zone_pb2.py +37 -0
  98. yandex/cloud/baremetal/v1alpha/zone_pb2.pyi +29 -0
  99. yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.py +24 -0
  100. yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.pyi +17 -0
  101. yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +49 -0
  102. yandex/cloud/baremetal/v1alpha/zone_service_pb2.pyi +87 -0
  103. yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.py +148 -0
  104. yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.pyi +80 -0
  105. yandex/cloud/cloudregistry/v1/registry_service_pb2.py +40 -40
  106. yandex/cloud/dataproc/manager/v1/job_pb2.pyi +26 -26
  107. yandex/cloud/dataproc/manager/v1/job_service_pb2.pyi +7 -7
  108. yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.py +2 -2
  109. yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.pyi +6 -6
  110. yandex/cloud/dataproc/manager/v1/manager_service_pb2.pyi +2 -2
  111. yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.py +3 -3
  112. yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.pyi +3 -3
  113. yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -5
  114. yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +13 -13
  115. yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.py +4 -4
  116. yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.pyi +6 -6
  117. yandex/cloud/dataproc/v1/job_pb2.pyi +15 -15
  118. yandex/cloud/dataproc/v1/job_service_pb2.pyi +3 -3
  119. yandex/cloud/dataproc/v1/job_service_pb2_grpc.py +4 -4
  120. yandex/cloud/dataproc/v1/job_service_pb2_grpc.pyi +6 -6
  121. yandex/cloud/dataproc/v1/resource_preset_pb2.pyi +2 -2
  122. yandex/cloud/dataproc/v1/subcluster_pb2.pyi +11 -11
  123. yandex/cloud/dataproc/v1/subcluster_service_pb2.pyi +3 -3
  124. yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.py +3 -3
  125. yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.pyi +3 -3
  126. yandex/cloud/iam/v1/api_key_pb2.pyi +3 -1
  127. yandex/cloud/iam/v1/api_key_service_pb2.pyi +3 -1
  128. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +32 -25
  129. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +133 -0
  130. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +61 -0
  131. yandex/cloud/k8s/v1/cluster_pb2.py +40 -30
  132. yandex/cloud/k8s/v1/cluster_pb2.pyi +94 -2
  133. yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -42
  134. yandex/cloud/k8s/v1/cluster_service_pb2.pyi +70 -4
  135. yandex/cloud/k8s/v1/resource_preset_pb2.py +37 -0
  136. yandex/cloud/k8s/v1/resource_preset_pb2.pyi +43 -0
  137. yandex/cloud/k8s/v1/resource_preset_pb2_grpc.py +24 -0
  138. yandex/cloud/k8s/v1/resource_preset_pb2_grpc.pyi +17 -0
  139. yandex/cloud/k8s/v1/resource_preset_service_pb2.py +53 -0
  140. yandex/cloud/k8s/v1/resource_preset_service_pb2.pyi +81 -0
  141. yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.py +146 -0
  142. yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.pyi +71 -0
  143. yandex/cloud/mdb/mysql/v1/backup_pb2.py +6 -6
  144. yandex/cloud/mdb/mysql/v1/backup_pb2.pyi +5 -1
  145. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -20
  146. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +73 -2
  147. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -20
  148. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +100 -2
  149. yandex/cloud/mdb/opensearch/v1/backup_pb2.py +30 -3
  150. yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +162 -0
  151. yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
  152. yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
  153. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +78 -78
  154. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +16 -4
  155. yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +23 -23
  156. yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +23 -23
  157. yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +23 -23
  158. yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +23 -23
  159. yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +23 -23
  160. yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +23 -23
  161. yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +23 -23
  162. yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +23 -23
  163. yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +23 -23
  164. yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +23 -23
  165. yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +23 -23
  166. yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +23 -23
  167. yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +25 -25
  168. yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +25 -25
  169. yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +23 -23
  170. yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +35 -35
  171. yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +35 -35
  172. yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +35 -35
  173. yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +35 -35
  174. yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +37 -37
  175. yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +37 -37
  176. yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +37 -37
  177. yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +37 -37
  178. yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +37 -37
  179. yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +37 -37
  180. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +37 -37
  181. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +37 -37
  182. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +37 -37
  183. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +37 -37
  184. yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +29 -29
  185. yandex/cloud/monitoring/v3/unit_format_pb2.py +2 -2
  186. yandex/cloud/monitoring/v3/unit_format_pb2.pyi +16 -0
  187. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +28 -22
  188. yandex/cloud/spark/__init__.py +0 -0
  189. yandex/cloud/spark/v1/__init__.py +0 -0
  190. yandex/cloud/spark/v1/cluster_pb2.py +100 -0
  191. yandex/cloud/spark/v1/cluster_pb2.pyi +444 -0
  192. yandex/cloud/spark/v1/cluster_pb2_grpc.py +24 -0
  193. yandex/cloud/spark/v1/cluster_pb2_grpc.pyi +17 -0
  194. yandex/cloud/spark/v1/cluster_service_pb2.py +124 -0
  195. yandex/cloud/spark/v1/cluster_service_pb2.pyi +333 -0
  196. yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +366 -0
  197. yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +169 -0
  198. yandex/cloud/spark/v1/job_pb2.py +56 -0
  199. yandex/cloud/spark/v1/job_pb2.pyi +346 -0
  200. yandex/cloud/spark/v1/job_pb2_grpc.py +24 -0
  201. yandex/cloud/spark/v1/job_pb2_grpc.pyi +17 -0
  202. yandex/cloud/spark/v1/job_service_pb2.py +97 -0
  203. yandex/cloud/spark/v1/job_service_pb2.pyi +224 -0
  204. yandex/cloud/spark/v1/job_service_pb2_grpc.py +279 -0
  205. yandex/cloud/spark/v1/job_service_pb2_grpc.pyi +132 -0
  206. yandex/cloud/spark/v1/maintenance_pb2.py +53 -0
  207. yandex/cloud/spark/v1/maintenance_pb2.pyi +123 -0
  208. yandex/cloud/spark/v1/maintenance_pb2_grpc.py +24 -0
  209. yandex/cloud/spark/v1/maintenance_pb2_grpc.pyi +17 -0
  210. yandexcloud/__init__.py +1 -1
  211. yandexcloud/_sdk.py +1 -0
  212. yandexcloud/_wrappers/__init__.py +15 -0
  213. yandexcloud/_wrappers/spark/__init__.py +603 -0
  214. {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/METADATA +2 -1
  215. {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/RECORD +219 -106
  216. {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/AUTHORS +0 -0
  217. {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/LICENSE +0 -0
  218. {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/WHEEL +0 -0
  219. {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,170 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+ import yandex.cloud.baremetal.v1alpha.image_pb2
12
+ import yandex.cloud.baremetal.v1alpha.image_service_pb2
13
+ import yandex.cloud.operation.operation_pb2
14
+
15
+ _T = typing.TypeVar("_T")
16
+
17
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
18
+
19
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
20
+ ...
21
+
22
+ class ImageServiceStub:
23
+ """A set of methods for managing Image resources."""
24
+
25
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
+ Get: grpc.UnaryUnaryMultiCallable[
27
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.GetImageRequest,
28
+ yandex.cloud.baremetal.v1alpha.image_pb2.Image,
29
+ ]
30
+ """Returns the specific Image resource.
31
+
32
+ To get the list of available Image resources, make a [List] request.
33
+ """
34
+
35
+ List: grpc.UnaryUnaryMultiCallable[
36
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImagesRequest,
37
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImagesResponse,
38
+ ]
39
+ """Retrieves the list of Image resources in the specified folder."""
40
+
41
+ Create: grpc.UnaryUnaryMultiCallable[
42
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.CreateImageRequest,
43
+ yandex.cloud.operation.operation_pb2.Operation,
44
+ ]
45
+ """Creates an image in the specified folder."""
46
+
47
+ Update: grpc.UnaryUnaryMultiCallable[
48
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.UpdateImageRequest,
49
+ yandex.cloud.operation.operation_pb2.Operation,
50
+ ]
51
+ """Updates the specified image."""
52
+
53
+ Delete: grpc.UnaryUnaryMultiCallable[
54
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.DeleteImageRequest,
55
+ yandex.cloud.operation.operation_pb2.Operation,
56
+ ]
57
+ """Deletes the specified image.
58
+
59
+ Deleting an image removes its data permanently and is irreversible.
60
+ """
61
+
62
+ ListOperations: grpc.UnaryUnaryMultiCallable[
63
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImageOperationsRequest,
64
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImageOperationsResponse,
65
+ ]
66
+ """Lists operations for the specified image."""
67
+
68
+ class ImageServiceAsyncStub:
69
+ """A set of methods for managing Image resources."""
70
+
71
+ Get: grpc.aio.UnaryUnaryMultiCallable[
72
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.GetImageRequest,
73
+ yandex.cloud.baremetal.v1alpha.image_pb2.Image,
74
+ ]
75
+ """Returns the specific Image resource.
76
+
77
+ To get the list of available Image resources, make a [List] request.
78
+ """
79
+
80
+ List: grpc.aio.UnaryUnaryMultiCallable[
81
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImagesRequest,
82
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImagesResponse,
83
+ ]
84
+ """Retrieves the list of Image resources in the specified folder."""
85
+
86
+ Create: grpc.aio.UnaryUnaryMultiCallable[
87
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.CreateImageRequest,
88
+ yandex.cloud.operation.operation_pb2.Operation,
89
+ ]
90
+ """Creates an image in the specified folder."""
91
+
92
+ Update: grpc.aio.UnaryUnaryMultiCallable[
93
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.UpdateImageRequest,
94
+ yandex.cloud.operation.operation_pb2.Operation,
95
+ ]
96
+ """Updates the specified image."""
97
+
98
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
99
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.DeleteImageRequest,
100
+ yandex.cloud.operation.operation_pb2.Operation,
101
+ ]
102
+ """Deletes the specified image.
103
+
104
+ Deleting an image removes its data permanently and is irreversible.
105
+ """
106
+
107
+ ListOperations: grpc.aio.UnaryUnaryMultiCallable[
108
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImageOperationsRequest,
109
+ yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImageOperationsResponse,
110
+ ]
111
+ """Lists operations for the specified image."""
112
+
113
+ class ImageServiceServicer(metaclass=abc.ABCMeta):
114
+ """A set of methods for managing Image resources."""
115
+
116
+ @abc.abstractmethod
117
+ def Get(
118
+ self,
119
+ request: yandex.cloud.baremetal.v1alpha.image_service_pb2.GetImageRequest,
120
+ context: _ServicerContext,
121
+ ) -> typing.Union[yandex.cloud.baremetal.v1alpha.image_pb2.Image, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.image_pb2.Image]]:
122
+ """Returns the specific Image resource.
123
+
124
+ To get the list of available Image resources, make a [List] request.
125
+ """
126
+
127
+ @abc.abstractmethod
128
+ def List(
129
+ self,
130
+ request: yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImagesRequest,
131
+ context: _ServicerContext,
132
+ ) -> typing.Union[yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImagesResponse, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImagesResponse]]:
133
+ """Retrieves the list of Image resources in the specified folder."""
134
+
135
+ @abc.abstractmethod
136
+ def Create(
137
+ self,
138
+ request: yandex.cloud.baremetal.v1alpha.image_service_pb2.CreateImageRequest,
139
+ context: _ServicerContext,
140
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
141
+ """Creates an image in the specified folder."""
142
+
143
+ @abc.abstractmethod
144
+ def Update(
145
+ self,
146
+ request: yandex.cloud.baremetal.v1alpha.image_service_pb2.UpdateImageRequest,
147
+ context: _ServicerContext,
148
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
149
+ """Updates the specified image."""
150
+
151
+ @abc.abstractmethod
152
+ def Delete(
153
+ self,
154
+ request: yandex.cloud.baremetal.v1alpha.image_service_pb2.DeleteImageRequest,
155
+ context: _ServicerContext,
156
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
157
+ """Deletes the specified image.
158
+
159
+ Deleting an image removes its data permanently and is irreversible.
160
+ """
161
+
162
+ @abc.abstractmethod
163
+ def ListOperations(
164
+ self,
165
+ request: yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImageOperationsRequest,
166
+ context: _ServicerContext,
167
+ ) -> typing.Union[yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImageOperationsResponse, collections.abc.Awaitable[yandex.cloud.baremetal.v1alpha.image_service_pb2.ListImageOperationsResponse]]:
168
+ """Lists operations for the specified image."""
169
+
170
+ def add_ImageServiceServicer_to_server(servicer: ImageServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -0,0 +1,47 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/baremetal/v1alpha/private_subnet.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/baremetal/v1alpha/private_subnet.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+ from yandex.cloud.baremetal.v1alpha import dhcp_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_dhcp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3yandex/cloud/baremetal/v1alpha/private_subnet.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)yandex/cloud/baremetal/v1alpha/dhcp.proto\"\xc1\x05\n\rPrivateSubnet\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x44\n\x06status\x18\x06 \x01(\x0e\x32\x34.yandex.cloud.baremetal.v1alpha.PrivateSubnet.Status\x12\x0f\n\x07zone_id\x18\x07 \x01(\t\x12\x18\n\x10hardware_pool_id\x18\x08 \x01(\t\x12M\n\x0bvrf_options\x18\t \x01(\x0b\x32\x38.yandex.cloud.baremetal.v1alpha.PrivateSubnet.VrfOptions\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x39.yandex.cloud.baremetal.v1alpha.PrivateSubnet.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x81\x01\n\nVrfOptions\x12\x0e\n\x06vrf_id\x18\x01 \x01(\t\x12\x0c\n\x04\x63idr\x18\x02 \x01(\t\x12\x41\n\x0c\x64hcp_options\x18\x03 \x01(\x0b\x32+.yandex.cloud.baremetal.v1alpha.DhcpOptions\x12\x12\n\ngateway_ip\x18\x04 \x01(\t\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05J\x04\x08\n\x10\x64J\x05\x08\x65\x10\xc8\x01\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.private_subnet_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
37
+ _globals['_PRIVATESUBNET_LABELSENTRY']._loaded_options = None
38
+ _globals['_PRIVATESUBNET_LABELSENTRY']._serialized_options = b'8\001'
39
+ _globals['_PRIVATESUBNET']._serialized_start=164
40
+ _globals['_PRIVATESUBNET']._serialized_end=869
41
+ _globals['_PRIVATESUBNET_LABELSENTRY']._serialized_start=581
42
+ _globals['_PRIVATESUBNET_LABELSENTRY']._serialized_end=626
43
+ _globals['_PRIVATESUBNET_VRFOPTIONS']._serialized_start=629
44
+ _globals['_PRIVATESUBNET_VRFOPTIONS']._serialized_end=758
45
+ _globals['_PRIVATESUBNET_STATUS']._serialized_start=760
46
+ _globals['_PRIVATESUBNET_STATUS']._serialized_end=856
47
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,174 @@
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.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import google.protobuf.timestamp_pb2
13
+ import sys
14
+ import typing
15
+ import yandex.cloud.baremetal.v1alpha.dhcp_pb2
16
+
17
+ if sys.version_info >= (3, 10):
18
+ import typing as typing_extensions
19
+ else:
20
+ import typing_extensions
21
+
22
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
23
+
24
+ @typing.final
25
+ class PrivateSubnet(google.protobuf.message.Message):
26
+ """A PrivateSubnet resource."""
27
+
28
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
29
+
30
+ class _Status:
31
+ ValueType = typing.NewType("ValueType", builtins.int)
32
+ V: typing_extensions.TypeAlias = ValueType
33
+
34
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PrivateSubnet._Status.ValueType], builtins.type):
35
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
36
+ STATUS_UNSPECIFIED: PrivateSubnet._Status.ValueType # 0
37
+ """Unspecified private subnet status."""
38
+ CREATING: PrivateSubnet._Status.ValueType # 1
39
+ """Private subnet is being created."""
40
+ READY: PrivateSubnet._Status.ValueType # 2
41
+ """Private subnet is ready to use."""
42
+ UPDATING: PrivateSubnet._Status.ValueType # 3
43
+ """Private subnet is being updated."""
44
+ DELETING: PrivateSubnet._Status.ValueType # 4
45
+ """Private subnet is being deleted."""
46
+ ERROR: PrivateSubnet._Status.ValueType # 5
47
+ """Private subnet encountered a problem and cannot operate."""
48
+
49
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper):
50
+ """Private subnet status."""
51
+
52
+ STATUS_UNSPECIFIED: PrivateSubnet.Status.ValueType # 0
53
+ """Unspecified private subnet status."""
54
+ CREATING: PrivateSubnet.Status.ValueType # 1
55
+ """Private subnet is being created."""
56
+ READY: PrivateSubnet.Status.ValueType # 2
57
+ """Private subnet is ready to use."""
58
+ UPDATING: PrivateSubnet.Status.ValueType # 3
59
+ """Private subnet is being updated."""
60
+ DELETING: PrivateSubnet.Status.ValueType # 4
61
+ """Private subnet is being deleted."""
62
+ ERROR: PrivateSubnet.Status.ValueType # 5
63
+ """Private subnet encountered a problem and cannot operate."""
64
+
65
+ @typing.final
66
+ class LabelsEntry(google.protobuf.message.Message):
67
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
68
+
69
+ KEY_FIELD_NUMBER: builtins.int
70
+ VALUE_FIELD_NUMBER: builtins.int
71
+ key: builtins.str
72
+ value: builtins.str
73
+ def __init__(
74
+ self,
75
+ *,
76
+ key: builtins.str = ...,
77
+ value: builtins.str = ...,
78
+ ) -> None: ...
79
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
80
+
81
+ @typing.final
82
+ class VrfOptions(google.protobuf.message.Message):
83
+ """VRF options for the private subnet."""
84
+
85
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
86
+
87
+ VRF_ID_FIELD_NUMBER: builtins.int
88
+ CIDR_FIELD_NUMBER: builtins.int
89
+ DHCP_OPTIONS_FIELD_NUMBER: builtins.int
90
+ GATEWAY_IP_FIELD_NUMBER: builtins.int
91
+ vrf_id: builtins.str
92
+ """ID of the VRF."""
93
+ cidr: builtins.str
94
+ """CIDR block for the subnet."""
95
+ gateway_ip: builtins.str
96
+ """Gateway IP address for the subnet."""
97
+ @property
98
+ def dhcp_options(self) -> yandex.cloud.baremetal.v1alpha.dhcp_pb2.DhcpOptions:
99
+ """DHCP options for the subnet."""
100
+
101
+ def __init__(
102
+ self,
103
+ *,
104
+ vrf_id: builtins.str = ...,
105
+ cidr: builtins.str = ...,
106
+ dhcp_options: yandex.cloud.baremetal.v1alpha.dhcp_pb2.DhcpOptions | None = ...,
107
+ gateway_ip: builtins.str = ...,
108
+ ) -> None: ...
109
+ def HasField(self, field_name: typing.Literal["dhcp_options", b"dhcp_options"]) -> builtins.bool: ...
110
+ def ClearField(self, field_name: typing.Literal["cidr", b"cidr", "dhcp_options", b"dhcp_options", "gateway_ip", b"gateway_ip", "vrf_id", b"vrf_id"]) -> None: ...
111
+
112
+ ID_FIELD_NUMBER: builtins.int
113
+ CLOUD_ID_FIELD_NUMBER: builtins.int
114
+ FOLDER_ID_FIELD_NUMBER: builtins.int
115
+ NAME_FIELD_NUMBER: builtins.int
116
+ DESCRIPTION_FIELD_NUMBER: builtins.int
117
+ STATUS_FIELD_NUMBER: builtins.int
118
+ ZONE_ID_FIELD_NUMBER: builtins.int
119
+ HARDWARE_POOL_ID_FIELD_NUMBER: builtins.int
120
+ VRF_OPTIONS_FIELD_NUMBER: builtins.int
121
+ CREATED_AT_FIELD_NUMBER: builtins.int
122
+ LABELS_FIELD_NUMBER: builtins.int
123
+ id: builtins.str
124
+ """ID of the private subnet."""
125
+ cloud_id: builtins.str
126
+ """ID of the cloud that the private subnet belongs to."""
127
+ folder_id: builtins.str
128
+ """ID of the folder that the private subnet belongs to."""
129
+ name: builtins.str
130
+ """Name of the private subnet.
131
+ The name is unique within the folder.
132
+ """
133
+ description: builtins.str
134
+ """Optional description of the private subnet."""
135
+ status: global___PrivateSubnet.Status.ValueType
136
+ """Status of the private subnet."""
137
+ zone_id: builtins.str
138
+ """ID of the availability zone where the server resides."""
139
+ hardware_pool_id: builtins.str
140
+ """ID of the hardware pool that the private subnet belongs to."""
141
+ @property
142
+ def vrf_options(self) -> global___PrivateSubnet.VrfOptions:
143
+ """Optional VRF options for the private subnet. If missing, the private subnet will be unrouted,
144
+ i.e. it will lack a DHCP server and routing capabilities between this subnet and other private
145
+ subnets.
146
+ """
147
+
148
+ @property
149
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
150
+ """Creation timestamp."""
151
+
152
+ @property
153
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
154
+ """Resource labels as `key:value` pairs."""
155
+
156
+ def __init__(
157
+ self,
158
+ *,
159
+ id: builtins.str = ...,
160
+ cloud_id: builtins.str = ...,
161
+ folder_id: builtins.str = ...,
162
+ name: builtins.str = ...,
163
+ description: builtins.str = ...,
164
+ status: global___PrivateSubnet.Status.ValueType = ...,
165
+ zone_id: builtins.str = ...,
166
+ hardware_pool_id: builtins.str = ...,
167
+ vrf_options: global___PrivateSubnet.VrfOptions | None = ...,
168
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
169
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
170
+ ) -> None: ...
171
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at", "vrf_options", b"vrf_options"]) -> builtins.bool: ...
172
+ def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "hardware_pool_id", b"hardware_pool_id", "id", b"id", "labels", b"labels", "name", b"name", "status", b"status", "vrf_options", b"vrf_options", "zone_id", b"zone_id"]) -> None: ...
173
+
174
+ global___PrivateSubnet = PrivateSubnet
@@ -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/baremetal/v1alpha/private_subnet_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
+ ...
@@ -0,0 +1,112 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/baremetal/v1alpha/private_subnet_service.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/baremetal/v1alpha/private_subnet_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
26
+ from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
27
+ from yandex.cloud.baremetal.v1alpha import private_subnet_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_private__subnet__pb2
28
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
29
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
30
+
31
+
32
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;yandex/cloud/baremetal/v1alpha/private_subnet_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x33yandex/cloud/baremetal/v1alpha/private_subnet.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"T\n\x17GetPrivateSubnetRequest\x12\x33\n\x11private_subnet_id\x18\x02 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30J\x04\x08\x01\x10\x02\"\xa5\x01\n\x18ListPrivateSubnetRequest\x12/\n\tfolder_id\x18\x01 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x12\n\npage_token\x18\x65 \x01(\t\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x0e\n\x06\x66ilter\x18g \x01(\tJ\x04\x08\x02\x10\x64\"\x88\x01\n\x19ListPrivateSubnetResponse\x12\x46\n\x0fprivate_subnets\x18\x02 \x03(\x0b\x32-.yandex.cloud.baremetal.v1alpha.PrivateSubnet\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x01\x10\x02J\x04\x08\x03\x10\x64\"\xdf\x03\n\x1a\x43reatePrivateSubnetRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xf2\xc7\x31\x1a[a-z]([-a-z0-9]*[a-z0-9])?\x8a\xc8\x31\x04\x32-63\x12\x1f\n\x0b\x64\x65scription\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\"\n\x10hardware_pool_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=20\x12H\n\x10vrf_options_spec\x18\x04 \x01(\x0b\x32..yandex.cloud.baremetal.v1alpha.VrfOptionsSpec\x12/\n\tfolder_id\x18\x05 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=50\x12\x94\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x46.yandex.cloud.baremetal.v1alpha.CreatePrivateSubnetRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x06\x10\xc8\x01\"\x89\x01\n\x0eVrfOptionsSpec\x12\x0e\n\x06vrf_id\x18\x01 \x01(\t\x12\x0c\n\x04\x63idr\x18\x02 \x01(\t\x12\x45\n\x0c\x64hcp_options\x18\x03 \x01(\x0b\x32/.yandex.cloud.baremetal.v1alpha.DhcpOptionsSpec\x12\x12\n\ngateway_ip\x18\x04 \x01(\t\"3\n\x0f\x44hcpOptionsSpec\x12\x10\n\x08start_ip\x18\x01 \x01(\t\x12\x0e\n\x06\x65nd_ip\x18\x02 \x01(\t\">\n\x1b\x43reatePrivateSubnetMetadata\x12\x19\n\x11private_subnet_id\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02\"\xf6\x03\n\x1aUpdatePrivateSubnetRequest\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x34\n\x04name\x18\x03 \x01(\tB&\xf2\xc7\x31\x1a[a-z]([-a-z0-9]*[a-z0-9])?\x8a\xc8\x31\x04\x32-63\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12H\n\x10vrf_options_spec\x18\x05 \x01(\x0b\x32..yandex.cloud.baremetal.v1alpha.VrfOptionsSpec\x12\x33\n\x11private_subnet_id\x18\x06 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\x12\x94\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x46.yandex.cloud.baremetal.v1alpha.UpdatePrivateSubnetRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x01\x10\x02J\x05\x08\x07\x10\xc8\x01\">\n\x1bUpdatePrivateSubnetMetadata\x12\x19\n\x11private_subnet_id\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02\"W\n\x1a\x44\x65letePrivateSubnetRequest\x12\x33\n\x11private_subnet_id\x18\x02 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30J\x04\x08\x01\x10\x02\">\n\x1b\x44\x65letePrivateSubnetMetadata\x12\x19\n\x11private_subnet_id\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02\"\x97\x01\n\"ListPrivateSubnetOperationsRequest\x12\x33\n\x11private_subnet_id\x18\x02 \x01(\tB\x18\xf2\xc7\x31\x0e[a-z][a-z0-9]*\x8a\xc8\x31\x02\x32\x30\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x12\n\npage_token\x18\x65 \x01(\tJ\x04\x08\x01\x10\x02J\x04\x08\x03\x10\x64\"{\n#ListPrivateSubnetOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\x32\x80\x07\n\x14PrivateSubnetService\x12o\n\x03Get\x12\x37.yandex.cloud.baremetal.v1alpha.GetPrivateSubnetRequest\x1a-.yandex.cloud.baremetal.v1alpha.PrivateSubnet\"\x00\x12}\n\x04List\x12\x38.yandex.cloud.baremetal.v1alpha.ListPrivateSubnetRequest\x1a\x39.yandex.cloud.baremetal.v1alpha.ListPrivateSubnetResponse\"\x00\x12\x99\x01\n\x06\x43reate\x12:.yandex.cloud.baremetal.v1alpha.CreatePrivateSubnetRequest\x1a!.yandex.cloud.operation.Operation\"0\xb2\xd2*,\n\x1b\x43reatePrivateSubnetMetadata\x12\rPrivateSubnet\x12\x99\x01\n\x06Update\x12:.yandex.cloud.baremetal.v1alpha.UpdatePrivateSubnetRequest\x1a!.yandex.cloud.operation.Operation\"0\xb2\xd2*,\n\x1bUpdatePrivateSubnetMetadata\x12\rPrivateSubnet\x12\xa1\x01\n\x06\x44\x65lete\x12:.yandex.cloud.baremetal.v1alpha.DeletePrivateSubnetRequest\x1a!.yandex.cloud.operation.Operation\"8\xb2\xd2*4\n\x1b\x44\x65letePrivateSubnetMetadata\x12\x15google.protobuf.Empty\x12\x9b\x01\n\x0eListOperations\x12\x42.yandex.cloud.baremetal.v1alpha.ListPrivateSubnetOperationsRequest\x1a\x43.yandex.cloud.baremetal.v1alpha.ListPrivateSubnetOperationsResponse\"\x00\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
33
+
34
+ _globals = globals()
35
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.private_subnet_service_pb2', _globals)
37
+ if not _descriptor._USE_C_DESCRIPTORS:
38
+ _globals['DESCRIPTOR']._loaded_options = None
39
+ _globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
40
+ _globals['_GETPRIVATESUBNETREQUEST'].fields_by_name['private_subnet_id']._loaded_options = None
41
+ _globals['_GETPRIVATESUBNETREQUEST'].fields_by_name['private_subnet_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
42
+ _globals['_LISTPRIVATESUBNETREQUEST'].fields_by_name['folder_id']._loaded_options = None
43
+ _globals['_LISTPRIVATESUBNETREQUEST'].fields_by_name['folder_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=50'
44
+ _globals['_LISTPRIVATESUBNETREQUEST'].fields_by_name['page_size']._loaded_options = None
45
+ _globals['_LISTPRIVATESUBNETREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
46
+ _globals['_CREATEPRIVATESUBNETREQUEST_LABELSENTRY']._loaded_options = None
47
+ _globals['_CREATEPRIVATESUBNETREQUEST_LABELSENTRY']._serialized_options = b'8\001'
48
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['name']._loaded_options = None
49
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\032[a-z]([-a-z0-9]*[a-z0-9])?\212\3101\0042-63'
50
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['description']._loaded_options = None
51
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=1024'
52
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['hardware_pool_id']._loaded_options = None
53
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['hardware_pool_id']._serialized_options = b'\212\3101\004<=20'
54
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['folder_id']._loaded_options = None
55
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['folder_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=50'
56
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['labels']._loaded_options = None
57
+ _globals['_CREATEPRIVATESUBNETREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
58
+ _globals['_UPDATEPRIVATESUBNETREQUEST_LABELSENTRY']._loaded_options = None
59
+ _globals['_UPDATEPRIVATESUBNETREQUEST_LABELSENTRY']._serialized_options = b'8\001'
60
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['name']._loaded_options = None
61
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\032[a-z]([-a-z0-9]*[a-z0-9])?\212\3101\0042-63'
62
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['description']._loaded_options = None
63
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\006<=1024'
64
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['private_subnet_id']._loaded_options = None
65
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['private_subnet_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
66
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['labels']._loaded_options = None
67
+ _globals['_UPDATEPRIVATESUBNETREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
68
+ _globals['_DELETEPRIVATESUBNETREQUEST'].fields_by_name['private_subnet_id']._loaded_options = None
69
+ _globals['_DELETEPRIVATESUBNETREQUEST'].fields_by_name['private_subnet_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
70
+ _globals['_LISTPRIVATESUBNETOPERATIONSREQUEST'].fields_by_name['private_subnet_id']._loaded_options = None
71
+ _globals['_LISTPRIVATESUBNETOPERATIONSREQUEST'].fields_by_name['private_subnet_id']._serialized_options = b'\362\3071\016[a-z][a-z0-9]*\212\3101\00220'
72
+ _globals['_LISTPRIVATESUBNETOPERATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
73
+ _globals['_LISTPRIVATESUBNETOPERATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
74
+ _globals['_PRIVATESUBNETSERVICE'].methods_by_name['Create']._loaded_options = None
75
+ _globals['_PRIVATESUBNETSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*,\n\033CreatePrivateSubnetMetadata\022\rPrivateSubnet'
76
+ _globals['_PRIVATESUBNETSERVICE'].methods_by_name['Update']._loaded_options = None
77
+ _globals['_PRIVATESUBNETSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*,\n\033UpdatePrivateSubnetMetadata\022\rPrivateSubnet'
78
+ _globals['_PRIVATESUBNETSERVICE'].methods_by_name['Delete']._loaded_options = None
79
+ _globals['_PRIVATESUBNETSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*4\n\033DeletePrivateSubnetMetadata\022\025google.protobuf.Empty'
80
+ _globals['_GETPRIVATESUBNETREQUEST']._serialized_start=287
81
+ _globals['_GETPRIVATESUBNETREQUEST']._serialized_end=371
82
+ _globals['_LISTPRIVATESUBNETREQUEST']._serialized_start=374
83
+ _globals['_LISTPRIVATESUBNETREQUEST']._serialized_end=539
84
+ _globals['_LISTPRIVATESUBNETRESPONSE']._serialized_start=542
85
+ _globals['_LISTPRIVATESUBNETRESPONSE']._serialized_end=678
86
+ _globals['_CREATEPRIVATESUBNETREQUEST']._serialized_start=681
87
+ _globals['_CREATEPRIVATESUBNETREQUEST']._serialized_end=1160
88
+ _globals['_CREATEPRIVATESUBNETREQUEST_LABELSENTRY']._serialized_start=1108
89
+ _globals['_CREATEPRIVATESUBNETREQUEST_LABELSENTRY']._serialized_end=1153
90
+ _globals['_VRFOPTIONSSPEC']._serialized_start=1163
91
+ _globals['_VRFOPTIONSSPEC']._serialized_end=1300
92
+ _globals['_DHCPOPTIONSSPEC']._serialized_start=1302
93
+ _globals['_DHCPOPTIONSSPEC']._serialized_end=1353
94
+ _globals['_CREATEPRIVATESUBNETMETADATA']._serialized_start=1355
95
+ _globals['_CREATEPRIVATESUBNETMETADATA']._serialized_end=1417
96
+ _globals['_UPDATEPRIVATESUBNETREQUEST']._serialized_start=1420
97
+ _globals['_UPDATEPRIVATESUBNETREQUEST']._serialized_end=1922
98
+ _globals['_UPDATEPRIVATESUBNETREQUEST_LABELSENTRY']._serialized_start=1108
99
+ _globals['_UPDATEPRIVATESUBNETREQUEST_LABELSENTRY']._serialized_end=1153
100
+ _globals['_UPDATEPRIVATESUBNETMETADATA']._serialized_start=1924
101
+ _globals['_UPDATEPRIVATESUBNETMETADATA']._serialized_end=1986
102
+ _globals['_DELETEPRIVATESUBNETREQUEST']._serialized_start=1988
103
+ _globals['_DELETEPRIVATESUBNETREQUEST']._serialized_end=2075
104
+ _globals['_DELETEPRIVATESUBNETMETADATA']._serialized_start=2077
105
+ _globals['_DELETEPRIVATESUBNETMETADATA']._serialized_end=2139
106
+ _globals['_LISTPRIVATESUBNETOPERATIONSREQUEST']._serialized_start=2142
107
+ _globals['_LISTPRIVATESUBNETOPERATIONSREQUEST']._serialized_end=2293
108
+ _globals['_LISTPRIVATESUBNETOPERATIONSRESPONSE']._serialized_start=2295
109
+ _globals['_LISTPRIVATESUBNETOPERATIONSRESPONSE']._serialized_end=2418
110
+ _globals['_PRIVATESUBNETSERVICE']._serialized_start=2421
111
+ _globals['_PRIVATESUBNETSERVICE']._serialized_end=3317
112
+ # @@protoc_insertion_point(module_scope)