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

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 (289) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +3 -3
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts.map +1 -1
  6. package/lib/errors.js +1 -1
  7. package/lib/errors.js.map +1 -1
  8. package/lib/pagination.d.ts +1 -1
  9. package/lib/pagination.d.ts.map +1 -1
  10. package/lib/pagination.js +2 -5
  11. package/lib/pagination.js.map +1 -1
  12. package/lib/protocol.d.ts +3 -3
  13. package/lib/protocol.d.ts.map +1 -1
  14. package/lib/protocol.js +9 -10
  15. package/lib/protocol.js.map +1 -1
  16. package/lib/protocol.test.d.ts +2 -0
  17. package/lib/protocol.test.d.ts.map +1 -0
  18. package/lib/protocol.test.js +181 -0
  19. package/lib/protocol.test.js.map +1 -0
  20. package/lib/retry.d.ts +1 -1
  21. package/lib/retry.d.ts.map +1 -1
  22. package/lib/retry.js +1 -1
  23. package/lib/retry.js.map +1 -1
  24. package/lib/services/alb.d.ts +1 -1
  25. package/lib/services/alb.d.ts.map +1 -1
  26. package/lib/services/alb.js +33 -82
  27. package/lib/services/alb.js.map +1 -1
  28. package/lib/services/alb_waf.d.ts +1 -1
  29. package/lib/services/alb_waf.d.ts.map +1 -1
  30. package/lib/services/alb_waf.js +23 -47
  31. package/lib/services/alb_waf.js.map +1 -1
  32. package/lib/services/authorization.d.ts +1 -1
  33. package/lib/services/authorization.d.ts.map +1 -1
  34. package/lib/services/authorization.js +19 -49
  35. package/lib/services/authorization.js.map +1 -1
  36. package/lib/services/automation.d.ts +21 -58
  37. package/lib/services/automation.d.ts.map +1 -1
  38. package/lib/services/automation.js +49 -112
  39. package/lib/services/automation.js.map +1 -1
  40. package/lib/services/cdn.d.ts +2 -2
  41. package/lib/services/cdn.d.ts.map +1 -1
  42. package/lib/services/cdn.js +91 -177
  43. package/lib/services/cdn.js.map +1 -1
  44. package/lib/services/certificates.d.ts +1 -1
  45. package/lib/services/certificates.d.ts.map +1 -1
  46. package/lib/services/certificates.js +13 -31
  47. package/lib/services/certificates.js.map +1 -1
  48. package/lib/services/cost.d.ts +1 -1
  49. package/lib/services/cost.d.ts.map +1 -1
  50. package/lib/services/cost.js +17 -28
  51. package/lib/services/cost.js.map +1 -1
  52. package/lib/services/dns.d.ts +22 -55
  53. package/lib/services/dns.d.ts.map +1 -1
  54. package/lib/services/dns.js +72 -200
  55. package/lib/services/dns.js.map +1 -1
  56. package/lib/services/dremio.d.ts +1 -1
  57. package/lib/services/dremio.d.ts.map +1 -1
  58. package/lib/services/dremio.js +28 -50
  59. package/lib/services/dremio.js.map +1 -1
  60. package/lib/services/edge.d.ts +1 -1
  61. package/lib/services/edge.d.ts.map +1 -1
  62. package/lib/services/edge.js +14 -32
  63. package/lib/services/edge.js.map +1 -1
  64. package/lib/services/functions.d.ts +1 -1
  65. package/lib/services/functions.d.ts.map +1 -1
  66. package/lib/services/functions.js +19 -43
  67. package/lib/services/functions.js.map +1 -1
  68. package/lib/services/git.d.ts +1 -1
  69. package/lib/services/git.d.ts.map +1 -1
  70. package/lib/services/git.js +25 -57
  71. package/lib/services/git.js.map +1 -1
  72. package/lib/services/iaas.d.ts +31 -10
  73. package/lib/services/iaas.d.ts.map +1 -1
  74. package/lib/services/iaas.js +151 -376
  75. package/lib/services/iaas.js.map +1 -1
  76. package/lib/services/intake.d.ts +1 -1
  77. package/lib/services/intake.d.ts.map +1 -1
  78. package/lib/services/intake.js +45 -83
  79. package/lib/services/intake.js.map +1 -1
  80. package/lib/services/kms.d.ts +1 -1
  81. package/lib/services/kms.d.ts.map +1 -1
  82. package/lib/services/kms.js +63 -103
  83. package/lib/services/kms.js.map +1 -1
  84. package/lib/services/lb_ip_lists.d.ts +1 -3
  85. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  86. package/lib/services/lb_ip_lists.js +18 -37
  87. package/lib/services/lb_ip_lists.js.map +1 -1
  88. package/lib/services/load_balancer.d.ts +1 -1
  89. package/lib/services/load_balancer.d.ts.map +1 -1
  90. package/lib/services/load_balancer.js +32 -77
  91. package/lib/services/load_balancer.js.map +1 -1
  92. package/lib/services/logme.d.ts +1 -1
  93. package/lib/services/logme.d.ts.map +1 -1
  94. package/lib/services/logme.js +39 -101
  95. package/lib/services/logme.js.map +1 -1
  96. package/lib/services/logs.d.ts +1 -1
  97. package/lib/services/logs.d.ts.map +1 -1
  98. package/lib/services/logs.js +36 -59
  99. package/lib/services/logs.js.map +1 -1
  100. package/lib/services/mariadb.d.ts +1 -1
  101. package/lib/services/mariadb.d.ts.map +1 -1
  102. package/lib/services/mariadb.js +37 -97
  103. package/lib/services/mariadb.js.map +1 -1
  104. package/lib/services/model_experiments.d.ts +2 -2
  105. package/lib/services/model_experiments.d.ts.map +1 -1
  106. package/lib/services/model_experiments.js +27 -47
  107. package/lib/services/model_experiments.js.map +1 -1
  108. package/lib/services/model_serving.d.ts +2 -2
  109. package/lib/services/model_serving.d.ts.map +1 -1
  110. package/lib/services/model_serving.js +29 -61
  111. package/lib/services/model_serving.js.map +1 -1
  112. package/lib/services/mongodb_flex.d.ts +1 -1
  113. package/lib/services/mongodb_flex.d.ts.map +1 -1
  114. package/lib/services/mongodb_flex.js +76 -162
  115. package/lib/services/mongodb_flex.js.map +1 -1
  116. package/lib/services/object_storage.d.ts +25 -1
  117. package/lib/services/object_storage.d.ts.map +1 -1
  118. package/lib/services/object_storage.js +52 -89
  119. package/lib/services/object_storage.js.map +1 -1
  120. package/lib/services/observability.d.ts +5 -5
  121. package/lib/services/observability.d.ts.map +1 -1
  122. package/lib/services/observability.js +170 -419
  123. package/lib/services/observability.js.map +1 -1
  124. package/lib/services/opensearch.d.ts +1 -1
  125. package/lib/services/opensearch.d.ts.map +1 -1
  126. package/lib/services/opensearch.js +40 -100
  127. package/lib/services/opensearch.js.map +1 -1
  128. package/lib/services/pim.d.ts +1 -1
  129. package/lib/services/pim.d.ts.map +1 -1
  130. package/lib/services/pim.js +45 -98
  131. package/lib/services/pim.js.map +1 -1
  132. package/lib/services/postgres_flex.d.ts +2 -2
  133. package/lib/services/postgres_flex.d.ts.map +1 -1
  134. package/lib/services/postgres_flex.js +96 -261
  135. package/lib/services/postgres_flex.js.map +1 -1
  136. package/lib/services/pubsub.d.ts +2 -2
  137. package/lib/services/pubsub.d.ts.map +1 -1
  138. package/lib/services/pubsub.js +53 -148
  139. package/lib/services/pubsub.js.map +1 -1
  140. package/lib/services/rabbitmq.d.ts +2 -2
  141. package/lib/services/rabbitmq.d.ts.map +1 -1
  142. package/lib/services/rabbitmq.js +41 -103
  143. package/lib/services/rabbitmq.js.map +1 -1
  144. package/lib/services/registry.d.ts +1 -1
  145. package/lib/services/registry.d.ts.map +1 -1
  146. package/lib/services/registry.js +16 -39
  147. package/lib/services/registry.js.map +1 -1
  148. package/lib/services/resource_manager.d.ts +5 -5
  149. package/lib/services/resource_manager.d.ts.map +1 -1
  150. package/lib/services/resource_manager.js +23 -53
  151. package/lib/services/resource_manager.js.map +1 -1
  152. package/lib/services/run_command.d.ts +1 -1
  153. package/lib/services/run_command.d.ts.map +1 -1
  154. package/lib/services/run_command.js +15 -33
  155. package/lib/services/run_command.js.map +1 -1
  156. package/lib/services/sca.d.ts +18 -6
  157. package/lib/services/sca.d.ts.map +1 -1
  158. package/lib/services/sca.js +42 -75
  159. package/lib/services/sca.js.map +1 -1
  160. package/lib/services/scf.d.ts +1 -1
  161. package/lib/services/scf.d.ts.map +1 -1
  162. package/lib/services/scf.js +30 -78
  163. package/lib/services/scf.js.map +1 -1
  164. package/lib/services/secrets_manager.d.ts +1 -1
  165. package/lib/services/secrets_manager.d.ts.map +1 -1
  166. package/lib/services/secrets_manager.js +32 -78
  167. package/lib/services/secrets_manager.js.map +1 -1
  168. package/lib/services/server_backup.d.ts +1 -1
  169. package/lib/services/server_backup.d.ts.map +1 -1
  170. package/lib/services/server_backup.js +16 -36
  171. package/lib/services/server_backup.js.map +1 -1
  172. package/lib/services/server_update.d.ts +1 -1
  173. package/lib/services/server_update.d.ts.map +1 -1
  174. package/lib/services/server_update.js +10 -22
  175. package/lib/services/server_update.js.map +1 -1
  176. package/lib/services/service_account.d.ts +1 -1
  177. package/lib/services/service_account.d.ts.map +1 -1
  178. package/lib/services/service_account.js +32 -49
  179. package/lib/services/service_account.js.map +1 -1
  180. package/lib/services/service_enablement.d.ts +1 -1
  181. package/lib/services/service_enablement.d.ts.map +1 -1
  182. package/lib/services/service_enablement.js +11 -13
  183. package/lib/services/service_enablement.js.map +1 -1
  184. package/lib/services/sfs.d.ts +17 -17
  185. package/lib/services/sfs.d.ts.map +1 -1
  186. package/lib/services/sfs.js +34 -89
  187. package/lib/services/sfs.js.map +1 -1
  188. package/lib/services/ske.d.ts +27 -1
  189. package/lib/services/ske.d.ts.map +1 -1
  190. package/lib/services/ske.js +49 -89
  191. package/lib/services/ske.js.map +1 -1
  192. package/lib/services/sqlserverflex.d.ts +2 -2
  193. package/lib/services/sqlserverflex.d.ts.map +1 -1
  194. package/lib/services/sqlserverflex.js +104 -255
  195. package/lib/services/sqlserverflex.js.map +1 -1
  196. package/lib/services/stackit_marketplace.d.ts +4 -4
  197. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  198. package/lib/services/stackit_marketplace.js +17 -31
  199. package/lib/services/stackit_marketplace.js.map +1 -1
  200. package/lib/services/telemetry_link.d.ts +1 -1
  201. package/lib/services/telemetry_link.d.ts.map +1 -1
  202. package/lib/services/telemetry_link.js +34 -52
  203. package/lib/services/telemetry_link.js.map +1 -1
  204. package/lib/services/telemetry_router.d.ts +1 -1
  205. package/lib/services/telemetry_router.d.ts.map +1 -1
  206. package/lib/services/telemetry_router.js +49 -88
  207. package/lib/services/telemetry_router.js.map +1 -1
  208. package/lib/services/ufw.d.ts +1 -1
  209. package/lib/services/ufw.d.ts.map +1 -1
  210. package/lib/services/ufw.js +25 -47
  211. package/lib/services/ufw.js.map +1 -1
  212. package/lib/services/valkey.d.ts +2 -2
  213. package/lib/services/valkey.d.ts.map +1 -1
  214. package/lib/services/valkey.js +40 -100
  215. package/lib/services/valkey.js.map +1 -1
  216. package/lib/services/vpn.d.ts +1 -1
  217. package/lib/services/vpn.d.ts.map +1 -1
  218. package/lib/services/vpn.js +98 -180
  219. package/lib/services/vpn.js.map +1 -1
  220. package/lib/services/workflows.d.ts +1 -1
  221. package/lib/services/workflows.d.ts.map +1 -1
  222. package/lib/services/workflows.js +40 -88
  223. package/lib/services/workflows.js.map +1 -1
  224. package/lib/traits.d.ts.map +1 -1
  225. package/lib/traits.js +1 -1
  226. package/lib/traits.js.map +1 -1
  227. package/package.json +13 -11
  228. package/src/credentials.ts +10 -16
  229. package/src/errors.ts +1 -1
  230. package/src/pagination.ts +6 -22
  231. package/src/protocol.test.ts +304 -0
  232. package/src/protocol.ts +29 -47
  233. package/src/retry.ts +2 -8
  234. package/src/services/alb.ts +45 -128
  235. package/src/services/alb_waf.ts +35 -94
  236. package/src/services/authorization.ts +20 -56
  237. package/src/services/automation.ts +92 -262
  238. package/src/services/cdn.ts +191 -351
  239. package/src/services/certificates.ts +17 -49
  240. package/src/services/cost.ts +29 -64
  241. package/src/services/dns.ts +160 -495
  242. package/src/services/dremio.ts +35 -85
  243. package/src/services/edge.ts +37 -96
  244. package/src/services/functions.ts +31 -84
  245. package/src/services/git.ts +41 -122
  246. package/src/services/iaas.ts +392 -1184
  247. package/src/services/intake.ts +57 -124
  248. package/src/services/kms.ts +91 -192
  249. package/src/services/lb_ip_lists.ts +21 -56
  250. package/src/services/load_balancer.ts +43 -119
  251. package/src/services/logme.ts +55 -150
  252. package/src/services/logs.ts +57 -158
  253. package/src/services/mariadb.ts +45 -126
  254. package/src/services/model_experiments.ts +36 -92
  255. package/src/services/model_serving.ts +33 -76
  256. package/src/services/mongodb_flex.ts +113 -259
  257. package/src/services/object_storage.ts +101 -154
  258. package/src/services/observability.ts +635 -1127
  259. package/src/services/opensearch.ts +52 -141
  260. package/src/services/pim.ts +78 -183
  261. package/src/services/postgres_flex.ts +120 -366
  262. package/src/services/pubsub.ts +134 -277
  263. package/src/services/rabbitmq.ts +53 -145
  264. package/src/services/registry.ts +24 -72
  265. package/src/services/resource_manager.ts +46 -129
  266. package/src/services/run_command.ts +17 -45
  267. package/src/services/sca.ts +63 -98
  268. package/src/services/scf.ts +54 -195
  269. package/src/services/secrets_manager.ts +54 -136
  270. package/src/services/server_backup.ts +26 -75
  271. package/src/services/server_update.ts +15 -44
  272. package/src/services/service_account.ts +185 -272
  273. package/src/services/service_enablement.ts +18 -47
  274. package/src/services/sfs.ts +84 -166
  275. package/src/services/ske.ts +91 -113
  276. package/src/services/sqlserverflex.ts +147 -383
  277. package/src/services/stackit_marketplace.ts +184 -250
  278. package/src/services/telemetry_link.ts +199 -278
  279. package/src/services/telemetry_router.ts +73 -168
  280. package/src/services/ufw.ts +32 -82
  281. package/src/services/valkey.ts +54 -145
  282. package/src/services/vpn.ts +215 -404
  283. package/src/services/workflows.ts +57 -169
  284. package/src/traits.ts +2 -7
  285. package/lib/response-validation.test.d.ts +0 -4
  286. package/lib/response-validation.test.d.ts.map +0 -1
  287. package/lib/response-validation.test.js +0 -31
  288. package/lib/response-validation.test.js.map +0 -1
  289. package/src/response-validation.test.ts +0 -45
