@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.17

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 (346) hide show
  1. package/lib/.lazy.json +1 -0
  2. package/lib/_bundle/lazy.js +4 -0
  3. package/lib/_bundle/sdk.js +2 -0
  4. package/lib/_bundle/sdk.js.map +1 -0
  5. package/lib/credentials.d.ts +2 -2
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -49
  8. package/lib/errors.d.ts +13 -13
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -26
  11. package/lib/index.d.ts +2 -2
  12. package/lib/index.js +1 -24
  13. package/lib/index.lazy.js +7 -0
  14. package/lib/pagination.d.ts +1 -1
  15. package/lib/pagination.js +1 -45
  16. package/lib/protocol.d.ts +3 -3
  17. package/lib/protocol.d.ts.map +1 -1
  18. package/lib/protocol.js +1 -147
  19. package/lib/retry.d.ts +1 -1
  20. package/lib/retry.d.ts.map +1 -1
  21. package/lib/retry.js +1 -31
  22. package/lib/services/alb.d.ts +10 -87
  23. package/lib/services/alb.d.ts.map +1 -1
  24. package/lib/services/alb.js +28 -512
  25. package/lib/services/alb.js.map +1 -1
  26. package/lib/services/alb_waf.d.ts +9 -82
  27. package/lib/services/alb_waf.d.ts.map +1 -1
  28. package/lib/services/alb_waf.js +33 -520
  29. package/lib/services/alb_waf.js.map +1 -1
  30. package/lib/services/authorization.d.ts +5 -47
  31. package/lib/services/authorization.d.ts.map +1 -1
  32. package/lib/services/authorization.js +1 -322
  33. package/lib/services/authorization.js.map +1 -1
  34. package/lib/services/automation.d.ts +7 -47
  35. package/lib/services/automation.d.ts.map +1 -1
  36. package/lib/services/automation.js +1 -362
  37. package/lib/services/automation.js.map +1 -1
  38. package/lib/services/cdn.d.ts +8 -220
  39. package/lib/services/cdn.d.ts.map +1 -1
  40. package/lib/services/cdn.js +31 -905
  41. package/lib/services/cdn.js.map +1 -1
  42. package/lib/services/certificates.d.ts +8 -27
  43. package/lib/services/certificates.d.ts.map +1 -1
  44. package/lib/services/certificates.js +1 -178
  45. package/lib/services/certificates.js.map +1 -1
  46. package/lib/services/cost.d.ts +10 -37
  47. package/lib/services/cost.d.ts.map +1 -1
  48. package/lib/services/cost.js +1 -176
  49. package/lib/services/cost.js.map +1 -1
  50. package/lib/services/dns.d.ts +9 -104
  51. package/lib/services/dns.d.ts.map +1 -1
  52. package/lib/services/dns.js +40 -725
  53. package/lib/services/dns.js.map +1 -1
  54. package/lib/services/dremio.d.ts +8 -50
  55. package/lib/services/dremio.d.ts.map +1 -1
  56. package/lib/services/dremio.js +1 -316
  57. package/lib/services/dremio.js.map +1 -1
  58. package/lib/services/edge.d.ts +7 -40
  59. package/lib/services/edge.d.ts.map +1 -1
  60. package/lib/services/edge.js +1 -356
  61. package/lib/services/edge.js.map +1 -1
  62. package/lib/services/functions.d.ts +1 -48
  63. package/lib/services/functions.d.ts.map +1 -1
  64. package/lib/services/functions.js +1 -398
  65. package/lib/services/functions.js.map +1 -1
  66. package/lib/services/git.d.ts +8 -61
  67. package/lib/services/git.d.ts.map +1 -1
  68. package/lib/services/git.js +35 -519
  69. package/lib/services/git.js.map +1 -1
  70. package/lib/services/iaas.d.ts +9 -337
  71. package/lib/services/iaas.d.ts.map +1 -1
  72. package/lib/services/iaas.js +181 -3542
  73. package/lib/services/iaas.js.map +1 -1
  74. package/lib/services/index.js +0 -2
  75. package/lib/services/intake.d.ts +8 -75
  76. package/lib/services/intake.d.ts.map +1 -1
  77. package/lib/services/intake.js +29 -474
  78. package/lib/services/intake.js.map +1 -1
  79. package/lib/services/kms.d.ts +9 -92
  80. package/lib/services/kms.d.ts.map +1 -1
  81. package/lib/services/kms.js +41 -662
  82. package/lib/services/kms.js.map +1 -1
  83. package/lib/services/lb_ip_lists.d.ts +9 -25
  84. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  85. package/lib/services/lb_ip_lists.js +1 -153
  86. package/lib/services/lb_ip_lists.js.map +1 -1
  87. package/lib/services/load_balancer.d.ts +10 -81
  88. package/lib/services/load_balancer.d.ts.map +1 -1
  89. package/lib/services/load_balancer.js +29 -496
  90. package/lib/services/load_balancer.js.map +1 -1
  91. package/lib/services/logme.d.ts +8 -69
  92. package/lib/services/logme.d.ts.map +1 -1
  93. package/lib/services/logme.js +33 -573
  94. package/lib/services/logme.js.map +1 -1
  95. package/lib/services/logs.d.ts +8 -64
  96. package/lib/services/logs.d.ts.map +1 -1
  97. package/lib/services/logs.js +34 -474
  98. package/lib/services/logs.js.map +1 -1
  99. package/lib/services/mariadb.d.ts +8 -65
  100. package/lib/services/mariadb.d.ts.map +1 -1
  101. package/lib/services/mariadb.js +34 -550
  102. package/lib/services/mariadb.js.map +1 -1
  103. package/lib/services/model_experiments.d.ts +9 -48
  104. package/lib/services/model_experiments.d.ts.map +1 -1
  105. package/lib/services/model_experiments.js +1 -335
  106. package/lib/services/model_experiments.js.map +1 -1
  107. package/lib/services/model_serving.d.ts +7 -47
  108. package/lib/services/model_serving.d.ts.map +1 -1
  109. package/lib/services/model_serving.js +1 -286
  110. package/lib/services/model_serving.js.map +1 -1
  111. package/lib/services/mongodb_flex.d.ts +8 -137
  112. package/lib/services/mongodb_flex.d.ts.map +1 -1
  113. package/lib/services/mongodb_flex.js +42 -802
  114. package/lib/services/mongodb_flex.js.map +1 -1
  115. package/lib/services/object_storage.d.ts +12 -59
  116. package/lib/services/object_storage.d.ts.map +1 -1
  117. package/lib/services/object_storage.js +38 -539
  118. package/lib/services/object_storage.js.map +1 -1
  119. package/lib/services/observability.d.ts +8 -407
  120. package/lib/services/observability.d.ts.map +1 -1
  121. package/lib/services/observability.js +159 -3157
  122. package/lib/services/observability.js.map +1 -1
  123. package/lib/services/opensearch.d.ts +8 -71
  124. package/lib/services/opensearch.d.ts.map +1 -1
  125. package/lib/services/opensearch.js +34 -562
  126. package/lib/services/opensearch.js.map +1 -1
  127. package/lib/services/pim.d.ts +12 -108
  128. package/lib/services/pim.d.ts.map +1 -1
  129. package/lib/services/pim.js +31 -735
  130. package/lib/services/pim.js.map +1 -1
  131. package/lib/services/postgres_flex.d.ts +14 -136
  132. package/lib/services/postgres_flex.d.ts.map +1 -1
  133. package/lib/services/postgres_flex.js +47 -852
  134. package/lib/services/postgres_flex.js.map +1 -1
  135. package/lib/services/pubsub.d.ts +11 -73
  136. package/lib/services/pubsub.d.ts.map +1 -1
  137. package/lib/services/pubsub.js +37 -518
  138. package/lib/services/pubsub.js.map +1 -1
  139. package/lib/services/rabbitmq.d.ts +8 -76
  140. package/lib/services/rabbitmq.d.ts.map +1 -1
  141. package/lib/services/rabbitmq.js +35 -573
  142. package/lib/services/rabbitmq.js.map +1 -1
  143. package/lib/services/registry.d.ts +10 -28
  144. package/lib/services/registry.d.ts.map +1 -1
  145. package/lib/services/registry.js +1 -197
  146. package/lib/services/registry.js.map +1 -1
  147. package/lib/services/resource_manager.d.ts +9 -61
  148. package/lib/services/resource_manager.d.ts.map +1 -1
  149. package/lib/services/resource_manager.js +36 -472
  150. package/lib/services/resource_manager.js.map +1 -1
  151. package/lib/services/run_command.d.ts +5 -28
  152. package/lib/services/run_command.d.ts.map +1 -1
  153. package/lib/services/run_command.js +1 -184
  154. package/lib/services/run_command.js.map +1 -1
  155. package/lib/services/sca.d.ts +8 -79
  156. package/lib/services/sca.d.ts.map +1 -1
  157. package/lib/services/sca.js +25 -444
  158. package/lib/services/sca.js.map +1 -1
  159. package/lib/services/scf.d.ts +8 -64
  160. package/lib/services/scf.d.ts.map +1 -1
  161. package/lib/services/scf.js +40 -669
  162. package/lib/services/scf.js.map +1 -1
  163. package/lib/services/secrets_manager.d.ts +8 -61
  164. package/lib/services/secrets_manager.d.ts.map +1 -1
  165. package/lib/services/secrets_manager.js +42 -612
  166. package/lib/services/secrets_manager.js.map +1 -1
  167. package/lib/services/server_backup.d.ts +7 -50
  168. package/lib/services/server_backup.d.ts.map +1 -1
  169. package/lib/services/server_backup.js +29 -453
  170. package/lib/services/server_backup.js.map +1 -1
  171. package/lib/services/server_update.d.ts +7 -35
  172. package/lib/services/server_update.d.ts.map +1 -1
  173. package/lib/services/server_update.js +1 -351
  174. package/lib/services/server_update.js.map +1 -1
  175. package/lib/services/service_account.d.ts +10 -68
  176. package/lib/services/service_account.d.ts.map +1 -1
  177. package/lib/services/service_account.js +30 -505
  178. package/lib/services/service_account.js.map +1 -1
  179. package/lib/services/service_enablement.d.ts +7 -29
  180. package/lib/services/service_enablement.d.ts.map +1 -1
  181. package/lib/services/service_enablement.js +1 -156
  182. package/lib/services/service_enablement.js.map +1 -1
  183. package/lib/services/sfs.d.ts +4 -96
  184. package/lib/services/sfs.d.ts.map +1 -1
  185. package/lib/services/sfs.js +46 -789
  186. package/lib/services/sfs.js.map +1 -1
  187. package/lib/services/ske.d.ts +9 -108
  188. package/lib/services/ske.d.ts.map +1 -1
  189. package/lib/services/ske.js +26 -557
  190. package/lib/services/ske.js.map +1 -1
  191. package/lib/services/sqlserverflex.d.ts +11 -152
  192. package/lib/services/sqlserverflex.d.ts.map +1 -1
  193. package/lib/services/sqlserverflex.js +46 -935
  194. package/lib/services/sqlserverflex.js.map +1 -1
  195. package/lib/services/stackit_marketplace.d.ts +9 -38
  196. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  197. package/lib/services/stackit_marketplace.js +26 -378
  198. package/lib/services/stackit_marketplace.js.map +1 -1
  199. package/lib/services/telemetry_link.d.ts +8 -61
  200. package/lib/services/telemetry_link.d.ts.map +1 -1
  201. package/lib/services/telemetry_link.js +34 -531
  202. package/lib/services/telemetry_link.js.map +1 -1
  203. package/lib/services/telemetry_router.d.ts +8 -72
  204. package/lib/services/telemetry_router.d.ts.map +1 -1
  205. package/lib/services/telemetry_router.js +29 -483
  206. package/lib/services/telemetry_router.js.map +1 -1
  207. package/lib/services/ufw.d.ts +7 -42
  208. package/lib/services/ufw.d.ts.map +1 -1
  209. package/lib/services/ufw.js +1 -278
  210. package/lib/services/ufw.js.map +1 -1
  211. package/lib/services/valkey.d.ts +8 -68
  212. package/lib/services/valkey.d.ts.map +1 -1
  213. package/lib/services/valkey.js +34 -566
  214. package/lib/services/valkey.js.map +1 -1
  215. package/lib/services/vpn.d.ts +21 -186
  216. package/lib/services/vpn.d.ts.map +1 -1
  217. package/lib/services/vpn.js +43 -930
  218. package/lib/services/vpn.js.map +1 -1
  219. package/lib/services/workflows.d.ts +15 -84
  220. package/lib/services/workflows.d.ts.map +1 -1
  221. package/lib/services/workflows.js +27 -507
  222. package/lib/services/workflows.js.map +1 -1
  223. package/lib/services.lazy/alb.js +4 -0
  224. package/lib/services.lazy/alb_waf.js +4 -0
  225. package/lib/services.lazy/authorization.js +1 -0
  226. package/lib/services.lazy/automation.js +1 -0
  227. package/lib/services.lazy/cdn.js +4 -0
  228. package/lib/services.lazy/certificates.js +1 -0
  229. package/lib/services.lazy/cost.js +1 -0
  230. package/lib/services.lazy/dns.js +4 -0
  231. package/lib/services.lazy/dremio.js +1 -0
  232. package/lib/services.lazy/edge.js +1 -0
  233. package/lib/services.lazy/functions.js +1 -0
  234. package/lib/services.lazy/git.js +4 -0
  235. package/lib/services.lazy/iaas.js +4 -0
  236. package/lib/services.lazy/index.js +3 -0
  237. package/lib/services.lazy/intake.js +4 -0
  238. package/lib/services.lazy/kms.js +4 -0
  239. package/lib/services.lazy/lb_ip_lists.js +1 -0
  240. package/lib/services.lazy/load_balancer.js +4 -0
  241. package/lib/services.lazy/logme.js +4 -0
  242. package/lib/services.lazy/logs.js +4 -0
  243. package/lib/services.lazy/mariadb.js +4 -0
  244. package/lib/services.lazy/model_experiments.js +1 -0
  245. package/lib/services.lazy/model_serving.js +1 -0
  246. package/lib/services.lazy/mongodb_flex.js +4 -0
  247. package/lib/services.lazy/object_storage.js +4 -0
  248. package/lib/services.lazy/observability.js +4 -0
  249. package/lib/services.lazy/opensearch.js +4 -0
  250. package/lib/services.lazy/pim.js +4 -0
  251. package/lib/services.lazy/postgres_flex.js +4 -0
  252. package/lib/services.lazy/pubsub.js +4 -0
  253. package/lib/services.lazy/rabbitmq.js +4 -0
  254. package/lib/services.lazy/registry.js +1 -0
  255. package/lib/services.lazy/resource_manager.js +4 -0
  256. package/lib/services.lazy/run_command.js +1 -0
  257. package/lib/services.lazy/sca.js +4 -0
  258. package/lib/services.lazy/scf.js +4 -0
  259. package/lib/services.lazy/secrets_manager.js +4 -0
  260. package/lib/services.lazy/server_backup.js +4 -0
  261. package/lib/services.lazy/server_update.js +1 -0
  262. package/lib/services.lazy/service_account.js +4 -0
  263. package/lib/services.lazy/service_enablement.js +1 -0
  264. package/lib/services.lazy/sfs.js +4 -0
  265. package/lib/services.lazy/ske.js +4 -0
  266. package/lib/services.lazy/sqlserverflex.js +4 -0
  267. package/lib/services.lazy/stackit_marketplace.js +4 -0
  268. package/lib/services.lazy/telemetry_link.js +4 -0
  269. package/lib/services.lazy/telemetry_router.js +4 -0
  270. package/lib/services.lazy/ufw.js +1 -0
  271. package/lib/services.lazy/valkey.js +4 -0
  272. package/lib/services.lazy/vpn.js +4 -0
  273. package/lib/services.lazy/workflows.js +4 -0
  274. package/lib/traits.d.ts +1 -1
  275. package/lib/traits.js +1 -15
  276. package/package.json +9 -7
  277. package/src/credentials.ts +21 -18
  278. package/src/errors.ts +10 -14
  279. package/src/index.ts +2 -2
  280. package/src/pagination.ts +2 -2
  281. package/src/protocol.ts +12 -9
  282. package/src/retry.ts +6 -4
  283. package/src/services/alb.ts +599 -655
  284. package/src/services/alb_waf.ts +597 -637
  285. package/src/services/authorization.ts +400 -383
  286. package/src/services/automation.ts +422 -405
  287. package/src/services/cdn.ts +817 -1375
  288. package/src/services/certificates.ts +209 -190
  289. package/src/services/cost.ts +100 -207
  290. package/src/services/dns.ts +793 -833
  291. package/src/services/dremio.ts +356 -349
  292. package/src/services/edge.ts +406 -366
  293. package/src/services/functions.ts +465 -463
  294. package/src/services/git.ts +602 -547
  295. package/src/services/iaas.ts +3931 -3821
  296. package/src/services/intake.ts +521 -549
  297. package/src/services/kms.ts +715 -692
  298. package/src/services/lb_ip_lists.ts +173 -152
  299. package/src/services/load_balancer.ts +576 -619
  300. package/src/services/logme.ts +696 -641
  301. package/src/services/logs.ts +510 -493
  302. package/src/services/mariadb.ts +671 -604
  303. package/src/services/model_experiments.ts +343 -356
  304. package/src/services/model_serving.ts +337 -328
  305. package/src/services/mongodb_flex.ts +955 -1007
  306. package/src/services/object_storage.ts +614 -557
  307. package/src/services/observability.ts +3469 -3866
  308. package/src/services/opensearch.ts +679 -628
  309. package/src/services/pim.ts +672 -909
  310. package/src/services/postgres_flex.ts +966 -986
  311. package/src/services/pubsub.ts +524 -546
  312. package/src/services/rabbitmq.ts +693 -654
  313. package/src/services/registry.ts +227 -194
  314. package/src/services/resource_manager.ts +520 -517
  315. package/src/services/run_command.ts +219 -211
  316. package/src/services/sca.ts +543 -570
  317. package/src/services/scf.ts +790 -716
  318. package/src/services/secrets_manager.ts +707 -622
  319. package/src/services/server_backup.ts +490 -475
  320. package/src/services/server_update.ts +353 -356
  321. package/src/services/service_account.ts +515 -553
  322. package/src/services/service_enablement.ts +162 -166
  323. package/src/services/sfs.ts +879 -958
  324. package/src/services/ske.ts +694 -769
  325. package/src/services/sqlserverflex.ts +1042 -1117
  326. package/src/services/stackit_marketplace.ts +377 -372
  327. package/src/services/telemetry_link.ts +530 -531
  328. package/src/services/telemetry_router.ts +509 -534
  329. package/src/services/ufw.ts +305 -307
  330. package/src/services/valkey.ts +684 -629
  331. package/src/services/vpn.ts +935 -1195
  332. package/src/services/workflows.ts +426 -586
  333. package/src/traits.ts +1 -1
  334. package/lib/credentials.js.map +0 -1
  335. package/lib/errors.js.map +0 -1
  336. package/lib/pagination.js.map +0 -1
  337. package/lib/protocol.js.map +0 -1
  338. package/lib/protocol.test.d.ts +0 -2
  339. package/lib/protocol.test.d.ts.map +0 -1
  340. package/lib/protocol.test.js +0 -181
  341. package/lib/protocol.test.js.map +0 -1
  342. package/lib/retry.js.map +0 -1
  343. package/lib/services/index.js.map +0 -1
  344. package/lib/traits.js.map +0 -1
  345. package/src/protocol.test.ts +0 -304
  346. /package/lib/{index.js.map → index.lazy.js.map} +0 -0
