@distilled.cloud/stackit 0.0.0-stage → 1.0.0-rc.14

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 (298) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +33 -2
  3. package/lib/credentials.d.ts +29 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +49 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +36 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +26 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/pagination.d.ts +9 -0
  16. package/lib/pagination.d.ts.map +1 -0
  17. package/lib/pagination.js +45 -0
  18. package/lib/pagination.js.map +1 -0
  19. package/lib/protocol.d.ts +32 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +147 -0
  22. package/lib/protocol.js.map +1 -0
  23. package/lib/protocol.test.d.ts +2 -0
  24. package/lib/protocol.test.d.ts.map +1 -0
  25. package/lib/protocol.test.js +181 -0
  26. package/lib/protocol.test.js.map +1 -0
  27. package/lib/retry.d.ts +31 -0
  28. package/lib/retry.d.ts.map +1 -0
  29. package/lib/retry.js +31 -0
  30. package/lib/retry.js.map +1 -0
  31. package/lib/services/alb.d.ts +603 -0
  32. package/lib/services/alb.d.ts.map +1 -0
  33. package/lib/services/alb.js +513 -0
  34. package/lib/services/alb.js.map +1 -0
  35. package/lib/services/alb_waf.d.ts +526 -0
  36. package/lib/services/alb_waf.d.ts.map +1 -0
  37. package/lib/services/alb_waf.js +521 -0
  38. package/lib/services/alb_waf.js.map +1 -0
  39. package/lib/services/authorization.d.ts +251 -0
  40. package/lib/services/authorization.d.ts.map +1 -0
  41. package/lib/services/authorization.js +323 -0
  42. package/lib/services/authorization.js.map +1 -0
  43. package/lib/services/automation.d.ts +321 -0
  44. package/lib/services/automation.d.ts.map +1 -0
  45. package/lib/services/automation.js +363 -0
  46. package/lib/services/automation.js.map +1 -0
  47. package/lib/services/cdn.d.ts +1239 -0
  48. package/lib/services/cdn.d.ts.map +1 -0
  49. package/lib/services/cdn.js +906 -0
  50. package/lib/services/cdn.js.map +1 -0
  51. package/lib/services/certificates.d.ts +201 -0
  52. package/lib/services/certificates.d.ts.map +1 -0
  53. package/lib/services/certificates.js +179 -0
  54. package/lib/services/certificates.js.map +1 -0
  55. package/lib/services/cost.d.ts +222 -0
  56. package/lib/services/cost.d.ts.map +1 -0
  57. package/lib/services/cost.js +177 -0
  58. package/lib/services/cost.js.map +1 -0
  59. package/lib/services/dns.d.ts +842 -0
  60. package/lib/services/dns.d.ts.map +1 -0
  61. package/lib/services/dns.js +726 -0
  62. package/lib/services/dns.js.map +1 -0
  63. package/lib/services/dremio.d.ts +358 -0
  64. package/lib/services/dremio.d.ts.map +1 -0
  65. package/lib/services/dremio.js +317 -0
  66. package/lib/services/dremio.js.map +1 -0
  67. package/lib/services/edge.d.ts +312 -0
  68. package/lib/services/edge.d.ts.map +1 -0
  69. package/lib/services/edge.js +357 -0
  70. package/lib/services/edge.js.map +1 -0
  71. package/lib/services/functions.d.ts +409 -0
  72. package/lib/services/functions.d.ts.map +1 -0
  73. package/lib/services/functions.js +399 -0
  74. package/lib/services/functions.js.map +1 -0
  75. package/lib/services/git.d.ts +497 -0
  76. package/lib/services/git.d.ts.map +1 -0
  77. package/lib/services/git.js +520 -0
  78. package/lib/services/git.js.map +1 -0
  79. package/lib/services/iaas.d.ts +2986 -0
  80. package/lib/services/iaas.d.ts.map +1 -0
  81. package/lib/services/iaas.js +3543 -0
  82. package/lib/services/iaas.js.map +1 -0
  83. package/lib/services/index.d.ts +51 -0
  84. package/lib/services/index.d.ts.map +1 -0
  85. package/lib/services/index.js +52 -0
  86. package/lib/services/index.js.map +1 -0
  87. package/lib/services/intake.d.ts +555 -0
  88. package/lib/services/intake.d.ts.map +1 -0
  89. package/lib/services/intake.js +475 -0
  90. package/lib/services/intake.js.map +1 -0
  91. package/lib/services/kms.d.ts +654 -0
  92. package/lib/services/kms.d.ts.map +1 -0
  93. package/lib/services/kms.js +663 -0
  94. package/lib/services/kms.js.map +1 -0
  95. package/lib/services/lb_ip_lists.d.ts +160 -0
  96. package/lib/services/lb_ip_lists.d.ts.map +1 -0
  97. package/lib/services/lb_ip_lists.js +154 -0
  98. package/lib/services/lb_ip_lists.js.map +1 -0
  99. package/lib/services/load_balancer.d.ts +563 -0
  100. package/lib/services/load_balancer.d.ts.map +1 -0
  101. package/lib/services/load_balancer.js +497 -0
  102. package/lib/services/load_balancer.js.map +1 -0
  103. package/lib/services/logme.d.ts +516 -0
  104. package/lib/services/logme.d.ts.map +1 -0
  105. package/lib/services/logme.js +574 -0
  106. package/lib/services/logme.js.map +1 -0
  107. package/lib/services/logs.d.ts +436 -0
  108. package/lib/services/logs.d.ts.map +1 -0
  109. package/lib/services/logs.js +475 -0
  110. package/lib/services/logs.js.map +1 -0
  111. package/lib/services/mariadb.d.ts +479 -0
  112. package/lib/services/mariadb.d.ts.map +1 -0
  113. package/lib/services/mariadb.js +551 -0
  114. package/lib/services/mariadb.js.map +1 -0
  115. package/lib/services/model_experiments.d.ts +306 -0
  116. package/lib/services/model_experiments.d.ts.map +1 -0
  117. package/lib/services/model_experiments.js +336 -0
  118. package/lib/services/model_experiments.js.map +1 -0
  119. package/lib/services/model_serving.d.ts +289 -0
  120. package/lib/services/model_serving.d.ts.map +1 -0
  121. package/lib/services/model_serving.js +287 -0
  122. package/lib/services/model_serving.js.map +1 -0
  123. package/lib/services/mongodb_flex.d.ts +826 -0
  124. package/lib/services/mongodb_flex.d.ts.map +1 -0
  125. package/lib/services/mongodb_flex.js +803 -0
  126. package/lib/services/mongodb_flex.js.map +1 -0
  127. package/lib/services/object_storage.d.ts +470 -0
  128. package/lib/services/object_storage.d.ts.map +1 -0
  129. package/lib/services/object_storage.js +540 -0
  130. package/lib/services/object_storage.js.map +1 -0
  131. package/lib/services/observability.d.ts +2750 -0
  132. package/lib/services/observability.d.ts.map +1 -0
  133. package/lib/services/observability.js +3158 -0
  134. package/lib/services/observability.js.map +1 -0
  135. package/lib/services/opensearch.d.ts +505 -0
  136. package/lib/services/opensearch.d.ts.map +1 -0
  137. package/lib/services/opensearch.js +563 -0
  138. package/lib/services/opensearch.js.map +1 -0
  139. package/lib/services/pim.d.ts +997 -0
  140. package/lib/services/pim.d.ts.map +1 -0
  141. package/lib/services/pim.js +736 -0
  142. package/lib/services/pim.js.map +1 -0
  143. package/lib/services/postgres_flex.d.ts +854 -0
  144. package/lib/services/postgres_flex.d.ts.map +1 -0
  145. package/lib/services/postgres_flex.js +853 -0
  146. package/lib/services/postgres_flex.js.map +1 -0
  147. package/lib/services/pubsub.d.ts +489 -0
  148. package/lib/services/pubsub.d.ts.map +1 -0
  149. package/lib/services/pubsub.js +519 -0
  150. package/lib/services/pubsub.js.map +1 -0
  151. package/lib/services/rabbitmq.d.ts +523 -0
  152. package/lib/services/rabbitmq.d.ts.map +1 -0
  153. package/lib/services/rabbitmq.js +574 -0
  154. package/lib/services/rabbitmq.js.map +1 -0
  155. package/lib/services/registry.d.ts +212 -0
  156. package/lib/services/registry.d.ts.map +1 -0
  157. package/lib/services/registry.js +198 -0
  158. package/lib/services/registry.js.map +1 -0
  159. package/lib/services/resource_manager.d.ts +458 -0
  160. package/lib/services/resource_manager.d.ts.map +1 -0
  161. package/lib/services/resource_manager.js +473 -0
  162. package/lib/services/resource_manager.js.map +1 -0
  163. package/lib/services/run_command.d.ts +175 -0
  164. package/lib/services/run_command.d.ts.map +1 -0
  165. package/lib/services/run_command.js +185 -0
  166. package/lib/services/run_command.js.map +1 -0
  167. package/lib/services/sca.d.ts +553 -0
  168. package/lib/services/sca.d.ts.map +1 -0
  169. package/lib/services/sca.js +445 -0
  170. package/lib/services/sca.js.map +1 -0
  171. package/lib/services/scf.d.ts +498 -0
  172. package/lib/services/scf.d.ts.map +1 -0
  173. package/lib/services/scf.js +670 -0
  174. package/lib/services/scf.js.map +1 -0
  175. package/lib/services/secrets_manager.d.ts +505 -0
  176. package/lib/services/secrets_manager.d.ts.map +1 -0
  177. package/lib/services/secrets_manager.js +613 -0
  178. package/lib/services/secrets_manager.js.map +1 -0
  179. package/lib/services/server_backup.d.ts +380 -0
  180. package/lib/services/server_backup.d.ts.map +1 -0
  181. package/lib/services/server_backup.js +454 -0
  182. package/lib/services/server_backup.js.map +1 -0
  183. package/lib/services/server_update.d.ts +292 -0
  184. package/lib/services/server_update.d.ts.map +1 -0
  185. package/lib/services/server_update.js +352 -0
  186. package/lib/services/server_update.js.map +1 -0
  187. package/lib/services/service_account.d.ts +465 -0
  188. package/lib/services/service_account.d.ts.map +1 -0
  189. package/lib/services/service_account.js +506 -0
  190. package/lib/services/service_account.js.map +1 -0
  191. package/lib/services/service_enablement.d.ts +149 -0
  192. package/lib/services/service_enablement.d.ts.map +1 -0
  193. package/lib/services/service_enablement.js +157 -0
  194. package/lib/services/service_enablement.js.map +1 -0
  195. package/lib/services/sfs.d.ts +721 -0
  196. package/lib/services/sfs.d.ts.map +1 -0
  197. package/lib/services/sfs.js +790 -0
  198. package/lib/services/sfs.js.map +1 -0
  199. package/lib/services/ske.d.ts +562 -0
  200. package/lib/services/ske.d.ts.map +1 -0
  201. package/lib/services/ske.js +558 -0
  202. package/lib/services/ske.js.map +1 -0
  203. package/lib/services/sqlserverflex.d.ts +956 -0
  204. package/lib/services/sqlserverflex.d.ts.map +1 -0
  205. package/lib/services/sqlserverflex.js +936 -0
  206. package/lib/services/sqlserverflex.js.map +1 -0
  207. package/lib/services/stackit_marketplace.d.ts +288 -0
  208. package/lib/services/stackit_marketplace.d.ts.map +1 -0
  209. package/lib/services/stackit_marketplace.js +379 -0
  210. package/lib/services/stackit_marketplace.js.map +1 -0
  211. package/lib/services/telemetry_link.d.ts +443 -0
  212. package/lib/services/telemetry_link.d.ts.map +1 -0
  213. package/lib/services/telemetry_link.js +532 -0
  214. package/lib/services/telemetry_link.js.map +1 -0
  215. package/lib/services/telemetry_router.d.ts +493 -0
  216. package/lib/services/telemetry_router.d.ts.map +1 -0
  217. package/lib/services/telemetry_router.js +484 -0
  218. package/lib/services/telemetry_router.js.map +1 -0
  219. package/lib/services/ufw.d.ts +295 -0
  220. package/lib/services/ufw.d.ts.map +1 -0
  221. package/lib/services/ufw.js +279 -0
  222. package/lib/services/ufw.js.map +1 -0
  223. package/lib/services/valkey.d.ts +505 -0
  224. package/lib/services/valkey.d.ts.map +1 -0
  225. package/lib/services/valkey.js +567 -0
  226. package/lib/services/valkey.js.map +1 -0
  227. package/lib/services/vpn.d.ts +1024 -0
  228. package/lib/services/vpn.d.ts.map +1 -0
  229. package/lib/services/vpn.js +931 -0
  230. package/lib/services/vpn.js.map +1 -0
  231. package/lib/services/workflows.d.ts +600 -0
  232. package/lib/services/workflows.d.ts.map +1 -0
  233. package/lib/services/workflows.js +508 -0
  234. package/lib/services/workflows.js.map +1 -0
  235. package/lib/traits.d.ts +24 -0
  236. package/lib/traits.d.ts.map +1 -0
  237. package/lib/traits.js +15 -0
  238. package/lib/traits.js.map +1 -0
  239. package/package.json +85 -3
  240. package/src/credentials.ts +84 -0
  241. package/src/errors.ts +50 -0
  242. package/src/index.ts +34 -0
  243. package/src/pagination.ts +57 -0
  244. package/src/protocol.test.ts +304 -0
  245. package/src/protocol.ts +225 -0
  246. package/src/retry.ts +47 -0
  247. package/src/services/alb.ts +1326 -0
  248. package/src/services/alb_waf.ts +1288 -0
  249. package/src/services/authorization.ts +704 -0
  250. package/src/services/automation.ts +796 -0
  251. package/src/services/cdn.ts +2576 -0
  252. package/src/services/certificates.ts +418 -0
  253. package/src/services/cost.ts +449 -0
  254. package/src/services/dns.ts +1936 -0
  255. package/src/services/dremio.ts +753 -0
  256. package/src/services/edge.ts +780 -0
  257. package/src/services/functions.ts +957 -0
  258. package/src/services/git.ts +1194 -0
  259. package/src/services/iaas.ts +7878 -0
  260. package/src/services/index.ts +51 -0
  261. package/src/services/intake.ts +1166 -0
  262. package/src/services/kms.ts +1537 -0
  263. package/src/services/lb_ip_lists.ts +342 -0
  264. package/src/services/load_balancer.ts +1266 -0
  265. package/src/services/logme.ts +1284 -0
  266. package/src/services/logs.ts +1049 -0
  267. package/src/services/mariadb.ts +1212 -0
  268. package/src/services/model_experiments.ts +741 -0
  269. package/src/services/model_serving.ts +654 -0
  270. package/src/services/mongodb_flex.ts +1932 -0
  271. package/src/services/object_storage.ts +1195 -0
  272. package/src/services/observability.ts +7364 -0
  273. package/src/services/opensearch.ts +1265 -0
  274. package/src/services/pim.ts +1985 -0
  275. package/src/services/postgres_flex.ts +2080 -0
  276. package/src/services/pubsub.ts +1193 -0
  277. package/src/services/rabbitmq.ts +1310 -0
  278. package/src/services/registry.ts +446 -0
  279. package/src/services/resource_manager.ts +1072 -0
  280. package/src/services/run_command.ts +413 -0
  281. package/src/services/sca.ts +1187 -0
  282. package/src/services/scf.ts +1396 -0
  283. package/src/services/secrets_manager.ts +1317 -0
  284. package/src/services/server_backup.ts +983 -0
  285. package/src/services/server_update.ts +738 -0
  286. package/src/services/service_account.ts +1121 -0
  287. package/src/services/service_enablement.ts +330 -0
  288. package/src/services/sfs.ts +1831 -0
  289. package/src/services/ske.ts +1386 -0
  290. package/src/services/sqlserverflex.ts +2307 -0
  291. package/src/services/stackit_marketplace.ts +787 -0
  292. package/src/services/telemetry_link.ts +1166 -0
  293. package/src/services/telemetry_router.ts +1110 -0
  294. package/src/services/ufw.ts +654 -0
  295. package/src/services/valkey.ts +1266 -0
  296. package/src/services/vpn.ts +2365 -0
  297. package/src/services/workflows.ts +1249 -0
  298. package/src/traits.ts +60 -0