@@ -1,15 +1,11 @@
1
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
- import * as S from "@distilled.cloud/core/schema";
3
1
  import * as API from "@distilled.cloud/core/api";
4
2
  import * as C from "@distilled.cloud/core/category";
5
- import * as T from "../traits.ts";
6
- import {
7
- StackitProtocol,
8
- type StackitOpError,
9
- type StackitOpContext,
10
- } from "../protocol.ts";
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";
11
5
  import { UnknownStackitError } from "../errors.ts";
6
+ import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
12
7
  import * as Retry from "../retry.ts";
8
+ import * as T from "../traits.ts";
13
9
 
14
10
  export type { StackitOpError, StackitOpContext };
15
11
 
@@ -64,19 +60,15 @@ export const DeleteIPListRequest = /*@__PURE__*/ S.suspend(() =>
64
60
  method: "DELETE",
65
61
  uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",
66
62
  code: 200,
67
- baseUrl: "https://lb-ip-lists.api.{region}stackit.cloud",
63
+ baseUrl: "https://lb-ip-lists.api.stackit.cloud",
68
64
  }),
69
65
  ),
70
- ).annotate({
71
- identifier: "DeleteIPListRequest",
72
- }) as any as S.Schema<DeleteIPListRequest>;
66
+ ).annotate({ identifier: "DeleteIPListRequest" }) as any as S.Schema<DeleteIPListRequest>;
73
67
 