@@ -1,790 +1,47 @@
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 const CreateResourcePoolRequestIpAclList = /*@__PURE__*/ S.Array(S.String);
16
- export const CreateResourcePoolRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
17
- export const CreateResourcePoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
18
- projectId: S.String.pipe(T.Label()),
19
- region: S.String.pipe(T.Label()),
20
- availabilityZone: S.String,
21
- ipAcl: CreateResourcePoolRequestIpAclList,
22
- labels: S.optional(CreateResourcePoolRequestLabelsMap),
23
- name: S.String,
24
- performanceClass: S.String,
25
- sizeGigabytes: S.Number,
26
- snapshotPolicyId: S.optional(S.String),
27
- snapshotsAreVisible: S.optional(S.Boolean),
28
- }).pipe(T.Http({
29
- method: "POST",
30
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools",
31
- code: 200,
32
- baseUrl: "https://sfs.api.stackit.cloud",
33
- }))).annotate({
34
- identifier: "CreateResourcePoolRequest",
35
- });
36
- export const ResourcePoolIpAclList = /*@__PURE__*/ S.Array(S.String);
37
- export const ResourcePoolLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
38
- export const ResourcePoolPerformanceClass = /*@__PURE__*/ S.suspend(() => S.Struct({
39
- name: S.optional(S.String),
40
- peakIops: S.optional(S.Number),
41
- throughput: S.optional(S.Number),
42
- })).annotate({
43
- identifier: "ResourcePoolPerformanceClass",
44
- });
45
- export const ResourcePoolSnapshotPolicy = /*@__PURE__*/ S.suspend(() => S.Struct({
46
- id: S.optional(S.String),
47
- name: S.optional(S.String),
48
- })).annotate({
49
- identifier: "ResourcePoolSnapshotPolicy",
50
- });
51
- export const ResourcePoolSpace = /*@__PURE__*/ S.suspend(() => S.Struct({
52
- availableGigabytes: S.optional(S.NullOr(S.Number)),
53
- sizeGigabytes: S.optional(S.Number),
54
- usedBySnapshotsGigabytes: S.optional(S.NullOr(S.Number)),
55
- usedGigabytes: S.optional(S.NullOr(S.Number)),
56
- })).annotate({ identifier: "ResourcePoolSpace" });
57
- export const ResourcePool = /*@__PURE__*/ S.suspend(() => S.Struct({
58
- availabilityZone: S.optional(S.String),
59
- countShares: S.optional(S.Number),
60
- createdAt: S.optional(S.String),
61
- id: S.optional(S.String),
62
- ipAcl: S.optional(ResourcePoolIpAclList),
63
- labels: S.optional(ResourcePoolLabelsMap),
64
- mountPath: S.optional(S.String),
65
- name: S.optional(S.String),
66
- performanceClass: S.optional(ResourcePoolPerformanceClass),
67
- performanceClassDowngradableAt: S.optional(S.String),
68
- sizeReducibleAt: S.optional(S.String),
69
- snapshotPolicy: S.optional(S.NullOr(ResourcePoolSnapshotPolicy)),
70
- snapshotsAreVisible: S.optional(S.Boolean),
71
- space: S.optional(ResourcePoolSpace),
72
- state: S.optional(S.String),
73
- })).annotate({ identifier: "ResourcePool" });
74
- export const CreateResourcePoolResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
75
- resourcePool: S.optional(ResourcePool),
76
- })).annotate({
77
- identifier: "CreateResourcePoolResponse",
78
- });
79
- export const CreateResourcePoolSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
80
- projectId: S.String.pipe(T.Label()),
81
- region: S.String.pipe(T.Label()),
82
- resourcePoolId: S.String.pipe(T.Label()),
83
- comment: S.optional(S.NullOr(S.String)),
84
- name: S.optional(S.String),
85
- snaplockRetentionHours: S.optional(S.NullOr(S.Number)),
86
- }).pipe(T.Http({
87
- method: "POST",
88
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots",
89
- code: 200,
90
- baseUrl: "https://sfs.api.stackit.cloud",
91
- }))).annotate({
92
- identifier: "CreateResourcePoolSnapshotRequest",
93
- });
94
- export const ResourcePoolSnapshot = /*@__PURE__*/ S.suspend(() => S.Struct({
95
- comment: S.optional(S.NullOr(S.String)),
96
- createdAt: S.optional(S.String),
97
- logicalSizeGigabytes: S.optional(S.Number),
98
- resourcePoolId: S.optional(S.String),
99
- sizeGigabytes: S.optional(S.Number),
100
- snaplockExpiryTime: S.optional(S.NullOr(S.String)),
101
- snapshotName: S.optional(S.String),
102
- })).annotate({ identifier: "ResourcePoolSnapshot" });
103
- export const CreateResourcePoolSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
104
- resourcePoolSnapshot: S.optional(ResourcePoolSnapshot),
105
- })).annotate({
106
- identifier: "CreateResourcePoolSnapshotResponse",
107
- });
108
- export const CreateShareRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
109
- export const CreateShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
110
- projectId: S.String.pipe(T.Label()),
111
- region: S.String.pipe(T.Label()),
112
- resourcePoolId: S.String.pipe(T.Label()),
113
- exportPolicyName: S.optional(S.NullOr(S.String)),
114
- labels: S.optional(CreateShareRequestLabelsMap),
115
- name: S.String,
116
- spaceHardLimitGigabytes: S.Number,
117
- }).pipe(T.Http({
118
- method: "POST",
119
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares",
120
- code: 200,
121
- baseUrl: "https://sfs.api.stackit.cloud",
122
- }))).annotate({ identifier: "CreateShareRequest" });
123
- export const ShareExportPolicyLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
124
- export const ShareExportPolicyRuleIpAclList = /*@__PURE__*/ S.Array(S.String);
125
- export const ShareExportPolicyRule = /*@__PURE__*/ S.suspend(() => S.Struct({
126
- createdAt: S.optional(S.String),
127
- description: S.optional(S.NullOr(S.String)),
128
- id: S.optional(S.String),
129
- ipAcl: S.optional(ShareExportPolicyRuleIpAclList),
130
- order: S.optional(S.Number),
131
- readOnly: S.optional(S.Boolean),
132
- setUuid: S.optional(S.Boolean),
133
- superUser: S.optional(S.Boolean),
134
- })).annotate({ identifier: "ShareExportPolicyRule" });
135
- export const ShareExportPolicyRulesList = /*@__PURE__*/ S.Array(ShareExportPolicyRule);
136
- export const ShareExportPolicy = /*@__PURE__*/ S.suspend(() => S.Struct({
137
- createdAt: S.optional(S.String),
138
- id: S.optional(S.String),
139
- labels: S.optional(ShareExportPolicyLabelsMap),
140
- name: S.optional(S.String),
141
- rules: S.optional(ShareExportPolicyRulesList),
142
- sharesUsingExportPolicy: S.optional(S.Number),
143
- })).annotate({ identifier: "ShareExportPolicy" });
144
- export const ShareLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
145
- export const Share = /*@__PURE__*/ S.suspend(() => S.Struct({
146
- createdAt: S.optional(S.String),
147
- exportPolicy: S.optional(S.NullOr(ShareExportPolicy)),
148
- id: S.optional(S.String),
149
- labels: S.optional(ShareLabelsMap),
150
- mountPath: S.optional(S.String),
151
- name: S.optional(S.String),
152
- spaceHardLimitGigabytes: S.optional(S.Number),
153
- state: S.optional(S.String),
154
- })).annotate({ identifier: "Share" });
155
- export const CreateShareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
156
- share: S.optional(Share),
157
- })).annotate({ identifier: "CreateShareResponse" });
158
- export const CreateShareExportPolicyRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
159
- export const CreateShareExportPolicyRequestRuleIpAclList = /*@__PURE__*/ S.Array(S.String);
160
- export const CreateShareExportPolicyRequestRule = /*@__PURE__*/ S.suspend(() => S.Struct({
161
- description: S.optional(S.NullOr(S.String)),
162
- ipAcl: S.optional(CreateShareExportPolicyRequestRuleIpAclList),
163
- order: S.optional(S.Number),
164
- readOnly: S.optional(S.Boolean),
165
- setUuid: S.optional(S.Boolean),
166
- superUser: S.optional(S.Boolean),
167
- })).annotate({
168
- identifier: "CreateShareExportPolicyRequestRule",
169
- });
170
- export const CreateShareExportPolicyRequestRulesList = /*@__PURE__*/ S.Array(CreateShareExportPolicyRequestRule);
171
- export const CreateShareExportPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
172
- projectId: S.String.pipe(T.Label()),
173
- region: S.String.pipe(T.Label()),
174
- labels: S.optional(CreateShareExportPolicyRequestLabelsMap),
175
- name: S.String,
176
- rules: S.optional(CreateShareExportPolicyRequestRulesList),
177
- }).pipe(T.Http({
178
- method: "POST",
179
- uri: "/v1/projects/{projectId}/regions/{region}/shareExportPolicies",
180
- code: 200,
181
- baseUrl: "https://sfs.api.stackit.cloud",
182
- }))).annotate({
183
- identifier: "CreateShareExportPolicyRequest",
184
- });
185
- export const CreateShareExportPolicyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
186
- shareExportPolicy: S.optional(ShareExportPolicy),
187
- })).annotate({
188
- identifier: "CreateShareExportPolicyResponse",
189
- });
190
- export const DeleteResourcePoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
191
- projectId: S.String.pipe(T.Label()),
192
- region: S.String.pipe(T.Label()),
193
- resourcePoolId: S.String.pipe(T.Label()),
194
- }).pipe(T.Http({
195
- method: "DELETE",
196
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}",
197
- code: 200,
198
- baseUrl: "https://sfs.api.stackit.cloud",
199
- }))).annotate({
200
- identifier: "DeleteResourcePoolRequest",
201
- });
202
- export const DeleteResourcePoolResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
203
- identifier: "DeleteResourcePoolResponse2",
204
- });
205
- export const DeleteResourcePoolSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
206
- projectId: S.String.pipe(T.Label()),
207
- region: S.String.pipe(T.Label()),
208
- resourcePoolId: S.String.pipe(T.Label()),
209
- snapshotName: S.String.pipe(T.Label()),
210
- }).pipe(T.Http({
211
- method: "DELETE",
212
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots/{snapshotName}",
213
- code: 200,
214
- baseUrl: "https://sfs.api.stackit.cloud",
215
- }))).annotate({
216
- identifier: "DeleteResourcePoolSnapshotRequest",
217
- });
218
- export const DeleteResourcePoolSnapshotResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
219
- identifier: "DeleteResourcePoolSnapshotResponse2",
220
- });
221
- export const DeleteShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
222
- projectId: S.String.pipe(T.Label()),
223
- region: S.String.pipe(T.Label()),
224
- resourcePoolId: S.String.pipe(T.Label()),
225
- shareId: S.String.pipe(T.Label()),
226
- }).pipe(T.Http({
227
- method: "DELETE",
228
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares/{shareId}",
229
- code: 200,
230
- baseUrl: "https://sfs.api.stackit.cloud",
231
- }))).annotate({ identifier: "DeleteShareRequest" });
232
- export const DeleteShareResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "DeleteShareResponse2" });
233
- export const DeleteShareExportPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
234
- projectId: S.String.pipe(T.Label()),
235
- region: S.String.pipe(T.Label()),
236
- policyId: S.String.pipe(T.Label()),
237
- }).pipe(T.Http({
238
- method: "DELETE",
239
- uri: "/v1/projects/{projectId}/regions/{region}/shareExportPolicies/{policyId}",
240
- code: 200,
241
- baseUrl: "https://sfs.api.stackit.cloud",
242
- }))).annotate({
243
- identifier: "DeleteShareExportPolicyRequest",
244
- });
245
- export const DeleteShareExportPolicyResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
246
- identifier: "DeleteShareExportPolicyResponse2",
247
- });
248
- export const DisableLockRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
249
- region: S.String.pipe(T.Label()),
250
- projectId: S.String.pipe(T.Label()),
251
- }).pipe(T.Http({
252
- method: "DELETE",
253
- uri: "/v1/regions/{region}/project/{projectId}/locks",
254
- code: 200,
255
- baseUrl: "https://sfs.api.stackit.cloud",
256
- }))).annotate({ identifier: "DisableLockRequest" });
257
- export const DisableLockResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "DisableLockResponse2" });
258
- export const EnableLockRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
259
- region: S.String.pipe(T.Label()),
260
- projectId: S.String.pipe(T.Label()),
261
- }).pipe(T.Http({
262
- method: "POST",
263
- uri: "/v1/regions/{region}/project/{projectId}/locks",
264
- code: 200,
265
- baseUrl: "https://sfs.api.stackit.cloud",
266
- }))).annotate({ identifier: "EnableLockRequest" });
267
- export const EnableLockResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
268
- lockId: S.optional(S.String),
269
- })).annotate({ identifier: "EnableLockResponse" });
270
- export const GetLockRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
271
- region: S.String.pipe(T.Label()),
272
- projectId: S.String.pipe(T.Label()),
273
- }).pipe(T.Http({
274
- method: "GET",
275
- uri: "/v1/regions/{region}/project/{projectId}/locks",
276
- code: 200,
277
- baseUrl: "https://sfs.api.stackit.cloud",
278
- }))).annotate({ identifier: "GetLockRequest" });
279
- export const GetLockResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
280
- lockId: S.optional(S.String),
281
- })).annotate({ identifier: "GetLockResponse" });
282
- export const GetResourcePoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
283
- projectId: S.String.pipe(T.Label()),
284
- region: S.String.pipe(T.Label()),
285
- resourcePoolId: S.String.pipe(T.Label()),
286
- }).pipe(T.Http({
287
- method: "GET",
288
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}",
289
- code: 200,
290
- baseUrl: "https://sfs.api.stackit.cloud",
291
- }))).annotate({ identifier: "GetResourcePoolRequest" });
292
- export const GetResourcePoolResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
293
- resourcePool: S.optional(ResourcePool),
294
- })).annotate({ identifier: "GetResourcePoolResponse" });
295
- export const GetResourcePoolSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
296
- projectId: S.String.pipe(T.Label()),
297
- region: S.String.pipe(T.Label()),
298
- resourcePoolId: S.String.pipe(T.Label()),
299
- snapshotName: S.String.pipe(T.Label()),
300
- }).pipe(T.Http({
301
- method: "GET",
302
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots/{snapshotName}",
303
- code: 200,
304
- baseUrl: "https://sfs.api.stackit.cloud",
305
- }))).annotate({
306
- identifier: "GetResourcePoolSnapshotRequest",
307
- });
308
- export const GetResourcePoolSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
309
- resourcePoolSnapshot: S.optional(ResourcePoolSnapshot),
310
- })).annotate({
311
- identifier: "GetResourcePoolSnapshotResponse",
312
- });
313
- export const GetShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
314
- projectId: S.String.pipe(T.Label()),
315
- region: S.String.pipe(T.Label()),
316
- resourcePoolId: S.String.pipe(T.Label()),
317
- shareId: S.String.pipe(T.Label()),
318
- }).pipe(T.Http({
319
- method: "GET",
320
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares/{shareId}",
321
- code: 200,
322
- baseUrl: "https://sfs.api.stackit.cloud",
323
- }))).annotate({ identifier: "GetShareRequest" });
324
- export const GetShareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
325
- share: S.optional(Share),
326
- })).annotate({ identifier: "GetShareResponse" });
327
- export const GetShareExportPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
328
- projectId: S.String.pipe(T.Label()),
329
- region: S.String.pipe(T.Label()),
330
- policyId: S.String.pipe(T.Label()),
331
- }).pipe(T.Http({
332
- method: "GET",
333
- uri: "/v1/projects/{projectId}/regions/{region}/shareExportPolicies/{policyId}",
334
- code: 200,
335
- baseUrl: "https://sfs.api.stackit.cloud",
336
- }))).annotate({
337
- identifier: "GetShareExportPolicyRequest",
338
- });
339
- export const GetShareExportPolicyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
340
- shareExportPolicy: S.optional(ShareExportPolicy),
341
- })).annotate({
342
- identifier: "GetShareExportPolicyResponse",
343
- });
344
- export const GetSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
345
- projectId: S.String.pipe(T.Label()),
346
- id: S.String.pipe(T.Label()),
347
- }).pipe(T.Http({
348
- method: "GET",
349
- uri: "/v1/projects/{projectId}/snapshotPolicies/{id}",
350
- code: 200,
351
- baseUrl: "https://sfs.api.stackit.cloud",
352
- }))).annotate({ identifier: "GetSnapshotPolicyRequest" });
353
- export const SnapshotPolicySchedule = /*@__PURE__*/ S.suspend(() => S.Struct({
354
- count: S.optional(S.Number),
355
- interval: S.optional(S.String),
356
- prefix: S.optional(S.String),
357
- retentionPeriod: S.optional(S.String),
358
- scheduleId: S.optional(S.String),
359
- })).annotate({ identifier: "SnapshotPolicySchedule" });
360
- export const SnapshotPolicySchedulesList = /*@__PURE__*/ S.Array(SnapshotPolicySchedule);
361
- export const SnapshotPolicySnapshotPolicySchedule = /*@__PURE__*/ S.suspend(() => S.Struct({
362
- createdAt: S.optional(S.String),
363
- id: S.optional(S.String),
364
- interval: S.optional(S.String),
365
- name: S.optional(S.String),
366
- prefix: S.optional(S.String),
367
- retentionCount: S.optional(S.Number),
368
- retentionPeriod: S.optional(S.String),
369
- })).annotate({
370
- identifier: "SnapshotPolicySnapshotPolicySchedule",
371
- });
372
- export const SnapshotPolicySnapshotSchedulesList = /*@__PURE__*/ S.Array(SnapshotPolicySnapshotPolicySchedule);
373
- export const SnapshotPolicy = /*@__PURE__*/ S.suspend(() => S.Struct({
374
- comment: S.optional(S.String),
375
- createdAt: S.optional(S.String),
376
- enabled: S.optional(S.Boolean),
377
- id: S.optional(S.String),
378
- name: S.optional(S.String),
379
- schedules: S.optional(SnapshotPolicySchedulesList),
380
- snapshotSchedules: S.optional(SnapshotPolicySnapshotSchedulesList),
381
- })).annotate({ identifier: "SnapshotPolicy" });
382
- export const GetSnapshotPolicyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
383
- snapshotPolicy: S.optional(SnapshotPolicy),
384
- })).annotate({
385
- identifier: "GetSnapshotPolicyResponse",
386
- });
387
- export const ListPerformanceClassesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
388
- method: "GET",
389
- uri: "/v1/resourcePoolPerformanceClasses",
390
- code: 200,
391
- baseUrl: "https://sfs.api.stackit.cloud",
392
- }))).annotate({
393
- identifier: "ListPerformanceClassesRequest",
394
- });
395
- export const PerformanceClass = /*@__PURE__*/ S.suspend(() => S.Struct({
396
- iops: S.optional(S.Number),
397
- name: S.optional(S.String),
398
- throughput: S.optional(S.Number),
399
- })).annotate({ identifier: "PerformanceClass" });
400
- export const ListPerformanceClassesResponsePerformanceClassesList = /*@__PURE__*/ S.Array(PerformanceClass);
401
- export const ListPerformanceClassesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
402
- performanceClasses: S.optional(ListPerformanceClassesResponsePerformanceClassesList),
403
- })).annotate({
404
- identifier: "ListPerformanceClassesResponse",
405
- });
406
- export const ListResourcePoolsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
407
- projectId: S.String.pipe(T.Label()),
408
- region: S.String.pipe(T.Label()),
409
- }).pipe(T.Http({
410
- method: "GET",
411
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools",
412
- code: 200,
413
- baseUrl: "https://sfs.api.stackit.cloud",
414
- }))).annotate({ identifier: "ListResourcePoolsRequest" });
415
- export const ListResourcePoolsResponseResourcePoolsList = /*@__PURE__*/ S.Array(ResourcePool);
416
- export const ListResourcePoolsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
417
- resourcePools: S.optional(ListResourcePoolsResponseResourcePoolsList),
418
- })).annotate({
419
- identifier: "ListResourcePoolsResponse",
420
- });
421
- export const ListResourcePoolSnapshotsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
422
- projectId: S.String.pipe(T.Label()),
423
- region: S.String.pipe(T.Label()),
424
- resourcePoolId: S.String.pipe(T.Label()),
425
- }).pipe(T.Http({
426
- method: "GET",
427
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots",
428
- code: 200,
429
- baseUrl: "https://sfs.api.stackit.cloud",
430
- }))).annotate({
431
- identifier: "ListResourcePoolSnapshotsRequest",
432
- });
433
- export const ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList = /*@__PURE__*/ S.Array(ResourcePoolSnapshot);
434
- export const ListResourcePoolSnapshotsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
435
- resourcePoolSnapshots: S.optional(ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList),
436
- })).annotate({
437
- identifier: "ListResourcePoolSnapshotsResponse",
438
- });
439
- export const ListShareExportPoliciesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
440
- projectId: S.String.pipe(T.Label()),
441
- region: S.String.pipe(T.Label()),
442
- }).pipe(T.Http({
443
- method: "GET",
444
- uri: "/v1/projects/{projectId}/regions/{region}/shareExportPolicies",
445
- code: 200,
446
- baseUrl: "https://sfs.api.stackit.cloud",
447
- }))).annotate({
448
- identifier: "ListShareExportPoliciesRequest",
449
- });
450
- export const ListShareExportPoliciesResponseShareExportPoliciesList = /*@__PURE__*/ S.Array(ShareExportPolicy);
451
- export const ListShareExportPoliciesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
452
- shareExportPolicies: S.optional(ListShareExportPoliciesResponseShareExportPoliciesList),
453
- })).annotate({
454
- identifier: "ListShareExportPoliciesResponse",
455
- });
456
- export const ListSharesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
457
- projectId: S.String.pipe(T.Label()),
458
- region: S.String.pipe(T.Label()),
459
- resourcePoolId: S.String.pipe(T.Label()),
460
- }).pipe(T.Http({
461
- method: "GET",
462
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares",
463
- code: 200,
464
- baseUrl: "https://sfs.api.stackit.cloud",
465
- }))).annotate({ identifier: "ListSharesRequest" });
466
- export const ListSharesResponseSharesList = /*@__PURE__*/ S.Array(Share);
467
- export const ListSharesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
468
- shares: S.optional(ListSharesResponseSharesList),
469
- })).annotate({ identifier: "ListSharesResponse" });
470
- export const ListSnapshotPoliciesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
471
- projectId: S.String.pipe(T.Label()),
472
- immutable: S.optional(S.Boolean.pipe(T.Query())),
473
- }).pipe(T.Http({
474
- method: "GET",
475
- uri: "/v1/projects/{projectId}/snapshotPolicies",
476
- code: 200,
477
- baseUrl: "https://sfs.api.stackit.cloud",
478
- }))).annotate({
479
- identifier: "ListSnapshotPoliciesRequest",
480
- });
481
- export const ListSnapshotPoliciesResponseSnapshotPoliciesList = /*@__PURE__*/ S.Array(SnapshotPolicy);
482
- export const ListSnapshotPoliciesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
483
- snapshotPolicies: S.optional(ListSnapshotPoliciesResponseSnapshotPoliciesList),
484
- })).annotate({
485
- identifier: "ListSnapshotPoliciesResponse",
486
- });
487
- export const UpdateResourcePoolRequestIpAclList = /*@__PURE__*/ S.Array(S.String);
488
- export const UpdateResourcePoolRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
489
- export const UpdateResourcePoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
490
- projectId: S.String.pipe(T.Label()),
491
- region: S.String.pipe(T.Label()),
492
- resourcePoolId: S.String.pipe(T.Label()),
493
- ipAcl: S.optional(UpdateResourcePoolRequestIpAclList),
494
- labels: S.optional(UpdateResourcePoolRequestLabelsMap),
495
- performanceClass: S.optional(S.String),
496
- sizeGigabytes: S.optional(S.NullOr(S.Number)),
497
- snapshotPolicyId: S.optional(S.NullOr(S.String)),
498
- snapshotsAreVisible: S.optional(S.Boolean),
499
- }).pipe(T.Http({
500
- method: "PATCH",
501
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}",
502
- code: 200,
503
- baseUrl: "https://sfs.api.stackit.cloud",
504
- }))).annotate({
505
- identifier: "UpdateResourcePoolRequest",
506
- });
507
- export const UpdateResourcePoolResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
508
- resourcePool: S.optional(ResourcePool),
509
- })).annotate({
510
- identifier: "UpdateResourcePoolResponse",
511
- });
512
- export const UpdateResourcePoolSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
513
- projectId: S.String.pipe(T.Label()),
514
- region: S.String.pipe(T.Label()),
515
- resourcePoolId: S.String.pipe(T.Label()),
516
- snapshotName: S.String.pipe(T.Label()),
517
- comment: S.optional(S.NullOr(S.String)),
518
- name: S.optional(S.NullOr(S.String)),
519
- }).pipe(T.Http({
520
- method: "PATCH",
521
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots/{snapshotName}",
522
- code: 200,
523
- baseUrl: "https://sfs.api.stackit.cloud",
524
- }))).annotate({
525
- identifier: "UpdateResourcePoolSnapshotRequest",
526
- });
527
- export const UpdateResourcePoolSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
528
- resourcePoolSnapshot: S.optional(ResourcePoolSnapshot),
529
- })).annotate({
530
- identifier: "UpdateResourcePoolSnapshotResponse",
531
- });
532
- export const UpdateShareRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
533
- export const UpdateShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
534
- projectId: S.String.pipe(T.Label()),
535
- region: S.String.pipe(T.Label()),
536
- resourcePoolId: S.String.pipe(T.Label()),
537
- shareId: S.String.pipe(T.Label()),
538
- exportPolicyName: S.optional(S.NullOr(S.String)),
539
- labels: S.optional(UpdateShareRequestLabelsMap),
540
- spaceHardLimitGigabytes: S.optional(S.NullOr(S.Number)),
541
- }).pipe(T.Http({
542
- method: "PATCH",
543
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares/{shareId}",
544
- code: 200,
545
- baseUrl: "https://sfs.api.stackit.cloud",
546
- }))).annotate({ identifier: "UpdateShareRequest" });
547
- export const UpdateShareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
548
- share: S.optional(Share),
549
- })).annotate({ identifier: "UpdateShareResponse" });
550
- export const UpdateShareExportPolicyRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
551
- export const UpdateShareExportPolicyBodyRuleIpAclList = /*@__PURE__*/ S.Array(S.String);
552
- export const UpdateShareExportPolicyBodyRule = /*@__PURE__*/ S.suspend(() => S.Struct({
553
- description: S.optional(S.NullOr(S.String)),
554
- ipAcl: S.optional(UpdateShareExportPolicyBodyRuleIpAclList),
555
- order: S.optional(S.Number),
556
- readOnly: S.optional(S.Boolean),
557
- setUuid: S.optional(S.Boolean),
558
- superUser: S.optional(S.Boolean),
559
- })).annotate({
560
- identifier: "UpdateShareExportPolicyBodyRule",
561
- });
562
- export const UpdateShareExportPolicyRequestRulesList = /*@__PURE__*/ S.Array(UpdateShareExportPolicyBodyRule);
563
- export const UpdateShareExportPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
564
- projectId: S.String.pipe(T.Label()),
565
- region: S.String.pipe(T.Label()),
566
- policyId: S.String.pipe(T.Label()),
567
- labels: S.optional(UpdateShareExportPolicyRequestLabelsMap),
568
- rules: S.optional(S.NullOr(UpdateShareExportPolicyRequestRulesList)),
569
- }).pipe(T.Http({
570
- method: "PATCH",
571
- uri: "/v1/projects/{projectId}/regions/{region}/shareExportPolicies/{policyId}",
572
- code: 200,
573
- baseUrl: "https://sfs.api.stackit.cloud",
574
- }))).annotate({
575
- identifier: "UpdateShareExportPolicyRequest",
576
- });
577
- export const UpdateShareExportPolicyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
578
- shareExportPolicy: S.optional(ShareExportPolicy),
579
- })).annotate({
580
- identifier: "UpdateShareExportPolicyResponse",
581
- });
582
- /** Create Resource Pool Create a Resource Pool in a project. */
583
- export const createResourcePool = /*@__PURE__*/ API.make(() => ({
584
- input: CreateResourcePoolRequest,
585
- output: CreateResourcePoolResponse,
586
- errors: [BadRequest, UnknownStackitError],
587
- protocol: StackitProtocol,
588
- retry: Retry.Retry,
589
- }));
590
- /** Create Resource Pool Snapshot Creates a Snapshot of a Resource Pool in a project. */
591
- export const createResourcePoolSnapshot = /*@__PURE__*/ API.make(() => ({
592
- input: CreateResourcePoolSnapshotRequest,
593
- output: CreateResourcePoolSnapshotResponse,
594
- errors: [BadRequest, UnknownStackitError],
595
- protocol: StackitProtocol,
596
- retry: Retry.Retry,
597
- }));
598
- /** Create Share Creates a Share in a Resource Pool in a project. */
599
- export const createShare = /*@__PURE__*/ API.make(() => ({
600
- input: CreateShareRequest,
601
- output: CreateShareResponse,
602
- errors: [BadRequest, UnknownStackitError],
603
- protocol: StackitProtocol,
604
- retry: Retry.Retry,
605
- }));
606
- /** Create Share Export Policy Creates a ShareExportPolicy in a Resource Pool in a project. */
607
- export const createShareExportPolicy = /*@__PURE__*/ API.make(() => ({
608
- input: CreateShareExportPolicyRequest,
609
- output: CreateShareExportPolicyResponse,
610
- errors: [BadRequest, UnknownStackitError],
611
- protocol: StackitProtocol,
612
- retry: Retry.Retry,
613
- }));
614
- /** Delete Resource Pool Deletes a Resource Pool in a project. */
615
- export const deleteResourcePool = /*@__PURE__*/ API.make(() => ({
616
- input: DeleteResourcePoolRequest,
617
- output: DeleteResourcePoolResponse2,
618
- errors: [BadRequest, UnknownStackitError],
619
- protocol: StackitProtocol,
620
- retry: Retry.Retry,
621
- }));
622
- /** Delete Resource Pool Snapshot Deletes a Snapshot from a Resource Pool in a project. */
623
- export const deleteResourcePoolSnapshot = /*@__PURE__*/ API.make(() => ({
624
- input: DeleteResourcePoolSnapshotRequest,
625
- output: DeleteResourcePoolSnapshotResponse2,
626
- errors: [BadRequest, UnknownStackitError],
627
- protocol: StackitProtocol,
628
- retry: Retry.Retry,
629
- }));
630
- /** Delete Share Deletes a Shares in a Resource Pool in a project. */
631
- export const deleteShare = /*@__PURE__*/ API.make(() => ({
632
- input: DeleteShareRequest,
633
- output: DeleteShareResponse2,
634
- errors: [BadRequest, UnknownStackitError],
635
- protocol: StackitProtocol,
636
- retry: Retry.Retry,
637
- }));
638
- /** Delete Share Export Policy Deletes a ShareExportPolicies in a Resource Pool in a project. */
639
- export const deleteShareExportPolicy = /*@__PURE__*/ API.make(() => ({
640
- input: DeleteShareExportPolicyRequest,
641
- output: DeleteShareExportPolicyResponse2,
642
- errors: [BadRequest, UnknownStackitError],
643
- protocol: StackitProtocol,
644
- retry: Retry.Retry,
645
- }));
646
- /** Clean up locks for a project so that it can be deleted successfully. */
647
- export const disableLock = /*@__PURE__*/ API.make(() => ({
648
- input: DisableLockRequest,
649
- output: DisableLockResponse2,
650
- errors: [UnknownStackitError],
651
- protocol: StackitProtocol,
652
- retry: Retry.Retry,
653
- }));
654
- /** Enable Lock for a project. Necessary for immutable snapshots and to prevent accidental deletion of resources. */
655
- export const enableLock = /*@__PURE__*/ API.make(() => ({
656
- input: EnableLockRequest,
657
- output: EnableLockResponse,
658
- errors: [UnknownStackitError],
659
- protocol: StackitProtocol,
660
- retry: Retry.Retry,
661
- }));
662
- /** Get lock status for a project. */
663
- export const getLock = /*@__PURE__*/ API.make(() => ({
664
- input: GetLockRequest,
665
- output: GetLockResponse,
666
- errors: [UnknownStackitError],
667
- protocol: StackitProtocol,
668
- retry: Retry.Retry,
669
- }));
670
- /** Get Resource Pool Retrieves a Resource Pool in a project. */
671
- export const getResourcePool = /*@__PURE__*/ API.make(() => ({
672
- input: GetResourcePoolRequest,
673
- output: GetResourcePoolResponse,
674
- errors: [BadRequest, UnknownStackitError],
675
- protocol: StackitProtocol,
676
- retry: Retry.Retry,
677
- }));
678
- /** Get Resource Pool Snapshot Retrieves a Snapshot from a Resource Pool in a project. */
679
- export const getResourcePoolSnapshot = /*@__PURE__*/ API.make(() => ({
680
- input: GetResourcePoolSnapshotRequest,
681
- output: GetResourcePoolSnapshotResponse,
682
- errors: [BadRequest, UnknownStackitError],
683
- protocol: StackitProtocol,
684
- retry: Retry.Retry,
685
- }));
686
- /** Get Share Retrieves a Shares in a Resource Pool in a project. */
687
- export const getShare = /*@__PURE__*/ API.make(() => ({
688
- input: GetShareRequest,
689
- output: GetShareResponse,
690
- errors: [BadRequest, UnknownStackitError],
691
- protocol: StackitProtocol,
692
- retry: Retry.Retry,
693
- }));
694
- /** Get Share Export Policy Retrieves a ShareExportPolicies in a Resource Pool in a project. */
695
- export const getShareExportPolicy = /*@__PURE__*/ API.make(() => ({
696
- input: GetShareExportPolicyRequest,
697
- output: GetShareExportPolicyResponse,
698
- errors: [BadRequest, UnknownStackitError],
699
- protocol: StackitProtocol,
700
- retry: Retry.Retry,
701
- }));
702
- /** Get Snapshot Policy */
703
- export const getSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
704
- input: GetSnapshotPolicyRequest,
705
- output: GetSnapshotPolicyResponse,
706
- errors: [UnknownStackitError],
707
- protocol: StackitProtocol,
708
- retry: Retry.Retry,
709
- }));
710
- /** List Resource Performance Classes Lists all performances classes available */
711
- export const listPerformanceClasses = /*@__PURE__*/ API.make(() => ({
712
- input: ListPerformanceClassesRequest,
713
- output: ListPerformanceClassesResponse,
714
- errors: [BadRequest, UnknownStackitError],
715
- protocol: StackitProtocol,
716
- retry: Retry.Retry,
717
- }));
718
- /** List Resource Pools Lists Resource Pools in a project. */
719
- export const listResourcePools = /*@__PURE__*/ API.make(() => ({
720
- input: ListResourcePoolsRequest,
721
- output: ListResourcePoolsResponse,
722
- errors: [BadRequest, UnknownStackitError],
723
- protocol: StackitProtocol,
724
- retry: Retry.Retry,
725
- }));
726
- /** List Resource Pool Snapshots Lists the Snapshots of a Resource Pool in a project. */
727
- export const listResourcePoolSnapshots = /*@__PURE__*/ API.make(() => ({
728
- input: ListResourcePoolSnapshotsRequest,
729
- output: ListResourcePoolSnapshotsResponse,
730
- errors: [BadRequest, UnknownStackitError],
731
- protocol: StackitProtocol,
732
- retry: Retry.Retry,
733
- }));
734
- /** List Share Export Policies Lists ShareExportPolicies in a Resource Pool in a project. */
735
- export const listShareExportPolicies = /*@__PURE__*/ API.make(() => ({
736
- input: ListShareExportPoliciesRequest,
737
- output: ListShareExportPoliciesResponse,
738
- errors: [BadRequest, UnknownStackitError],
739
- protocol: StackitProtocol,
740
- retry: Retry.Retry,
741
- }));
742
- /** List Shares Lists Shares in a Resource Pool in a project. */
743
- export const listShares = /*@__PURE__*/ API.make(() => ({
744
- input: ListSharesRequest,
745
- output: ListSharesResponse,
746
- errors: [BadRequest, UnknownStackitError],
747
- protocol: StackitProtocol,
748
- retry: Retry.Retry,
749
- }));
750
- /** List Snapshot Policies */
751
- export const listSnapshotPolicies = /*@__PURE__*/ API.make(() => ({
752
- input: ListSnapshotPoliciesRequest,
753
- output: ListSnapshotPoliciesResponse,
754
- errors: [UnknownStackitError],
755
- protocol: StackitProtocol,
756
- retry: Retry.Retry,
757
- }));
758
- /** Update Resource Pool Updates a Resource Pool in a project. */
759
- export const updateResourcePool = /*@__PURE__*/ API.make(() => ({
760
- input: UpdateResourcePoolRequest,
761
- output: UpdateResourcePoolResponse,
762
- errors: [BadRequest, UnknownStackitError],
763
- protocol: StackitProtocol,
764
- retry: Retry.Retry,
765
- }));
766
- /** Update Resource Pool Snapshot Updates a Snapshot from a Resource Pool in a project. */
767
- export const updateResourcePoolSnapshot = /*@__PURE__*/ API.make(() => ({
768
- input: UpdateResourcePoolSnapshotRequest,
769
- output: UpdateResourcePoolSnapshotResponse,
770
- errors: [BadRequest, UnknownStackitError],
771
- protocol: StackitProtocol,
772
- retry: Retry.Retry,
773
- }));
774
- /** Update Share Updates a Shares in a Resource Pool in a project. */
775
- export const updateShare = /*@__PURE__*/ API.make(() => ({
776
- input: UpdateShareRequest,
777
- output: UpdateShareResponse,
778
- errors: [BadRequest, UnknownStackitError],
779
- protocol: StackitProtocol,
780
- retry: Retry.Retry,
781
- }));
782
- /** Update Share Export Policy Updates a ShareExportPolicies in a Resource Pool in a project. */
783
- export const updateShareExportPolicy = /*@__PURE__*/ API.make(() => ({
784
- input: UpdateShareExportPolicyRequest,
785
- output: UpdateShareExportPolicyResponse,
786
- errors: [BadRequest, UnknownStackitError],
787
- protocol: StackitProtocol,
788
- retry: Retry.Retry,
789
- }));
1
+ import{_ as e,a as t,c as n,d as r,errors$UnknownStackitError as i,f as a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,protocol$StackitProtocol as m,r as h,retry$Retry as g,s as _,t as v,traits$Http as y,traits$Label as b,traits$Query as x,traits$RawResponseRoot as S,traits$applyErrorMatchers as C,u as w,v as T,x as E}from"../_bundle/sdk.js";const D=/*@__PURE__*/ s(function BadRequest(t){return e(t,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[w,E,c,f,n,C]])});const O=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$9(>2)@"CreateResourcePoolRequest";$8({projectId:$3.pipe($2()),region:$3.pipe($2()),availabilityZone:$3,ipAcl:#4:0,labels:$5(#4:1),name:$3,performanceClass:$3,sizeGigabytes:$6,snapshotPolicyId:$5($3),snapshotsAreVisible:$5($7)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,__d2,r,c,d,_,a,__d1,D,i,m,g]]:u(O,e));const k=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13};$8(>2)@"CreateResourcePoolSnapshotRequest";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),comment:$5($4($3)),name:$5($3),snaplockRetentionHours:$5($4($6))}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,h,r,c,_,a,__d6,D,i,m,g]]:u(k,e));const A=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$9(>2)@"CreateShareRequest";$8({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),exportPolicyName:$5($4($3)),labels:$5(#6:1),name:$3,spaceHardLimitGigabytes:$7}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,h,r,__d2,c,_,a,__d8,D,i,m,g]]:u(A,e));const j=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13};$8(>2)@"CreateShareExportPolicyRequest";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),labels:$5(#4:1),name:$3,rules:$5(#6:1)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/shareExportPolicies",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,__d2,r,__d11,_,a,__d10,D,i,m,g]]:u(j,e));const M=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"DeleteResourcePoolRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d12,D,i,m,g]]:u(M,e));const N=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"DeleteResourcePoolSnapshotRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),snapshotName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots/{snapshotName}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d12,D,i,m,g]]:u(N,e));const P=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"DeleteShareRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),shareId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares/{shareId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d12,D,i,m,g]]:u(P,e));const F=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"DeleteShareExportPolicyRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),policyId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/shareExportPolicies/{policyId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d12,D,i,m,g]]:u(F,e));const I=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DisableLockRequest";$4({region:$3.pipe($2()),projectId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/regions/{region}/project/{projectId}/locks",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d12,i,m,g]]:u(I,e));const L=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"EnableLockRequest";$4({region:$3.pipe($2()),projectId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/regions/{region}/project/{projectId}/locks",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d3,i,m,g]]:u(L,e));const R=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetLockRequest";$4({region:$3.pipe($2()),projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/regions/{region}/project/{projectId}/locks",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d3,i,m,g]]:u(R,e));const z=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetResourcePoolRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d1,D,i,m,g]]:u(z,e));const B=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetResourcePoolSnapshotRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),snapshotName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots/{snapshotName}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d6,D,i,m,g]]:u(B,e));const V=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetShareRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),shareId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares/{shareId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d8,D,i,m,g]]:u(V,e));const H=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetShareExportPolicyRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),policyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/shareExportPolicies/{policyId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,_,a,__d10,D,i,m,g]]:u(H,e));const U=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetSnapshotPolicyRequest";$5(>4)@"GetSnapshotPolicyResponse";$4({projectId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/snapshotPolicies/{id}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}));$4({snapshotPolicy:$7(#6:4)})`,[w,y,b,f,_,a,__d4,r,i,m,g]]:u(U,e));const W=/*@__PURE__*/ T(e=>e===p?o(`PerformanceClass`,`{input:#1,output:#4,errors:[$8,$9],protocol:$10,retry:$11};$3(>5)@"List%esRequest";$3(>6)@"%";$7(#2);$3(>7)@"List%esResponse";$2({}).pipe($1({method:"GET",uri:"/v1/resourcePool%es",code:200,baseUrl:"https://sfs.api.stackit.cloud"}));$2({iops:$5($4),name:$5($6),throughput:$5($4)});$2({performanceClasses:$5(#3)})`,[w,y,_,a,c,r,f,v,D,i,m,g]):u(W,e));const G=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$5(>4)@"ListResourcePoolsRequest";$7(#6:3);$5(>5)@"ListResourcePoolsResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools",code:200,baseUrl:"https://sfs.api.stackit.cloud"}));$4({resourcePools:$8(#2)})`,[w,y,b,f,_,a,__d0,v,r,D,i,m,g]]:u(G,e));const K=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$5(>4)@"ListResourcePoolSnapshotsRequest";$7(#6:0);$5(>5)@"ListResourcePoolSnapshotsResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots",code:200,baseUrl:"https://sfs.api.stackit.cloud"}));$4({resourcePoolSnapshots:$8(#2)})`,[w,y,b,f,_,a,__d5,v,r,D,i,m,g]]:u(K,e));const q=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$5(>4)@"ListShareExportPoliciesRequest";$7(#6:2);$5(>5)@"ListShareExportPoliciesResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/shareExportPolicies",code:200,baseUrl:"https://sfs.api.stackit.cloud"}));$4({shareExportPolicies:$8(#2)})`,[w,y,b,f,_,a,__d9,v,r,D,i,m,g]]:u(q,e));const J=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$5(>4)@"ListSharesRequest";$7(#6:0);$5(>5)@"ListSharesResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares",code:200,baseUrl:"https://sfs.api.stackit.cloud"}));$4({shares:$8(#2)})`,[w,y,b,f,_,a,__d7,v,r,D,i,m,g]]:u(J,e));const Y=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$11],protocol:$12,retry:$13};$8(>4)@"ListSnapshotPoliciesRequest";$10(#9:4);$8(>5)@"ListSnapshotPoliciesResponse";$7({projectId:$3.pipe($2()),immutable:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/snapshotPolicies",code:200,baseUrl:"https://sfs.api.stackit.cloud"}));$7({snapshotPolicies:$6(#2)})`,[w,y,b,f,x,d,r,_,a,__d4,v,i,m,g]]:u(Y,e));const X=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#11:0,errors:[$12,$13],protocol:$14,retry:$15};$10(>2)@"UpdateResourcePoolRequest";$9({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),ipAcl:$5(#4:0),labels:$5(#4:1),performanceClass:$5($3),sizeGigabytes:$5($7($6)),snapshotPolicyId:$5($7($3)),snapshotsAreVisible:$5($8)}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,__d2,r,c,h,d,_,a,__d1,D,i,m,g]]:u(X,e));const Z=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"UpdateResourcePoolSnapshotRequest";$6({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),snapshotName:$3.pipe($2()),comment:$5($4($3)),name:$5($4($3))}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots/{snapshotName}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,h,r,_,a,__d6,D,i,m,g]]:u(Z,e));const Q=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$9(>2)@"UpdateShareRequest";$8({projectId:$3.pipe($2()),region:$3.pipe($2()),resourcePoolId:$3.pipe($2()),shareId:$3.pipe($2()),exportPolicyName:$5($4($3)),labels:$5(#6:1),spaceHardLimitGigabytes:$5($4($7))}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/shares/{shareId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,h,r,__d2,c,_,a,__d8,D,i,m,g]]:u(Q,e));const $=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#10:0,errors:[$11,$12],protocol:$13,retry:$14};$9(>2)@"UpdateShareExportPolicyRequest";$8({projectId:$3.pipe($2()),region:$3.pipe($2()),policyId:$3.pipe($2()),labels:$5(#4:1),rules:$5($7(#6:1))}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/regions/{region}/shareExportPolicies/{policyId}",code:200,baseUrl:"https://sfs.api.stackit.cloud"}))`,[w,y,b,f,__d2,r,__d11,h,_,a,__d10,D,i,m,g]]:u($,e));function __d0(){return[`$5(>4)@"ResourcePoolPerformanceClass";$5(>5)@"ResourcePoolSnapshotPolicy";$5(>6)@"ResourcePoolSpace";$5(>7)@"ResourcePool";$4({name:$2($1),peakIops:$2($3),throughput:$2($3)});$4({id:$2($1),name:$2($1)});$4({availableGigabytes:$2($6($3)),sizeGigabytes:$2($3),usedBySnapshotsGigabytes:$2($6($3)),usedGigabytes:$2($6($3))});$4({availabilityZone:$2($1),countShares:$2($3),createdAt:$2($1),id:$2($1),ipAcl:$2(#7:0),labels:$2(#7:1),mountPath:$2($1),name:$2($1),performanceClass:$2(#0),performanceClassDowngradableAt:$2($1),sizeReducibleAt:$2($1),snapshotPolicy:$2($6(#1)),snapshotsAreVisible:$2($8),space:$2(#2),state:$2($1)})`,[w,f,r,c,_,a,h,__d2,d]]}function __d1(){return[`$4(>1)@"CreateResourcePoolResponse";$3({resourcePool:$2(#1:3)})`,[w,__d0,r,_,a]]}function __d2(){return[`$2($1);$3($1,$1)`,[w,f,v,t]]}function __d3(){return[`$4(>1)@"EnableLockResponse";$3({lockId:$2($1)})`,[w,f,r,_,a]]}function __d4(){return[`$5(>5)@"SnapshotPolicySchedule";$6(#0);$5(>6)@"SnapshotPolicySnapshotPolicySchedule";$6(#2);$5(>7)@"SnapshotPolicy";$4({count:$2($1),interval:$2($3),prefix:$2($3),retentionPeriod:$2($3),scheduleId:$2($3)});$4({createdAt:$2($3),id:$2($3),interval:$2($3),name:$2($3),prefix:$2($3),retentionCount:$2($1),retentionPeriod:$2($3)});$4({comment:$2($3),createdAt:$2($3),enabled:$2($7),id:$2($3),name:$2($3),schedules:$2(#1),snapshotSchedules:$2(#3)})`,[w,c,r,f,_,a,v,d]]}function __d5(){return[`$6(>1)@"ResourcePoolSnapshot";$5({comment:$3($2($1)),createdAt:$3($1),logicalSizeGigabytes:$3($4),resourcePoolId:$3($1),sizeGigabytes:$3($4),snaplockExpiryTime:$3($2($1)),snapshotName:$3($1)})`,[w,f,h,r,c,_,a]]}function __d6(){return[`$4(>1)@"CreateResourcePoolSnapshotResponse";$3({resourcePoolSnapshot:$2(#1:0)})`,[w,__d5,r,_,a]]}function __d7(){return[`$8(>1)@"Share";$7({createdAt:$2($1),exportPolicy:$2($4(#3:2)),id:$2($1),labels:$2(#5:1),mountPath:$2($1),name:$2($1),spaceHardLimitGigabytes:$2($6),state:$2($1)})`,[w,f,r,__d9,h,__d2,c,_,a]]}function __d8(){return[`$4(>1)@"CreateShareResponse";$3({share:$2(#1:0)})`,[w,__d7,r,_,a]]}function __d9(){return[`$8(>3)@"ShareExportPolicyRule";$9(#0);$8(>4)@"ShareExportPolicy";$7({createdAt:$2($1),description:$2($3($1)),id:$2($1),ipAcl:$2(#4:0),order:$2($5),readOnly:$2($6),setUuid:$2($6),superUser:$2($6)});$7({createdAt:$2($1),id:$2($1),labels:$2(#4:1),name:$2($1),rules:$2(#1),sharesUsingExportPolicy:$2($5)})`,[w,f,r,h,__d2,c,d,_,a,v]]}function __d10(){return[`$4(>1)@"CreateShareExportPolicyResponse";$3({shareExportPolicy:$2(#1:2)})`,[w,__d9,r,_,a]]}function __d11(){return[`$8(>2)@"CreateShareExportPolicyRequestRule";$9(#0);$7({description:$3($2($1)),ipAcl:$3(#4:0),order:$3($5),readOnly:$3($6),setUuid:$3($6),superUser:$3($6)})`,[w,f,h,r,__d2,c,d,_,a,v]]}function __d12(){return[`$3(>1)@"DeleteResourcePoolResponse2";$2.pipe($1())`,[w,S,l,a]]}export{D as BadRequest,O as createResourcePool,k as createResourcePoolSnapshot,A as createShare,j as createShareExportPolicy,M as deleteResourcePool,N as deleteResourcePoolSnapshot,P as deleteShare,F as deleteShareExportPolicy,I as disableLock,L as enableLock,R as getLock,z as getResourcePool,B as getResourcePoolSnapshot,V as getShare,H as getShareExportPolicy,U as getSnapshotPolicy,W as listPerformanceClasses,K as listResourcePoolSnapshots,G as listResourcePools,q as listShareExportPolicies,J as listShares,Y as listSnapshotPolicies,X as updateResourcePool,Z as updateResourcePoolSnapshot,Q as updateShare,$ as updateShareExportPolicy};
2
+ /*
3
+ 27 40
4
+ e:0:_ t:0:a n:0:c r:0:d i:0:errors$UnknownStackitError a:0:f o:0:g s:0:h c:0:i l:0:l u:0:m d:0:n f:0:o p:0:p m:0:protocol$StackitProtocol h:0:r g:0:retry$Retry _:0:s v:0:t y:0:traits$Http b:0:traits$Label x:0:traits$Query S:0:traits$RawResponseRoot C:0:traits$applyErrorMatchers w:0:u T:0:v E:0:x
5
+ 000000001f0002t0004c0005u000740008e0009o000ay000c5000dc000ej000ft000h3000id000jn000kw000mn000o1000pf000qt000s7000tm000v7000wl000y4000zo0010i0011q0012q0013n0014m0015r0016u0017u00193001a3001bd001ce001dp001en
6
+ 2 en s6 O|=;ey qv;o,j,k,c,1k,3,8,b,h,5,1j,1h,4,e,g
7
+ 2 sw 15v k|=;t7 14p;o,j,k,c,f,3,8,h,5,1o,1h,4,e,g
8
+ 2 16l 1jm A|=;16w 1ib;o,j,k,c,f,3,1k,8,h,5,1q,1h,4,e,g
9
+ 2 1kc 1vc j|=;1kn 1ty;o,j,k,c,1k,3,1t,h,5,1s,1h,4,e,g
10
+ 2 1w2 26k M|=;1wd 25j;o,j,k,c,h,5,1u,1h,4,e,g
11
+ 2 27a 2jg N|=;27l 2if;o,j,k,c,h,5,1u,1h,4,e,g
12
+ 2 2k6 2vk P|=;2kh 2uj;o,j,k,c,h,5,1u,1h,4,e,g
13
+ 2 2wa 36r F|=;2wl 35q;o,j,k,c,h,5,1u,1h,4,e,g
14
+ 2 37h 3g3 I|=;37s 3f4;o,j,k,c,h,5,1u,4,e,g
15
+ 2 3gt 3pb L|=;3h4 3od;o,j,k,c,h,5,1l,4,e,g
16
+ 2 3q1 3yf R|=;3qc 3xh;o,j,k,c,h,5,1l,4,e,g
17
+ 2 3z5 49g z|=;3zg 48g;o,j,k,c,h,5,1j,1h,4,e,g
18
+ 2 4a6 4m5 B|=;4ah 4l5;o,j,k,c,h,5,1o,1h,4,e,g
19
+ 2 4mv 4y2 V|=;4n6 4x2;o,j,k,c,h,5,1q,1h,4,e,g
20
+ 2 4ys 593 H|=;4z3 582;o,j,k,c,h,5,1s,1h,4,e,g
21
+ 2 59t 5k7 U|=;5a4 5j7;o,j,k,c,h,5,1m,3,4,e,g
22
+ 2 5kx 5vf W|=PerformanceClass;5ls 5ug;o,j,h,5,8,3,c,i,1h,4,e,g
23
+ 2 5w5 67b G|=;5wg 667;o,j,k,c,h,5,1i,i,3,1h,4,e,g
24
+ 2 681 6lf K|=;68c 6kb;o,j,k,c,h,5,1n,i,3,1h,4,e,g
25
+ 2 6m5 6xz q|=;6mg 6wv;o,j,k,c,h,5,1r,i,3,1h,4,e,g
26
+ 2 6yp 7ar J|=;6z0 79n;o,j,k,c,h,5,1p,i,3,1h,4,e,g
27
+ 2 7bh 7mp Y|=;7bs 7lj;o,j,k,c,l,b,3,h,5,1m,i,4,e,g
28
+ 2 7nf 824 X|=;7nq 80r;o,j,k,c,1k,3,8,f,b,h,5,1j,1h,4,e,g
29
+ 2 82u 8g3 Z|=;835 8ez;o,j,k,c,f,3,h,5,1o,1h,4,e,g
30
+ 2 8gt 8ur Q|=;8h4 8tg;o,j,k,c,f,3,1k,8,h,5,1q,1h,4,e,g
31
+ 2 8vh 97f $|=;8vs 95z;o,j,k,c,1k,3,1t,f,h,5,1s,1h,4,e,g
32
+ 3 a9 dx D|=;bk df;o,q,8,c,2,n
33
+ 1 97h 9q3 __d0|=;985 9pd;o,c,3,8,h,5,f,1k,b
34
+ 1 9q3 9t0 __d1|=;9qr 9si;o,1i,3,h,5
35
+ 1 9t0 9uh __d2|=;9to 9u4;o,c,i,1
36
+ 1 9uh 9wv __d3|=;9v5 9wg;o,c,3,h,5
37
+ 1 9wv aae __d4|=;9xj a9t;o,8,3,c,h,5,i,b
38
+ 1 aae agx __d5|=;ab2 age;o,c,f,3,8,h,5
39
+ 1 agx aka __d6|=;ahl ajs;o,1n,3,h,5
40
+ 1 aka aq9 __d7|=;aky apg;o,c,3,1r,f,1k,8,h,5
41
+ 1 aq9 ass __d8|=;aqx asa;o,1p,3,h,5
42
+ 1 ass b2l __d9|=;atg b1t;o,c,3,f,1k,8,b,h,5,i
43
+ 1 b2l b5t __d10|=;b3a b5b;o,1r,3,h,5
44
+ 1 b5t bbl __d11|=;b6i bat;o,c,f,3,1k,8,b,h,5,i
45
+ 1 bbl be1 __d12|=;bca bdo;o,m,9,5
46
+ */
790
47
  //# sourceMappingURL=sfs.js.map