@@ -0,0 +1,3543 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as C from "@distilled.cloud/core/category";
3
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
4
+ import * as S from "@distilled.cloud/core/schema";
5
+ import { UnknownStackitError } from "../errors.js";
6
+ import { StackitProtocol } from "../protocol.js";
7
+ import * as Retry from "../retry.js";
8
+ import * as T from "../traits.js";
9
+ export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
10
+ /*@__PURE__*/ S.TaggedError()("BadRequest", {
11
+ code: S.Number,
12
+ message: S.String,
13
+ }).pipe(C.withBadRequestError), [{ status: 400 }]) {
14
+ }
15
+ export class Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
16
+ /*@__PURE__*/ S.TaggedError()("Conflict", {
17
+ code: S.Number,
18
+ message: S.String,
19
+ }).pipe(C.withConflictError), [{ status: 409 }]) {
20
+ }
21
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
22
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
23
+ code: S.Number,
24
+ message: S.String,
25
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
26
+ }
27
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
28
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
29
+ code: S.Number,
30
+ message: S.String,
31
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
32
+ }
33
+ export const AddNetworkToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
34
+ projectId: S.String.pipe(T.Label()),
35
+ region: S.String.pipe(T.Label()),
36
+ serverId: S.String.pipe(T.Label()),
37
+ networkId: S.String.pipe(T.Label()),
38
+ }).pipe(T.Http({
39
+ method: "POST",
40
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/networks/{networkId}",
41
+ code: 200,
42
+ baseUrl: "https://iaas.api.stackit.cloud",
43
+ }))).annotate({
44
+ identifier: "AddNetworkToServerRequest",
45
+ });
46
+ export const AddNetworkToServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
47
+ identifier: "AddNetworkToServerResponse",
48
+ });
49
+ export const AddNicToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
50
+ projectId: S.String.pipe(T.Label()),
51
+ region: S.String.pipe(T.Label()),
52
+ serverId: S.String.pipe(T.Label()),
53
+ nicId: S.String.pipe(T.Label()),
54
+ }).pipe(T.Http({
55
+ method: "PUT",
56
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/nics/{nicId}",
57
+ code: 200,
58
+ baseUrl: "https://iaas.api.stackit.cloud",
59
+ }))).annotate({ identifier: "AddNicToServerRequest" });
60
+ export const AddNicToServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
61
+ identifier: "AddNicToServerResponse",
62
+ });
63
+ export const AddPublicIpToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
64
+ projectId: S.String.pipe(T.Label()),
65
+ region: S.String.pipe(T.Label()),
66
+ serverId: S.String.pipe(T.Label()),
67
+ publicIpId: S.String.pipe(T.Label()),
68
+ }).pipe(T.Http({
69
+ method: "PUT",
70
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/public-ips/{publicIpId}",
71
+ code: 200,
72
+ baseUrl: "https://iaas.api.stackit.cloud",
73
+ }))).annotate({
74
+ identifier: "AddPublicIpToServerRequest",
75
+ });
76
+ export const AddPublicIpToServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
77
+ identifier: "AddPublicIpToServerResponse",
78
+ });
79
+ export const DestinationCIDRv4Type = S.String;
80
+ export const DestinationCIDRv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
81
+ type: DestinationCIDRv4Type,
82
+ value: S.String,
83
+ })).annotate({ identifier: "DestinationCIDRv4" });
84
+ export const DestinationCIDRv6Type = S.String;
85
+ export const DestinationCIDRv6 = /*@__PURE__*/ S.suspend(() => S.Struct({
86
+ type: DestinationCIDRv6Type,
87
+ value: S.String,
88
+ })).annotate({ identifier: "DestinationCIDRv6" });
89
+ export const RouteInputDestination =
90
+ /*@__PURE__*/ S.Unknown;
91
+ export const NexthopIPv4Type = S.String;
92
+ export const NexthopIPv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
93
+ type: NexthopIPv4Type,
94
+ value: S.String,
95
+ })).annotate({ identifier: "NexthopIPv4" });
96
+ export const NexthopIPv6Type = S.String;
97
+ export const NexthopIPv6 = /*@__PURE__*/ S.suspend(() => S.Struct({
98
+ type: NexthopIPv6Type,
99
+ value: S.String,
100
+ })).annotate({ identifier: "NexthopIPv6" });
101
+ export const NexthopInternetType = S.String;
102
+ export const NexthopInternet = /*@__PURE__*/ S.suspend(() => S.Struct({
103
+ type: NexthopInternetType,
104
+ })).annotate({ identifier: "NexthopInternet" });
105
+ export const NexthopBlackholeType = S.String;
106
+ export const NexthopBlackhole = /*@__PURE__*/ S.suspend(() => S.Struct({
107
+ type: NexthopBlackholeType,
108
+ })).annotate({ identifier: "NexthopBlackhole" });
109
+ export const RouteInputNexthop = /*@__PURE__*/ S.Unknown;
110
+ export const RouteInput = /*@__PURE__*/ S.suspend(() => S.Struct({
111
+ destination: RouteInputDestination,
112
+ labels: S.optional(S.Unknown),
113
+ nexthop: RouteInputNexthop,
114
+ })).annotate({ identifier: "RouteInput" });
115
+ export const RouteListInput = /*@__PURE__*/ S.Array(RouteInput);
116
+ export const AddRoutesToRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
117
+ organizationId: S.String.pipe(T.Label()),
118
+ areaId: S.String.pipe(T.Label()),
119
+ region: S.String.pipe(T.Label()),
120
+ routingTableId: S.String.pipe(T.Label()),
121
+ items: RouteListInput,
122
+ }).pipe(T.Http({
123
+ method: "POST",
124
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes",
125
+ code: 200,
126
+ baseUrl: "https://iaas.api.stackit.cloud",
127
+ }))).annotate({
128
+ identifier: "AddRoutesToRoutingTableRequest",
129
+ });
130
+ export const RouteDestination = /*@__PURE__*/ S.Unknown;
131
+ export const RouteNexthop = /*@__PURE__*/ S.Unknown;
132
+ export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
133
+ createdAt: S.optional(S.String),
134
+ destination: RouteDestination,
135
+ id: S.optional(S.String),
136
+ labels: S.optional(S.Unknown),
137
+ nexthop: RouteNexthop,
138
+ updatedAt: S.optional(S.String),
139
+ })).annotate({ identifier: "Route" });
140
+ export const RouteList = /*@__PURE__*/ S.Array(Route);
141
+ export const RouteListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
142
+ items: RouteList,
143
+ })).annotate({ identifier: "RouteListResponse" });
144
+ export const AddRoutingTableToAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
145
+ organizationId: S.String.pipe(T.Label()),
146
+ areaId: S.String.pipe(T.Label()),
147
+ region: S.String.pipe(T.Label()),
148
+ description: S.optional(S.String),
149
+ dynamicRoutes: S.optional(S.Boolean),
150
+ labels: S.optional(S.Unknown),
151
+ name: S.String,
152
+ systemRoutes: S.optional(S.Boolean),
153
+ }).pipe(T.Http({
154
+ method: "POST",
155
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables",
156
+ code: 200,
157
+ baseUrl: "https://iaas.api.stackit.cloud",
158
+ }))).annotate({
159
+ identifier: "AddRoutingTableToAreaRequest",
160
+ });
161
+ export const RoutingTable = /*@__PURE__*/ S.suspend(() => S.Struct({
162
+ createdAt: S.optional(S.String),
163
+ default: S.optional(S.Boolean),
164
+ description: S.optional(S.String),
165
+ dynamicRoutes: S.optional(S.Boolean),
166
+ id: S.optional(S.String),
167
+ labels: S.optional(S.Unknown),
168
+ name: S.String,
169
+ systemRoutes: S.optional(S.Boolean),
170
+ updatedAt: S.optional(S.String),
171
+ })).annotate({ identifier: "RoutingTable" });
172
+ export const AddSecurityGroupToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
173
+ projectId: S.String.pipe(T.Label()),
174
+ region: S.String.pipe(T.Label()),
175
+ serverId: S.String.pipe(T.Label()),
176
+ securityGroupId: S.String.pipe(T.Label()),
177
+ }).pipe(T.Http({
178
+ method: "PUT",
179
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/security-groups/{securityGroupId}",
180
+ code: 200,
181
+ baseUrl: "https://iaas.api.stackit.cloud",
182
+ }))).annotate({
183
+ identifier: "AddSecurityGroupToServerRequest",
184
+ });
185
+ export const AddSecurityGroupToServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
186
+ identifier: "AddSecurityGroupToServerResponse",
187
+ });
188
+ export const AddServiceAccountToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
189
+ projectId: S.String.pipe(T.Label()),
190
+ region: S.String.pipe(T.Label()),
191
+ serverId: S.String.pipe(T.Label()),
192
+ serviceAccountMail: S.String.pipe(T.Label()),
193
+ }).pipe(T.Http({
194
+ method: "PUT",
195
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/service-accounts/{serviceAccountMail}",
196
+ code: 200,
197
+ baseUrl: "https://iaas.api.stackit.cloud",
198
+ }))).annotate({
199
+ identifier: "AddServiceAccountToServerRequest",
200
+ });
201
+ export const ServiceAccountMailList = /*@__PURE__*/ S.Array(S.String);
202
+ export const ServiceAccountMailListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
203
+ items: ServiceAccountMailList,
204
+ })).annotate({
205
+ identifier: "ServiceAccountMailListResponse",
206
+ });
207
+ export const AddVolumeToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
208
+ projectId: S.String.pipe(T.Label()),
209
+ region: S.String.pipe(T.Label()),
210
+ serverId: S.String.pipe(T.Label()),
211
+ volumeId: S.String.pipe(T.Label()),
212
+ deleteOnTermination: S.optional(S.Boolean),
213
+ }).pipe(T.Http({
214
+ method: "PUT",
215
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/volume-attachments/{volumeId}",
216
+ code: 200,
217
+ baseUrl: "https://iaas.api.stackit.cloud",
218
+ }))).annotate({ identifier: "AddVolumeToServerRequest" });
219
+ export const VolumeAttachment = /*@__PURE__*/ S.suspend(() => S.Struct({
220
+ deleteOnTermination: S.optional(S.Boolean),
221
+ serverId: S.optional(S.String),
222
+ volumeId: S.optional(S.String),
223
+ })).annotate({ identifier: "VolumeAttachment" });
224
+ export const CreateAffinityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
225
+ projectId: S.String.pipe(T.Label()),
226
+ region: S.String.pipe(T.Label()),
227
+ name: S.String,
228
+ policy: S.String,
229
+ }).pipe(T.Http({
230
+ method: "POST",
231
+ uri: "/v2/projects/{projectId}/regions/{region}/affinity-groups",
232
+ code: 200,
233
+ baseUrl: "https://iaas.api.stackit.cloud",
234
+ }))).annotate({
235
+ identifier: "CreateAffinityGroupRequest",
236
+ });
237
+ export const AffinityGroupMembersList = /*@__PURE__*/ S.Array(S.String);
238
+ export const AffinityGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
239
+ id: S.optional(S.String),
240
+ members: S.optional(AffinityGroupMembersList),
241
+ name: S.String,
242
+ policy: S.String,
243
+ })).annotate({ identifier: "AffinityGroup" });
244
+ export const BackupSource = /*@__PURE__*/ S.suspend(() => S.Struct({
245
+ id: S.String,
246
+ type: S.String,
247
+ })).annotate({ identifier: "BackupSource" });
248
+ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
249
+ projectId: S.String.pipe(T.Label()),
250
+ region: S.String.pipe(T.Label()),
251
+ description: S.optional(S.String),
252
+ labels: S.optional(S.Unknown),
253
+ name: S.optional(S.String),
254
+ source: BackupSource,
255
+ }).pipe(T.Http({
256
+ method: "POST",
257
+ uri: "/v2/projects/{projectId}/regions/{region}/backups",
258
+ code: 200,
259
+ baseUrl: "https://iaas.api.stackit.cloud",
260
+ }))).annotate({ identifier: "CreateBackupRequest" });
261
+ export const Backup = /*@__PURE__*/ S.suspend(() => S.Struct({
262
+ availabilityZone: S.optional(S.String),
263
+ createdAt: S.optional(S.String),
264
+ description: S.optional(S.String),
265
+ encrypted: S.optional(S.Boolean),
266
+ id: S.optional(S.String),
267
+ labels: S.optional(S.Unknown),
268
+ name: S.optional(S.String),
269
+ size: S.optional(S.Number),
270
+ snapshotId: S.optional(S.String),
271
+ status: S.optional(S.String),
272
+ updatedAt: S.optional(S.String),
273
+ volumeId: S.optional(S.String),
274
+ })).annotate({ identifier: "Backup" });
275
+ export const ImageAgent = /*@__PURE__*/ S.suspend(() => S.Struct({
276
+ provisionByDefault: S.optional(S.Boolean),
277
+ supported: S.optional(S.Boolean),
278
+ })).annotate({ identifier: "ImageAgent" });
279
+ export const ImageConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
280
+ architecture: S.optional(S.String),
281
+ bootMenu: S.optional(S.Boolean),
282
+ cdromBus: S.optional(S.NullOr(S.String)),
283
+ diskBus: S.optional(S.NullOr(S.String)),
284
+ nicModel: S.optional(S.NullOr(S.String)),
285
+ operatingSystem: S.optional(S.String),
286
+ operatingSystemDistro: S.optional(S.NullOr(S.String)),
287
+ operatingSystemVersion: S.optional(S.NullOr(S.String)),
288
+ rescueBus: S.optional(S.NullOr(S.String)),
289
+ rescueDevice: S.optional(S.NullOr(S.String)),
290
+ secureBoot: S.optional(S.Boolean),
291
+ uefi: S.optional(S.Boolean),
292
+ videoModel: S.optional(S.NullOr(S.String)),
293
+ virtioScsi: S.optional(S.Boolean),
294
+ })).annotate({ identifier: "ImageConfig" });
295
+ export const CreateImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
296
+ projectId: S.String.pipe(T.Label()),
297
+ region: S.String.pipe(T.Label()),
298
+ agent: S.optional(ImageAgent),
299
+ config: S.optional(ImageConfig),
300
+ diskFormat: S.String,
301
+ labels: S.optional(S.Unknown),
302
+ minDiskSize: S.optional(S.Number),
303
+ minRam: S.optional(S.Number),
304
+ name: S.String,
305
+ protected: S.optional(S.Boolean),
306
+ }).pipe(T.Http({
307
+ method: "POST",
308
+ uri: "/v2/projects/{projectId}/regions/{region}/images",
309
+ code: 200,
310
+ baseUrl: "https://iaas.api.stackit.cloud",
311
+ }))).annotate({ identifier: "CreateImageRequest" });
312
+ export const ImageCreateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
313
+ id: S.String,
314
+ uploadUrl: S.String,
315
+ })).annotate({ identifier: "ImageCreateResponse" });
316
+ export const NameserversIPv4 = /*@__PURE__*/ S.Array(S.String);
317
+ export const CreateNetworkIPv4WithPrefix = /*@__PURE__*/ S.suspend(() => S.Struct({
318
+ gateway: S.optional(S.NullOr(S.String)),
319
+ nameservers: S.optional(NameserversIPv4),
320
+ prefix: S.String,
321
+ vpcNetworkRangeId: S.optional(S.String),
322
+ })).annotate({
323
+ identifier: "CreateNetworkIPv4WithPrefix",
324
+ });
325
+ export const CreateNetworkIPv4WithPrefixLength = /*@__PURE__*/ S.suspend(() => S.Struct({
326
+ nameservers: S.optional(NameserversIPv4),
327
+ prefixLength: S.Number,
328
+ vpcNetworkRangeId: S.optional(S.String),
329
+ })).annotate({
330
+ identifier: "CreateNetworkIPv4WithPrefixLength",
331
+ });
332
+ export const CreateNetworkIPv4 = /*@__PURE__*/ S.Unknown;
333
+ export const CreateIsolatedNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
334
+ projectId: S.String.pipe(T.Label()),
335
+ region: S.String.pipe(T.Label()),
336
+ dhcp: S.optional(S.Boolean),
337
+ ipv4: S.optional(CreateNetworkIPv4),
338
+ labels: S.optional(S.Unknown),
339
+ name: S.String,
340
+ }).pipe(T.Http({
341
+ method: "POST",
342
+ uri: "/v2/projects/{projectId}/regions/{region}/isolated-network",
343
+ code: 200,
344
+ baseUrl: "https://iaas.api.stackit.cloud",
345
+ }))).annotate({
346
+ identifier: "CreateIsolatedNetworkRequest",
347
+ });
348
+ export const NetworkIPv4PrefixesList = /*@__PURE__*/ S.Array(S.String);
349
+ export const NetworkIPv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
350
+ gateway: S.optional(S.NullOr(S.String)),
351
+ nameservers: S.optional(NameserversIPv4),
352
+ prefixes: NetworkIPv4PrefixesList,
353
+ publicIp: S.optional(S.String),
354
+ vpcNetworkRangeId: S.optional(S.String),
355
+ })).annotate({ identifier: "NetworkIPv4" });
356
+ export const NameserversIPv6 = /*@__PURE__*/ S.Array(S.String);
357
+ export const NetworkIPv6PrefixesList = /*@__PURE__*/ S.Array(S.String);
358
+ export const NetworkIPv6 = /*@__PURE__*/ S.suspend(() => S.Struct({
359
+ gateway: S.optional(S.NullOr(S.String)),
360
+ nameservers: S.optional(NameserversIPv6),
361
+ prefixes: NetworkIPv6PrefixesList,
362
+ vpcNetworkRangeId: S.optional(S.String),
363
+ })).annotate({ identifier: "NetworkIPv6" });
364
+ export const Network = /*@__PURE__*/ S.suspend(() => S.Struct({
365
+ createdAt: S.optional(S.String),
366
+ description: S.optional(S.String),
367
+ dhcp: S.optional(S.Boolean),
368
+ id: S.String,
369
+ ipv4: S.optional(NetworkIPv4),
370
+ ipv6: S.optional(NetworkIPv6),
371
+ labels: S.optional(S.Unknown),
372
+ name: S.String,
373
+ routed: S.optional(S.Boolean),
374
+ routingTableId: S.optional(S.String),
375
+ status: S.String,
376
+ updatedAt: S.optional(S.String),
377
+ vpcId: S.optional(S.String),
378
+ })).annotate({ identifier: "Network" });
379
+ export const CreateKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
380
+ labels: S.optional(S.Unknown),
381
+ name: S.optional(S.String),
382
+ publicKey: S.String,
383
+ }).pipe(T.Http({
384
+ method: "POST",
385
+ uri: "/v2/keypairs",
386
+ code: 200,
387
+ baseUrl: "https://iaas.api.stackit.cloud",
388
+ }))).annotate({ identifier: "CreateKeyPairRequest" });
389
+ export const Keypair = /*@__PURE__*/ S.suspend(() => S.Struct({
390
+ createdAt: S.optional(S.String),
391
+ fingerprint: S.optional(S.String),
392
+ labels: S.optional(S.Unknown),
393
+ name: S.optional(S.String),
394
+ publicKey: S.String,
395
+ updatedAt: S.optional(S.String),
396
+ })).annotate({ identifier: "Keypair" });
397
+ export const CreateNetworkIPv6WithPrefix = /*@__PURE__*/ S.suspend(() => S.Struct({
398
+ gateway: S.optional(S.NullOr(S.String)),
399
+ nameservers: S.optional(NameserversIPv6),
400
+ prefix: S.String,
401
+ vpcNetworkRangeId: S.optional(S.String),
402
+ })).annotate({
403
+ identifier: "CreateNetworkIPv6WithPrefix",
404
+ });
405
+ export const CreateNetworkIPv6WithPrefixLength = /*@__PURE__*/ S.suspend(() => S.Struct({
406
+ nameservers: S.optional(NameserversIPv6),
407
+ prefixLength: S.Number,
408
+ vpcNetworkRangeId: S.optional(S.String),
409
+ })).annotate({
410
+ identifier: "CreateNetworkIPv6WithPrefixLength",
411
+ });
412
+ export const CreateNetworkIPv6 = /*@__PURE__*/ S.Unknown;
413
+ export const CreateNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
414
+ projectId: S.String.pipe(T.Label()),
415
+ region: S.String.pipe(T.Label()),
416
+ description: S.optional(S.String),
417
+ dhcp: S.optional(S.Boolean),
418
+ ipv4: S.optional(CreateNetworkIPv4),
419
+ ipv6: S.optional(CreateNetworkIPv6),
420
+ labels: S.optional(S.Unknown),
421
+ name: S.String,
422
+ routed: S.optional(S.Boolean),
423
+ routingTableId: S.optional(S.String),
424
+ vpcId: S.optional(S.String),
425
+ }).pipe(T.Http({
426
+ method: "POST",
427
+ uri: "/v2/projects/{projectId}/regions/{region}/networks",
428
+ code: 200,
429
+ baseUrl: "https://iaas.api.stackit.cloud",
430
+ }))).annotate({ identifier: "CreateNetworkRequest" });
431
+ export const CreateNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
432
+ organizationId: S.String.pipe(T.Label()),
433
+ labels: S.optional(S.Unknown),
434
+ name: S.String,
435
+ }).pipe(T.Http({
436
+ method: "POST",
437
+ uri: "/v2/organizations/{organizationId}/network-areas",
438
+ code: 200,
439
+ baseUrl: "https://iaas.api.stackit.cloud",
440
+ }))).annotate({ identifier: "CreateNetworkAreaRequest" });
441
+ export const NetworkArea = /*@__PURE__*/ S.suspend(() => S.Struct({
442
+ createdAt: S.optional(S.String),
443
+ id: S.optional(S.String),
444
+ labels: S.optional(S.Unknown),
445
+ name: S.String,
446
+ projectCount: S.optional(S.Number),
447
+ updatedAt: S.optional(S.String),
448
+ })).annotate({ identifier: "NetworkArea" });
449
+ export const NetworkRangeInput = /*@__PURE__*/ S.suspend(() => S.Struct({
450
+ prefix: S.String,
451
+ })).annotate({ identifier: "NetworkRangeInput" });
452
+ export const NetworkRangeListInput = /*@__PURE__*/ S.Array(NetworkRangeInput);
453
+ export const CreateNetworkAreaRangeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
454
+ organizationId: S.String.pipe(T.Label()),
455
+ areaId: S.String.pipe(T.Label()),
456
+ region: S.String.pipe(T.Label()),
457
+ ipv4: S.optional(NetworkRangeListInput),
458
+ }).pipe(T.Http({
459
+ method: "POST",
460
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/network-ranges",
461
+ code: 200,
462
+ baseUrl: "https://iaas.api.stackit.cloud",
463
+ }))).annotate({
464
+ identifier: "CreateNetworkAreaRangeRequest",
465
+ });
466
+ export const NetworkRange = /*@__PURE__*/ S.suspend(() => S.Struct({
467
+ createdAt: S.optional(S.String),
468
+ id: S.optional(S.String),
469
+ prefix: S.String,
470
+ updatedAt: S.optional(S.String),
471
+ })).annotate({ identifier: "NetworkRange" });
472
+ export const NetworkRangeList = /*@__PURE__*/ S.Array(NetworkRange);
473
+ export const NetworkRangeListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
474
+ items: NetworkRangeList,
475
+ })).annotate({ identifier: "NetworkRangeListResponse" });
476
+ export const RegionalAreaIPv4InputDefaultNameserversList = /*@__PURE__*/ S.Array(S.String);
477
+ export const RegionalAreaIPv4Input = /*@__PURE__*/ S.suspend(() => S.Struct({
478
+ defaultNameservers: S.optional(RegionalAreaIPv4InputDefaultNameserversList),
479
+ defaultPrefixLen: S.Number,
480
+ maxPrefixLen: S.Number,
481
+ minPrefixLen: S.Number,
482
+ networkRanges: NetworkRangeListInput,
483
+ transferNetwork: S.String,
484
+ })).annotate({ identifier: "RegionalAreaIPv4Input" });
485
+ export const CreateNetworkAreaRegionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
486
+ organizationId: S.String.pipe(T.Label()),
487
+ areaId: S.String.pipe(T.Label()),
488
+ region: S.String.pipe(T.Label()),
489
+ ipv4: S.optional(RegionalAreaIPv4Input),
490
+ }).pipe(T.Http({
491
+ method: "PUT",
492
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}",
493
+ code: 200,
494
+ baseUrl: "https://iaas.api.stackit.cloud",
495
+ }))).annotate({
496
+ identifier: "CreateNetworkAreaRegionRequest",
497
+ });
498
+ export const RegionalAreaIPv4DefaultNameserversList = /*@__PURE__*/ S.Array(S.String);
499
+ export const RegionalAreaIPv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
500
+ defaultNameservers: S.optional(RegionalAreaIPv4DefaultNameserversList),
501
+ defaultPrefixLen: S.Number,
502
+ maxPrefixLen: S.Number,
503
+ minPrefixLen: S.Number,
504
+ networkRanges: NetworkRangeList,
505
+ transferNetwork: S.String,
506
+ })).annotate({ identifier: "RegionalAreaIPv4" });
507
+ export const RegionalArea = /*@__PURE__*/ S.suspend(() => S.Struct({
508
+ ipv4: S.optional(RegionalAreaIPv4),
509
+ status: S.optional(S.String),
510
+ })).annotate({ identifier: "RegionalArea" });
511
+ export const CreateNetworkAreaRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
512
+ organizationId: S.String.pipe(T.Label()),
513
+ areaId: S.String.pipe(T.Label()),
514
+ region: S.String.pipe(T.Label()),
515
+ items: RouteListInput,
516
+ }).pipe(T.Http({
517
+ method: "POST",
518
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routes",
519
+ code: 200,
520
+ baseUrl: "https://iaas.api.stackit.cloud",
521
+ }))).annotate({
522
+ identifier: "CreateNetworkAreaRouteRequest",
523
+ });
524
+ export const AllowedAddresses = /*@__PURE__*/ S.Array(S.String);
525
+ export const UUIDList = /*@__PURE__*/ S.Array(S.String);
526
+ export const CreateNicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
527
+ projectId: S.String.pipe(T.Label()),
528
+ region: S.String.pipe(T.Label()),
529
+ networkId: S.String.pipe(T.Label()),
530
+ allowedAddresses: S.optional(AllowedAddresses),
531
+ description: S.optional(S.String),
532
+ ipv4: S.optional(S.String),
533
+ ipv6: S.optional(S.String),
534
+ labels: S.optional(S.Unknown),
535
+ name: S.optional(S.String),
536
+ nicSecurity: S.optional(S.Boolean),
537
+ securityGroups: S.optional(UUIDList),
538
+ }).pipe(T.Http({
539
+ method: "POST",
540
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics",
541
+ code: 200,
542
+ baseUrl: "https://iaas.api.stackit.cloud",
543
+ }))).annotate({ identifier: "CreateNicRequest" });
544
+ export const NIC = /*@__PURE__*/ S.suspend(() => S.Struct({
545
+ allowedAddresses: S.optional(AllowedAddresses),
546
+ description: S.optional(S.String),
547
+ device: S.optional(S.String),
548
+ id: S.optional(S.String),
549
+ ipv4: S.optional(S.String),
550
+ ipv6: S.optional(S.String),
551
+ labels: S.optional(S.Unknown),
552
+ mac: S.optional(S.String),
553
+ name: S.optional(S.String),
554
+ networkId: S.optional(S.String),
555
+ nicSecurity: S.optional(S.Boolean),
556
+ securityGroups: S.optional(UUIDList),
557
+ status: S.optional(S.String),
558
+ type: S.optional(S.String),
559
+ })).annotate({ identifier: "NIC" });
560
+ export const CreatePublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
561
+ projectId: S.String.pipe(T.Label()),
562
+ region: S.String.pipe(T.Label()),
563
+ labels: S.optional(S.Unknown),
564
+ networkInterface: S.optional(S.NullOr(S.String)),
565
+ }).pipe(T.Http({
566
+ method: "POST",
567
+ uri: "/v2/projects/{projectId}/regions/{region}/public-ips",
568
+ code: 200,
569
+ baseUrl: "https://iaas.api.stackit.cloud",
570
+ }))).annotate({ identifier: "CreatePublicIPRequest" });
571
+ export const PublicIp = /*@__PURE__*/ S.suspend(() => S.Struct({
572
+ id: S.optional(S.String),
573
+ ip: S.optional(S.String),
574
+ labels: S.optional(S.Unknown),
575
+ networkInterface: S.optional(S.NullOr(S.String)),
576
+ })).annotate({ identifier: "PublicIp" });
577
+ export const CreateSecurityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
578
+ projectId: S.String.pipe(T.Label()),
579
+ region: S.String.pipe(T.Label()),
580
+ description: S.optional(S.String),
581
+ labels: S.optional(S.Unknown),
582
+ name: S.String,
583
+ stateful: S.optional(S.Boolean),
584
+ }).pipe(T.Http({
585
+ method: "POST",
586
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups",
587
+ code: 200,
588
+ baseUrl: "https://iaas.api.stackit.cloud",
589
+ }))).annotate({
590
+ identifier: "CreateSecurityGroupRequest",
591
+ });
592
+ export const ICMPParameters = /*@__PURE__*/ S.suspend(() => S.Struct({
593
+ code: S.Number,
594
+ type: S.Number,
595
+ })).annotate({ identifier: "ICMPParameters" });
596
+ export const PortRange = /*@__PURE__*/ S.suspend(() => S.Struct({
597
+ max: S.Number,
598
+ min: S.Number,
599
+ })).annotate({ identifier: "PortRange" });
600
+ export const Protocol = /*@__PURE__*/ S.suspend(() => S.Struct({
601
+ name: S.optional(S.String),
602
+ number: S.optional(S.Number),
603
+ })).annotate({ identifier: "Protocol" });
604
+ export const SecurityGroupRule = /*@__PURE__*/ S.suspend(() => S.Struct({
605
+ createdAt: S.optional(S.String),
606
+ description: S.optional(S.String),
607
+ direction: S.String,
608
+ ethertype: S.optional(S.String),
609
+ icmpParameters: S.optional(ICMPParameters),
610
+ id: S.optional(S.String),
611
+ ipRange: S.optional(S.String),
612
+ portRange: S.optional(PortRange),
613
+ remoteSecurityGroupId: S.optional(S.String),
614
+ securityGroupId: S.optional(S.String),
615
+ updatedAt: S.optional(S.String),
616
+ protocol: S.optional(Protocol),
617
+ })).annotate({ identifier: "SecurityGroupRule" });
618
+ export const SecurityGroupRuleList = /*@__PURE__*/ S.Array(SecurityGroupRule);
619
+ export const SecurityGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
620
+ createdAt: S.optional(S.String),
621
+ description: S.optional(S.String),
622
+ id: S.optional(S.String),
623
+ labels: S.optional(S.Unknown),
624
+ name: S.String,
625
+ rules: S.optional(SecurityGroupRuleList),
626
+ stateful: S.optional(S.Boolean),
627
+ updatedAt: S.optional(S.String),
628
+ })).annotate({ identifier: "SecurityGroup" });
629
+ export const CreateProtocol = /*@__PURE__*/ S.Unknown;
630
+ export const CreateSecurityGroupRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
631
+ projectId: S.String.pipe(T.Label()),
632
+ region: S.String.pipe(T.Label()),
633
+ securityGroupId: S.String.pipe(T.Label()),
634
+ description: S.optional(S.String),
635
+ direction: S.String,
636
+ ethertype: S.optional(S.String),
637
+ icmpParameters: S.optional(ICMPParameters),
638
+ ipRange: S.optional(S.String),
639
+ portRange: S.optional(PortRange),
640
+ remoteSecurityGroupId: S.optional(S.String),
641
+ protocol: S.optional(CreateProtocol),
642
+ }).pipe(T.Http({
643
+ method: "POST",
644
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}/rules",
645
+ code: 200,
646
+ baseUrl: "https://iaas.api.stackit.cloud",
647
+ }))).annotate({
648
+ identifier: "CreateSecurityGroupRuleRequest",
649
+ });
650
+ export const CreateSecurityGroupRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
651
+ createdAt: S.optional(S.String),
652
+ description: S.optional(S.String),
653
+ direction: S.String,
654
+ ethertype: S.optional(S.String),
655
+ icmpParameters: S.optional(ICMPParameters),
656
+ id: S.optional(S.String),
657
+ ipRange: S.optional(S.String),
658
+ portRange: S.optional(PortRange),
659
+ remoteSecurityGroupId: S.optional(S.String),
660
+ securityGroupId: S.optional(S.String),
661
+ updatedAt: S.optional(S.String),
662
+ protocol: S.optional(Protocol),
663
+ })).annotate({
664
+ identifier: "CreateSecurityGroupRuleResponse",
665
+ });
666
+ export const ServerAgent = /*@__PURE__*/ S.suspend(() => S.Struct({
667
+ provisioned: S.optional(S.Boolean),
668
+ })).annotate({ identifier: "ServerAgent" });
669
+ export const BootVolumeSource = BackupSource;
670
+ export const BootVolumeInput = /*@__PURE__*/ S.suspend(() => S.Struct({
671
+ deleteOnTermination: S.optional(S.Boolean),
672
+ performanceClass: S.optional(S.String),
673
+ size: S.optional(S.Number),
674
+ source: S.optional(BackupSource),
675
+ })).annotate({ identifier: "BootVolumeInput" });
676
+ export const CreateServerNetworking = /*@__PURE__*/ S.suspend(() => S.Struct({
677
+ networkId: S.optional(S.String),
678
+ })).annotate({ identifier: "CreateServerNetworking" });
679
+ export const CreateServerNetworkingWithNics = /*@__PURE__*/ S.suspend(() => S.Struct({
680
+ nicIds: S.optional(UUIDList),
681
+ })).annotate({
682
+ identifier: "CreateServerNetworkingWithNics",
683
+ });
684
+ export const CreateServerRequestNetworking =
685
+ /*@__PURE__*/ S.Unknown;
686
+ export const GenericNameList = /*@__PURE__*/ S.Array(S.String);
687
+ export const CreateServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
688
+ projectId: S.String.pipe(T.Label()),
689
+ region: S.String.pipe(T.Label()),
690
+ affinityGroup: S.optional(S.String),
691
+ agent: S.optional(ServerAgent),
692
+ availabilityZone: S.optional(S.String),
693
+ bootVolume: S.optional(BootVolumeInput),
694
+ configDrive: S.optional(S.Boolean),
695
+ imageId: S.optional(S.String),
696
+ keypairName: S.optional(S.String),
697
+ labels: S.optional(S.Unknown),
698
+ machineType: S.String,
699
+ metadata: S.optional(S.Unknown),
700
+ name: S.String,
701
+ networking: CreateServerRequestNetworking,
702
+ securityGroups: S.optional(GenericNameList),
703
+ serviceAccountMails: S.optional(ServiceAccountMailList),
704
+ userData: S.optional(S.String),
705
+ volumes: S.optional(UUIDList),
706
+ }).pipe(T.Http({
707
+ method: "POST",
708
+ uri: "/v2/projects/{projectId}/regions/{region}/servers",
709
+ code: 200,
710
+ baseUrl: "https://iaas.api.stackit.cloud",
711
+ }))).annotate({ identifier: "CreateServerRequest" });
712
+ export const BootVolumeOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
713
+ deleteOnTermination: S.optional(S.Boolean),
714
+ id: S.optional(S.String),
715
+ })).annotate({ identifier: "BootVolumeOutput" });
716
+ export const ServerMaintenance = /*@__PURE__*/ S.suspend(() => S.Struct({
717
+ details: S.optional(S.String),
718
+ endsAt: S.String,
719
+ startsAt: S.String,
720
+ status: S.String,
721
+ })).annotate({ identifier: "ServerMaintenance" });
722
+ export const ServerOutputNetworking =
723
+ /*@__PURE__*/ S.Unknown;
724
+ export const ServerNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
725
+ allowedAddresses: S.optional(AllowedAddresses),
726
+ ipv4: S.optional(S.String),
727
+ ipv6: S.optional(S.String),
728
+ mac: S.String,
729
+ networkId: S.String,
730
+ networkName: S.String,
731
+ nicId: S.String,
732
+ nicSecurity: S.Boolean,
733
+ publicIp: S.optional(S.String),
734
+ securityGroups: S.optional(UUIDList),
735
+ })).annotate({ identifier: "ServerNetwork" });
736
+ export const ServerNICList = /*@__PURE__*/ S.Array(ServerNetwork);
737
+ export const ServerOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
738
+ affinityGroup: S.optional(S.String),
739
+ agent: S.optional(ServerAgent),
740
+ availabilityZone: S.optional(S.String),
741
+ bootVolume: S.optional(BootVolumeOutput),
742
+ configDrive: S.optional(S.Boolean),
743
+ createdAt: S.optional(S.String),
744
+ errorMessage: S.optional(S.String),
745
+ id: S.optional(S.String),
746
+ imageId: S.optional(S.String),
747
+ keypairName: S.optional(S.String),
748
+ labels: S.optional(S.Unknown),
749
+ launchedAt: S.optional(S.String),
750
+ machineType: S.String,
751
+ maintenanceWindow: S.optional(ServerMaintenance),
752
+ metadata: S.optional(S.Unknown),
753
+ name: S.String,
754
+ networking: S.optional(ServerOutputNetworking),
755
+ nics: S.optional(ServerNICList),
756
+ powerStatus: S.optional(S.String),
757
+ serviceAccountMails: S.optional(ServiceAccountMailList),
758
+ status: S.optional(S.String),
759
+ updatedAt: S.optional(S.String),
760
+ userData: S.optional(S.String),
761
+ volumes: S.optional(UUIDList),
762
+ })).annotate({ identifier: "ServerOutput" });
763
+ export const CreateSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
764
+ projectId: S.String.pipe(T.Label()),
765
+ region: S.String.pipe(T.Label()),
766
+ description: S.optional(S.String),
767
+ labels: S.optional(S.Unknown),
768
+ name: S.optional(S.String),
769
+ volumeId: S.String,
770
+ }).pipe(T.Http({
771
+ method: "POST",
772
+ uri: "/v2/projects/{projectId}/regions/{region}/snapshots",
773
+ code: 200,
774
+ baseUrl: "https://iaas.api.stackit.cloud",
775
+ }))).annotate({ identifier: "CreateSnapshotRequest" });
776
+ export const Snapshot = /*@__PURE__*/ S.suspend(() => S.Struct({
777
+ availabilityZone: S.optional(S.String),
778
+ createdAt: S.optional(S.String),
779
+ description: S.optional(S.String),
780
+ id: S.optional(S.String),
781
+ labels: S.optional(S.Unknown),
782
+ name: S.optional(S.String),
783
+ size: S.optional(S.Number),
784
+ status: S.optional(S.String),
785
+ updatedAt: S.optional(S.String),
786
+ volumeId: S.String,
787
+ })).annotate({ identifier: "Snapshot" });
788
+ export const VolumeEncryptionParameter = /*@__PURE__*/ S.suspend(() => S.Struct({
789
+ kekKeyId: S.String,
790
+ kekKeyVersion: S.Number,
791
+ kekKeyringId: S.String,
792
+ kekProjectId: S.optional(S.String),
793
+ keyPayload: S.optional(S.String),
794
+ serviceAccount: S.String,
795
+ })).annotate({
796
+ identifier: "VolumeEncryptionParameter",
797
+ });
798
+ export const VolumeSource = BackupSource;
799
+ export const CreateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
800
+ projectId: S.String.pipe(T.Label()),
801
+ region: S.String.pipe(T.Label()),
802
+ availabilityZone: S.String,
803
+ bootable: S.optional(S.Boolean),
804
+ description: S.optional(S.String),
805
+ encryptionParameters: S.optional(VolumeEncryptionParameter),
806
+ labels: S.optional(S.Unknown),
807
+ name: S.optional(S.String),
808
+ performanceClass: S.optional(S.String),
809
+ size: S.optional(S.Number),
810
+ source: S.optional(BackupSource),
811
+ }).pipe(T.Http({
812
+ method: "POST",
813
+ uri: "/v2/projects/{projectId}/regions/{region}/volumes",
814
+ code: 200,
815
+ baseUrl: "https://iaas.api.stackit.cloud",
816
+ }))).annotate({ identifier: "CreateVolumeRequest" });
817
+ export const Volume = /*@__PURE__*/ S.suspend(() => S.Struct({
818
+ availabilityZone: S.String,
819
+ bootable: S.optional(S.Boolean),
820
+ createdAt: S.optional(S.String),
821
+ description: S.optional(S.String),
822
+ encrypted: S.optional(S.Boolean),
823
+ encryptionParameters: S.optional(VolumeEncryptionParameter),
824
+ id: S.optional(S.String),
825
+ imageConfig: S.optional(ImageConfig),
826
+ labels: S.optional(S.Unknown),
827
+ name: S.optional(S.String),
828
+ performanceClass: S.optional(S.String),
829
+ serverId: S.optional(S.String),
830
+ size: S.optional(S.Number),
831
+ source: S.optional(BackupSource),
832
+ status: S.optional(S.String),
833
+ updatedAt: S.optional(S.String),
834
+ })).annotate({ identifier: "Volume" });
835
+ export const DeallocateServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
836
+ projectId: S.String.pipe(T.Label()),
837
+ region: S.String.pipe(T.Label()),
838
+ serverId: S.String.pipe(T.Label()),
839
+ }).pipe(T.Http({
840
+ method: "POST",
841
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/deallocate",
842
+ code: 200,
843
+ baseUrl: "https://iaas.api.stackit.cloud",
844
+ }))).annotate({ identifier: "DeallocateServerRequest" });
845
+ export const DeallocateServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
846
+ identifier: "DeallocateServerResponse",
847
+ });
848
+ export const DeleteAffinityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
849
+ projectId: S.String.pipe(T.Label()),
850
+ region: S.String.pipe(T.Label()),
851
+ affinityGroupId: S.String.pipe(T.Label()),
852
+ }).pipe(T.Http({
853
+ method: "DELETE",
854
+ uri: "/v2/projects/{projectId}/regions/{region}/affinity-groups/{affinityGroupId}",
855
+ code: 200,
856
+ baseUrl: "https://iaas.api.stackit.cloud",
857
+ }))).annotate({
858
+ identifier: "DeleteAffinityGroupRequest",
859
+ });
860
+ export const DeleteAffinityGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
861
+ identifier: "DeleteAffinityGroupResponse",
862
+ });
863
+ export const DeleteBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
864
+ projectId: S.String.pipe(T.Label()),
865
+ region: S.String.pipe(T.Label()),
866
+ backupId: S.String.pipe(T.Label()),
867
+ force: S.optional(S.Boolean.pipe(T.Query())),
868
+ }).pipe(T.Http({
869
+ method: "DELETE",
870
+ uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}",
871
+ code: 200,
872
+ baseUrl: "https://iaas.api.stackit.cloud",
873
+ }))).annotate({ identifier: "DeleteBackupRequest" });
874
+ export const DeleteBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
875
+ identifier: "DeleteBackupResponse",
876
+ });
877
+ export const DeleteImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
878
+ projectId: S.String.pipe(T.Label()),
879
+ region: S.String.pipe(T.Label()),
880
+ imageId: S.String.pipe(T.Label()),
881
+ }).pipe(T.Http({
882
+ method: "DELETE",
883
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}",
884
+ code: 200,
885
+ baseUrl: "https://iaas.api.stackit.cloud",
886
+ }))).annotate({ identifier: "DeleteImageRequest" });
887
+ export const DeleteImageResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
888
+ identifier: "DeleteImageResponse",
889
+ });
890
+ export const DeleteImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
891
+ projectId: S.String.pipe(T.Label()),
892
+ region: S.String.pipe(T.Label()),
893
+ imageId: S.String.pipe(T.Label()),
894
+ }).pipe(T.Http({
895
+ method: "DELETE",
896
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
897
+ code: 200,
898
+ baseUrl: "https://iaas.api.stackit.cloud",
899
+ }))).annotate({ identifier: "DeleteImageShareRequest" });
900
+ export const DeleteImageShareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
901
+ identifier: "DeleteImageShareResponse",
902
+ });
903
+ export const DeleteImageShareConsumerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
904
+ projectId: S.String.pipe(T.Label()),
905
+ region: S.String.pipe(T.Label()),
906
+ imageId: S.String.pipe(T.Label()),
907
+ consumerProjectId: S.String.pipe(T.Label()),
908
+ }).pipe(T.Http({
909
+ method: "DELETE",
910
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share/{consumerProjectId}",
911
+ code: 200,
912
+ baseUrl: "https://iaas.api.stackit.cloud",
913
+ }))).annotate({
914
+ identifier: "DeleteImageShareConsumerRequest",
915
+ });
916
+ export const DeleteImageShareConsumerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
917
+ identifier: "DeleteImageShareConsumerResponse",
918
+ });
919
+ export const DeleteKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
920
+ keypairName: S.String.pipe(T.Label()),
921
+ }).pipe(T.Http({
922
+ method: "DELETE",
923
+ uri: "/v2/keypairs/{keypairName}",
924
+ code: 200,
925
+ baseUrl: "https://iaas.api.stackit.cloud",
926
+ }))).annotate({ identifier: "DeleteKeyPairRequest" });
927
+ export const DeleteKeyPairResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
928
+ identifier: "DeleteKeyPairResponse",
929
+ });
930
+ export const DeleteNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
931
+ projectId: S.String.pipe(T.Label()),
932
+ region: S.String.pipe(T.Label()),
933
+ networkId: S.String.pipe(T.Label()),
934
+ }).pipe(T.Http({
935
+ method: "DELETE",
936
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}",
937
+ code: 200,
938
+ baseUrl: "https://iaas.api.stackit.cloud",
939
+ }))).annotate({ identifier: "DeleteNetworkRequest" });
940
+ export const DeleteNetworkResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
941
+ identifier: "DeleteNetworkResponse",
942
+ });
943
+ export const DeleteNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
944
+ organizationId: S.String.pipe(T.Label()),
945
+ areaId: S.String.pipe(T.Label()),
946
+ }).pipe(T.Http({
947
+ method: "DELETE",
948
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}",
949
+ code: 200,
950
+ baseUrl: "https://iaas.api.stackit.cloud",
951
+ }))).annotate({ identifier: "DeleteNetworkAreaRequest" });
952
+ export const DeleteNetworkAreaResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
953
+ identifier: "DeleteNetworkAreaResponse",
954
+ });
955
+ export const DeleteNetworkAreaRangeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
956
+ organizationId: S.String.pipe(T.Label()),
957
+ areaId: S.String.pipe(T.Label()),
958
+ region: S.String.pipe(T.Label()),
959
+ networkRangeId: S.String.pipe(T.Label()),
960
+ }).pipe(T.Http({
961
+ method: "DELETE",
962
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/network-ranges/{networkRangeId}",
963
+ code: 200,
964
+ baseUrl: "https://iaas.api.stackit.cloud",
965
+ }))).annotate({
966
+ identifier: "DeleteNetworkAreaRangeRequest",
967
+ });
968
+ export const DeleteNetworkAreaRangeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
969
+ identifier: "DeleteNetworkAreaRangeResponse",
970
+ });
971
+ export const DeleteNetworkAreaRegionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
972
+ organizationId: S.String.pipe(T.Label()),
973
+ areaId: S.String.pipe(T.Label()),
974
+ region: S.String.pipe(T.Label()),
975
+ }).pipe(T.Http({
976
+ method: "DELETE",
977
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}",
978
+ code: 200,
979
+ baseUrl: "https://iaas.api.stackit.cloud",
980
+ }))).annotate({
981
+ identifier: "DeleteNetworkAreaRegionRequest",
982
+ });
983
+ export const DeleteNetworkAreaRegionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteNetworkAreaRegionResponse" });
984
+ export const DeleteNetworkAreaRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
985
+ organizationId: S.String.pipe(T.Label()),
986
+ areaId: S.String.pipe(T.Label()),
987
+ region: S.String.pipe(T.Label()),
988
+ routeId: S.String.pipe(T.Label()),
989
+ }).pipe(T.Http({
990
+ method: "DELETE",
991
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routes/{routeId}",
992
+ code: 200,
993
+ baseUrl: "https://iaas.api.stackit.cloud",
994
+ }))).annotate({
995
+ identifier: "DeleteNetworkAreaRouteRequest",
996
+ });
997
+ export const DeleteNetworkAreaRouteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
998
+ identifier: "DeleteNetworkAreaRouteResponse",
999
+ });
1000
+ export const DeleteNicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1001
+ projectId: S.String.pipe(T.Label()),
1002
+ region: S.String.pipe(T.Label()),
1003
+ networkId: S.String.pipe(T.Label()),
1004
+ nicId: S.String.pipe(T.Label()),
1005
+ }).pipe(T.Http({
1006
+ method: "DELETE",
1007
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics/{nicId}",
1008
+ code: 200,
1009
+ baseUrl: "https://iaas.api.stackit.cloud",
1010
+ }))).annotate({ identifier: "DeleteNicRequest" });
1011
+ export const DeleteNicResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1012
+ identifier: "DeleteNicResponse",
1013
+ });
1014
+ export const DeletePublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1015
+ projectId: S.String.pipe(T.Label()),
1016
+ region: S.String.pipe(T.Label()),
1017
+ publicIpId: S.String.pipe(T.Label()),
1018
+ }).pipe(T.Http({
1019
+ method: "DELETE",
1020
+ uri: "/v2/projects/{projectId}/regions/{region}/public-ips/{publicIpId}",
1021
+ code: 200,
1022
+ baseUrl: "https://iaas.api.stackit.cloud",
1023
+ }))).annotate({ identifier: "DeletePublicIPRequest" });
1024
+ export const DeletePublicIPResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1025
+ identifier: "DeletePublicIPResponse",
1026
+ });
1027
+ export const DeleteRouteFromRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1028
+ organizationId: S.String.pipe(T.Label()),
1029
+ areaId: S.String.pipe(T.Label()),
1030
+ region: S.String.pipe(T.Label()),
1031
+ routingTableId: S.String.pipe(T.Label()),
1032
+ routeId: S.String.pipe(T.Label()),
1033
+ }).pipe(T.Http({
1034
+ method: "DELETE",
1035
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes/{routeId}",
1036
+ code: 200,
1037
+ baseUrl: "https://iaas.api.stackit.cloud",
1038
+ }))).annotate({
1039
+ identifier: "DeleteRouteFromRoutingTableRequest",
1040
+ });
1041
+ export const DeleteRouteFromRoutingTableResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1042
+ identifier: "DeleteRouteFromRoutingTableResponse",
1043
+ });
1044
+ export const DeleteRoutingTableFromAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1045
+ organizationId: S.String.pipe(T.Label()),
1046
+ areaId: S.String.pipe(T.Label()),
1047
+ region: S.String.pipe(T.Label()),
1048
+ routingTableId: S.String.pipe(T.Label()),
1049
+ }).pipe(T.Http({
1050
+ method: "DELETE",
1051
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}",
1052
+ code: 200,
1053
+ baseUrl: "https://iaas.api.stackit.cloud",
1054
+ }))).annotate({
1055
+ identifier: "DeleteRoutingTableFromAreaRequest",
1056
+ });
1057
+ export const DeleteRoutingTableFromAreaResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1058
+ identifier: "DeleteRoutingTableFromAreaResponse",
1059
+ });
1060
+ export const DeleteSecurityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1061
+ projectId: S.String.pipe(T.Label()),
1062
+ region: S.String.pipe(T.Label()),
1063
+ securityGroupId: S.String.pipe(T.Label()),
1064
+ }).pipe(T.Http({
1065
+ method: "DELETE",
1066
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}",
1067
+ code: 200,
1068
+ baseUrl: "https://iaas.api.stackit.cloud",
1069
+ }))).annotate({
1070
+ identifier: "DeleteSecurityGroupRequest",
1071
+ });
1072
+ export const DeleteSecurityGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1073
+ identifier: "DeleteSecurityGroupResponse",
1074
+ });
1075
+ export const DeleteSecurityGroupRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1076
+ projectId: S.String.pipe(T.Label()),
1077
+ region: S.String.pipe(T.Label()),
1078
+ securityGroupId: S.String.pipe(T.Label()),
1079
+ securityGroupRuleId: S.String.pipe(T.Label()),
1080
+ }).pipe(T.Http({
1081
+ method: "DELETE",
1082
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}",
1083
+ code: 200,
1084
+ baseUrl: "https://iaas.api.stackit.cloud",
1085
+ }))).annotate({
1086
+ identifier: "DeleteSecurityGroupRuleRequest",
1087
+ });
1088
+ export const DeleteSecurityGroupRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteSecurityGroupRuleResponse" });
1089
+ export const DeleteServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1090
+ projectId: S.String.pipe(T.Label()),
1091
+ region: S.String.pipe(T.Label()),
1092
+ serverId: S.String.pipe(T.Label()),
1093
+ }).pipe(T.Http({
1094
+ method: "DELETE",
1095
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}",
1096
+ code: 200,
1097
+ baseUrl: "https://iaas.api.stackit.cloud",
1098
+ }))).annotate({ identifier: "DeleteServerRequest" });
1099
+ export const DeleteServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1100
+ identifier: "DeleteServerResponse",
1101
+ });
1102
+ export const DeleteSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1103
+ projectId: S.String.pipe(T.Label()),
1104
+ region: S.String.pipe(T.Label()),
1105
+ snapshotId: S.String.pipe(T.Label()),
1106
+ }).pipe(T.Http({
1107
+ method: "DELETE",
1108
+ uri: "/v2/projects/{projectId}/regions/{region}/snapshots/{snapshotId}",
1109
+ code: 200,
1110
+ baseUrl: "https://iaas.api.stackit.cloud",
1111
+ }))).annotate({ identifier: "DeleteSnapshotRequest" });
1112
+ export const DeleteSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1113
+ identifier: "DeleteSnapshotResponse",
1114
+ });
1115
+ export const DeleteVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1116
+ projectId: S.String.pipe(T.Label()),
1117
+ region: S.String.pipe(T.Label()),
1118
+ volumeId: S.String.pipe(T.Label()),
1119
+ cascade: S.optional(S.Boolean.pipe(T.Query())),
1120
+ }).pipe(T.Http({
1121
+ method: "DELETE",
1122
+ uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}",
1123
+ code: 200,
1124
+ baseUrl: "https://iaas.api.stackit.cloud",
1125
+ }))).annotate({ identifier: "DeleteVolumeRequest" });
1126
+ export const DeleteVolumeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1127
+ identifier: "DeleteVolumeResponse",
1128
+ });
1129
+ export const GetAffinityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1130
+ projectId: S.String.pipe(T.Label()),
1131
+ region: S.String.pipe(T.Label()),
1132
+ affinityGroupId: S.String.pipe(T.Label()),
1133
+ }).pipe(T.Http({
1134
+ method: "GET",
1135
+ uri: "/v2/projects/{projectId}/regions/{region}/affinity-groups/{affinityGroupId}",
1136
+ code: 200,
1137
+ baseUrl: "https://iaas.api.stackit.cloud",
1138
+ }))).annotate({ identifier: "GetAffinityGroupRequest" });
1139
+ export const GetAttachedVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1140
+ projectId: S.String.pipe(T.Label()),
1141
+ region: S.String.pipe(T.Label()),
1142
+ serverId: S.String.pipe(T.Label()),
1143
+ volumeId: S.String.pipe(T.Label()),
1144
+ }).pipe(T.Http({
1145
+ method: "GET",
1146
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/volume-attachments/{volumeId}",
1147
+ code: 200,
1148
+ baseUrl: "https://iaas.api.stackit.cloud",
1149
+ }))).annotate({ identifier: "GetAttachedVolumeRequest" });
1150
+ export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1151
+ projectId: S.String.pipe(T.Label()),
1152
+ region: S.String.pipe(T.Label()),
1153
+ backupId: S.String.pipe(T.Label()),
1154
+ }).pipe(T.Http({
1155
+ method: "GET",
1156
+ uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}",
1157
+ code: 200,
1158
+ baseUrl: "https://iaas.api.stackit.cloud",
1159
+ }))).annotate({ identifier: "GetBackupRequest" });
1160
+ export const GetImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1161
+ projectId: S.String.pipe(T.Label()),
1162
+ region: S.String.pipe(T.Label()),
1163
+ imageId: S.String.pipe(T.Label()),
1164
+ }).pipe(T.Http({
1165
+ method: "GET",
1166
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}",
1167
+ code: 200,
1168
+ baseUrl: "https://iaas.api.stackit.cloud",
1169
+ }))).annotate({ identifier: "GetImageRequest" });
1170
+ export const ImageChecksum = /*@__PURE__*/ S.suspend(() => S.Struct({
1171
+ algorithm: S.String,
1172
+ digest: S.String,
1173
+ })).annotate({ identifier: "ImageChecksum" });
1174
+ export const Image = /*@__PURE__*/ S.suspend(() => S.Struct({
1175
+ agent: S.optional(ImageAgent),
1176
+ checksum: S.optional(ImageChecksum),
1177
+ config: S.optional(ImageConfig),
1178
+ createdAt: S.optional(S.String),
1179
+ diskFormat: S.String,
1180
+ id: S.optional(S.String),
1181
+ importProgress: S.optional(S.Number),
1182
+ labels: S.optional(S.Unknown),
1183
+ minDiskSize: S.optional(S.Number),
1184
+ minRam: S.optional(S.Number),
1185
+ name: S.String,
1186
+ owner: S.optional(S.String),
1187
+ protected: S.optional(S.Boolean),
1188
+ scope: S.optional(S.String),
1189
+ size: S.optional(S.Number),
1190
+ status: S.optional(S.String),
1191
+ updatedAt: S.optional(S.String),
1192
+ })).annotate({ identifier: "Image" });
1193
+ export const GetImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1194
+ projectId: S.String.pipe(T.Label()),
1195
+ region: S.String.pipe(T.Label()),
1196
+ imageId: S.String.pipe(T.Label()),
1197
+ }).pipe(T.Http({
1198
+ method: "GET",
1199
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
1200
+ code: 200,
1201
+ baseUrl: "https://iaas.api.stackit.cloud",
1202
+ }))).annotate({ identifier: "GetImageShareRequest" });
1203
+ export const ImageShareProjectsList = /*@__PURE__*/ S.Array(S.String);
1204
+ export const ImageShare = /*@__PURE__*/ S.suspend(() => S.Struct({
1205
+ parentOrganization: S.optional(S.Boolean),
1206
+ projects: S.optional(ImageShareProjectsList),
1207
+ })).annotate({ identifier: "ImageShare" });
1208
+ export const GetImageShareConsumerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1209
+ projectId: S.String.pipe(T.Label()),
1210
+ region: S.String.pipe(T.Label()),
1211
+ imageId: S.String.pipe(T.Label()),
1212
+ consumerProjectId: S.String.pipe(T.Label()),
1213
+ }).pipe(T.Http({
1214
+ method: "GET",
1215
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share/{consumerProjectId}",
1216
+ code: 200,
1217
+ baseUrl: "https://iaas.api.stackit.cloud",
1218
+ }))).annotate({
1219
+ identifier: "GetImageShareConsumerRequest",
1220
+ });
1221
+ export const ImageShareConsumer = /*@__PURE__*/ S.suspend(() => S.Struct({
1222
+ consumerProjectId: S.optional(S.String),
1223
+ createdAt: S.optional(S.String),
1224
+ imageId: S.optional(S.String),
1225
+ updatedAt: S.optional(S.String),
1226
+ })).annotate({ identifier: "ImageShareConsumer" });
1227
+ export const GetKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1228
+ keypairName: S.String.pipe(T.Label()),
1229
+ }).pipe(T.Http({
1230
+ method: "GET",
1231
+ uri: "/v2/keypairs/{keypairName}",
1232
+ code: 200,
1233
+ baseUrl: "https://iaas.api.stackit.cloud",
1234
+ }))).annotate({ identifier: "GetKeyPairRequest" });
1235
+ export const GetMachineTypeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1236
+ projectId: S.String.pipe(T.Label()),
1237
+ region: S.String.pipe(T.Label()),
1238
+ machineType: S.String.pipe(T.Label()),
1239
+ }).pipe(T.Http({
1240
+ method: "GET",
1241
+ uri: "/v2/projects/{projectId}/regions/{region}/machine-types/{machineType}",
1242
+ code: 200,
1243
+ baseUrl: "https://iaas.api.stackit.cloud",
1244
+ }))).annotate({ identifier: "GetMachineTypeRequest" });
1245
+ export const MachineType = /*@__PURE__*/ S.suspend(() => S.Struct({
1246
+ description: S.optional(S.String),
1247
+ disk: S.Number,
1248
+ extraSpecs: S.optional(S.Unknown),
1249
+ name: S.String,
1250
+ ram: S.Number,
1251
+ vcpus: S.Number,
1252
+ })).annotate({ identifier: "MachineType" });
1253
+ export const GetNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1254
+ projectId: S.String.pipe(T.Label()),
1255
+ region: S.String.pipe(T.Label()),
1256
+ networkId: S.String.pipe(T.Label()),
1257
+ }).pipe(T.Http({
1258
+ method: "GET",
1259
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}",
1260
+ code: 200,
1261
+ baseUrl: "https://iaas.api.stackit.cloud",
1262
+ }))).annotate({ identifier: "GetNetworkRequest" });
1263
+ export const GetNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1264
+ organizationId: S.String.pipe(T.Label()),
1265
+ areaId: S.String.pipe(T.Label()),
1266
+ }).pipe(T.Http({
1267
+ method: "GET",
1268
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}",
1269
+ code: 200,
1270
+ baseUrl: "https://iaas.api.stackit.cloud",
1271
+ }))).annotate({ identifier: "GetNetworkAreaRequest" });
1272
+ export const GetNetworkAreaRangeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1273
+ organizationId: S.String.pipe(T.Label()),
1274
+ areaId: S.String.pipe(T.Label()),
1275
+ region: S.String.pipe(T.Label()),
1276
+ networkRangeId: S.String.pipe(T.Label()),
1277
+ }).pipe(T.Http({
1278
+ method: "GET",
1279
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/network-ranges/{networkRangeId}",
1280
+ code: 200,
1281
+ baseUrl: "https://iaas.api.stackit.cloud",
1282
+ }))).annotate({
1283
+ identifier: "GetNetworkAreaRangeRequest",
1284
+ });
1285
+ export const GetNetworkAreaRegionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1286
+ organizationId: S.String.pipe(T.Label()),
1287
+ areaId: S.String.pipe(T.Label()),
1288
+ region: S.String.pipe(T.Label()),
1289
+ }).pipe(T.Http({
1290
+ method: "GET",
1291
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}",
1292
+ code: 200,
1293
+ baseUrl: "https://iaas.api.stackit.cloud",
1294
+ }))).annotate({
1295
+ identifier: "GetNetworkAreaRegionRequest",
1296
+ });
1297
+ export const GetNetworkAreaRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1298
+ organizationId: S.String.pipe(T.Label()),
1299
+ areaId: S.String.pipe(T.Label()),
1300
+ region: S.String.pipe(T.Label()),
1301
+ routeId: S.String.pipe(T.Label()),
1302
+ }).pipe(T.Http({
1303
+ method: "GET",
1304
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routes/{routeId}",
1305
+ code: 200,
1306
+ baseUrl: "https://iaas.api.stackit.cloud",
1307
+ }))).annotate({
1308
+ identifier: "GetNetworkAreaRouteRequest",
1309
+ });
1310
+ export const GetNicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1311
+ projectId: S.String.pipe(T.Label()),
1312
+ region: S.String.pipe(T.Label()),
1313
+ networkId: S.String.pipe(T.Label()),
1314
+ nicId: S.String.pipe(T.Label()),
1315
+ }).pipe(T.Http({
1316
+ method: "GET",
1317
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics/{nicId}",
1318
+ code: 200,
1319
+ baseUrl: "https://iaas.api.stackit.cloud",
1320
+ }))).annotate({ identifier: "GetNicRequest" });
1321
+ export const GetOrganizationRequestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1322
+ organizationId: S.String.pipe(T.Label()),
1323
+ requestId: S.String.pipe(T.Label()),
1324
+ }).pipe(T.Http({
1325
+ method: "GET",
1326
+ uri: "/v2/organizations/{organizationId}/requests/{requestId}",
1327
+ code: 200,
1328
+ baseUrl: "https://iaas.api.stackit.cloud",
1329
+ }))).annotate({
1330
+ identifier: "GetOrganizationRequestRequest",
1331
+ });
1332
+ export const RequestResource = /*@__PURE__*/ S.suspend(() => S.Struct({
1333
+ id: S.String,
1334
+ status: S.String,
1335
+ type: S.String,
1336
+ })).annotate({ identifier: "RequestResource" });
1337
+ export const RequestResourcesList = /*@__PURE__*/ S.Array(RequestResource);
1338
+ export const Request = /*@__PURE__*/ S.suspend(() => S.Struct({
1339
+ details: S.optional(S.String),
1340
+ requestAction: S.String,
1341
+ requestId: S.String,
1342
+ requestType: S.String,
1343
+ resources: RequestResourcesList,
1344
+ status: S.String,
1345
+ })).annotate({ identifier: "Request" });
1346
+ export const GetProjectDetailsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1347
+ projectId: S.String.pipe(T.Label()),
1348
+ }).pipe(T.Http({
1349
+ method: "GET",
1350
+ uri: "/v2/projects/{projectId}",
1351
+ code: 200,
1352
+ baseUrl: "https://iaas.api.stackit.cloud",
1353
+ }))).annotate({ identifier: "GetProjectDetailsRequest" });
1354
+ export const StaticAreaID = S.String;
1355
+ export const AreaId = /*@__PURE__*/ S.Unknown;
1356
+ export const Project = /*@__PURE__*/ S.suspend(() => S.Struct({
1357
+ areaId: AreaId,
1358
+ createdAt: S.optional(S.String),
1359
+ id: S.String,
1360
+ internetAccess: S.optional(S.Boolean),
1361
+ projectType: S.optional(S.String),
1362
+ status: S.String,
1363
+ updatedAt: S.optional(S.String),
1364
+ vpcId: S.optional(S.String),
1365
+ })).annotate({ identifier: "Project" });
1366
+ export const GetProjectNICRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1367
+ projectId: S.String.pipe(T.Label()),
1368
+ region: S.String.pipe(T.Label()),
1369
+ nicId: S.String.pipe(T.Label()),
1370
+ }).pipe(T.Http({
1371
+ method: "GET",
1372
+ uri: "/v2/projects/{projectId}/regions/{region}/nics/{nicId}",
1373
+ code: 200,
1374
+ baseUrl: "https://iaas.api.stackit.cloud",
1375
+ }))).annotate({ identifier: "GetProjectNICRequest" });
1376
+ export const GetProjectRequestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1377
+ projectId: S.String.pipe(T.Label()),
1378
+ region: S.String.pipe(T.Label()),
1379
+ requestId: S.String.pipe(T.Label()),
1380
+ }).pipe(T.Http({
1381
+ method: "GET",
1382
+ uri: "/v2/projects/{projectId}/regions/{region}/requests/{requestId}",
1383
+ code: 200,
1384
+ baseUrl: "https://iaas.api.stackit.cloud",
1385
+ }))).annotate({ identifier: "GetProjectRequestRequest" });
1386
+ export const GetPublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1387
+ projectId: S.String.pipe(T.Label()),
1388
+ region: S.String.pipe(T.Label()),
1389
+ publicIpId: S.String.pipe(T.Label()),
1390
+ }).pipe(T.Http({
1391
+ method: "GET",
1392
+ uri: "/v2/projects/{projectId}/regions/{region}/public-ips/{publicIpId}",
1393
+ code: 200,
1394
+ baseUrl: "https://iaas.api.stackit.cloud",
1395
+ }))).annotate({ identifier: "GetPublicIPRequest" });
1396
+ export const GetRouteOfRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1397
+ organizationId: S.String.pipe(T.Label()),
1398
+ areaId: S.String.pipe(T.Label()),
1399
+ region: S.String.pipe(T.Label()),
1400
+ routingTableId: S.String.pipe(T.Label()),
1401
+ routeId: S.String.pipe(T.Label()),
1402
+ }).pipe(T.Http({
1403
+ method: "GET",
1404
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes/{routeId}",
1405
+ code: 200,
1406
+ baseUrl: "https://iaas.api.stackit.cloud",
1407
+ }))).annotate({
1408
+ identifier: "GetRouteOfRoutingTableRequest",
1409
+ });
1410
+ export const GetRoutingTableOfAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1411
+ organizationId: S.String.pipe(T.Label()),
1412
+ areaId: S.String.pipe(T.Label()),
1413
+ region: S.String.pipe(T.Label()),
1414
+ routingTableId: S.String.pipe(T.Label()),
1415
+ }).pipe(T.Http({
1416
+ method: "GET",
1417
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}",
1418
+ code: 200,
1419
+ baseUrl: "https://iaas.api.stackit.cloud",
1420
+ }))).annotate({
1421
+ identifier: "GetRoutingTableOfAreaRequest",
1422
+ });
1423
+ export const GetSecurityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1424
+ projectId: S.String.pipe(T.Label()),
1425
+ region: S.String.pipe(T.Label()),
1426
+ securityGroupId: S.String.pipe(T.Label()),
1427
+ }).pipe(T.Http({
1428
+ method: "GET",
1429
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}",
1430
+ code: 200,
1431
+ baseUrl: "https://iaas.api.stackit.cloud",
1432
+ }))).annotate({ identifier: "GetSecurityGroupRequest" });
1433
+ export const GetSecurityGroupRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1434
+ projectId: S.String.pipe(T.Label()),
1435
+ region: S.String.pipe(T.Label()),
1436
+ securityGroupId: S.String.pipe(T.Label()),
1437
+ securityGroupRuleId: S.String.pipe(T.Label()),
1438
+ }).pipe(T.Http({
1439
+ method: "GET",
1440
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}",
1441
+ code: 200,
1442
+ baseUrl: "https://iaas.api.stackit.cloud",
1443
+ }))).annotate({
1444
+ identifier: "GetSecurityGroupRuleRequest",
1445
+ });
1446
+ export const GetSecurityGroupRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1447
+ createdAt: S.optional(S.String),
1448
+ description: S.optional(S.String),
1449
+ direction: S.String,
1450
+ ethertype: S.optional(S.String),
1451
+ icmpParameters: S.optional(ICMPParameters),
1452
+ id: S.optional(S.String),
1453
+ ipRange: S.optional(S.String),
1454
+ portRange: S.optional(PortRange),
1455
+ remoteSecurityGroupId: S.optional(S.String),
1456
+ securityGroupId: S.optional(S.String),
1457
+ updatedAt: S.optional(S.String),
1458
+ protocol: S.optional(Protocol),
1459
+ })).annotate({
1460
+ identifier: "GetSecurityGroupRuleResponse",
1461
+ });
1462
+ export const GetServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1463
+ projectId: S.String.pipe(T.Label()),
1464
+ region: S.String.pipe(T.Label()),
1465
+ serverId: S.String.pipe(T.Label()),
1466
+ details: S.optional(S.Boolean.pipe(T.Query())),
1467
+ }).pipe(T.Http({
1468
+ method: "GET",
1469
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}",
1470
+ code: 200,
1471
+ baseUrl: "https://iaas.api.stackit.cloud",
1472
+ }))).annotate({ identifier: "GetServerRequest" });
1473
+ export const GetServerConsoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1474
+ projectId: S.String.pipe(T.Label()),
1475
+ region: S.String.pipe(T.Label()),
1476
+ serverId: S.String.pipe(T.Label()),
1477
+ }).pipe(T.Http({
1478
+ method: "GET",
1479
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/console",
1480
+ code: 200,
1481
+ baseUrl: "https://iaas.api.stackit.cloud",
1482
+ }))).annotate({ identifier: "GetServerConsoleRequest" });
1483
+ export const ServerConsoleUrl = /*@__PURE__*/ S.suspend(() => S.Struct({
1484
+ url: S.String,
1485
+ })).annotate({ identifier: "ServerConsoleUrl" });
1486
+ export const GetServerLogRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1487
+ projectId: S.String.pipe(T.Label()),
1488
+ region: S.String.pipe(T.Label()),
1489
+ serverId: S.String.pipe(T.Label()),
1490
+ length: S.optional(S.Number.pipe(T.Query())),
1491
+ }).pipe(T.Http({
1492
+ method: "GET",
1493
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/log",
1494
+ code: 200,
1495
+ baseUrl: "https://iaas.api.stackit.cloud",
1496
+ }))).annotate({ identifier: "GetServerLogRequest" });
1497
+ export const GetServerLogResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1498
+ output: S.optional(S.String),
1499
+ })).annotate({ identifier: "GetServerLogResponse" });
1500
+ export const GetSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1501
+ projectId: S.String.pipe(T.Label()),
1502
+ region: S.String.pipe(T.Label()),
1503
+ snapshotId: S.String.pipe(T.Label()),
1504
+ }).pipe(T.Http({
1505
+ method: "GET",
1506
+ uri: "/v2/projects/{projectId}/regions/{region}/snapshots/{snapshotId}",
1507
+ code: 200,
1508
+ baseUrl: "https://iaas.api.stackit.cloud",
1509
+ }))).annotate({ identifier: "GetSnapshotRequest" });
1510
+ export const GetVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1511
+ projectId: S.String.pipe(T.Label()),
1512
+ region: S.String.pipe(T.Label()),
1513
+ volumeId: S.String.pipe(T.Label()),
1514
+ }).pipe(T.Http({
1515
+ method: "GET",
1516
+ uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}",
1517
+ code: 200,
1518
+ baseUrl: "https://iaas.api.stackit.cloud",
1519
+ }))).annotate({ identifier: "GetVolumeRequest" });
1520
+ export const GetVolumePerformanceClassRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1521
+ projectId: S.String.pipe(T.Label()),
1522
+ region: S.String.pipe(T.Label()),
1523
+ volumePerformanceClass: S.String.pipe(T.Label()),
1524
+ }).pipe(T.Http({
1525
+ method: "GET",
1526
+ uri: "/v2/projects/{projectId}/regions/{region}/volume-performance-classes/{volumePerformanceClass}",
1527
+ code: 200,
1528
+ baseUrl: "https://iaas.api.stackit.cloud",
1529
+ }))).annotate({
1530
+ identifier: "GetVolumePerformanceClassRequest",
1531
+ });
1532
+ export const VolumePerformanceClass = /*@__PURE__*/ S.suspend(() => S.Struct({
1533
+ description: S.optional(S.String),
1534
+ iops: S.optional(S.Number),
1535
+ labels: S.optional(S.Unknown),
1536
+ name: S.String,
1537
+ throughput: S.optional(S.Number),
1538
+ })).annotate({ identifier: "VolumePerformanceClass" });
1539
+ export const ImageFromVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1540
+ projectId: S.String.pipe(T.Label()),
1541
+ region: S.String.pipe(T.Label()),
1542
+ volumeId: S.String.pipe(T.Label()),
1543
+ diskFormat: S.String,
1544
+ force: S.optional(S.Boolean),
1545
+ name: S.String,
1546
+ protected: S.optional(S.Boolean),
1547
+ }).pipe(T.Http({
1548
+ method: "POST",
1549
+ uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}/upload",
1550
+ code: 200,
1551
+ baseUrl: "https://iaas.api.stackit.cloud",
1552
+ }))).annotate({ identifier: "ImageFromVolumeRequest" });
1553
+ export const ListAffinityGroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1554
+ projectId: S.String.pipe(T.Label()),
1555
+ region: S.String.pipe(T.Label()),
1556
+ }).pipe(T.Http({
1557
+ method: "GET",
1558
+ uri: "/v2/projects/{projectId}/regions/{region}/affinity-groups",
1559
+ code: 200,
1560
+ baseUrl: "https://iaas.api.stackit.cloud",
1561
+ }))).annotate({
1562
+ identifier: "ListAffinityGroupsRequest",
1563
+ });
1564
+ export const AffinityGroupList = /*@__PURE__*/ S.Array(AffinityGroup);
1565
+ export const AffinityGroupListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1566
+ items: AffinityGroupList,
1567
+ })).annotate({
1568
+ identifier: "AffinityGroupListResponse",
1569
+ });
1570
+ export const ListAttachedVolumesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1571
+ projectId: S.String.pipe(T.Label()),
1572
+ region: S.String.pipe(T.Label()),
1573
+ serverId: S.String.pipe(T.Label()),
1574
+ }).pipe(T.Http({
1575
+ method: "GET",
1576
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/volume-attachments",
1577
+ code: 200,
1578
+ baseUrl: "https://iaas.api.stackit.cloud",
1579
+ }))).annotate({
1580
+ identifier: "ListAttachedVolumesRequest",
1581
+ });
1582
+ export const VolumeAttachmentList = /*@__PURE__*/ S.Array(VolumeAttachment);
1583
+ export const VolumeAttachmentListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1584
+ items: VolumeAttachmentList,
1585
+ })).annotate({
1586
+ identifier: "VolumeAttachmentListResponse",
1587
+ });
1588
+ export const ListAvailabilityZonesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1589
+ region: S.String.pipe(T.Label()),
1590
+ }).pipe(T.Http({
1591
+ method: "GET",
1592
+ uri: "/v2/regions/{region}/availability-zones",
1593
+ code: 200,
1594
+ baseUrl: "https://iaas.api.stackit.cloud",
1595
+ }))).annotate({
1596
+ identifier: "ListAvailabilityZonesRequest",
1597
+ });
1598
+ export const AvailabilityZoneList = /*@__PURE__*/ S.Array(S.String);
1599
+ export const AvailabilityZoneListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1600
+ items: AvailabilityZoneList,
1601
+ })).annotate({
1602
+ identifier: "AvailabilityZoneListResponse",
1603
+ });
1604
+ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1605
+ projectId: S.String.pipe(T.Label()),
1606
+ region: S.String.pipe(T.Label()),
1607
+ label_selector: S.optional(S.String.pipe(T.Query())),
1608
+ }).pipe(T.Http({
1609
+ method: "GET",
1610
+ uri: "/v2/projects/{projectId}/regions/{region}/backups",
1611
+ code: 200,
1612
+ baseUrl: "https://iaas.api.stackit.cloud",
1613
+ }))).annotate({ identifier: "ListBackupsRequest" });
1614
+ export const BackupList = /*@__PURE__*/ S.Array(Backup);
1615
+ export const BackupListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1616
+ items: BackupList,
1617
+ })).annotate({ identifier: "BackupListResponse" });
1618
+ export const ListImagesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1619
+ projectId: S.String.pipe(T.Label()),
1620
+ region: S.String.pipe(T.Label()),
1621
+ all: S.optional(S.Boolean.pipe(T.Query())),
1622
+ label_selector: S.optional(S.String.pipe(T.Query())),
1623
+ }).pipe(T.Http({
1624
+ method: "GET",
1625
+ uri: "/v2/projects/{projectId}/regions/{region}/images",
1626
+ code: 200,
1627
+ baseUrl: "https://iaas.api.stackit.cloud",
1628
+ }))).annotate({ identifier: "ListImagesRequest" });
1629
+ export const ImageList = /*@__PURE__*/ S.Array(Image);
1630
+ export const ImageListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1631
+ items: ImageList,
1632
+ })).annotate({ identifier: "ImageListResponse" });
1633
+ export const ListKeyPairsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1634
+ label_selector: S.optional(S.String.pipe(T.Query())),
1635
+ }).pipe(T.Http({
1636
+ method: "GET",
1637
+ uri: "/v2/keypairs",
1638
+ code: 200,
1639
+ baseUrl: "https://iaas.api.stackit.cloud",
1640
+ }))).annotate({ identifier: "ListKeyPairsRequest" });
1641
+ export const KeyPairList = /*@__PURE__*/ S.Array(Keypair);
1642
+ export const KeyPairListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1643
+ items: KeyPairList,
1644
+ })).annotate({ identifier: "KeyPairListResponse" });
1645
+ export const ListMachineTypesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1646
+ projectId: S.String.pipe(T.Label()),
1647
+ region: S.String.pipe(T.Label()),
1648
+ filter: S.optional(S.String.pipe(T.Query())),
1649
+ }).pipe(T.Http({
1650
+ method: "GET",
1651
+ uri: "/v2/projects/{projectId}/regions/{region}/machine-types",
1652
+ code: 200,
1653
+ baseUrl: "https://iaas.api.stackit.cloud",
1654
+ }))).annotate({ identifier: "ListMachineTypesRequest" });
1655
+ export const MachineTypeList = /*@__PURE__*/ S.Array(MachineType);
1656
+ export const MachineTypeListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1657
+ items: MachineTypeList,
1658
+ })).annotate({ identifier: "MachineTypeListResponse" });
1659
+ export const ListNetworkAreaProjectsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1660
+ organizationId: S.String.pipe(T.Label()),
1661
+ areaId: S.String.pipe(T.Label()),
1662
+ }).pipe(T.Http({
1663
+ method: "GET",
1664
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/projects",
1665
+ code: 200,
1666
+ baseUrl: "https://iaas.api.stackit.cloud",
1667
+ }))).annotate({
1668
+ identifier: "ListNetworkAreaProjectsRequest",
1669
+ });
1670
+ export const ProjectList = /*@__PURE__*/ S.Array(S.String);
1671
+ export const ProjectListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1672
+ items: ProjectList,
1673
+ })).annotate({ identifier: "ProjectListResponse" });
1674
+ export const ListNetworkAreaRangesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1675
+ organizationId: S.String.pipe(T.Label()),
1676
+ areaId: S.String.pipe(T.Label()),
1677
+ region: S.String.pipe(T.Label()),
1678
+ }).pipe(T.Http({
1679
+ method: "GET",
1680
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/network-ranges",
1681
+ code: 200,
1682
+ baseUrl: "https://iaas.api.stackit.cloud",
1683
+ }))).annotate({
1684
+ identifier: "ListNetworkAreaRangesRequest",
1685
+ });
1686
+ export const ListNetworkAreaRegionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1687
+ organizationId: S.String.pipe(T.Label()),
1688
+ areaId: S.String.pipe(T.Label()),
1689
+ }).pipe(T.Http({
1690
+ method: "GET",
1691
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions",
1692
+ code: 200,
1693
+ baseUrl: "https://iaas.api.stackit.cloud",
1694
+ }))).annotate({
1695
+ identifier: "ListNetworkAreaRegionsRequest",
1696
+ });
1697
+ export const RegionalAreaListResponseRegionsMap = /*@__PURE__*/ S.Record(S.String, RegionalArea);
1698
+ export const RegionalAreaListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1699
+ regions: RegionalAreaListResponseRegionsMap,
1700
+ })).annotate({ identifier: "RegionalAreaListResponse" });
1701
+ export const ListNetworkAreaRoutesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1702
+ organizationId: S.String.pipe(T.Label()),
1703
+ areaId: S.String.pipe(T.Label()),
1704
+ region: S.String.pipe(T.Label()),
1705
+ label_selector: S.optional(S.String.pipe(T.Query())),
1706
+ }).pipe(T.Http({
1707
+ method: "GET",
1708
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routes",
1709
+ code: 200,
1710
+ baseUrl: "https://iaas.api.stackit.cloud",
1711
+ }))).annotate({
1712
+ identifier: "ListNetworkAreaRoutesRequest",
1713
+ });
1714
+ export const ListNetworkAreasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1715
+ organizationId: S.String.pipe(T.Label()),
1716
+ label_selector: S.optional(S.String.pipe(T.Query())),
1717
+ }).pipe(T.Http({
1718
+ method: "GET",
1719
+ uri: "/v2/organizations/{organizationId}/network-areas",
1720
+ code: 200,
1721
+ baseUrl: "https://iaas.api.stackit.cloud",
1722
+ }))).annotate({ identifier: "ListNetworkAreasRequest" });
1723
+ export const NetworkAreaList = /*@__PURE__*/ S.Array(NetworkArea);
1724
+ export const NetworkAreaListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1725
+ items: NetworkAreaList,
1726
+ })).annotate({ identifier: "NetworkAreaListResponse" });
1727
+ export const ListNetworksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1728
+ projectId: S.String.pipe(T.Label()),
1729
+ region: S.String.pipe(T.Label()),
1730
+ label_selector: S.optional(S.String.pipe(T.Query())),
1731
+ }).pipe(T.Http({
1732
+ method: "GET",
1733
+ uri: "/v2/projects/{projectId}/regions/{region}/networks",
1734
+ code: 200,
1735
+ baseUrl: "https://iaas.api.stackit.cloud",
1736
+ }))).annotate({ identifier: "ListNetworksRequest" });
1737
+ export const NetworkList = /*@__PURE__*/ S.Array(Network);
1738
+ export const NetworkListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1739
+ items: NetworkList,
1740
+ })).annotate({ identifier: "NetworkListResponse" });
1741
+ export const ListNicsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1742
+ projectId: S.String.pipe(T.Label()),
1743
+ region: S.String.pipe(T.Label()),
1744
+ networkId: S.String.pipe(T.Label()),
1745
+ label_selector: S.optional(S.String.pipe(T.Query())),
1746
+ }).pipe(T.Http({
1747
+ method: "GET",
1748
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics",
1749
+ code: 200,
1750
+ baseUrl: "https://iaas.api.stackit.cloud",
1751
+ }))).annotate({ identifier: "ListNicsRequest" });
1752
+ export const NICList = /*@__PURE__*/ S.Array(NIC);
1753
+ export const NICListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1754
+ items: NICList,
1755
+ })).annotate({ identifier: "NICListResponse" });
1756
+ export const ListProjectNICsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1757
+ projectId: S.String.pipe(T.Label()),
1758
+ region: S.String.pipe(T.Label()),
1759
+ label_selector: S.optional(S.String.pipe(T.Query())),
1760
+ }).pipe(T.Http({
1761
+ method: "GET",
1762
+ uri: "/v2/projects/{projectId}/regions/{region}/nics",
1763
+ code: 200,
1764
+ baseUrl: "https://iaas.api.stackit.cloud",
1765
+ }))).annotate({ identifier: "ListProjectNICsRequest" });
1766
+ export const ListPublicIPRangesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
1767
+ method: "GET",
1768
+ uri: "/v2/networks/public-ip-ranges",
1769
+ code: 200,
1770
+ baseUrl: "https://iaas.api.stackit.cloud",
1771
+ }))).annotate({
1772
+ identifier: "ListPublicIPRangesRequest",
1773
+ });
1774
+ export const PublicNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
1775
+ cidr: S.String,
1776
+ region: S.String,
1777
+ })).annotate({ identifier: "PublicNetwork" });
1778
+ export const PublicNetworkList = /*@__PURE__*/ S.Array(PublicNetwork);
1779
+ export const PublicNetworkListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1780
+ items: PublicNetworkList,
1781
+ })).annotate({
1782
+ identifier: "PublicNetworkListResponse",
1783
+ });
1784
+ export const ListPublicIPsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1785
+ projectId: S.String.pipe(T.Label()),
1786
+ region: S.String.pipe(T.Label()),
1787
+ label_selector: S.optional(S.String.pipe(T.Query())),
1788
+ }).pipe(T.Http({
1789
+ method: "GET",
1790
+ uri: "/v2/projects/{projectId}/regions/{region}/public-ips",
1791
+ code: 200,
1792
+ baseUrl: "https://iaas.api.stackit.cloud",
1793
+ }))).annotate({ identifier: "ListPublicIPsRequest" });
1794
+ export const PublicIpList = /*@__PURE__*/ S.Array(PublicIp);
1795
+ export const PublicIpListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1796
+ items: PublicIpList,
1797
+ })).annotate({ identifier: "PublicIpListResponse" });
1798
+ export const ListQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1799
+ projectId: S.String.pipe(T.Label()),
1800
+ region: S.String.pipe(T.Label()),
1801
+ }).pipe(T.Http({
1802
+ method: "GET",
1803
+ uri: "/v2/projects/{projectId}/regions/{region}/quotas",
1804
+ code: 200,
1805
+ baseUrl: "https://iaas.api.stackit.cloud",
1806
+ }))).annotate({ identifier: "ListQuotasRequest" });
1807
+ export const Quota = /*@__PURE__*/ S.suspend(() => S.Struct({
1808
+ limit: S.Number,
1809
+ usage: S.Number,
1810
+ })).annotate({ identifier: "Quota" });
1811
+ export const QuotaList = /*@__PURE__*/ S.suspend(() => S.Struct({
1812
+ backupGigabytes: Quota,
1813
+ backups: Quota,
1814
+ gigabytes: Quota,
1815
+ networks: Quota,
1816
+ nics: Quota,
1817
+ publicIps: Quota,
1818
+ ram: Quota,
1819
+ securityGroupRules: Quota,
1820
+ securityGroups: Quota,
1821
+ snapshots: Quota,
1822
+ vcpu: Quota,
1823
+ volumes: Quota,
1824
+ })).annotate({ identifier: "QuotaList" });
1825
+ export const QuotaListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1826
+ quotas: QuotaList,
1827
+ })).annotate({ identifier: "QuotaListResponse" });
1828
+ export const ListRoutesOfRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1829
+ organizationId: S.String.pipe(T.Label()),
1830
+ areaId: S.String.pipe(T.Label()),
1831
+ region: S.String.pipe(T.Label()),
1832
+ routingTableId: S.String.pipe(T.Label()),
1833
+ label_selector: S.optional(S.String.pipe(T.Query())),
1834
+ }).pipe(T.Http({
1835
+ method: "GET",
1836
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes",
1837
+ code: 200,
1838
+ baseUrl: "https://iaas.api.stackit.cloud",
1839
+ }))).annotate({
1840
+ identifier: "ListRoutesOfRoutingTableRequest",
1841
+ });
1842
+ export const ListRoutingTablesOfAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1843
+ organizationId: S.String.pipe(T.Label()),
1844
+ areaId: S.String.pipe(T.Label()),
1845
+ region: S.String.pipe(T.Label()),
1846
+ label_selector: S.optional(S.String.pipe(T.Query())),
1847
+ }).pipe(T.Http({
1848
+ method: "GET",
1849
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables",
1850
+ code: 200,
1851
+ baseUrl: "https://iaas.api.stackit.cloud",
1852
+ }))).annotate({
1853
+ identifier: "ListRoutingTablesOfAreaRequest",
1854
+ });
1855
+ export const RoutingTablesList = /*@__PURE__*/ S.Array(RoutingTable);
1856
+ export const RoutingTableListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1857
+ items: RoutingTablesList,
1858
+ })).annotate({ identifier: "RoutingTableListResponse" });
1859
+ export const ListSecurityGroupRulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1860
+ projectId: S.String.pipe(T.Label()),
1861
+ region: S.String.pipe(T.Label()),
1862
+ securityGroupId: S.String.pipe(T.Label()),
1863
+ }).pipe(T.Http({
1864
+ method: "GET",
1865
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}/rules",
1866
+ code: 200,
1867
+ baseUrl: "https://iaas.api.stackit.cloud",
1868
+ }))).annotate({
1869
+ identifier: "ListSecurityGroupRulesRequest",
1870
+ });
1871
+ export const SecurityGroupRuleListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1872
+ items: SecurityGroupRuleList,
1873
+ })).annotate({
1874
+ identifier: "SecurityGroupRuleListResponse",
1875
+ });
1876
+ export const ListSecurityGroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1877
+ projectId: S.String.pipe(T.Label()),
1878
+ region: S.String.pipe(T.Label()),
1879
+ label_selector: S.optional(S.String.pipe(T.Query())),
1880
+ }).pipe(T.Http({
1881
+ method: "GET",
1882
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups",
1883
+ code: 200,
1884
+ baseUrl: "https://iaas.api.stackit.cloud",
1885
+ }))).annotate({
1886
+ identifier: "ListSecurityGroupsRequest",
1887
+ });
1888
+ export const SecurityGroupList = /*@__PURE__*/ S.Array(SecurityGroup);
1889
+ export const SecurityGroupListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1890
+ items: SecurityGroupList,
1891
+ })).annotate({
1892
+ identifier: "SecurityGroupListResponse",
1893
+ });
1894
+ export const ListServerNICsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1895
+ projectId: S.String.pipe(T.Label()),
1896
+ region: S.String.pipe(T.Label()),
1897
+ serverId: S.String.pipe(T.Label()),
1898
+ }).pipe(T.Http({
1899
+ method: "GET",
1900
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/nics",
1901
+ code: 200,
1902
+ baseUrl: "https://iaas.api.stackit.cloud",
1903
+ }))).annotate({ identifier: "ListServerNICsRequest" });
1904
+ export const ListServersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1905
+ projectId: S.String.pipe(T.Label()),
1906
+ region: S.String.pipe(T.Label()),
1907
+ details: S.optional(S.Boolean.pipe(T.Query())),
1908
+ label_selector: S.optional(S.String.pipe(T.Query())),
1909
+ }).pipe(T.Http({
1910
+ method: "GET",
1911
+ uri: "/v2/projects/{projectId}/regions/{region}/servers",
1912
+ code: 200,
1913
+ baseUrl: "https://iaas.api.stackit.cloud",
1914
+ }))).annotate({ identifier: "ListServersRequest" });
1915
+ export const ServerListOutput = /*@__PURE__*/ S.Array(ServerOutput);
1916
+ export const ServerListResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
1917
+ items: ServerListOutput,
1918
+ })).annotate({ identifier: "ServerListResponseOutput" });
1919
+ export const ListServerServiceAccountsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1920
+ projectId: S.String.pipe(T.Label()),
1921
+ region: S.String.pipe(T.Label()),
1922
+ serverId: S.String.pipe(T.Label()),
1923
+ }).pipe(T.Http({
1924
+ method: "GET",
1925
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/service-accounts",
1926
+ code: 200,
1927
+ baseUrl: "https://iaas.api.stackit.cloud",
1928
+ }))).annotate({
1929
+ identifier: "ListServerServiceAccountsRequest",
1930
+ });
1931
+ export const ListSnapshotsInProjectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1932
+ projectId: S.String.pipe(T.Label()),
1933
+ region: S.String.pipe(T.Label()),
1934
+ label_selector: S.optional(S.String.pipe(T.Query())),
1935
+ }).pipe(T.Http({
1936
+ method: "GET",
1937
+ uri: "/v2/projects/{projectId}/regions/{region}/snapshots",
1938
+ code: 200,
1939
+ baseUrl: "https://iaas.api.stackit.cloud",
1940
+ }))).annotate({
1941
+ identifier: "ListSnapshotsInProjectRequest",
1942
+ });
1943
+ export const SnapshotList = /*@__PURE__*/ S.Array(Snapshot);
1944
+ export const SnapshotListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1945
+ items: SnapshotList,
1946
+ })).annotate({ identifier: "SnapshotListResponse" });
1947
+ export const ListVolumePerformanceClassesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1948
+ projectId: S.String.pipe(T.Label()),
1949
+ region: S.String.pipe(T.Label()),
1950
+ label_selector: S.optional(S.String.pipe(T.Query())),
1951
+ }).pipe(T.Http({
1952
+ method: "GET",
1953
+ uri: "/v2/projects/{projectId}/regions/{region}/volume-performance-classes",
1954
+ code: 200,
1955
+ baseUrl: "https://iaas.api.stackit.cloud",
1956
+ }))).annotate({
1957
+ identifier: "ListVolumePerformanceClassesRequest",
1958
+ });
1959
+ export const VolumePerformanceClassList = /*@__PURE__*/ S.Array(VolumePerformanceClass);
1960
+ export const VolumePerformanceClassListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1961
+ items: VolumePerformanceClassList,
1962
+ })).annotate({
1963
+ identifier: "VolumePerformanceClassListResponse",
1964
+ });
1965
+ export const ListVolumesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1966
+ projectId: S.String.pipe(T.Label()),
1967
+ region: S.String.pipe(T.Label()),
1968
+ label_selector: S.optional(S.String.pipe(T.Query())),
1969
+ }).pipe(T.Http({
1970
+ method: "GET",
1971
+ uri: "/v2/projects/{projectId}/regions/{region}/volumes",
1972
+ code: 200,
1973
+ baseUrl: "https://iaas.api.stackit.cloud",
1974
+ }))).annotate({ identifier: "ListVolumesRequest" });
1975
+ export const VolumeList = /*@__PURE__*/ S.Array(Volume);
1976
+ export const VolumeListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1977
+ items: VolumeList,
1978
+ })).annotate({ identifier: "VolumeListResponse" });
1979
+ export const UpdateNetworkIPv4Body = /*@__PURE__*/ S.suspend(() => S.Struct({
1980
+ gateway: S.optional(S.NullOr(S.String)),
1981
+ nameservers: S.optional(NameserversIPv4),
1982
+ })).annotate({ identifier: "UpdateNetworkIPv4Body" });
1983
+ export const UpdateNetworkIPv6Body = /*@__PURE__*/ S.suspend(() => S.Struct({
1984
+ gateway: S.optional(S.NullOr(S.String)),
1985
+ nameservers: S.optional(NameserversIPv6),
1986
+ })).annotate({ identifier: "UpdateNetworkIPv6Body" });
1987
+ export const PartialUpdateNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1988
+ projectId: S.String.pipe(T.Label()),
1989
+ region: S.String.pipe(T.Label()),
1990
+ networkId: S.String.pipe(T.Label()),
1991
+ description: S.optional(S.String),
1992
+ dhcp: S.optional(S.Boolean),
1993
+ ipv4: S.optional(UpdateNetworkIPv4Body),
1994
+ ipv6: S.optional(UpdateNetworkIPv6Body),
1995
+ labels: S.optional(S.Unknown),
1996
+ name: S.optional(S.String),
1997
+ routed: S.optional(S.Boolean),
1998
+ routingTableId: S.optional(S.String),
1999
+ }).pipe(T.Http({
2000
+ method: "PATCH",
2001
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}",
2002
+ code: 200,
2003
+ baseUrl: "https://iaas.api.stackit.cloud",
2004
+ }))).annotate({
2005
+ identifier: "PartialUpdateNetworkRequest",
2006
+ });
2007
+ export const PartialUpdateNetworkResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2008
+ identifier: "PartialUpdateNetworkResponse",
2009
+ });
2010
+ export const PartialUpdateNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2011
+ organizationId: S.String.pipe(T.Label()),
2012
+ areaId: S.String.pipe(T.Label()),
2013
+ labels: S.optional(S.Unknown),
2014
+ name: S.optional(S.String),
2015
+ }).pipe(T.Http({
2016
+ method: "PATCH",
2017
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}",
2018
+ code: 200,
2019
+ baseUrl: "https://iaas.api.stackit.cloud",
2020
+ }))).annotate({
2021
+ identifier: "PartialUpdateNetworkAreaRequest",
2022
+ });
2023
+ export const RebootServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2024
+ projectId: S.String.pipe(T.Label()),
2025
+ region: S.String.pipe(T.Label()),
2026
+ serverId: S.String.pipe(T.Label()),
2027
+ action: S.optional(S.String.pipe(T.Query())),
2028
+ }).pipe(T.Http({
2029
+ method: "POST",
2030
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/reboot",
2031
+ code: 200,
2032
+ baseUrl: "https://iaas.api.stackit.cloud",
2033
+ }))).annotate({ identifier: "RebootServerRequest" });
2034
+ export const RebootServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2035
+ identifier: "RebootServerResponse",
2036
+ });
2037
+ export const RemoveNetworkFromServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2038
+ projectId: S.String.pipe(T.Label()),
2039
+ region: S.String.pipe(T.Label()),
2040
+ serverId: S.String.pipe(T.Label()),
2041
+ networkId: S.String.pipe(T.Label()),
2042
+ }).pipe(T.Http({
2043
+ method: "DELETE",
2044
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/networks/{networkId}",
2045
+ code: 200,
2046
+ baseUrl: "https://iaas.api.stackit.cloud",
2047
+ }))).annotate({
2048
+ identifier: "RemoveNetworkFromServerRequest",
2049
+ });
2050
+ export const RemoveNetworkFromServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "RemoveNetworkFromServerResponse" });
2051
+ export const RemoveNicFromServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2052
+ projectId: S.String.pipe(T.Label()),
2053
+ region: S.String.pipe(T.Label()),
2054
+ serverId: S.String.pipe(T.Label()),
2055
+ nicId: S.String.pipe(T.Label()),
2056
+ }).pipe(T.Http({
2057
+ method: "DELETE",
2058
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/nics/{nicId}",
2059
+ code: 200,
2060
+ baseUrl: "https://iaas.api.stackit.cloud",
2061
+ }))).annotate({
2062
+ identifier: "RemoveNicFromServerRequest",
2063
+ });
2064
+ export const RemoveNicFromServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2065
+ identifier: "RemoveNicFromServerResponse",
2066
+ });
2067
+ export const RemovePublicIpFromServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2068
+ projectId: S.String.pipe(T.Label()),
2069
+ region: S.String.pipe(T.Label()),
2070
+ serverId: S.String.pipe(T.Label()),
2071
+ publicIpId: S.String.pipe(T.Label()),
2072
+ }).pipe(T.Http({
2073
+ method: "DELETE",
2074
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/public-ips/{publicIpId}",
2075
+ code: 200,
2076
+ baseUrl: "https://iaas.api.stackit.cloud",
2077
+ }))).annotate({
2078
+ identifier: "RemovePublicIpFromServerRequest",
2079
+ });
2080
+ export const RemovePublicIpFromServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2081
+ identifier: "RemovePublicIpFromServerResponse",
2082
+ });
2083
+ export const RemoveSecurityGroupFromServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2084
+ projectId: S.String.pipe(T.Label()),
2085
+ region: S.String.pipe(T.Label()),
2086
+ serverId: S.String.pipe(T.Label()),
2087
+ securityGroupId: S.String.pipe(T.Label()),
2088
+ }).pipe(T.Http({
2089
+ method: "DELETE",
2090
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/security-groups/{securityGroupId}",
2091
+ code: 200,
2092
+ baseUrl: "https://iaas.api.stackit.cloud",
2093
+ }))).annotate({
2094
+ identifier: "RemoveSecurityGroupFromServerRequest",
2095
+ });
2096
+ export const RemoveSecurityGroupFromServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2097
+ identifier: "RemoveSecurityGroupFromServerResponse",
2098
+ });
2099
+ export const RemoveServiceAccountFromServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2100
+ projectId: S.String.pipe(T.Label()),
2101
+ region: S.String.pipe(T.Label()),
2102
+ serverId: S.String.pipe(T.Label()),
2103
+ serviceAccountMail: S.String.pipe(T.Label()),
2104
+ }).pipe(T.Http({
2105
+ method: "DELETE",
2106
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/service-accounts/{serviceAccountMail}",
2107
+ code: 200,
2108
+ baseUrl: "https://iaas.api.stackit.cloud",
2109
+ }))).annotate({
2110
+ identifier: "RemoveServiceAccountFromServerRequest",
2111
+ });
2112
+ export const RemoveVolumeFromServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2113
+ projectId: S.String.pipe(T.Label()),
2114
+ region: S.String.pipe(T.Label()),
2115
+ serverId: S.String.pipe(T.Label()),
2116
+ volumeId: S.String.pipe(T.Label()),
2117
+ }).pipe(T.Http({
2118
+ method: "DELETE",
2119
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/volume-attachments/{volumeId}",
2120
+ code: 200,
2121
+ baseUrl: "https://iaas.api.stackit.cloud",
2122
+ }))).annotate({
2123
+ identifier: "RemoveVolumeFromServerRequest",
2124
+ });
2125
+ export const RemoveVolumeFromServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2126
+ identifier: "RemoveVolumeFromServerResponse",
2127
+ });
2128
+ export const RescueServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2129
+ projectId: S.String.pipe(T.Label()),
2130
+ region: S.String.pipe(T.Label()),
2131
+ serverId: S.String.pipe(T.Label()),
2132
+ image: S.String,
2133
+ }).pipe(T.Http({
2134
+ method: "POST",
2135
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/rescue",
2136
+ code: 200,
2137
+ baseUrl: "https://iaas.api.stackit.cloud",
2138
+ }))).annotate({ identifier: "RescueServerRequest" });
2139
+ export const RescueServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2140
+ identifier: "RescueServerResponse",
2141
+ });
2142
+ export const ResizeServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2143
+ projectId: S.String.pipe(T.Label()),
2144
+ region: S.String.pipe(T.Label()),
2145
+ serverId: S.String.pipe(T.Label()),
2146
+ machineType: S.String,
2147
+ }).pipe(T.Http({
2148
+ method: "POST",
2149
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/resize",
2150
+ code: 200,
2151
+ baseUrl: "https://iaas.api.stackit.cloud",
2152
+ }))).annotate({ identifier: "ResizeServerRequest" });
2153
+ export const ResizeServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2154
+ identifier: "ResizeServerResponse",
2155
+ });
2156
+ export const ResizeVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2157
+ projectId: S.String.pipe(T.Label()),
2158
+ region: S.String.pipe(T.Label()),
2159
+ volumeId: S.String.pipe(T.Label()),
2160
+ size: S.Number,
2161
+ }).pipe(T.Http({
2162
+ method: "POST",
2163
+ uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}/resize",
2164
+ code: 200,
2165
+ baseUrl: "https://iaas.api.stackit.cloud",
2166
+ }))).annotate({ identifier: "ResizeVolumeRequest" });
2167
+ export const ResizeVolumeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2168
+ identifier: "ResizeVolumeResponse",
2169
+ });
2170
+ export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2171
+ projectId: S.String.pipe(T.Label()),
2172
+ region: S.String.pipe(T.Label()),
2173
+ backupId: S.String.pipe(T.Label()),
2174
+ }).pipe(T.Http({
2175
+ method: "POST",
2176
+ uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}/restore",
2177
+ code: 200,
2178
+ baseUrl: "https://iaas.api.stackit.cloud",
2179
+ }))).annotate({ identifier: "RestoreBackupRequest" });
2180
+ export const RestoreBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2181
+ identifier: "RestoreBackupResponse",
2182
+ });
2183
+ export const SetImageShareRequestProjectsList = /*@__PURE__*/ S.Array(S.String);
2184
+ export const SetImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2185
+ projectId: S.String.pipe(T.Label()),
2186
+ region: S.String.pipe(T.Label()),
2187
+ imageId: S.String.pipe(T.Label()),
2188
+ parentOrganization: S.optional(S.Boolean),
2189
+ projects: S.optional(SetImageShareRequestProjectsList),
2190
+ }).pipe(T.Http({
2191
+ method: "PUT",
2192
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
2193
+ code: 200,
2194
+ baseUrl: "https://iaas.api.stackit.cloud",
2195
+ }))).annotate({ identifier: "SetImageShareRequest" });
2196
+ export const StartServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2197
+ projectId: S.String.pipe(T.Label()),
2198
+ region: S.String.pipe(T.Label()),
2199
+ serverId: S.String.pipe(T.Label()),
2200
+ }).pipe(T.Http({
2201
+ method: "POST",
2202
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/start",
2203
+ code: 200,
2204
+ baseUrl: "https://iaas.api.stackit.cloud",
2205
+ }))).annotate({ identifier: "StartServerRequest" });
2206
+ export const StartServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2207
+ identifier: "StartServerResponse",
2208
+ });
2209
+ export const StopServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2210
+ projectId: S.String.pipe(T.Label()),
2211
+ region: S.String.pipe(T.Label()),
2212
+ serverId: S.String.pipe(T.Label()),
2213
+ }).pipe(T.Http({
2214
+ method: "POST",
2215
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/stop",
2216
+ code: 200,
2217
+ baseUrl: "https://iaas.api.stackit.cloud",
2218
+ }))).annotate({ identifier: "StopServerRequest" });
2219
+ export const StopServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2220
+ identifier: "StopServerResponse",
2221
+ });
2222
+ export const UnrescueServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2223
+ projectId: S.String.pipe(T.Label()),
2224
+ region: S.String.pipe(T.Label()),
2225
+ serverId: S.String.pipe(T.Label()),
2226
+ }).pipe(T.Http({
2227
+ method: "POST",
2228
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/unrescue",
2229
+ code: 200,
2230
+ baseUrl: "https://iaas.api.stackit.cloud",
2231
+ }))).annotate({ identifier: "UnrescueServerRequest" });
2232
+ export const UnrescueServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2233
+ identifier: "UnrescueServerResponse",
2234
+ });
2235
+ export const UpdateAttachedVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2236
+ projectId: S.String.pipe(T.Label()),
2237
+ region: S.String.pipe(T.Label()),
2238
+ serverId: S.String.pipe(T.Label()),
2239
+ volumeId: S.String.pipe(T.Label()),
2240
+ deleteOnTermination: S.optional(S.Boolean),
2241
+ }).pipe(T.Http({
2242
+ method: "PATCH",
2243
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/volume-attachments/{volumeId}",
2244
+ code: 200,
2245
+ baseUrl: "https://iaas.api.stackit.cloud",
2246
+ }))).annotate({
2247
+ identifier: "UpdateAttachedVolumeRequest",
2248
+ });
2249
+ export const UpdateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2250
+ projectId: S.String.pipe(T.Label()),
2251
+ region: S.String.pipe(T.Label()),
2252
+ backupId: S.String.pipe(T.Label()),
2253
+ description: S.optional(S.String),
2254
+ labels: S.optional(S.Unknown),
2255
+ name: S.optional(S.String),
2256
+ }).pipe(T.Http({
2257
+ method: "PATCH",
2258
+ uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}",
2259
+ code: 200,
2260
+ baseUrl: "https://iaas.api.stackit.cloud",
2261
+ }))).annotate({ identifier: "UpdateBackupRequest" });
2262
+ export const UpdateImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2263
+ projectId: S.String.pipe(T.Label()),
2264
+ region: S.String.pipe(T.Label()),
2265
+ imageId: S.String.pipe(T.Label()),
2266
+ agent: S.optional(ImageAgent),
2267
+ config: S.optional(ImageConfig),
2268
+ diskFormat: S.optional(S.String),
2269
+ labels: S.optional(S.Unknown),
2270
+ minDiskSize: S.optional(S.Number),
2271
+ minRam: S.optional(S.Number),
2272
+ name: S.optional(S.String),
2273
+ protected: S.optional(S.Boolean),
2274
+ }).pipe(T.Http({
2275
+ method: "PATCH",
2276
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}",
2277
+ code: 200,
2278
+ baseUrl: "https://iaas.api.stackit.cloud",
2279
+ }))).annotate({ identifier: "UpdateImageRequest" });
2280
+ export const UpdateImageShareRequestProjectsList = /*@__PURE__*/ S.Array(S.String);
2281
+ export const UpdateImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2282
+ projectId: S.String.pipe(T.Label()),
2283
+ region: S.String.pipe(T.Label()),
2284
+ imageId: S.String.pipe(T.Label()),
2285
+ parentOrganization: S.optional(S.Boolean),
2286
+ projects: S.optional(UpdateImageShareRequestProjectsList),
2287
+ }).pipe(T.Http({
2288
+ method: "PATCH",
2289
+ uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
2290
+ code: 200,
2291
+ baseUrl: "https://iaas.api.stackit.cloud",
2292
+ }))).annotate({ identifier: "UpdateImageShareRequest" });
2293
+ export const UpdateKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2294
+ keypairName: S.String.pipe(T.Label()),
2295
+ labels: S.optional(S.Unknown),
2296
+ }).pipe(T.Http({
2297
+ method: "PATCH",
2298
+ uri: "/v2/keypairs/{keypairName}",
2299
+ code: 200,
2300
+ baseUrl: "https://iaas.api.stackit.cloud",
2301
+ }))).annotate({ identifier: "UpdateKeyPairRequest" });
2302
+ export const UpdateRegionalAreaIPv4DefaultNameserversList = /*@__PURE__*/ S.Array(S.String);
2303
+ export const UpdateRegionalAreaIPv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
2304
+ defaultNameservers: S.optional(UpdateRegionalAreaIPv4DefaultNameserversList),
2305
+ defaultPrefixLen: S.optional(S.Number),
2306
+ maxPrefixLen: S.optional(S.Number),
2307
+ minPrefixLen: S.optional(S.Number),
2308
+ })).annotate({ identifier: "UpdateRegionalAreaIPv4" });
2309
+ export const UpdateNetworkAreaRegionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2310
+ organizationId: S.String.pipe(T.Label()),
2311
+ areaId: S.String.pipe(T.Label()),
2312
+ region: S.String.pipe(T.Label()),
2313
+ ipv4: S.optional(UpdateRegionalAreaIPv4),
2314
+ }).pipe(T.Http({
2315
+ method: "PATCH",
2316
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}",
2317
+ code: 200,
2318
+ baseUrl: "https://iaas.api.stackit.cloud",
2319
+ }))).annotate({
2320
+ identifier: "UpdateNetworkAreaRegionRequest",
2321
+ });
2322
+ export const UpdateNetworkAreaRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2323
+ organizationId: S.String.pipe(T.Label()),
2324
+ areaId: S.String.pipe(T.Label()),
2325
+ region: S.String.pipe(T.Label()),
2326
+ routeId: S.String.pipe(T.Label()),
2327
+ labels: S.optional(S.Unknown),
2328
+ }).pipe(T.Http({
2329
+ method: "PATCH",
2330
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routes/{routeId}",
2331
+ code: 200,
2332
+ baseUrl: "https://iaas.api.stackit.cloud",
2333
+ }))).annotate({
2334
+ identifier: "UpdateNetworkAreaRouteRequest",
2335
+ });
2336
+ export const UpdateNicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2337
+ projectId: S.String.pipe(T.Label()),
2338
+ region: S.String.pipe(T.Label()),
2339
+ networkId: S.String.pipe(T.Label()),
2340
+ nicId: S.String.pipe(T.Label()),
2341
+ allowedAddresses: S.optional(AllowedAddresses),
2342
+ description: S.optional(S.String),
2343
+ labels: S.optional(S.Unknown),
2344
+ name: S.optional(S.String),
2345
+ nicSecurity: S.optional(S.Boolean),
2346
+ securityGroups: S.optional(UUIDList),
2347
+ }).pipe(T.Http({
2348
+ method: "PATCH",
2349
+ uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics/{nicId}",
2350
+ code: 200,
2351
+ baseUrl: "https://iaas.api.stackit.cloud",
2352
+ }))).annotate({ identifier: "UpdateNicRequest" });
2353
+ export const UpdatePublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2354
+ projectId: S.String.pipe(T.Label()),
2355
+ region: S.String.pipe(T.Label()),
2356
+ publicIpId: S.String.pipe(T.Label()),
2357
+ labels: S.optional(S.Unknown),
2358
+ networkInterface: S.optional(S.NullOr(S.String)),
2359
+ }).pipe(T.Http({
2360
+ method: "PATCH",
2361
+ uri: "/v2/projects/{projectId}/regions/{region}/public-ips/{publicIpId}",
2362
+ code: 200,
2363
+ baseUrl: "https://iaas.api.stackit.cloud",
2364
+ }))).annotate({ identifier: "UpdatePublicIPRequest" });
2365
+ export const UpdateRouteOfRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2366
+ organizationId: S.String.pipe(T.Label()),
2367
+ areaId: S.String.pipe(T.Label()),
2368
+ region: S.String.pipe(T.Label()),
2369
+ routingTableId: S.String.pipe(T.Label()),
2370
+ routeId: S.String.pipe(T.Label()),
2371
+ labels: S.optional(S.Unknown),
2372
+ }).pipe(T.Http({
2373
+ method: "PATCH",
2374
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes/{routeId}",
2375
+ code: 200,
2376
+ baseUrl: "https://iaas.api.stackit.cloud",
2377
+ }))).annotate({
2378
+ identifier: "UpdateRouteOfRoutingTableRequest",
2379
+ });
2380
+ export const UpdateRoutingTableOfAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2381
+ organizationId: S.String.pipe(T.Label()),
2382
+ areaId: S.String.pipe(T.Label()),
2383
+ region: S.String.pipe(T.Label()),
2384
+ routingTableId: S.String.pipe(T.Label()),
2385
+ description: S.optional(S.String),
2386
+ dynamicRoutes: S.optional(S.Boolean),
2387
+ labels: S.optional(S.Unknown),
2388
+ name: S.optional(S.String),
2389
+ systemRoutes: S.optional(S.Boolean),
2390
+ }).pipe(T.Http({
2391
+ method: "PATCH",
2392
+ uri: "/v2/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}",
2393
+ code: 200,
2394
+ baseUrl: "https://iaas.api.stackit.cloud",
2395
+ }))).annotate({
2396
+ identifier: "UpdateRoutingTableOfAreaRequest",
2397
+ });
2398
+ export const UpdateSecurityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2399
+ projectId: S.String.pipe(T.Label()),
2400
+ region: S.String.pipe(T.Label()),
2401
+ securityGroupId: S.String.pipe(T.Label()),
2402
+ description: S.optional(S.String),
2403
+ labels: S.optional(S.Unknown),
2404
+ name: S.optional(S.String),
2405
+ }).pipe(T.Http({
2406
+ method: "PATCH",
2407
+ uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}",
2408
+ code: 200,
2409
+ baseUrl: "https://iaas.api.stackit.cloud",
2410
+ }))).annotate({
2411
+ identifier: "UpdateSecurityGroupRequest",
2412
+ });
2413
+ export const UpdateServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2414
+ projectId: S.String.pipe(T.Label()),
2415
+ region: S.String.pipe(T.Label()),
2416
+ serverId: S.String.pipe(T.Label()),
2417
+ labels: S.optional(S.Unknown),
2418
+ metadata: S.optional(S.Unknown),
2419
+ name: S.optional(S.String),
2420
+ }).pipe(T.Http({
2421
+ method: "PATCH",
2422
+ uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}",
2423
+ code: 200,
2424
+ baseUrl: "https://iaas.api.stackit.cloud",
2425
+ }))).annotate({ identifier: "UpdateServerRequest" });
2426
+ export const UpdateSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2427
+ projectId: S.String.pipe(T.Label()),
2428
+ region: S.String.pipe(T.Label()),
2429
+ snapshotId: S.String.pipe(T.Label()),
2430
+ description: S.optional(S.String),
2431
+ labels: S.optional(S.Unknown),
2432
+ name: S.optional(S.String),
2433
+ }).pipe(T.Http({
2434
+ method: "PATCH",
2435
+ uri: "/v2/projects/{projectId}/regions/{region}/snapshots/{snapshotId}",
2436
+ code: 200,
2437
+ baseUrl: "https://iaas.api.stackit.cloud",
2438
+ }))).annotate({ identifier: "UpdateSnapshotRequest" });
2439
+ export const UpdateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2440
+ projectId: S.String.pipe(T.Label()),
2441
+ region: S.String.pipe(T.Label()),
2442
+ volumeId: S.String.pipe(T.Label()),
2443
+ bootable: S.optional(S.Boolean),
2444
+ description: S.optional(S.String),
2445
+ imageConfig: S.optional(ImageConfig),
2446
+ labels: S.optional(S.Unknown),
2447
+ name: S.optional(S.String),
2448
+ }).pipe(T.Http({
2449
+ method: "PATCH",
2450
+ uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}",
2451
+ code: 200,
2452
+ baseUrl: "https://iaas.api.stackit.cloud",
2453
+ }))).annotate({ identifier: "UpdateVolumeRequest" });
2454
+ /** Create and attach a network interface from the specified network. Create and attach a network interface from the specified network to the server. */
2455
+ export const addNetworkToServer = /*@__PURE__*/ API.make(() => ({
2456
+ input: AddNetworkToServerRequest,
2457
+ output: AddNetworkToServerResponse,
2458
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2459
+ protocol: StackitProtocol,
2460
+ retry: Retry.Retry,
2461
+ }));
2462
+ /** Attach an existing network interface. Attach an existing network interface to a server. */
2463
+ export const addNicToServer = /*@__PURE__*/ API.make(() => ({
2464
+ input: AddNicToServerRequest,
2465
+ output: AddNicToServerResponse,
2466
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2467
+ protocol: StackitProtocol,
2468
+ retry: Retry.Retry,
2469
+ }));
2470
+ /** Associate a public IP to the server. Associate a public IP to a server. */
2471
+ export const addPublicIpToServer = /*@__PURE__*/ API.make(() => ({
2472
+ input: AddPublicIpToServerRequest,
2473
+ output: AddPublicIpToServerResponse,
2474
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2475
+ protocol: StackitProtocol,
2476
+ retry: Retry.Retry,
2477
+ }));
2478
+ /** Create new routes in a routing table. Create new routes in an existing routing table. */
2479
+ export const addRoutesToRoutingTable = /*@__PURE__*/ API.make(() => ({
2480
+ input: AddRoutesToRoutingTableRequest,
2481
+ output: RouteListResponse,
2482
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2483
+ protocol: StackitProtocol,
2484
+ retry: Retry.Retry,
2485
+ }));
2486
+ /** Create new routing table in a network area. Create a new routing table in an existing network area. */
2487
+ export const addRoutingTableToArea = /*@__PURE__*/ API.make(() => ({
2488
+ input: AddRoutingTableToAreaRequest,
2489
+ output: RoutingTable,
2490
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2491
+ protocol: StackitProtocol,
2492
+ retry: Retry.Retry,
2493
+ }));
2494
+ /** Add a server to a security group. Add an existing server to an existing security group. */
2495
+ export const addSecurityGroupToServer = /*@__PURE__*/ API.make(() => ({
2496
+ input: AddSecurityGroupToServerRequest,
2497
+ output: AddSecurityGroupToServerResponse,
2498
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2499
+ protocol: StackitProtocol,
2500
+ retry: Retry.Retry,
2501
+ }));
2502
+ /** Attach service account to a server. Attach a service account to the server. */
2503
+ export const addServiceAccountToServer = /*@__PURE__*/ API.make(() => ({
2504
+ input: AddServiceAccountToServerRequest,
2505
+ output: ServiceAccountMailListResponse,
2506
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2507
+ protocol: StackitProtocol,
2508
+ retry: Retry.Retry,
2509
+ }));
2510
+ /** Attach a volume to a server. Attach an existing volume to an existing server. */
2511
+ export const addVolumeToServer = /*@__PURE__*/ API.make(() => ({
2512
+ input: AddVolumeToServerRequest,
2513
+ output: VolumeAttachment,
2514
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2515
+ protocol: StackitProtocol,
2516
+ retry: Retry.Retry,
2517
+ }));
2518
+ /** Create a new affinity group in a project. Create a new server affinity group in the given project ID. */
2519
+ export const createAffinityGroup = /*@__PURE__*/ API.make(() => ({
2520
+ input: CreateAffinityGroupRequest,
2521
+ output: AffinityGroup,
2522
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2523
+ protocol: StackitProtocol,
2524
+ retry: Retry.Retry,
2525
+ }));
2526
+ /** Create new Backup. Create a new Backup in a project. If a snapshot ID is provided create the backup from the snapshot. */
2527
+ export const createBackup = /*@__PURE__*/ API.make(() => ({
2528
+ input: CreateBackupRequest,
2529
+ output: Backup,
2530
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2531
+ protocol: StackitProtocol,
2532
+ retry: Retry.Retry,
2533
+ }));
2534
+ /** Create new Image. Create a new Image in a project in queued state. Image data must be imported separately. This call returns a pre-signed URL to upload small images. */
2535
+ export const createImage = /*@__PURE__*/ API.make(() => ({
2536
+ input: CreateImageRequest,
2537
+ output: ImageCreateResponse,
2538
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2539
+ protocol: StackitProtocol,
2540
+ retry: Retry.Retry,
2541
+ }));
2542
+ /** Create a single isolated network. Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution. */
2543
+ export const createIsolatedNetwork = /*@__PURE__*/ API.make(() => ({
2544
+ input: CreateIsolatedNetworkRequest,
2545
+ output: Network,
2546
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2547
+ protocol: StackitProtocol,
2548
+ retry: Retry.Retry,
2549
+ }));
2550
+ /** Import a public key. Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. */
2551
+ export const createKeyPair = /*@__PURE__*/ API.make(() => ({
2552
+ input: CreateKeyPairRequest,
2553
+ output: Keypair,
2554
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2555
+ protocol: StackitProtocol,
2556
+ retry: Retry.Retry,
2557
+ }));
2558
+ /** Create new network. Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost. */
2559
+ export const createNetwork = /*@__PURE__*/ API.make(() => ({
2560
+ input: CreateNetworkRequest,
2561
+ output: Network,
2562
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2563
+ protocol: StackitProtocol,
2564
+ retry: Retry.Retry,
2565
+ }));
2566
+ /** Create new network area in an organization. Create a new network area in an organization. You can specify `"preview/routingtables"="true"` as a label to enable the preview routing tables feature. This feature cannot be enabled or disabled afterwards. */
2567
+ export const createNetworkArea = /*@__PURE__*/ API.make(() => ({
2568
+ input: CreateNetworkAreaRequest,
2569
+ output: NetworkArea,
2570
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2571
+ protocol: StackitProtocol,
2572
+ retry: Retry.Retry,
2573
+ }));
2574
+ /** Create new network range in a network area. Create a new network range in an existing network area. */
2575
+ export const createNetworkAreaRange = /*@__PURE__*/ API.make(() => ({
2576
+ input: CreateNetworkAreaRangeRequest,
2577
+ output: NetworkRangeListResponse,
2578
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2579
+ protocol: StackitProtocol,
2580
+ retry: Retry.Retry,
2581
+ }));
2582
+ /** Configure a region for a network area. Configure a new region for a network area. */
2583
+ export const createNetworkAreaRegion = /*@__PURE__*/ API.make(() => ({
2584
+ input: CreateNetworkAreaRegionRequest,
2585
+ output: RegionalArea,
2586
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2587
+ protocol: StackitProtocol,
2588
+ retry: Retry.Retry,
2589
+ }));
2590
+ /** Create new network routes. Create one or several new network routes in a network area. */
2591
+ export const createNetworkAreaRoute = /*@__PURE__*/ API.make(() => ({
2592
+ input: CreateNetworkAreaRouteRequest,
2593
+ output: RouteListResponse,
2594
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2595
+ protocol: StackitProtocol,
2596
+ retry: Retry.Retry,
2597
+ }));
2598
+ /** Create new network interface. Create a new network interface in a project. */
2599
+ export const createNic = /*@__PURE__*/ API.make(() => ({
2600
+ input: CreateNicRequest,
2601
+ output: NIC,
2602
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2603
+ protocol: StackitProtocol,
2604
+ retry: Retry.Retry,
2605
+ }));
2606
+ /** Create new public IP. Create a new public IP in a project. */
2607
+ export const createPublicIP = /*@__PURE__*/ API.make(() => ({
2608
+ input: CreatePublicIPRequest,
2609
+ output: PublicIp,
2610
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2611
+ protocol: StackitProtocol,
2612
+ retry: Retry.Retry,
2613
+ }));
2614
+ /** Create new security group. Create a new security group in a project. */
2615
+ export const createSecurityGroup = /*@__PURE__*/ API.make(() => ({
2616
+ input: CreateSecurityGroupRequest,
2617
+ output: SecurityGroup,
2618
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2619
+ protocol: StackitProtocol,
2620
+ retry: Retry.Retry,
2621
+ }));
2622
+ /** Create new security group rule. Create a new security group rule in a project. */
2623
+ export const createSecurityGroupRule = /*@__PURE__*/ API.make(() => ({
2624
+ input: CreateSecurityGroupRuleRequest,
2625
+ output: CreateSecurityGroupRuleResponse,
2626
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2627
+ protocol: StackitProtocol,
2628
+ retry: Retry.Retry,
2629
+ }));
2630
+ /** Create new server. Create a new server in a project. */
2631
+ export const createServer = /*@__PURE__*/ API.make(() => ({
2632
+ input: CreateServerRequest,
2633
+ output: ServerOutput,
2634
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2635
+ protocol: StackitProtocol,
2636
+ retry: Retry.Retry,
2637
+ }));
2638
+ /** Create new Snapshot. Create a new Snapshot from a Volume in a project. */
2639
+ export const createSnapshot = /*@__PURE__*/ API.make(() => ({
2640
+ input: CreateSnapshotRequest,
2641
+ output: Snapshot,
2642
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2643
+ protocol: StackitProtocol,
2644
+ retry: Retry.Retry,
2645
+ }));
2646
+ /** Create new volume. Create a new volume in a project. If a volume source is not provided, an empty volume will be created. The size property is required if no source or an image source is provided. */
2647
+ export const createVolume = /*@__PURE__*/ API.make(() => ({
2648
+ input: CreateVolumeRequest,
2649
+ output: Volume,
2650
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2651
+ protocol: StackitProtocol,
2652
+ retry: Retry.Retry,
2653
+ }));
2654
+ /** Deallocate an existing server. Deallocate an existing server. The server will be removed from the hypervisor so only the volume will be billed. */
2655
+ export const deallocateServer = /*@__PURE__*/ API.make(() => ({
2656
+ input: DeallocateServerRequest,
2657
+ output: DeallocateServerResponse,
2658
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2659
+ protocol: StackitProtocol,
2660
+ retry: Retry.Retry,
2661
+ }));
2662
+ /** Delete a affinity group in a project. Delete a affinity group in the given project. */
2663
+ export const deleteAffinityGroup = /*@__PURE__*/ API.make(() => ({
2664
+ input: DeleteAffinityGroupRequest,
2665
+ output: DeleteAffinityGroupResponse,
2666
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2667
+ protocol: StackitProtocol,
2668
+ retry: Retry.Retry,
2669
+ }));
2670
+ /** Delete a backup. Delete a backup that is part of the project. */
2671
+ export const deleteBackup = /*@__PURE__*/ API.make(() => ({
2672
+ input: DeleteBackupRequest,
2673
+ output: DeleteBackupResponse,
2674
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2675
+ protocol: StackitProtocol,
2676
+ retry: Retry.Retry,
2677
+ }));
2678
+ /** Delete an Image. Delete an image that is part of the project. */
2679
+ export const deleteImage = /*@__PURE__*/ API.make(() => ({
2680
+ input: DeleteImageRequest,
2681
+ output: DeleteImageResponse,
2682
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2683
+ protocol: StackitProtocol,
2684
+ retry: Retry.Retry,
2685
+ }));
2686
+ /** Remove image share. Remove the image share. New scope will be local. */
2687
+ export const deleteImageShare = /*@__PURE__*/ API.make(() => ({
2688
+ input: DeleteImageShareRequest,
2689
+ output: DeleteImageShareResponse,
2690
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2691
+ protocol: StackitProtocol,
2692
+ retry: Retry.Retry,
2693
+ }));
2694
+ /** Remove an image share consumer. Remove consumer from a shared image. */
2695
+ export const deleteImageShareConsumer = /*@__PURE__*/ API.make(() => ({
2696
+ input: DeleteImageShareConsumerRequest,
2697
+ output: DeleteImageShareConsumerResponse,
2698
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2699
+ protocol: StackitProtocol,
2700
+ retry: Retry.Retry,
2701
+ }));
2702
+ /** Delete an SSH keypair. Delete an SSH keypair from a user. */
2703
+ export const deleteKeyPair = /*@__PURE__*/ API.make(() => ({
2704
+ input: DeleteKeyPairRequest,
2705
+ output: DeleteKeyPairResponse,
2706
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2707
+ protocol: StackitProtocol,
2708
+ retry: Retry.Retry,
2709
+ }));
2710
+ /** Delete network. Delete a network. If the network is still in use, the deletion will fail. */
2711
+ export const deleteNetwork = /*@__PURE__*/ API.make(() => ({
2712
+ input: DeleteNetworkRequest,
2713
+ output: DeleteNetworkResponse,
2714
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2715
+ protocol: StackitProtocol,
2716
+ retry: Retry.Retry,
2717
+ }));
2718
+ /** Delete a network area. Delete an existing network area in an organization. This is only possible if no projects are using the area anymore. */
2719
+ export const deleteNetworkArea = /*@__PURE__*/ API.make(() => ({
2720
+ input: DeleteNetworkAreaRequest,
2721
+ output: DeleteNetworkAreaResponse,
2722
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2723
+ protocol: StackitProtocol,
2724
+ retry: Retry.Retry,
2725
+ }));
2726
+ /** Delete a network range. Delete a network range of a network area. The deletion will fail if the network range is still used. */
2727
+ export const deleteNetworkAreaRange = /*@__PURE__*/ API.make(() => ({
2728
+ input: DeleteNetworkAreaRangeRequest,
2729
+ output: DeleteNetworkAreaRangeResponse,
2730
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2731
+ protocol: StackitProtocol,
2732
+ retry: Retry.Retry,
2733
+ }));
2734
+ /** Delete a configuration of region for a network area. Delete a current configuration of region for a network area. */
2735
+ export const deleteNetworkAreaRegion = /*@__PURE__*/ API.make(() => ({
2736
+ input: DeleteNetworkAreaRegionRequest,
2737
+ output: DeleteNetworkAreaRegionResponse,
2738
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2739
+ protocol: StackitProtocol,
2740
+ retry: Retry.Retry,
2741
+ }));
2742
+ /** Delete a network route. Delete a network route of a network area. */
2743
+ export const deleteNetworkAreaRoute = /*@__PURE__*/ API.make(() => ({
2744
+ input: DeleteNetworkAreaRouteRequest,
2745
+ output: DeleteNetworkAreaRouteResponse,
2746
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2747
+ protocol: StackitProtocol,
2748
+ retry: Retry.Retry,
2749
+ }));
2750
+ /** Delete a network interface. Delete a network interface that is part of the project. */
2751
+ export const deleteNic = /*@__PURE__*/ API.make(() => ({
2752
+ input: DeleteNicRequest,
2753
+ output: DeleteNicResponse,
2754
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2755
+ protocol: StackitProtocol,
2756
+ retry: Retry.Retry,
2757
+ }));
2758
+ /** Delete a public IP. Delete a public IP that is part of the project. */
2759
+ export const deletePublicIP = /*@__PURE__*/ API.make(() => ({
2760
+ input: DeletePublicIPRequest,
2761
+ output: DeletePublicIPResponse,
2762
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2763
+ protocol: StackitProtocol,
2764
+ retry: Retry.Retry,
2765
+ }));
2766
+ /** Delete a route in a routing table. Delete a route in an existing routing table. */
2767
+ export const deleteRouteFromRoutingTable = /*@__PURE__*/ API.make(() => ({
2768
+ input: DeleteRouteFromRoutingTableRequest,
2769
+ output: DeleteRouteFromRoutingTableResponse,
2770
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2771
+ protocol: StackitProtocol,
2772
+ retry: Retry.Retry,
2773
+ }));
2774
+ /** Delete a routing table. Delete a routing table of a network area. */
2775
+ export const deleteRoutingTableFromArea = /*@__PURE__*/ API.make(() => ({
2776
+ input: DeleteRoutingTableFromAreaRequest,
2777
+ output: DeleteRoutingTableFromAreaResponse,
2778
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2779
+ protocol: StackitProtocol,
2780
+ retry: Retry.Retry,
2781
+ }));
2782
+ /** Delete security group. Delete a security group. */
2783
+ export const deleteSecurityGroup = /*@__PURE__*/ API.make(() => ({
2784
+ input: DeleteSecurityGroupRequest,
2785
+ output: DeleteSecurityGroupResponse,
2786
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2787
+ protocol: StackitProtocol,
2788
+ retry: Retry.Retry,
2789
+ }));
2790
+ /** Delete security group rule. Delete a security group rule. */
2791
+ export const deleteSecurityGroupRule = /*@__PURE__*/ API.make(() => ({
2792
+ input: DeleteSecurityGroupRuleRequest,
2793
+ output: DeleteSecurityGroupRuleResponse,
2794
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2795
+ protocol: StackitProtocol,
2796
+ retry: Retry.Retry,
2797
+ }));
2798
+ /** Delete a server. Delete a server. Volumes won't be deleted. */
2799
+ export const deleteServer = /*@__PURE__*/ API.make(() => ({
2800
+ input: DeleteServerRequest,
2801
+ output: DeleteServerResponse,
2802
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2803
+ protocol: StackitProtocol,
2804
+ retry: Retry.Retry,
2805
+ }));
2806
+ /** Delete a snapshot. Delete a snapshot that is part of the project. */
2807
+ export const deleteSnapshot = /*@__PURE__*/ API.make(() => ({
2808
+ input: DeleteSnapshotRequest,
2809
+ output: DeleteSnapshotResponse,
2810
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2811
+ protocol: StackitProtocol,
2812
+ retry: Retry.Retry,
2813
+ }));
2814
+ /** Delete a volume. Delete a volume inside a project. The deletion will fail if the volume is still in use. */
2815
+ export const deleteVolume = /*@__PURE__*/ API.make(() => ({
2816
+ input: DeleteVolumeRequest,
2817
+ output: DeleteVolumeResponse,
2818
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
2819
+ protocol: StackitProtocol,
2820
+ retry: Retry.Retry,
2821
+ }));
2822
+ /** Get the affinity group. Get the affinity group created in a project. */
2823
+ export const getAffinityGroup = /*@__PURE__*/ API.make(() => ({
2824
+ input: GetAffinityGroupRequest,
2825
+ output: AffinityGroup,
2826
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2827
+ protocol: StackitProtocol,
2828
+ retry: Retry.Retry,
2829
+ }));
2830
+ /** Get Volume Attachment details. Get the details of an existing Volume Attachment. */
2831
+ export const getAttachedVolume = /*@__PURE__*/ API.make(() => ({
2832
+ input: GetAttachedVolumeRequest,
2833
+ output: VolumeAttachment,
2834
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2835
+ protocol: StackitProtocol,
2836
+ retry: Retry.Retry,
2837
+ }));
2838
+ /** Get details about a backup. Get details about a block device backup. */
2839
+ export const getBackup = /*@__PURE__*/ API.make(() => ({
2840
+ input: GetBackupRequest,
2841
+ output: Backup,
2842
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2843
+ protocol: StackitProtocol,
2844
+ retry: Retry.Retry,
2845
+ }));
2846
+ /** Get details about an image. Get details about a specific Image inside a project. */
2847
+ export const getImage = /*@__PURE__*/ API.make(() => ({
2848
+ input: GetImageRequest,
2849
+ output: Image,
2850
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2851
+ protocol: StackitProtocol,
2852
+ retry: Retry.Retry,
2853
+ }));
2854
+ /** Get share details of an image. Get share details about an shared image. */
2855
+ export const getImageShare = /*@__PURE__*/ API.make(() => ({
2856
+ input: GetImageShareRequest,
2857
+ output: ImageShare,
2858
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2859
+ protocol: StackitProtocol,
2860
+ retry: Retry.Retry,
2861
+ }));
2862
+ /** Get image share consumer. Get details about an image share consumer. */
2863
+ export const getImageShareConsumer = /*@__PURE__*/ API.make(() => ({
2864
+ input: GetImageShareConsumerRequest,
2865
+ output: ImageShareConsumer,
2866
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2867
+ protocol: StackitProtocol,
2868
+ retry: Retry.Retry,
2869
+ }));
2870
+ /** Get SSH keypair details. Get details about an SSH keypair. */
2871
+ export const getKeyPair = /*@__PURE__*/ API.make(() => ({
2872
+ input: GetKeyPairRequest,
2873
+ output: Keypair,
2874
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2875
+ protocol: StackitProtocol,
2876
+ retry: Retry.Retry,
2877
+ }));
2878
+ /** Get details about a machine type. Get details about a specific machine type. */
2879
+ export const getMachineType = /*@__PURE__*/ API.make(() => ({
2880
+ input: GetMachineTypeRequest,
2881
+ output: MachineType,
2882
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2883
+ protocol: StackitProtocol,
2884
+ retry: Retry.Retry,
2885
+ }));
2886
+ /** Get network details. Get details about a network of a project. */
2887
+ export const getNetwork = /*@__PURE__*/ API.make(() => ({
2888
+ input: GetNetworkRequest,
2889
+ output: Network,
2890
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2891
+ protocol: StackitProtocol,
2892
+ retry: Retry.Retry,
2893
+ }));
2894
+ /** Get details about a network area. Get details about a network area in an organization. */
2895
+ export const getNetworkArea = /*@__PURE__*/ API.make(() => ({
2896
+ input: GetNetworkAreaRequest,
2897
+ output: NetworkArea,
2898
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2899
+ protocol: StackitProtocol,
2900
+ retry: Retry.Retry,
2901
+ }));
2902
+ /** Get details about a network range. Get details about a network range in a network area. */
2903
+ export const getNetworkAreaRange = /*@__PURE__*/ API.make(() => ({
2904
+ input: GetNetworkAreaRangeRequest,
2905
+ output: NetworkRange,
2906
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2907
+ protocol: StackitProtocol,
2908
+ retry: Retry.Retry,
2909
+ }));
2910
+ /** Get details about a configured region. Get details about a configured region in a network area. */
2911
+ export const getNetworkAreaRegion = /*@__PURE__*/ API.make(() => ({
2912
+ input: GetNetworkAreaRegionRequest,
2913
+ output: RegionalArea,
2914
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2915
+ protocol: StackitProtocol,
2916
+ retry: Retry.Retry,
2917
+ }));
2918
+ /** Get details about a network route. Get details about a network route defined in a network area. */
2919
+ export const getNetworkAreaRoute = /*@__PURE__*/ API.make(() => ({
2920
+ input: GetNetworkAreaRouteRequest,
2921
+ output: Route,
2922
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2923
+ protocol: StackitProtocol,
2924
+ retry: Retry.Retry,
2925
+ }));
2926
+ /** Get details about a network interface. Get details about a network interface inside a network. */
2927
+ export const getNic =
2928
+ /*@__PURE__*/ API.make(() => ({
2929
+ input: GetNicRequest,
2930
+ output: NIC,
2931
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2932
+ protocol: StackitProtocol,
2933
+ retry: Retry.Retry,
2934
+ }));
2935
+ /** Lookup an organization request ID. Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request. */
2936
+ export const getOrganizationRequest = /*@__PURE__*/ API.make(() => ({
2937
+ input: GetOrganizationRequestRequest,
2938
+ output: Request,
2939
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2940
+ protocol: StackitProtocol,
2941
+ retry: Retry.Retry,
2942
+ }));
2943
+ /** Get project details. Get details about a STACKIT project. */
2944
+ export const getProjectDetails = /*@__PURE__*/ API.make(() => ({
2945
+ input: GetProjectDetailsRequest,
2946
+ output: Project,
2947
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2948
+ protocol: StackitProtocol,
2949
+ retry: Retry.Retry,
2950
+ }));
2951
+ /** Get details about a network interface of a project. Get details about a network interface inside a project. */
2952
+ export const getProjectNIC = /*@__PURE__*/ API.make(() => ({
2953
+ input: GetProjectNICRequest,
2954
+ output: NIC,
2955
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2956
+ protocol: StackitProtocol,
2957
+ retry: Retry.Retry,
2958
+ }));
2959
+ /** Lookup a project request ID. Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request. */
2960
+ export const getProjectRequest = /*@__PURE__*/ API.make(() => ({
2961
+ input: GetProjectRequestRequest,
2962
+ output: Request,
2963
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2964
+ protocol: StackitProtocol,
2965
+ retry: Retry.Retry,
2966
+ }));
2967
+ /** Get details about a public IP. Get details about a public IP inside a project. */
2968
+ export const getPublicIP = /*@__PURE__*/ API.make(() => ({
2969
+ input: GetPublicIPRequest,
2970
+ output: PublicIp,
2971
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2972
+ protocol: StackitProtocol,
2973
+ retry: Retry.Retry,
2974
+ }));
2975
+ /** Get details about a route of a routing table. Get details about a route defined in a routing table. */
2976
+ export const getRouteOfRoutingTable = /*@__PURE__*/ API.make(() => ({
2977
+ input: GetRouteOfRoutingTableRequest,
2978
+ output: Route,
2979
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2980
+ protocol: StackitProtocol,
2981
+ retry: Retry.Retry,
2982
+ }));
2983
+ /** Get details about a routing table. Get details about a routing table defined in a network area. */
2984
+ export const getRoutingTableOfArea = /*@__PURE__*/ API.make(() => ({
2985
+ input: GetRoutingTableOfAreaRequest,
2986
+ output: RoutingTable,
2987
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2988
+ protocol: StackitProtocol,
2989
+ retry: Retry.Retry,
2990
+ }));
2991
+ /** Get security group details. Get details about a security group of a project. */
2992
+ export const getSecurityGroup = /*@__PURE__*/ API.make(() => ({
2993
+ input: GetSecurityGroupRequest,
2994
+ output: SecurityGroup,
2995
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2996
+ protocol: StackitProtocol,
2997
+ retry: Retry.Retry,
2998
+ }));
2999
+ /** Get security group rule details. Get details about a security group rule of a project. */
3000
+ export const getSecurityGroupRule = /*@__PURE__*/ API.make(() => ({
3001
+ input: GetSecurityGroupRuleRequest,
3002
+ output: GetSecurityGroupRuleResponse,
3003
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3004
+ protocol: StackitProtocol,
3005
+ retry: Retry.Retry,
3006
+ }));
3007
+ /** Get server details. Get details about a server by its ID. */
3008
+ export const getServer = /*@__PURE__*/ API.make(() => ({
3009
+ input: GetServerRequest,
3010
+ output: ServerOutput,
3011
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3012
+ protocol: StackitProtocol,
3013
+ retry: Retry.Retry,
3014
+ }));
3015
+ /** Get server console. Get a URL for server remote console. */
3016
+ export const getServerConsole = /*@__PURE__*/ API.make(() => ({
3017
+ input: GetServerConsoleRequest,
3018
+ output: ServerConsoleUrl,
3019
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3020
+ protocol: StackitProtocol,
3021
+ retry: Retry.Retry,
3022
+ }));
3023
+ /** Get server log. Get server console log. */
3024
+ export const getServerLog = /*@__PURE__*/ API.make(() => ({
3025
+ input: GetServerLogRequest,
3026
+ output: GetServerLogResponse,
3027
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3028
+ protocol: StackitProtocol,
3029
+ retry: Retry.Retry,
3030
+ }));
3031
+ /** Get details about a snapshot. Get details about a block device snapshot. */
3032
+ export const getSnapshot = /*@__PURE__*/ API.make(() => ({
3033
+ input: GetSnapshotRequest,
3034
+ output: Snapshot,
3035
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3036
+ protocol: StackitProtocol,
3037
+ retry: Retry.Retry,
3038
+ }));
3039
+ /** Get details about a volume. Get details about a block device volume. */
3040
+ export const getVolume = /*@__PURE__*/ API.make(() => ({
3041
+ input: GetVolumeRequest,
3042
+ output: Volume,
3043
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3044
+ protocol: StackitProtocol,
3045
+ retry: Retry.Retry,
3046
+ }));
3047
+ /** Get details about a volume performance class. Get details about a specific volume performance class. */
3048
+ export const getVolumePerformanceClass = /*@__PURE__*/ API.make(() => ({
3049
+ input: GetVolumePerformanceClassRequest,
3050
+ output: VolumePerformanceClass,
3051
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3052
+ protocol: StackitProtocol,
3053
+ retry: Retry.Retry,
3054
+ }));
3055
+ /** Create an image out of a volume. Create an image out a a volume. */
3056
+ export const imageFromVolume = /*@__PURE__*/ API.make(() => ({
3057
+ input: ImageFromVolumeRequest,
3058
+ output: Image,
3059
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3060
+ protocol: StackitProtocol,
3061
+ retry: Retry.Retry,
3062
+ }));
3063
+ /** Get the affinity groups setup for a project. Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity). */
3064
+ export const listAffinityGroups = /*@__PURE__*/ API.make(() => ({
3065
+ input: ListAffinityGroupsRequest,
3066
+ output: AffinityGroupListResponse,
3067
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3068
+ protocol: StackitProtocol,
3069
+ retry: Retry.Retry,
3070
+ }));
3071
+ /** List all volume attachments of a server. Get a list of all volume attachments of a server. */
3072
+ export const listAttachedVolumes = /*@__PURE__*/ API.make(() => ({
3073
+ input: ListAttachedVolumesRequest,
3074
+ output: VolumeAttachmentListResponse,
3075
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3076
+ protocol: StackitProtocol,
3077
+ retry: Retry.Retry,
3078
+ }));
3079
+ /** List all availability zones. Get a list of all availability zones. */
3080
+ export const listAvailabilityZones = /*@__PURE__*/ API.make(() => ({
3081
+ input: ListAvailabilityZonesRequest,
3082
+ output: AvailabilityZoneListResponse,
3083
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3084
+ protocol: StackitProtocol,
3085
+ retry: Retry.Retry,
3086
+ }));
3087
+ /** List all backups inside a project. Get a list of all backups inside a project. */
3088
+ export const listBackups = /*@__PURE__*/ API.make(() => ({
3089
+ input: ListBackupsRequest,
3090
+ output: BackupListResponse,
3091
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3092
+ protocol: StackitProtocol,
3093
+ retry: Retry.Retry,
3094
+ }));
3095
+ /** List all Images inside a project. Get a list of all images inside a project. */
3096
+ export const listImages = /*@__PURE__*/ API.make(() => ({
3097
+ input: ListImagesRequest,
3098
+ output: ImageListResponse,
3099
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3100
+ protocol: StackitProtocol,
3101
+ retry: Retry.Retry,
3102
+ }));
3103
+ /** List all SSH keypairs for the requesting user. Get a list of all SSH keypairs assigned to the requesting user. */
3104
+ export const listKeyPairs = /*@__PURE__*/ API.make(() => ({
3105
+ input: ListKeyPairsRequest,
3106
+ output: KeyPairListResponse,
3107
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3108
+ protocol: StackitProtocol,
3109
+ retry: Retry.Retry,
3110
+ }));
3111
+ /** List all machine types available for a project. Get a list of all machine type available in a project. */
3112
+ export const listMachineTypes = /*@__PURE__*/ API.make(() => ({
3113
+ input: ListMachineTypesRequest,
3114
+ output: MachineTypeListResponse,
3115
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3116
+ protocol: StackitProtocol,
3117
+ retry: Retry.Retry,
3118
+ }));
3119
+ /** List all projects using a network area. Get a list of all projects using a network area. */
3120
+ export const listNetworkAreaProjects = /*@__PURE__*/ API.make(() => ({
3121
+ input: ListNetworkAreaProjectsRequest,
3122
+ output: ProjectListResponse,
3123
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3124
+ protocol: StackitProtocol,
3125
+ retry: Retry.Retry,
3126
+ }));
3127
+ /** List all network ranges in a network area. Get a list of all network ranges in a network area. */
3128
+ export const listNetworkAreaRanges = /*@__PURE__*/ API.make(() => ({
3129
+ input: ListNetworkAreaRangesRequest,
3130
+ output: NetworkRangeListResponse,
3131
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3132
+ protocol: StackitProtocol,
3133
+ retry: Retry.Retry,
3134
+ }));
3135
+ /** List all configured regions in a network area. Get a list of all configured regions. */
3136
+ export const listNetworkAreaRegions = /*@__PURE__*/ API.make(() => ({
3137
+ input: ListNetworkAreaRegionsRequest,
3138
+ output: RegionalAreaListResponse,
3139
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3140
+ protocol: StackitProtocol,
3141
+ retry: Retry.Retry,
3142
+ }));
3143
+ /** List all network routes in a network area. Get a list of all network routes defined in a network area. */
3144
+ export const listNetworkAreaRoutes = /*@__PURE__*/ API.make(() => ({
3145
+ input: ListNetworkAreaRoutesRequest,
3146
+ output: RouteListResponse,
3147
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3148
+ protocol: StackitProtocol,
3149
+ retry: Retry.Retry,
3150
+ }));
3151
+ /** List all network areas in an organization. Get a list of all visible network areas defined in an organization. */
3152
+ export const listNetworkAreas = /*@__PURE__*/ API.make(() => ({
3153
+ input: ListNetworkAreasRequest,
3154
+ output: NetworkAreaListResponse,
3155
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3156
+ protocol: StackitProtocol,
3157
+ retry: Retry.Retry,
3158
+ }));
3159
+ /** List all networks inside a project. Get a list of all networks inside a project. */
3160
+ export const listNetworks = /*@__PURE__*/ API.make(() => ({
3161
+ input: ListNetworksRequest,
3162
+ output: NetworkListResponse,
3163
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3164
+ protocol: StackitProtocol,
3165
+ retry: Retry.Retry,
3166
+ }));
3167
+ /** List all network interfaces inside a network. Get a list of all network interfaces inside a network. */
3168
+ export const listNics = /*@__PURE__*/ API.make(() => ({
3169
+ input: ListNicsRequest,
3170
+ output: NICListResponse,
3171
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3172
+ protocol: StackitProtocol,
3173
+ retry: Retry.Retry,
3174
+ }));
3175
+ /** List all network interfaces inside a project. Get a list of all network interfaces inside a project. */
3176
+ export const listProjectNICs = /*@__PURE__*/ API.make(() => ({
3177
+ input: ListProjectNICsRequest,
3178
+ output: NICListResponse,
3179
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3180
+ protocol: StackitProtocol,
3181
+ retry: Retry.Retry,
3182
+ }));
3183
+ /** List all public IP ranges. Get a list of all public IP ranges that STACKIT uses. */
3184
+ export const listPublicIPRanges = /*@__PURE__*/ API.make(() => ({
3185
+ input: ListPublicIPRangesRequest,
3186
+ output: PublicNetworkListResponse,
3187
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3188
+ protocol: StackitProtocol,
3189
+ retry: Retry.Retry,
3190
+ }));
3191
+ /** List all public IPs inside a project. Get a list of all public IPs inside a project. */
3192
+ export const listPublicIPs = /*@__PURE__*/ API.make(() => ({
3193
+ input: ListPublicIPsRequest,
3194
+ output: PublicIpListResponse,
3195
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3196
+ protocol: StackitProtocol,
3197
+ retry: Retry.Retry,
3198
+ }));
3199
+ /** List project quotas. List quota limits and usage for project resources. */
3200
+ export const listQuotas = /*@__PURE__*/ API.make(() => ({
3201
+ input: ListQuotasRequest,
3202
+ output: QuotaListResponse,
3203
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3204
+ protocol: StackitProtocol,
3205
+ retry: Retry.Retry,
3206
+ }));
3207
+ /** List all routes in a routing table. Get a list of all routes in a routing table. */
3208
+ export const listRoutesOfRoutingTable = /*@__PURE__*/ API.make(() => ({
3209
+ input: ListRoutesOfRoutingTableRequest,
3210
+ output: RouteListResponse,
3211
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3212
+ protocol: StackitProtocol,
3213
+ retry: Retry.Retry,
3214
+ }));
3215
+ /** List all routing tables in a network area. Get a list of all routing tables in a network area. */
3216
+ export const listRoutingTablesOfArea = /*@__PURE__*/ API.make(() => ({
3217
+ input: ListRoutingTablesOfAreaRequest,
3218
+ output: RoutingTableListResponse,
3219
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3220
+ protocol: StackitProtocol,
3221
+ retry: Retry.Retry,
3222
+ }));
3223
+ /** List all rules for a security group. Get a list of all rules inside a security group. */
3224
+ export const listSecurityGroupRules = /*@__PURE__*/ API.make(() => ({
3225
+ input: ListSecurityGroupRulesRequest,
3226
+ output: SecurityGroupRuleListResponse,
3227
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3228
+ protocol: StackitProtocol,
3229
+ retry: Retry.Retry,
3230
+ }));
3231
+ /** List all security groups inside a project. Get a list of all security groups inside a project. */
3232
+ export const listSecurityGroups = /*@__PURE__*/ API.make(() => ({
3233
+ input: ListSecurityGroupsRequest,
3234
+ output: SecurityGroupListResponse,
3235
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3236
+ protocol: StackitProtocol,
3237
+ retry: Retry.Retry,
3238
+ }));
3239
+ /** Get all network interfaces. Get all network interfaces attached to the server. */
3240
+ export const listServerNICs = /*@__PURE__*/ API.make(() => ({
3241
+ input: ListServerNICsRequest,
3242
+ output: NICListResponse,
3243
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3244
+ protocol: StackitProtocol,
3245
+ retry: Retry.Retry,
3246
+ }));
3247
+ /** List all servers inside a project. Get a list of all servers inside a project. */
3248
+ export const listServers = /*@__PURE__*/ API.make(() => ({
3249
+ input: ListServersRequest,
3250
+ output: ServerListResponseOutput,
3251
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3252
+ protocol: StackitProtocol,
3253
+ retry: Retry.Retry,
3254
+ }));
3255
+ /** List the service account of the Server. Get service account of the server in a list. */
3256
+ export const listServerServiceAccounts = /*@__PURE__*/ API.make(() => ({
3257
+ input: ListServerServiceAccountsRequest,
3258
+ output: ServiceAccountMailListResponse,
3259
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3260
+ protocol: StackitProtocol,
3261
+ retry: Retry.Retry,
3262
+ }));
3263
+ /** List all snapshots inside a project. Get a list of all snapshots inside a project. */
3264
+ export const listSnapshotsInProject = /*@__PURE__*/ API.make(() => ({
3265
+ input: ListSnapshotsInProjectRequest,
3266
+ output: SnapshotListResponse,
3267
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3268
+ protocol: StackitProtocol,
3269
+ retry: Retry.Retry,
3270
+ }));
3271
+ /** List all volume performance classes available for a project. Get a list of all volume performance classes available inside a project. */
3272
+ export const listVolumePerformanceClasses = /*@__PURE__*/ API.make(() => ({
3273
+ input: ListVolumePerformanceClassesRequest,
3274
+ output: VolumePerformanceClassListResponse,
3275
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3276
+ protocol: StackitProtocol,
3277
+ retry: Retry.Retry,
3278
+ }));
3279
+ /** List all volumes inside a project. Get a list of all volumes inside a project. */
3280
+ export const listVolumes = /*@__PURE__*/ API.make(() => ({
3281
+ input: ListVolumesRequest,
3282
+ output: VolumeListResponse,
3283
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3284
+ protocol: StackitProtocol,
3285
+ retry: Retry.Retry,
3286
+ }));
3287
+ /** Update network settings. Update the settings of a network inside a project. */
3288
+ export const partialUpdateNetwork = /*@__PURE__*/ API.make(() => ({
3289
+ input: PartialUpdateNetworkRequest,
3290
+ output: PartialUpdateNetworkResponse,
3291
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3292
+ protocol: StackitProtocol,
3293
+ retry: Retry.Retry,
3294
+ }));
3295
+ /** Update network area settings. Update the settings of a network area in an organization. */
3296
+ export const partialUpdateNetworkArea = /*@__PURE__*/ API.make(() => ({
3297
+ input: PartialUpdateNetworkAreaRequest,
3298
+ output: NetworkArea,
3299
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3300
+ protocol: StackitProtocol,
3301
+ retry: Retry.Retry,
3302
+ }));
3303
+ /** Reboot the server. Reboot the server. A soft reboot will attempt to gracefully shut down the server by passing the command to the operating system. A hard reboot will power cycle the server without waiting for the operating system to shutdown properly. */
3304
+ export const rebootServer = /*@__PURE__*/ API.make(() => ({
3305
+ input: RebootServerRequest,
3306
+ output: RebootServerResponse,
3307
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3308
+ protocol: StackitProtocol,
3309
+ retry: Retry.Retry,
3310
+ }));
3311
+ /** Detach and delete all network interfaces associated with the specified network. Detach and delete all network interfaces associated with the specified network from the server. */
3312
+ export const removeNetworkFromServer = /*@__PURE__*/ API.make(() => ({
3313
+ input: RemoveNetworkFromServerRequest,
3314
+ output: RemoveNetworkFromServerResponse,
3315
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3316
+ protocol: StackitProtocol,
3317
+ retry: Retry.Retry,
3318
+ }));
3319
+ /** Detach a network interface. Detach a network interface from a server. */
3320
+ export const removeNicFromServer = /*@__PURE__*/ API.make(() => ({
3321
+ input: RemoveNicFromServerRequest,
3322
+ output: RemoveNicFromServerResponse,
3323
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3324
+ protocol: StackitProtocol,
3325
+ retry: Retry.Retry,
3326
+ }));
3327
+ /** Dissociate a public IP from a server. Dissociate a public IP on an existing server. */
3328
+ export const removePublicIpFromServer = /*@__PURE__*/ API.make(() => ({
3329
+ input: RemovePublicIpFromServerRequest,
3330
+ output: RemovePublicIpFromServerResponse,
3331
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3332
+ protocol: StackitProtocol,
3333
+ retry: Retry.Retry,
3334
+ }));
3335
+ /** Remove a server from a security group. Remove a server from a attached security group. */
3336
+ export const removeSecurityGroupFromServer = /*@__PURE__*/ API.make(() => ({
3337
+ input: RemoveSecurityGroupFromServerRequest,
3338
+ output: RemoveSecurityGroupFromServerResponse,
3339
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3340
+ protocol: StackitProtocol,
3341
+ retry: Retry.Retry,
3342
+ }));
3343
+ /** Detach a service account from a server. Detach a service account from the server. */
3344
+ export const removeServiceAccountFromServer = /*@__PURE__*/ API.make(() => ({
3345
+ input: RemoveServiceAccountFromServerRequest,
3346
+ output: ServiceAccountMailListResponse,
3347
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3348
+ protocol: StackitProtocol,
3349
+ retry: Retry.Retry,
3350
+ }));
3351
+ /** Detach a volume from a server. Detach an existing volume from an existing server. */
3352
+ export const removeVolumeFromServer = /*@__PURE__*/ API.make(() => ({
3353
+ input: RemoveVolumeFromServerRequest,
3354
+ output: RemoveVolumeFromServerResponse,
3355
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3356
+ protocol: StackitProtocol,
3357
+ retry: Retry.Retry,
3358
+ }));
3359
+ /** Rescue an existing server. Rescue an existing server. It is shutdown and the initial image is attached as the boot volume, while the boot volume is attached as secondary volume and the server is booted. */
3360
+ export const rescueServer = /*@__PURE__*/ API.make(() => ({
3361
+ input: RescueServerRequest,
3362
+ output: RescueServerResponse,
3363
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3364
+ protocol: StackitProtocol,
3365
+ retry: Retry.Retry,
3366
+ }));
3367
+ /** Resize a server. Resize the server to the given machine type. */
3368
+ export const resizeServer = /*@__PURE__*/ API.make(() => ({
3369
+ input: ResizeServerRequest,
3370
+ output: ResizeServerResponse,
3371
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3372
+ protocol: StackitProtocol,
3373
+ retry: Retry.Retry,
3374
+ }));
3375
+ /** Update the size of a volume. Update the size of a block device volume. The new volume size must be larger than the current size. */
3376
+ export const resizeVolume = /*@__PURE__*/ API.make(() => ({
3377
+ input: ResizeVolumeRequest,
3378
+ output: ResizeVolumeResponse,
3379
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3380
+ protocol: StackitProtocol,
3381
+ retry: Retry.Retry,
3382
+ }));
3383
+ /** Restore Backup to the referenced source Volume. Restores a Backup to the existing Volume it references to. The use of this endpoint is disruptive as the volume needs to be detached. If a new volume is to be created use the volumes endpoint with the option to create from backup. */
3384
+ export const restoreBackup = /*@__PURE__*/ API.make(() => ({
3385
+ input: RestoreBackupRequest,
3386
+ output: RestoreBackupResponse,
3387
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3388
+ protocol: StackitProtocol,
3389
+ retry: Retry.Retry,
3390
+ }));
3391
+ /** Set image share. Set share of an Image. New Options will replace existing settings. */
3392
+ export const setImageShare = /*@__PURE__*/ API.make(() => ({
3393
+ input: SetImageShareRequest,
3394
+ output: ImageShare,
3395
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3396
+ protocol: StackitProtocol,
3397
+ retry: Retry.Retry,
3398
+ }));
3399
+ /** Boot up a server. Start an existing server or allocates the server if deallocated. */
3400
+ export const startServer = /*@__PURE__*/ API.make(() => ({
3401
+ input: StartServerRequest,
3402
+ output: StartServerResponse,
3403
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3404
+ protocol: StackitProtocol,
3405
+ retry: Retry.Retry,
3406
+ }));
3407
+ /** Stop an existing server. Stops an existing server. The server will remain on the Hypervisor and will be charged full price for all resources attached to it. The attached resources will remain reserved. Useful particularly for vGPU servers. */
3408
+ export const stopServer = /*@__PURE__*/ API.make(() => ({
3409
+ input: StopServerRequest,
3410
+ output: StopServerResponse,
3411
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3412
+ protocol: StackitProtocol,
3413
+ retry: Retry.Retry,
3414
+ }));
3415
+ /** Unrescue an existing server. Unrescue an existing server. The original boot volume is attached as boot volume of the server and the server is booted up. */
3416
+ export const unrescueServer = /*@__PURE__*/ API.make(() => ({
3417
+ input: UnrescueServerRequest,
3418
+ output: UnrescueServerResponse,
3419
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3420
+ protocol: StackitProtocol,
3421
+ retry: Retry.Retry,
3422
+ }));
3423
+ /** Update Volume Attachment Parameters. Update the properties of an existing Volume Attachment. */
3424
+ export const updateAttachedVolume = /*@__PURE__*/ API.make(() => ({
3425
+ input: UpdateAttachedVolumeRequest,
3426
+ output: VolumeAttachment,
3427
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3428
+ protocol: StackitProtocol,
3429
+ retry: Retry.Retry,
3430
+ }));
3431
+ /** Update information of a backup. Update name or labels of the backup. */
3432
+ export const updateBackup = /*@__PURE__*/ API.make(() => ({
3433
+ input: UpdateBackupRequest,
3434
+ output: Backup,
3435
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3436
+ protocol: StackitProtocol,
3437
+ retry: Retry.Retry,
3438
+ }));
3439
+ /** Update Image Parameters. Update the properties of an existing Image inside a project. */
3440
+ export const updateImage = /*@__PURE__*/ API.make(() => ({
3441
+ input: UpdateImageRequest,
3442
+ output: Image,
3443
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3444
+ protocol: StackitProtocol,
3445
+ retry: Retry.Retry,
3446
+ }));
3447
+ /** Update image share. Update share of an Image. Projects will be appended to existing list. */
3448
+ export const updateImageShare = /*@__PURE__*/ API.make(() => ({
3449
+ input: UpdateImageShareRequest,
3450
+ output: ImageShare,
3451
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3452
+ protocol: StackitProtocol,
3453
+ retry: Retry.Retry,
3454
+ }));
3455
+ /** Update information of an SSH keypair. Update labels of the SSH keypair. */
3456
+ export const updateKeyPair = /*@__PURE__*/ API.make(() => ({
3457
+ input: UpdateKeyPairRequest,
3458
+ output: Keypair,
3459
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3460
+ protocol: StackitProtocol,
3461
+ retry: Retry.Retry,
3462
+ }));
3463
+ /** Update a region for a network area. Update a new region for a network area. */
3464
+ export const updateNetworkAreaRegion = /*@__PURE__*/ API.make(() => ({
3465
+ input: UpdateNetworkAreaRegionRequest,
3466
+ output: RegionalArea,
3467
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3468
+ protocol: StackitProtocol,
3469
+ retry: Retry.Retry,
3470
+ }));
3471
+ /** Update a network route. Update a network route defined in a network area. */
3472
+ export const updateNetworkAreaRoute = /*@__PURE__*/ API.make(() => ({
3473
+ input: UpdateNetworkAreaRouteRequest,
3474
+ output: Route,
3475
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3476
+ protocol: StackitProtocol,
3477
+ retry: Retry.Retry,
3478
+ }));
3479
+ /** Update a network interface. Update the properties of an existing network interface inside a network. */
3480
+ export const updateNic = /*@__PURE__*/ API.make(() => ({
3481
+ input: UpdateNicRequest,
3482
+ output: NIC,
3483
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
3484
+ protocol: StackitProtocol,
3485
+ retry: Retry.Retry,
3486
+ }));
3487
+ /** Update a public IP. Update the properties of an existing public IP inside a project. */
3488
+ export const updatePublicIP = /*@__PURE__*/ API.make(() => ({
3489
+ input: UpdatePublicIPRequest,
3490
+ output: PublicIp,
3491
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3492
+ protocol: StackitProtocol,
3493
+ retry: Retry.Retry,
3494
+ }));
3495
+ /** Update a route of a routing table. Update a route defined in a routing table. */
3496
+ export const updateRouteOfRoutingTable = /*@__PURE__*/ API.make(() => ({
3497
+ input: UpdateRouteOfRoutingTableRequest,
3498
+ output: Route,
3499
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3500
+ protocol: StackitProtocol,
3501
+ retry: Retry.Retry,
3502
+ }));
3503
+ /** Update a routing table. Update a routing table defined in a network area. */
3504
+ export const updateRoutingTableOfArea = /*@__PURE__*/ API.make(() => ({
3505
+ input: UpdateRoutingTableOfAreaRequest,
3506
+ output: RoutingTable,
3507
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3508
+ protocol: StackitProtocol,
3509
+ retry: Retry.Retry,
3510
+ }));
3511
+ /** Update information of a security group. Update labels of the security group. */
3512
+ export const updateSecurityGroup = /*@__PURE__*/ API.make(() => ({
3513
+ input: UpdateSecurityGroupRequest,
3514
+ output: SecurityGroup,
3515
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3516
+ protocol: StackitProtocol,
3517
+ retry: Retry.Retry,
3518
+ }));
3519
+ /** Update information of a server. Update name or labels of the server. */
3520
+ export const updateServer = /*@__PURE__*/ API.make(() => ({
3521
+ input: UpdateServerRequest,
3522
+ output: ServerOutput,
3523
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3524
+ protocol: StackitProtocol,
3525
+ retry: Retry.Retry,
3526
+ }));
3527
+ /** Update information of the snapshot. Update information like name or labels of the snapshot. */
3528
+ export const updateSnapshot = /*@__PURE__*/ API.make(() => ({
3529
+ input: UpdateSnapshotRequest,
3530
+ output: Snapshot,
3531
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3532
+ protocol: StackitProtocol,
3533
+ retry: Retry.Retry,
3534
+ }));
3535
+ /** Update information of a volume. Update name, description or labels of the volume. */
3536
+ export const updateVolume = /*@__PURE__*/ API.make(() => ({
3537
+ input: UpdateVolumeRequest,
3538
+ output: Volume,
3539
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3540
+ protocol: StackitProtocol,
3541
+ retry: Retry.Retry,
3542
+ }));
3543
+ //# sourceMappingURL=iaas.js.map