74
68
  export type DeleteIPListResponse2 = unknown;
75
69
  export const DeleteIPListResponse2 = /*@__PURE__*/ S.suspend(() =>
76
70
  S.Unknown.pipe(T.RawResponseRoot()),
77
- ).annotate({
78
- identifier: "DeleteIPListResponse2",
79
- }) as any as S.Schema<DeleteIPListResponse2>;
71
+ ).annotate({ identifier: "DeleteIPListResponse2" }) as any as S.Schema<DeleteIPListResponse2>;
80
72
 
81
73
  export interface GetIPListRequest {
82
74
  projectId: string;
@@ -93,12 +85,10 @@ export const GetIPListRequest = /*@__PURE__*/ S.suspend(() =>
93
85
  method: "GET",
94
86
  uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",
95
87
  code: 200,
96
- baseUrl: "https://lb-ip-lists.api.{region}stackit.cloud",
88
+ baseUrl: "https://lb-ip-lists.api.stackit.cloud",
97
89
  }),
98
90
  ),
99
- ).annotate({
100
- identifier: "GetIPListRequest",
101
- }) as any as S.Schema<GetIPListRequest>;
91
+ ).annotate({ identifier: "GetIPListRequest" }) as any as S.Schema<GetIPListRequest>;
102
92
 
103
93
  /** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per IP list. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
104
94
  export type GetIPListResponseLabelsMap = { [key: string]: string | undefined };
@@ -148,9 +138,7 @@ export const GetIPListResponse = /*@__PURE__*/ S.suspend(() =>
148
138
  numberOfIps: S.optional(S.Number),
149
139
  usage: S.optional(IPListUsage),
150
140
  }),
151
- ).annotate({
152
- identifier: "GetIPListResponse",
153
- }) as any as S.Schema<GetIPListResponse>;
141
+ ).annotate({ identifier: "GetIPListResponse" }) as any as S.Schema<GetIPListResponse>;
154
142
 
155
143
  export interface GetQuotaRequest {
156
144
  projectId: string;
@@ -165,26 +153,21 @@ export const GetQuotaRequest = /*@__PURE__*/ S.suspend(() =>
165
153
  method: "GET",
166
154
  uri: "/v1alpha/projects/{projectId}/regions/{region}/quotas",
167
155
  code: 200,
168
- baseUrl: "https://lb-ip-lists.api.{region}stackit.cloud",
156
+ baseUrl: "https://lb-ip-lists.api.stackit.cloud",
169
157
  }),
170
158
  ),
171
- ).annotate({
172
- identifier: "GetQuotaRequest",
173
- }) as any as S.Schema<GetQuotaRequest>;
159
+ ).annotate({ identifier: "GetQuotaRequest" }) as any as S.Schema<GetQuotaRequest>;
174
160
 
175
161
  /** IPListsQuota holds the limits and current usage for IP list resources. Defaults: limit=3 per project, max_entries_per_list=50000. */
176
162
  export interface IPListsQuota {
177
163
  /** The maximum number of IP lists allowed in this project. Defaults to 3. Use -1 to indicate unlimited. */
178
164
  limit?: number;
179
- /** The maximum number of IPv4 CIDR entries allowed in a single IP list. Defaults to 50000. */
180
- maxEntriesPerList?: number;
181
165
  /** The number of IP lists that currently exist in this project. */
182
166
  usage?: number;
183
167
  }
184
168
  export const IPListsQuota = /*@__PURE__*/ S.suspend(() =>
185
169
  S.Struct({
186
170
  limit: S.optional(S.Number),
187
- maxEntriesPerList: S.optional(S.Number),
188
171
  usage: S.optional(S.Number),
189
172
  }),
190
173
  ).annotate({ identifier: "IPListsQuota" }) as any as S.Schema<IPListsQuota>;
@@ -213,9 +196,7 @@ export const GetQuotaResponse = /*@__PURE__*/ S.suspend(() =>
213
196
  quotas: S.optional(Quotas),
214
197
  region: S.optional(S.String),
215
198
  }),
216
- ).annotate({
217
- identifier: "GetQuotaResponse",
218
- }) as any as S.Schema<GetQuotaResponse>;
199
+ ).annotate({ identifier: "GetQuotaResponse" }) as any as S.Schema<GetQuotaResponse>;
219
200
 
220
201
  export interface ListIPListsRequest {
221
202
  projectId: string;
@@ -230,12 +211,10 @@ export const ListIPListsRequest = /*@__PURE__*/ S.suspend(() =>
230
211
  method: "GET",
231
212
  uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists",
232
213
  code: 200,
233
- baseUrl: "https://lb-ip-lists.api.{region}stackit.cloud",
214
+ baseUrl: "https://lb-ip-lists.api.stackit.cloud",
234
215
  }),
235
216
  ),
236
- ).annotate({
237
- identifier: "ListIPListsRequest",
238
- }) as any as S.Schema<ListIPListsRequest>;
217
+ ).annotate({ identifier: "ListIPListsRequest" }) as any as S.Schema<ListIPListsRequest>;
239
218
 
240
219
  /** Every IP list in the project and region. Never includes the CIDR entries themselves. */
241
220
  export type ListIPListsResponseItemsList = Array<GetIPListResponse>;
@@ -252,14 +231,10 @@ export const ListIPListsResponse = /*@__PURE__*/ S.suspend(() =>
252
231
  S.Struct({
253
232
  items: S.optional(ListIPListsResponseItemsList),
254
233
  }),
255
- ).annotate({
256
- identifier: "ListIPListsResponse",
257
- }) as any as S.Schema<ListIPListsResponse>;
234
+ ).annotate({ identifier: "ListIPListsResponse" }) as any as S.Schema<ListIPListsResponse>;
258
235
 
259
236
  /** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per IP list. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
260
- export type UploadIPListRequestLabelsMap = {
261
- [key: string]: string | undefined;
262
- };
237
+ export type UploadIPListRequestLabelsMap = { [key: string]: string | undefined };
263
238
  export const UploadIPListRequestLabelsMap = /*@__PURE__*/ S.Record(
264
239
  S.String,
265
240
  S.String,
@@ -286,18 +261,12 @@ export const UploadIPListRequest = /*@__PURE__*/ S.suspend(() =>
286
261
  method: "PUT",
287
262
  uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",
288
263
  code: 200,
289
- baseUrl: "https://lb-ip-lists.api.{region}stackit.cloud",
264
+ baseUrl: "https://lb-ip-lists.api.stackit.cloud",
290
265
  }),
291
266
  ),
292
- ).annotate({
293
- identifier: "UploadIPListRequest",
294
- }) as any as S.Schema<UploadIPListRequest>;
267
+ ).annotate({ identifier: "UploadIPListRequest" }) as any as S.Schema<UploadIPListRequest>;
295
268
 
296
- export type DeleteIPListError =
297
- | BadRequest
298
- | Forbidden
299
- | NotFound
300
- | StackitOpError;
269
+ export type DeleteIPListError = BadRequest | Forbidden | NotFound | StackitOpError;
301
270
  /** Delete an IP List configuration Removes the IP list configuration from the project. If the IP list is referenced by load balancers, clear or replace the reference first. */
302
271
  export const deleteIPList: API.OperationMethod<
303
272
  DeleteIPListRequest,
@@ -357,11 +326,7 @@ export const listIPLists: API.OperationMethod<
357
326
  retry: Retry.Retry,
358
327
  }));
359
328
 
360
- export type UploadIPListError =
361
- | BadRequest
362
- | Forbidden
363
- | UnprocessableEntity
364
- | StackitOpError;
329
+ export type UploadIPListError = BadRequest | Forbidden | UnprocessableEntity | StackitOpError;
365
330
  /** Create/Replace an IP list UploadIPList creates the IP list or replaces its content. Raw upload is in `file_content`. */
366
331
  export const uploadIPList: API.OperationMethod<
367
332
  UploadIPListRequest,
@@ -1,16 +1,12 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as C from "@distilled.cloud/core/category";
1
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
2
4
  import * as S from "@distilled.cloud/core/schema";
3
5
  import * as Redacted from "effect/Redacted";
4
- import * as API from "@distilled.cloud/core/api";
5
- import * as C from "@distilled.cloud/core/category";
6
- import * as T from "../traits.ts";
7
- import {
8
- StackitProtocol,
9
- type StackitOpError,
10
- type StackitOpContext,
11
- } from "../protocol.ts";
12
6
  import { UnknownStackitError } from "../errors.ts";
7
+ import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
13
8
  import * as Retry from "../retry.ts";
9
+ import * as T from "../traits.ts";
14
10
 
15
11
  export type { StackitOpError, StackitOpContext };
16
12
 
@@ -75,9 +71,7 @@ export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
75
71
  baseUrl: "https://load-balancer.api.stackit.cloud",
76
72
  }),
77
73
  ),
78
- ).annotate({
79
- identifier: "CreateCredentialsRequest",
80
- }) as any as S.Schema<CreateCredentialsRequest>;
74
+ ).annotate({ identifier: "CreateCredentialsRequest" }) as any as S.Schema<CreateCredentialsRequest>;
81
75
 
82
76
  export interface CredentialsResponse {
83
77
  /** The credentials reference can be used for observability of the Load Balancer. */
@@ -96,9 +90,7 @@ export const CredentialsResponse = /*@__PURE__*/ S.suspend(() =>
96
90
  region: S.optional(S.String),
97
91
  username: S.optional(S.String),
98
92
  }),
99
- ).annotate({
100
- identifier: "CredentialsResponse",
101
- }) as any as S.Schema<CredentialsResponse>;
93
+ ).annotate({ identifier: "CredentialsResponse" }) as any as S.Schema<CredentialsResponse>;
102
94
 
103
95
  export interface CreateCredentialsResponse {
104
96
  credential?: CredentialsResponse;
@@ -112,9 +104,7 @@ export const CreateCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
112
104
  }) as any as S.Schema<CreateCredentialsResponse>;
113
105
 
114
106
  /** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
115
- export type CreateLoadBalancerRequestLabelsMap = {
116
- [key: string]: string | undefined;
117
- };
107
+ export type CreateLoadBalancerRequestLabelsMap = { [key: string]: string | undefined };
118
108
  export const CreateLoadBalancerRequestLabelsMap = /*@__PURE__*/ S.Record(
119
109
  S.String,
120
110
  S.String,
@@ -127,7 +117,7 @@ export type ListenerInputProtocol =
127
117
  | "PROTOCOL_UDP"
128
118
  | "PROTOCOL_TCP_PROXY"
129
119
  | "PROTOCOL_TLS_PASSTHROUGH";
130
- export const ListenerInputProtocol = /*@__PURE__*/ S.String;
120
+ export const ListenerInputProtocol = S.String;
131
121
 
132
122
  export interface ServerNameIndicator {
133
123
  /** The domain name for this SNI config. */
@@ -137,9 +127,7 @@ export const ServerNameIndicator = /*@__PURE__*/ S.suspend(() =>
137
127
  S.Struct({
138
128
  name: S.optional(S.String),
139
129
  }),
140
- ).annotate({
141
- identifier: "ServerNameIndicator",
142
- }) as any as S.Schema<ServerNameIndicator>;
130
+ ).annotate({ identifier: "ServerNameIndicator" }) as any as S.Schema<ServerNameIndicator>;
143
131
 
144
132
  /** Server Name Indicators config for domains to be routed to the desired target pool for this listener. */
145
133
  export type ListenerInputServerNameIndicatorsList = Array<ServerNameIndicator>;
@@ -206,7 +194,7 @@ export type NetworkRole =
206
194
  | "ROLE_LISTENERS_AND_TARGETS"
207
195
  | "ROLE_LISTENERS"
208
196
  | "ROLE_TARGETS";
209
- export const NetworkRole = /*@__PURE__*/ S.String;
197
+ export const NetworkRole = S.String;
210
198
 
211
199
  export interface Network {
212
200
  /** Openstack network ID */
@@ -228,12 +216,10 @@ export const CreateLoadBalancerRequestNetworksList = /*@__PURE__*/ S.Array(
228
216
  ) as any as S.Schema<CreateLoadBalancerRequestNetworksList>;
229
217
 
230
218
  /** Load Balancer is accessible only from an IP address in this range */
231
- export type LoadbalancerOptionAccessControlAllowedSourceRangesList =
232
- Array<string>;
233
- export const LoadbalancerOptionAccessControlAllowedSourceRangesList =
234
- /*@__PURE__*/ S.Array(
235
- S.String,
236
- ) as any as S.Schema<LoadbalancerOptionAccessControlAllowedSourceRangesList>;
219
+ export type LoadbalancerOptionAccessControlAllowedSourceRangesList = Array<string>;
220
+ export const LoadbalancerOptionAccessControlAllowedSourceRangesList = /*@__PURE__*/ S.Array(
221
+ S.String,
222
+ ) as any as S.Schema<LoadbalancerOptionAccessControlAllowedSourceRangesList>;
237
223
 
238
224
  /** Use this option to limit the IP ranges that can use the load balancer. */
239
225
  export interface LoadbalancerOptionAccessControl {
@@ -242,9 +228,7 @@ export interface LoadbalancerOptionAccessControl {
242
228
  }
243
229
  export const LoadbalancerOptionAccessControl = /*@__PURE__*/ S.suspend(() =>
244
230
  S.Struct({
245
- allowedSourceRanges: S.optional(
246
- LoadbalancerOptionAccessControlAllowedSourceRangesList,
247
- ),
231
+ allowedSourceRanges: S.optional(LoadbalancerOptionAccessControlAllowedSourceRangesList),
248
232
  }),
249
233
  ).annotate({
250
234
  identifier: "LoadbalancerOptionAccessControl",
@@ -261,9 +245,7 @@ export const LoadbalancerOptionLogs = /*@__PURE__*/ S.suspend(() =>
261
245
  credentialsRef: S.optional(S.String),
262
246
  pushUrl: S.optional(S.String),
263
247
  }),
264
- ).annotate({
265
- identifier: "LoadbalancerOptionLogs",
266
- }) as any as S.Schema<LoadbalancerOptionLogs>;
248
+ ).annotate({ identifier: "LoadbalancerOptionLogs" }) as any as S.Schema<LoadbalancerOptionLogs>;
267
249
 
268
250
  export interface LoadbalancerOptionMetrics {
269
251
  /** Credentials reference for metrics. This reference is created via the observability create endpoint and the credential needs to contain the basic auth username and password for the metrics solution the push URL points to. Then this enables monitoring via remote write for the Load Balancer. */
@@ -309,9 +291,7 @@ export const LoadBalancerOptions = /*@__PURE__*/ S.suspend(() =>
309
291
  observability: S.optional(LoadbalancerOptionObservability),
310
292
  privateNetworkOnly: S.optional(S.Boolean),
311
293
  }),
312
- ).annotate({
313
- identifier: "LoadBalancerOptions",
314
- }) as any as S.Schema<LoadBalancerOptions>;
294
+ ).annotate({ identifier: "LoadBalancerOptions" }) as any as S.Schema<LoadBalancerOptions>;
315
295
 
316
296
  /** List of HTTP status codes that indicate a healthy response */
317
297
  export type HttpHealthChecksOkStatusesList = Array<string>;
@@ -350,9 +330,7 @@ export const HttpHealthChecks = /*@__PURE__*/ S.suspend(() =>
350
330
  path: S.optional(S.String),
351
331
  tls: S.optional(TlsConfig),
352
332
  }),
353
- ).annotate({
354
- identifier: "HttpHealthChecks",
355
- }) as any as S.Schema<HttpHealthChecks>;
333
+ ).annotate({ identifier: "HttpHealthChecks" }) as any as S.Schema<HttpHealthChecks>;
356
334
 
357
335
  export interface ActiveHealthCheck {
358
336
  /** Overrides the default port used for health check probes. */
@@ -379,9 +357,7 @@ export const ActiveHealthCheck = /*@__PURE__*/ S.suspend(() =>
379
357
  timeout: S.optional(S.String),
380
358
  unhealthyThreshold: S.optional(S.Number),
381
359
  }),
382
- ).annotate({
383
- identifier: "ActiveHealthCheck",
384
- }) as any as S.Schema<ActiveHealthCheck>;
360
+ ).annotate({ identifier: "ActiveHealthCheck" }) as any as S.Schema<ActiveHealthCheck>;
385
361
 
386
362
  export interface SessionPersistence {
387
363
  /** If enabled then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. */
@@ -391,9 +367,7 @@ export const SessionPersistence = /*@__PURE__*/ S.suspend(() =>
391
367
  S.Struct({
392
368
  useSourceIpAddress: S.optional(S.Boolean),
393
369
  }),
394
- ).annotate({
395
- identifier: "SessionPersistence",
396
- }) as any as S.Schema<SessionPersistence>;
370
+ ).annotate({ identifier: "SessionPersistence" }) as any as S.Schema<SessionPersistence>;
397
371
 
398
372
  export interface Target {
399
373
  /** Target name */
@@ -504,7 +478,7 @@ export type LoadBalancerErrorType =
504
478
  | "TYPE_IP_EXHAUSTED"
505
479
  | "TYPE_DNS_NOT_CONFIGURED"
506
480
  | "TYPE_VM_PORT_NOT_CONFIGURED";
507
- export const LoadBalancerErrorType = /*@__PURE__*/ S.String;
481
+ export const LoadBalancerErrorType = S.String;
508
482
 
509
483
  export interface LoadBalancerError {
510
484
  /** The error description contains additional helpful user information to fix the error state of the load balancer. For example the IP 45.135.247.139 does not exist in the project, then the description will report: Floating IP "45.135.247.139" could not be found or if the IP was deleted then you will get a proper error message. */
@@ -517,9 +491,7 @@ export const LoadBalancerError = /*@__PURE__*/ S.suspend(() =>
517
491
  description: S.optional(S.String),
518
492
  type: S.optional(LoadBalancerErrorType),
519
493
  }),
520
- ).annotate({
521
- identifier: "LoadBalancerError",
522
- }) as any as S.Schema<LoadBalancerError>;
494
+ ).annotate({ identifier: "LoadBalancerError" }) as any as S.Schema<LoadBalancerError>;
523
495
 
524
496
  /** Reports all errors a load balancer has. */
525
497
  export type LoadBalancerErrorsList = Array<LoadBalancerError>;
@@ -541,7 +513,7 @@ export type ListenerProtocol =
541
513
  | "PROTOCOL_UDP"
542
514
  | "PROTOCOL_TCP_PROXY"
543
515
  | "PROTOCOL_TLS_PASSTHROUGH";
544
- export const ListenerProtocol = /*@__PURE__*/ S.String;
516
+ export const ListenerProtocol = S.String;
545
517
 
546
518
  /** Server Name Indicators config for domains to be routed to the desired target pool for this listener. */
547
519
  export type ListenerServerNameIndicatorsList = Array<ServerNameIndicator>;
@@ -608,7 +580,7 @@ export type LoadBalancerStatus =
608
580
  | "STATUS_READY"
609
581
  | "STATUS_ERROR"
610
582
  | "STATUS_TERMINATING";
611
- export const LoadBalancerStatus = /*@__PURE__*/ S.String;
583
+ export const LoadBalancerStatus = S.String;
612
584
 
613
585
  /** List of all target pools which will be used in the load balancer. Limited to 20. */
614
586
  export type LoadBalancerTargetPoolsList = Array<TargetPool>;
@@ -687,9 +659,7 @@ export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
687
659
  baseUrl: "https://load-balancer.api.stackit.cloud",
688
660
  }),
689
661
  ),
690
- ).annotate({
691
- identifier: "DeleteCredentialsRequest",
692
- }) as any as S.Schema<DeleteCredentialsRequest>;
662
+ ).annotate({ identifier: "DeleteCredentialsRequest" }) as any as S.Schema<DeleteCredentialsRequest>;
693
663
 
694
664
  export type DeleteCredentialsResponse2 = unknown;
695
665
  export const DeleteCredentialsResponse2 = /*@__PURE__*/ S.suspend(() =>
@@ -745,9 +715,7 @@ export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
745
715
  baseUrl: "https://load-balancer.api.stackit.cloud",
746
716
  }),
747
717
  ),
748
- ).annotate({
749
- identifier: "GetCredentialsRequest",
750
- }) as any as S.Schema<GetCredentialsRequest>;
718
+ ).annotate({ identifier: "GetCredentialsRequest" }) as any as S.Schema<GetCredentialsRequest>;
751
719
 
752
720
  export interface GetCredentialsResponse {
753
721
  credential?: CredentialsResponse;
@@ -756,9 +724,7 @@ export const GetCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
756
724
  S.Struct({
757
725
  credential: S.optional(CredentialsResponse),
758
726
  }),
759
- ).annotate({
760
- identifier: "GetCredentialsResponse",
761
- }) as any as S.Schema<GetCredentialsResponse>;
727
+ ).annotate({ identifier: "GetCredentialsResponse" }) as any as S.Schema<GetCredentialsResponse>;
762
728
 
763
729
  export interface GetLoadBalancerRequest {
764
730
  projectId: string;
@@ -778,9 +744,7 @@ export const GetLoadBalancerRequest = /*@__PURE__*/ S.suspend(() =>
778
744
  baseUrl: "https://load-balancer.api.stackit.cloud",
779
745
  }),
780
746
  ),
781
- ).annotate({
782
- identifier: "GetLoadBalancerRequest",
783
- }) as any as S.Schema<GetLoadBalancerRequest>;
747
+ ).annotate({ identifier: "GetLoadBalancerRequest" }) as any as S.Schema<GetLoadBalancerRequest>;
784
748
 
785
749
  export interface GetQuotaRequest {
786
750
  projectId: string;
@@ -798,9 +762,7 @@ export const GetQuotaRequest = /*@__PURE__*/ S.suspend(() =>
798
762
  baseUrl: "https://load-balancer.api.stackit.cloud",
799
763
  }),
800
764
  ),
801
- ).annotate({
802
- identifier: "GetQuotaRequest",
803
- }) as any as S.Schema<GetQuotaRequest>;
765
+ ).annotate({ identifier: "GetQuotaRequest" }) as any as S.Schema<GetQuotaRequest>;
804
766
 
805
767
  export interface GetQuotaResponse {
806
768
  /** The maximum number of observability credentials that can be stored in this project. */
@@ -825,9 +787,7 @@ export const GetQuotaResponse = /*@__PURE__*/ S.suspend(() =>
825
787
  usedCredentials: S.optional(S.Number),
826
788
  usedLoadBalancers: S.optional(S.Number),
827
789
  }),
828
- ).annotate({
829
- identifier: "GetQuotaResponse",
830
- }) as any as S.Schema<GetQuotaResponse>;
790
+ ).annotate({ identifier: "GetQuotaResponse" }) as any as S.Schema<GetQuotaResponse>;
831
791
 
832
792
  export interface ListCredentialsRequest {
833
793
  projectId: string;
@@ -845,9 +805,7 @@ export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
845
805
  baseUrl: "https://load-balancer.api.stackit.cloud",
846
806
  }),
847
807
  ),
848
- ).annotate({
849
- identifier: "ListCredentialsRequest",
850
- }) as any as S.Schema<ListCredentialsRequest>;
808
+ ).annotate({ identifier: "ListCredentialsRequest" }) as any as S.Schema<ListCredentialsRequest>;
851
809
 
852
810
  export type ListCredentialsResponseCredentialsList = Array<CredentialsResponse>;
853
811
  export const ListCredentialsResponseCredentialsList = /*@__PURE__*/ S.Array(
@@ -861,9 +819,7 @@ export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
861
819
  S.Struct({
862
820
  credentials: S.optional(ListCredentialsResponseCredentialsList),
863
821
  }),
864
- ).annotate({
865
- identifier: "ListCredentialsResponse",
866
- }) as any as S.Schema<ListCredentialsResponse>;
822
+ ).annotate({ identifier: "ListCredentialsResponse" }) as any as S.Schema<ListCredentialsResponse>;
867
823
 
868
824
  export interface ListLoadBalancersRequest {
869
825
  projectId: string;
@@ -887,9 +843,7 @@ export const ListLoadBalancersRequest = /*@__PURE__*/ S.suspend(() =>
887
843
  baseUrl: "https://load-balancer.api.stackit.cloud",
888
844
  }),
889
845
  ),
890
- ).annotate({
891
- identifier: "ListLoadBalancersRequest",
892
- }) as any as S.Schema<ListLoadBalancersRequest>;
846
+ ).annotate({ identifier: "ListLoadBalancersRequest" }) as any as S.Schema<ListLoadBalancersRequest>;
893
847
 
894
848
  export type ListLoadBalancersResponseLoadBalancersList = Array<LoadBalancer2>;
895
849
  export const ListLoadBalancersResponseLoadBalancersList = /*@__PURE__*/ S.Array(
@@ -924,9 +878,7 @@ export const ListPlansRequest = /*@__PURE__*/ S.suspend(() =>
924
878
  baseUrl: "https://load-balancer.api.stackit.cloud",
925
879
  }),
926
880
  ),
927
- ).annotate({
928
- identifier: "ListPlansRequest",
929
- }) as any as S.Schema<ListPlansRequest>;
881
+ ).annotate({ identifier: "ListPlansRequest" }) as any as S.Schema<ListPlansRequest>;
930
882
 
931
883
  export interface PlanDetails {
932
884
  /** Description */
@@ -965,9 +917,7 @@ export const ListPlansResponse = /*@__PURE__*/ S.suspend(() =>
965
917
  S.Struct({
966
918
  validPlans: S.optional(ListPlansResponseValidPlansList),
967
919
  }),
968
- ).annotate({
969
- identifier: "ListPlansResponse",
970
- }) as any as S.Schema<ListPlansResponse>;
920
+ ).annotate({ identifier: "ListPlansResponse" }) as any as S.Schema<ListPlansResponse>;
971
921
 
972
922
  export interface UpdateCredentialsRequest {
973
923
  projectId: string;
@@ -996,9 +946,7 @@ export const UpdateCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
996
946
  baseUrl: "https://load-balancer.api.stackit.cloud",
997
947
  }),
998
948
  ),
999
- ).annotate({
1000
- identifier: "UpdateCredentialsRequest",
1001
- }) as any as S.Schema<UpdateCredentialsRequest>;
949
+ ).annotate({ identifier: "UpdateCredentialsRequest" }) as any as S.Schema<UpdateCredentialsRequest>;
1002
950
 
1003
951
  export interface UpdateCredentialsResponse {
1004
952
  credential?: CredentialsResponse;
@@ -1012,9 +960,7 @@ export const UpdateCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
1012
960
  }) as any as S.Schema<UpdateCredentialsResponse>;
1013
961
 
1014
962
  /** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
1015
- export type UpdateLoadBalancerRequestLabelsMap = {
1016
- [key: string]: string | undefined;
1017
- };
963
+ export type UpdateLoadBalancerRequestLabelsMap = { [key: string]: string | undefined };
1018
964
  export const UpdateLoadBalancerRequestLabelsMap = /*@__PURE__*/ S.Record(
1019
965
  S.String,
1020
966
  S.String,
@@ -1122,9 +1068,7 @@ export const UpdateTargetPoolRequest = /*@__PURE__*/ S.suspend(() =>
1122
1068
  baseUrl: "https://load-balancer.api.stackit.cloud",
1123
1069
  }),
1124
1070
  ),
1125
- ).annotate({
1126
- identifier: "UpdateTargetPoolRequest",
1127
- }) as any as S.Schema<UpdateTargetPoolRequest>;
1071
+ ).annotate({ identifier: "UpdateTargetPoolRequest" }) as any as S.Schema<UpdateTargetPoolRequest>;
1128
1072
 
1129
1073
  export type CreateCredentialsError = BadRequest | Forbidden | StackitOpError;
1130
1074
  /** Create credentials for observability of the Load Balancer Created credentials can be stored and used for the load balancer observability. For example, when using STACKIT Observability, credentials first must be created for that STACKIT Observability instance (by using their API or the STACKIT Portal) and then can be provided to the load balancer by storing them with this endpoint. */
@@ -1141,11 +1085,7 @@ export const createCredentials: API.OperationMethod<
1141
1085
  retry: Retry.Retry,
1142
1086
  }));
1143
1087
 
1144
- export type CreateLoadBalancerError =
1145
- | BadRequest
1146
- | Forbidden
1147
- | Conflict
1148
- | StackitOpError;
1088
+ export type CreateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
1149
1089
  /** Create a load balancer in a project Create Load Balancer will create a load balancer. The default load balancing algorithm is round robin unless useSourceIpAddress in session persistence is enabled for a target pool then it is Maglev. */
1150
1090
  export const createLoadBalancer: API.OperationMethod<
1151
1091
  CreateLoadBalancerRequest,
@@ -1190,11 +1130,7 @@ export const deleteLoadBalancer: API.OperationMethod<
1190
1130
  retry: Retry.Retry,
1191
1131
  }));
1192
1132
 
1193
- export type GetCredentialsError =
1194
- | BadRequest
1195
- | Forbidden
1196
- | NotFound
1197
- | StackitOpError;
1133
+ export type GetCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
1198
1134
  /** Get a single credential reference in a project. Get Credentials */
1199
1135
  export const getCredentials: API.OperationMethod<
1200
1136
  GetCredentialsRequest,
@@ -1209,11 +1145,7 @@ export const getCredentials: API.OperationMethod<
1209
1145
  retry: Retry.Retry,
1210
1146
  }));
1211
1147
 
1212
- export type GetLoadBalancerError =
1213
- | BadRequest
1214
- | Forbidden
1215
- | NotFound
1216
- | StackitOpError;
1148
+ export type GetLoadBalancerError = BadRequest | Forbidden | NotFound | StackitOpError;
1217
1149
  /** Get a single load balancer in a project. Get Load Balancer will get a single load balancer of a project. This contains all the information set during creation or updates. Additionally, it will have information about the state of the load balancer in the form of a status field and error description feedback. */
1218
1150
  export const getLoadBalancer: API.OperationMethod<
1219
1151
  GetLoadBalancerRequest,
@@ -1288,11 +1220,7 @@ export const listPlans: API.OperationMethod<
1288
1220
  retry: Retry.Retry,
1289
1221
  }));
1290
1222
 
1291
- export type UpdateCredentialsError =
1292
- | BadRequest
1293
- | Forbidden
1294
- | NotFound
1295
- | StackitOpError;
1223
+ export type UpdateCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
1296
1224
  /** Update credentials for observability in a project. Update Credentials */
1297
1225
  export const updateCredentials: API.OperationMethod<
1298
1226
  UpdateCredentialsRequest,
@@ -1307,11 +1235,7 @@ export const updateCredentials: API.OperationMethod<
1307
1235
  retry: Retry.Retry,
1308
1236
  }));
1309
1237
 
1310
- export type UpdateLoadBalancerError =
1311
- | BadRequest
1312
- | Forbidden
1313
- | Conflict
1314
- | StackitOpError;
1238
+ export type UpdateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
1315
1239
  /** Update a load balancer in a project. Update Load Balancer allows the change of listeners and target pools of an existing Load Balancer. The Load balancer resource version needs to be the current version to ensure concurrency safe updates. The default load balancing algorithm is round robin unless useSourceIpAddress in session persistence is enabled for a target pool then it is Maglev. */
1316
1240
  export const updateLoadBalancer: API.OperationMethod<
1317
1241
  UpdateLoadBalancerRequest,