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

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 (318) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/credentials.d.ts +2 -1
  4. package/lib/credentials.d.ts.map +1 -1
  5. package/lib/index.d.ts +3 -3
  6. package/lib/pagination.d.ts.map +1 -1
  7. package/lib/protocol.d.ts +3 -2
  8. package/lib/protocol.d.ts.map +1 -1
  9. package/lib/services/alb.d.ts +134 -132
  10. package/lib/services/alb.d.ts.map +1 -1
  11. package/lib/services/alb.js +27 -26
  12. package/lib/services/alb.js.map +1 -1
  13. package/lib/services/alb_waf.d.ts +51 -51
  14. package/lib/services/alb_waf.d.ts.map +1 -1
  15. package/lib/services/alb_waf.js +32 -31
  16. package/lib/services/alb_waf.js.map +1 -1
  17. package/lib/services/authorization.d.ts +15 -15
  18. package/lib/services/authorization.d.ts.map +1 -1
  19. package/lib/services/authorization.js +1 -1
  20. package/lib/services/authorization.js.map +1 -1
  21. package/lib/services/automation.d.ts +47 -46
  22. package/lib/services/automation.d.ts.map +1 -1
  23. package/lib/services/automation.js +24 -1
  24. package/lib/services/automation.js.map +1 -1
  25. package/lib/services/cdn.d.ts +129 -129
  26. package/lib/services/cdn.d.ts.map +1 -1
  27. package/lib/services/cdn.js +30 -29
  28. package/lib/services/cdn.js.map +1 -1
  29. package/lib/services/certificates.d.ts +40 -40
  30. package/lib/services/certificates.d.ts.map +1 -1
  31. package/lib/services/certificates.js +1 -1
  32. package/lib/services/certificates.js.map +1 -1
  33. package/lib/services/cost.d.ts +15 -15
  34. package/lib/services/cost.d.ts.map +1 -1
  35. package/lib/services/cost.js +1 -1
  36. package/lib/services/cost.js.map +1 -1
  37. package/lib/services/dns.d.ts +218 -161
  38. package/lib/services/dns.d.ts.map +1 -1
  39. package/lib/services/dns.js +40 -38
  40. package/lib/services/dns.js.map +1 -1
  41. package/lib/services/dremio.d.ts +49 -34
  42. package/lib/services/dremio.d.ts.map +1 -1
  43. package/lib/services/dremio.js +1 -1
  44. package/lib/services/dremio.js.map +1 -1
  45. package/lib/services/edge.d.ts +21 -21
  46. package/lib/services/edge.d.ts.map +1 -1
  47. package/lib/services/edge.js +28 -1
  48. package/lib/services/edge.js.map +1 -1
  49. package/lib/services/functions.d.ts +104 -101
  50. package/lib/services/functions.d.ts.map +1 -1
  51. package/lib/services/functions.js +27 -1
  52. package/lib/services/functions.js.map +1 -1
  53. package/lib/services/git.d.ts +120 -29
  54. package/lib/services/git.d.ts.map +1 -1
  55. package/lib/services/git.js +38 -33
  56. package/lib/services/git.js.map +1 -1
  57. package/lib/services/iaas.d.ts +430 -415
  58. package/lib/services/iaas.d.ts.map +1 -1
  59. package/lib/services/iaas.js +180 -179
  60. package/lib/services/iaas.js.map +1 -1
  61. package/lib/services/identity.d.ts +204 -0
  62. package/lib/services/identity.d.ts.map +1 -0
  63. package/lib/services/identity.js +2 -0
  64. package/lib/services/identity.js.map +1 -0
  65. package/lib/services/index.d.ts +2 -0
  66. package/lib/services/index.d.ts.map +1 -1
  67. package/lib/services/index.js +2 -0
  68. package/lib/services/intake.d.ts +58 -58
  69. package/lib/services/intake.d.ts.map +1 -1
  70. package/lib/services/intake.js +28 -27
  71. package/lib/services/intake.js.map +1 -1
  72. package/lib/services/kms.d.ts +13 -13
  73. package/lib/services/kms.d.ts.map +1 -1
  74. package/lib/services/kms.js +40 -39
  75. package/lib/services/kms.js.map +1 -1
  76. package/lib/services/lb_ip_lists.d.ts +14 -14
  77. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  78. package/lib/services/lb_ip_lists.js +1 -1
  79. package/lib/services/lb_ip_lists.js.map +1 -1
  80. package/lib/services/load_balancer.d.ts +128 -126
  81. package/lib/services/load_balancer.d.ts.map +1 -1
  82. package/lib/services/load_balancer.js +28 -27
  83. package/lib/services/load_balancer.js.map +1 -1
  84. package/lib/services/logme.d.ts +96 -45
  85. package/lib/services/logme.d.ts.map +1 -1
  86. package/lib/services/logme.js +35 -31
  87. package/lib/services/logme.js.map +1 -1
  88. package/lib/services/logs.d.ts +78 -24
  89. package/lib/services/logs.d.ts.map +1 -1
  90. package/lib/services/logs.js +34 -32
  91. package/lib/services/logs.js.map +1 -1
  92. package/lib/services/mailout.d.ts +476 -0
  93. package/lib/services/mailout.d.ts.map +1 -0
  94. package/lib/services/mailout.js +33 -0
  95. package/lib/services/mailout.js.map +1 -0
  96. package/lib/services/mariadb.d.ts +81 -30
  97. package/lib/services/mariadb.d.ts.map +1 -1
  98. package/lib/services/mariadb.js +36 -32
  99. package/lib/services/mariadb.js.map +1 -1
  100. package/lib/services/model_experiments.d.ts +33 -33
  101. package/lib/services/model_experiments.d.ts.map +1 -1
  102. package/lib/services/model_experiments.js +1 -1
  103. package/lib/services/model_experiments.js.map +1 -1
  104. package/lib/services/model_serving.d.ts +25 -25
  105. package/lib/services/model_serving.d.ts.map +1 -1
  106. package/lib/services/model_serving.js +1 -1
  107. package/lib/services/model_serving.js.map +1 -1
  108. package/lib/services/mongodb_flex.d.ts +142 -137
  109. package/lib/services/mongodb_flex.d.ts.map +1 -1
  110. package/lib/services/mongodb_flex.js +41 -40
  111. package/lib/services/mongodb_flex.js.map +1 -1
  112. package/lib/services/object_storage.d.ts +6 -6
  113. package/lib/services/object_storage.d.ts.map +1 -1
  114. package/lib/services/object_storage.js +37 -36
  115. package/lib/services/object_storage.js.map +1 -1
  116. package/lib/services/observability.d.ts +362 -362
  117. package/lib/services/observability.d.ts.map +1 -1
  118. package/lib/services/observability.js +158 -157
  119. package/lib/services/observability.js.map +1 -1
  120. package/lib/services/opensearch.d.ts +87 -36
  121. package/lib/services/opensearch.d.ts.map +1 -1
  122. package/lib/services/opensearch.js +36 -32
  123. package/lib/services/opensearch.js.map +1 -1
  124. package/lib/services/pim.d.ts +334 -278
  125. package/lib/services/pim.d.ts.map +1 -1
  126. package/lib/services/pim.js +30 -29
  127. package/lib/services/pim.js.map +1 -1
  128. package/lib/services/postgres_flex.d.ts +59 -55
  129. package/lib/services/postgres_flex.d.ts.map +1 -1
  130. package/lib/services/postgres_flex.js +47 -45
  131. package/lib/services/postgres_flex.js.map +1 -1
  132. package/lib/services/pubsub.d.ts +36 -36
  133. package/lib/services/pubsub.d.ts.map +1 -1
  134. package/lib/services/pubsub.js +36 -35
  135. package/lib/services/pubsub.js.map +1 -1
  136. package/lib/services/rabbitmq.d.ts +92 -41
  137. package/lib/services/rabbitmq.d.ts.map +1 -1
  138. package/lib/services/rabbitmq.js +37 -33
  139. package/lib/services/rabbitmq.js.map +1 -1
  140. package/lib/services/registry.d.ts +26 -22
  141. package/lib/services/registry.d.ts.map +1 -1
  142. package/lib/services/registry.js +1 -1
  143. package/lib/services/registry.js.map +1 -1
  144. package/lib/services/resource_manager.d.ts +56 -56
  145. package/lib/services/resource_manager.d.ts.map +1 -1
  146. package/lib/services/resource_manager.js +35 -34
  147. package/lib/services/resource_manager.js.map +1 -1
  148. package/lib/services/run_command.d.ts +42 -42
  149. package/lib/services/run_command.d.ts.map +1 -1
  150. package/lib/services/run_command.js +1 -1
  151. package/lib/services/run_command.js.map +1 -1
  152. package/lib/services/sca.d.ts +349 -213
  153. package/lib/services/sca.d.ts.map +1 -1
  154. package/lib/services/sca.js +32 -23
  155. package/lib/services/sca.js.map +1 -1
  156. package/lib/services/scf.d.ts +24 -24
  157. package/lib/services/scf.d.ts.map +1 -1
  158. package/lib/services/scf.js +39 -38
  159. package/lib/services/scf.js.map +1 -1
  160. package/lib/services/secrets_manager.d.ts +21 -21
  161. package/lib/services/secrets_manager.d.ts.map +1 -1
  162. package/lib/services/secrets_manager.js +41 -40
  163. package/lib/services/secrets_manager.js.map +1 -1
  164. package/lib/services/server_backup.d.ts +31 -31
  165. package/lib/services/server_backup.d.ts.map +1 -1
  166. package/lib/services/server_backup.js +28 -27
  167. package/lib/services/server_backup.js.map +1 -1
  168. package/lib/services/server_update.d.ts +17 -17
  169. package/lib/services/server_update.d.ts.map +1 -1
  170. package/lib/services/server_update.js +1 -1
  171. package/lib/services/server_update.js.map +1 -1
  172. package/lib/services/service_account.d.ts +30 -30
  173. package/lib/services/service_account.d.ts.map +1 -1
  174. package/lib/services/service_account.js +29 -28
  175. package/lib/services/service_account.js.map +1 -1
  176. package/lib/services/service_enablement.d.ts +22 -21
  177. package/lib/services/service_enablement.d.ts.map +1 -1
  178. package/lib/services/service_enablement.js +1 -1
  179. package/lib/services/service_enablement.js.map +1 -1
  180. package/lib/services/sfs.d.ts +151 -141
  181. package/lib/services/sfs.d.ts.map +1 -1
  182. package/lib/services/sfs.js +46 -44
  183. package/lib/services/sfs.js.map +1 -1
  184. package/lib/services/ske.d.ts +121 -110
  185. package/lib/services/ske.d.ts.map +1 -1
  186. package/lib/services/ske.js +25 -24
  187. package/lib/services/ske.js.map +1 -1
  188. package/lib/services/sqlserverflex.d.ts +47 -47
  189. package/lib/services/sqlserverflex.d.ts.map +1 -1
  190. package/lib/services/sqlserverflex.js +45 -44
  191. package/lib/services/sqlserverflex.js.map +1 -1
  192. package/lib/services/stackit_marketplace.d.ts +39 -39
  193. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  194. package/lib/services/stackit_marketplace.js +25 -24
  195. package/lib/services/stackit_marketplace.js.map +1 -1
  196. package/lib/services/telemetry_link.d.ts +80 -38
  197. package/lib/services/telemetry_link.d.ts.map +1 -1
  198. package/lib/services/telemetry_link.js +34 -32
  199. package/lib/services/telemetry_link.js.map +1 -1
  200. package/lib/services/telemetry_router.d.ts +116 -41
  201. package/lib/services/telemetry_router.d.ts.map +1 -1
  202. package/lib/services/telemetry_router.js +31 -27
  203. package/lib/services/telemetry_router.js.map +1 -1
  204. package/lib/services/ufw.d.ts +55 -54
  205. package/lib/services/ufw.d.ts.map +1 -1
  206. package/lib/services/ufw.js +1 -1
  207. package/lib/services/ufw.js.map +1 -1
  208. package/lib/services/valkey.d.ts +94 -43
  209. package/lib/services/valkey.d.ts.map +1 -1
  210. package/lib/services/valkey.js +36 -32
  211. package/lib/services/valkey.js.map +1 -1
  212. package/lib/services/vpn.d.ts +150 -142
  213. package/lib/services/vpn.d.ts.map +1 -1
  214. package/lib/services/vpn.js +42 -41
  215. package/lib/services/vpn.js.map +1 -1
  216. package/lib/services/workflows.d.ts +65 -65
  217. package/lib/services/workflows.d.ts.map +1 -1
  218. package/lib/services/workflows.js +26 -25
  219. package/lib/services/workflows.js.map +1 -1
  220. package/lib/services.lazy/alb.js +1 -1
  221. package/lib/services.lazy/alb_waf.js +1 -1
  222. package/lib/services.lazy/automation.js +4 -1
  223. package/lib/services.lazy/cdn.js +1 -1
  224. package/lib/services.lazy/dns.js +2 -2
  225. package/lib/services.lazy/edge.js +4 -1
  226. package/lib/services.lazy/functions.js +3 -1
  227. package/lib/services.lazy/git.js +2 -2
  228. package/lib/services.lazy/iaas.js +1 -1
  229. package/lib/services.lazy/identity.js +1 -0
  230. package/lib/services.lazy/index.js +2 -2
  231. package/lib/services.lazy/intake.js +1 -1
  232. package/lib/services.lazy/kms.js +1 -1
  233. package/lib/services.lazy/load_balancer.js +1 -1
  234. package/lib/services.lazy/logme.js +2 -2
  235. package/lib/services.lazy/logs.js +1 -1
  236. package/lib/services.lazy/mailout.js +4 -0
  237. package/lib/services.lazy/mariadb.js +2 -2
  238. package/lib/services.lazy/mongodb_flex.js +1 -1
  239. package/lib/services.lazy/object_storage.js +1 -1
  240. package/lib/services.lazy/observability.js +1 -1
  241. package/lib/services.lazy/opensearch.js +2 -2
  242. package/lib/services.lazy/pim.js +1 -1
  243. package/lib/services.lazy/postgres_flex.js +1 -1
  244. package/lib/services.lazy/pubsub.js +1 -1
  245. package/lib/services.lazy/rabbitmq.js +2 -2
  246. package/lib/services.lazy/resource_manager.js +1 -1
  247. package/lib/services.lazy/sca.js +2 -2
  248. package/lib/services.lazy/scf.js +1 -1
  249. package/lib/services.lazy/secrets_manager.js +1 -1
  250. package/lib/services.lazy/server_backup.js +1 -1
  251. package/lib/services.lazy/service_account.js +1 -1
  252. package/lib/services.lazy/sfs.js +2 -2
  253. package/lib/services.lazy/ske.js +1 -1
  254. package/lib/services.lazy/sqlserverflex.js +1 -1
  255. package/lib/services.lazy/stackit_marketplace.js +1 -1
  256. package/lib/services.lazy/telemetry_link.js +1 -1
  257. package/lib/services.lazy/telemetry_router.js +2 -2
  258. package/lib/services.lazy/valkey.js +2 -2
  259. package/lib/services.lazy/vpn.js +1 -1
  260. package/lib/services.lazy/workflows.js +1 -1
  261. package/package.json +6 -5
  262. package/src/credentials.ts +1 -2
  263. package/src/index.ts +3 -3
  264. package/src/pagination.ts +7 -3
  265. package/src/protocol.ts +22 -20
  266. package/src/services/alb.ts +174 -132
  267. package/src/services/alb_waf.ts +96 -51
  268. package/src/services/authorization.ts +50 -15
  269. package/src/services/automation.ts +86 -49
  270. package/src/services/cdn.ts +172 -129
  271. package/src/services/certificates.ts +63 -40
  272. package/src/services/cost.ts +34 -15
  273. package/src/services/dns.ts +552 -269
  274. package/src/services/dremio.ts +187 -118
  275. package/src/services/edge.ts +62 -21
  276. package/src/services/functions.ts +217 -170
  277. package/src/services/git.ts +407 -108
  278. package/src/services/iaas.ts +723 -415
  279. package/src/services/identity.ts +625 -0
  280. package/src/services/index.ts +2 -0
  281. package/src/services/intake.ts +101 -58
  282. package/src/services/kms.ts +76 -13
  283. package/src/services/lb_ip_lists.ts +37 -14
  284. package/src/services/load_balancer.ts +168 -126
  285. package/src/services/logme.ts +345 -122
  286. package/src/services/logs.ts +172 -72
  287. package/src/services/mailout.ts +1277 -0
  288. package/src/services/mariadb.ts +328 -105
  289. package/src/services/model_experiments.ts +66 -33
  290. package/src/services/model_serving.ts +54 -25
  291. package/src/services/mongodb_flex.ts +205 -137
  292. package/src/services/object_storage.ts +61 -6
  293. package/src/services/observability.ts +594 -362
  294. package/src/services/opensearch.ts +337 -114
  295. package/src/services/pim.ts +403 -278
  296. package/src/services/postgres_flex.ts +258 -179
  297. package/src/services/pubsub.ts +85 -36
  298. package/src/services/rabbitmq.ts +348 -125
  299. package/src/services/registry.ts +55 -26
  300. package/src/services/resource_manager.ts +102 -57
  301. package/src/services/run_command.ts +65 -42
  302. package/src/services/sca.ts +769 -371
  303. package/src/services/scf.ts +83 -24
  304. package/src/services/secrets_manager.ts +87 -22
  305. package/src/services/server_backup.ts +76 -31
  306. package/src/services/server_update.ts +54 -17
  307. package/src/services/service_account.ts +75 -30
  308. package/src/services/service_enablement.ts +49 -24
  309. package/src/services/sfs.ts +469 -395
  310. package/src/services/ske.ts +299 -228
  311. package/src/services/sqlserverflex.ts +116 -47
  312. package/src/services/stackit_marketplace.ts +78 -39
  313. package/src/services/telemetry_link.ts +191 -81
  314. package/src/services/telemetry_router.ts +326 -94
  315. package/src/services/ufw.ts +85 -54
  316. package/src/services/valkey.ts +341 -118
  317. package/src/services/vpn.ts +213 -142
  318. package/src/services/workflows.ts +106 -65
@@ -12,6 +12,19 @@ const __s: any[] = [];
12
12
 
13
13
  export type { StackitOpError, StackitOpContext };
14
14
 
15
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
16
+ const TELEMETRY = {
17
+ system: "stackit-api",
18
+ responseHeaders: [
19
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
20
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
21
+ ],
22
+ prefix: "STACKIT",
23
+ service: "Kms",
24
+ labels: "stackit",
25
+ propagate: "w3c",
26
+ } as const;
27
+
15
28
  export class BadRequest
16
29
  extends /*@__PURE__*/ T.applyErrorMatchers(
17
30
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
@@ -77,14 +90,14 @@ export interface CreateKeyRequest {
77
90
  regionId: CreateKeyRequestRegionId | (string & {});
78
91
  /** The key ring UUID. */
79
92
  keyRingId: string;
80
- access_scope?: AccessScope | (string & {});
93
+ access_scope?: AccessScope | (string & {}) | undefined;
81
94
  algorithm: Algorithm | (string & {});
82
95
  /** A user chosen description to distinguish multiple keys. */
83
- description?: string;
96
+ description?: string | undefined;
84
97
  /** The display name to distinguish multiple keys. Valid characters: letters, digits, underscores and hyphens. */
85
98
  displayName: string;
86
99
  /** States whether versions can be created or only imported. */
87
- importOnly?: boolean;
100
+ importOnly?: boolean | undefined;
88
101
  protection: string;
89
102
  purpose: Purpose | (string & {});
90
103
  }
@@ -102,9 +115,9 @@ export interface Key {
102
115
  /** The date and time the creation of the key was triggered. */
103
116
  createdAt: string;
104
117
  /** This date is set when a key is pending deletion and refers to the scheduled date of deletion */
105
- deletionDate?: string;
118
+ deletionDate?: string | undefined;
106
119
  /** A user chosen description to distinguish multiple keys. */
107
- description?: string;
120
+ description?: string | undefined;
108
121
  /** The display name to distinguish multiple keys. */
109
122
  displayName: string;
110
123
  /** A auto generated unique id which identifies the keys. */
@@ -125,7 +138,7 @@ export interface CreateKeyRingRequest {
125
138
  /** The STACKIT region name the key ring is located in. */
126
139
  regionId: CreateKeyRingRequestRegionId | (string & {});
127
140
  /** A user chosen description to distinguish multiple key rings. */
128
- description?: string;
141
+ description?: string | undefined;
129
142
  /** The display name to distinguish multiple key rings. Valid characters: letters, digits, underscores and hyphens. */
130
143
  displayName: string;
131
144
  }
@@ -135,7 +148,7 @@ export interface KeyRing {
135
148
  /** The date and time the creation of the key ring was triggered. */
136
149
  createdAt: string;
137
150
  /** A user chosen description to distinguish multiple key rings. */
138
- description?: string;
151
+ description?: string | undefined;
139
152
  /** The display name to distinguish multiple key rings. */
140
153
  displayName: string;
141
154
  /** A auto generated unique id which identifies the key ring. */
@@ -163,10 +176,10 @@ export interface CreateWrappingKeyRequest {
163
176
  regionId: CreateWrappingKeyRequestRegionId | (string & {});
164
177
  /** The key ring UUID. */
165
178
  keyRingId: string;
166
- access_scope?: AccessScope | (string & {});
179
+ access_scope?: AccessScope | (string & {}) | undefined;
167
180
  algorithm: WrappingAlgorithm | (string & {});
168
181
  /** A user chosen description to distinguish multiple wrapping keys. */
169
- description?: string;
182
+ description?: string | undefined;
170
183
  /** The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens. */
171
184
  displayName: string;
172
185
  protection: string;
@@ -185,7 +198,7 @@ export interface WrappingKey {
185
198
  /** The date and time the creation of the wrapping key was triggered. */
186
199
  createdAt: string;
187
200
  /** A user chosen description to distinguish multiple wrapping keys. */
188
- description?: string;
201
+ description?: string | undefined;
189
202
  /** The display name to distinguish multiple wrapping keys. */
190
203
  displayName: string;
191
204
  /** The date and time the wrapping key will expire. */
@@ -196,7 +209,7 @@ export interface WrappingKey {
196
209
  keyRingId: string;
197
210
  protection: string;
198
211
  /** The public key of the wrapping key. */
199
- publicKey?: string;
212
+ publicKey?: string | undefined;
200
213
  purpose: WrappingPurpose;
201
214
  /** The current state of the wrapping key. */
202
215
  state: WrappingKeyState;
@@ -360,7 +373,7 @@ export interface Version {
360
373
  /** The date and time the creation of the key was triggered. */
361
374
  createdAt: string;
362
375
  /** The scheduled date when a version's key material will be erased completely from the backend */
363
- destroyDate?: string;
376
+ destroyDate?: string | undefined;
364
377
  /** States whether versions is enabled or disabled. */
365
378
  disabled: boolean;
366
379
  /** The unique id of the key this version is assigned to. */
@@ -370,7 +383,7 @@ export interface Version {
370
383
  /** A sequential number which identifies the key versions. */
371
384
  number: number;
372
385
  /** The public key of the key version. Only present in asymmetric keys. */
373
- publicKey?: string;
386
+ publicKey?: string | undefined;
374
387
  /** The current state of the key. */
375
388
  state: VersionState;
376
389
  }
@@ -544,6 +557,8 @@ export const createKey: API.OperationMethod<
544
557
  errors: [BadRequest, NotFound, UnknownStackitError],
545
558
  protocol: StackitProtocol,
546
559
  retry: Retry.Retry,
560
+ telemetry: TELEMETRY,
561
+ span: "CreateKey",
547
562
  }));
548
563
 
549
564
  export type CreateKeyRingError = BadRequest | StackitOpError;
@@ -559,6 +574,8 @@ export const createKeyRing: API.OperationMethod<
559
574
  errors: [BadRequest, UnknownStackitError],
560
575
  protocol: StackitProtocol,
561
576
  retry: Retry.Retry,
577
+ telemetry: TELEMETRY,
578
+ span: "CreateKeyRing",
562
579
  }));
563
580
 
564
581
  export type CreateWrappingKeyError = BadRequest | NotFound | StackitOpError;
@@ -574,6 +591,8 @@ export const createWrappingKey: API.OperationMethod<
574
591
  errors: [BadRequest, NotFound, UnknownStackitError],
575
592
  protocol: StackitProtocol,
576
593
  retry: Retry.Retry,
594
+ telemetry: TELEMETRY,
595
+ span: "CreateWrappingKey",
577
596
  }));
578
597
 
579
598
  export type DecryptError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -589,6 +608,8 @@ export const decrypt: API.OperationMethod<
589
608
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
590
609
  protocol: StackitProtocol,
591
610
  retry: Retry.Retry,
611
+ telemetry: TELEMETRY,
612
+ span: "Decrypt",
592
613
  }));
593
614
 
594
615
  export type DeleteKeyError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -604,6 +625,8 @@ export const deleteKey: API.OperationMethod<
604
625
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
605
626
  protocol: StackitProtocol,
606
627
  retry: Retry.Retry,
628
+ telemetry: TELEMETRY,
629
+ span: "DeleteKey",
607
630
  }));
608
631
 
609
632
  export type DeleteKeyRingError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -619,6 +642,8 @@ export const deleteKeyRing: API.OperationMethod<
619
642
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
620
643
  protocol: StackitProtocol,
621
644
  retry: Retry.Retry,
645
+ telemetry: TELEMETRY,
646
+ span: "DeleteKeyRing",
622
647
  }));
623
648
 
624
649
  export type DeleteWrappingKeyError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -634,6 +659,8 @@ export const deleteWrappingKey: API.OperationMethod<
634
659
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
635
660
  protocol: StackitProtocol,
636
661
  retry: Retry.Retry,
662
+ telemetry: TELEMETRY,
663
+ span: "DeleteWrappingKey",
637
664
  }));
638
665
 
639
666
  export type DestroyVersionError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -649,6 +676,8 @@ export const destroyVersion: API.OperationMethod<
649
676
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
650
677
  protocol: StackitProtocol,
651
678
  retry: Retry.Retry,
679
+ telemetry: TELEMETRY,
680
+ span: "DestroyVersion",
652
681
  }));
653
682
 
654
683
  export type DisableVersionError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -664,6 +693,8 @@ export const disableVersion: API.OperationMethod<
664
693
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
665
694
  protocol: StackitProtocol,
666
695
  retry: Retry.Retry,
696
+ telemetry: TELEMETRY,
697
+ span: "DisableVersion",
667
698
  }));
668
699
 
669
700
  export type EnableVersionError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -679,6 +710,8 @@ export const enableVersion: API.OperationMethod<
679
710
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
680
711
  protocol: StackitProtocol,
681
712
  retry: Retry.Retry,
713
+ telemetry: TELEMETRY,
714
+ span: "EnableVersion",
682
715
  }));
683
716
 
684
717
  export type EncryptError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -694,6 +727,8 @@ export const encrypt: API.OperationMethod<
694
727
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
695
728
  protocol: StackitProtocol,
696
729
  retry: Retry.Retry,
730
+ telemetry: TELEMETRY,
731
+ span: "Encrypt",
697
732
  }));
698
733
 
699
734
  export type GetKeyError = BadRequest | NotFound | StackitOpError;
@@ -705,6 +740,8 @@ export const getKey: API.OperationMethod<GetKeyRequest, Key, GetKeyError, Stacki
705
740
  errors: [BadRequest, NotFound, UnknownStackitError],
706
741
  protocol: StackitProtocol,
707
742
  retry: Retry.Retry,
743
+ telemetry: TELEMETRY,
744
+ span: "GetKey",
708
745
  }));
709
746
 
710
747
  export type GetKeyRingError = BadRequest | NotFound | StackitOpError;
@@ -720,6 +757,8 @@ export const getKeyRing: API.OperationMethod<
720
757
  errors: [BadRequest, NotFound, UnknownStackitError],
721
758
  protocol: StackitProtocol,
722
759
  retry: Retry.Retry,
760
+ telemetry: TELEMETRY,
761
+ span: "GetKeyRing",
723
762
  }));
724
763
 
725
764
  export type GetVersionError = BadRequest | NotFound | StackitOpError;
@@ -735,6 +774,8 @@ export const getVersion: API.OperationMethod<
735
774
  errors: [BadRequest, NotFound, UnknownStackitError],
736
775
  protocol: StackitProtocol,
737
776
  retry: Retry.Retry,
777
+ telemetry: TELEMETRY,
778
+ span: "GetVersion",
738
779
  }));
739
780
 
740
781
  export type GetWrappingKeyError = BadRequest | NotFound | StackitOpError;
@@ -750,6 +791,8 @@ export const getWrappingKey: API.OperationMethod<
750
791
  errors: [BadRequest, NotFound, UnknownStackitError],
751
792
  protocol: StackitProtocol,
752
793
  retry: Retry.Retry,
794
+ telemetry: TELEMETRY,
795
+ span: "GetWrappingKey",
753
796
  }));
754
797
 
755
798
  export type ImportKeyError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -765,6 +808,8 @@ export const importKey: API.OperationMethod<
765
808
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
766
809
  protocol: StackitProtocol,
767
810
  retry: Retry.Retry,
811
+ telemetry: TELEMETRY,
812
+ span: "ImportKey",
768
813
  }));
769
814
 
770
815
  export type ListKeyRingsError = BadRequest | StackitOpError;
@@ -780,6 +825,8 @@ export const listKeyRings: API.OperationMethod<
780
825
  errors: [BadRequest, UnknownStackitError],
781
826
  protocol: StackitProtocol,
782
827
  retry: Retry.Retry,
828
+ telemetry: TELEMETRY,
829
+ span: "ListKeyRings",
783
830
  }));
784
831
 
785
832
  export type ListKeysError = BadRequest | NotFound | StackitOpError;
@@ -795,6 +842,8 @@ export const listKeys: API.OperationMethod<
795
842
  errors: [BadRequest, NotFound, UnknownStackitError],
796
843
  protocol: StackitProtocol,
797
844
  retry: Retry.Retry,
845
+ telemetry: TELEMETRY,
846
+ span: "ListKeys",
798
847
  }));
799
848
 
800
849
  export type ListVersionsError = BadRequest | NotFound | StackitOpError;
@@ -810,6 +859,8 @@ export const listVersions: API.OperationMethod<
810
859
  errors: [BadRequest, NotFound, UnknownStackitError],
811
860
  protocol: StackitProtocol,
812
861
  retry: Retry.Retry,
862
+ telemetry: TELEMETRY,
863
+ span: "ListVersions",
813
864
  }));
814
865
 
815
866
  export type ListWrappingKeysError = BadRequest | NotFound | StackitOpError;
@@ -825,6 +876,8 @@ export const listWrappingKeys: API.OperationMethod<
825
876
  errors: [BadRequest, NotFound, UnknownStackitError],
826
877
  protocol: StackitProtocol,
827
878
  retry: Retry.Retry,
879
+ telemetry: TELEMETRY,
880
+ span: "ListWrappingKeys",
828
881
  }));
829
882
 
830
883
  export type RestoreKeyError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -840,6 +893,8 @@ export const restoreKey: API.OperationMethod<
840
893
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
841
894
  protocol: StackitProtocol,
842
895
  retry: Retry.Retry,
896
+ telemetry: TELEMETRY,
897
+ span: "RestoreKey",
843
898
  }));
844
899
 
845
900
  export type RestoreVersionError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -855,6 +910,8 @@ export const restoreVersion: API.OperationMethod<
855
910
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
856
911
  protocol: StackitProtocol,
857
912
  retry: Retry.Retry,
913
+ telemetry: TELEMETRY,
914
+ span: "RestoreVersion",
858
915
  }));
859
916
 
860
917
  export type RotateKeyError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
@@ -870,6 +927,8 @@ export const rotateKey: API.OperationMethod<
870
927
  errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
871
928
  protocol: StackitProtocol,
872
929
  retry: Retry.Retry,
930
+ telemetry: TELEMETRY,
931
+ span: "RotateKey",
873
932
  }));
874
933
 
875
934
  export type SignError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -881,6 +940,8 @@ export const sign: API.OperationMethod<SignRequest, SignedData, SignError, Stack
881
940
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
882
941
  protocol: StackitProtocol,
883
942
  retry: Retry.Retry,
943
+ telemetry: TELEMETRY,
944
+ span: "Sign",
884
945
  }));
885
946
 
886
947
  export type VerifyError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -896,6 +957,8 @@ export const verify: API.OperationMethod<
896
957
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
897
958
  protocol: StackitProtocol,
898
959
  retry: Retry.Retry,
960
+ telemetry: TELEMETRY,
961
+ span: "Verify",
899
962
  }));
900
963
 
901
964
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -12,6 +12,19 @@ const __s: any[] = [];
12
12
 
13
13
  export type { StackitOpError, StackitOpContext };
14
14
 
15
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
16
+ const TELEMETRY = {
17
+ system: "stackit-api",
18
+ responseHeaders: [
19
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
20
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
21
+ ],
22
+ prefix: "STACKIT",
23
+ service: "LbIpLists",
24
+ labels: "stackit",
25
+ propagate: "w3c",
26
+ } as const;
27
+
15
28
  export class BadRequest
16
29
  extends /*@__PURE__*/ T.applyErrorMatchers(
17
30
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
@@ -66,22 +79,22 @@ export type IPListUsageItemsList = Array<string>;
66
79
  /** IPListUsage describes which NLB/ALB currently reference an IP list. */
67
80
  export interface IPListUsage {
68
81
  /** Number of load balancers currently using this IP list. */
69
- count?: number;
82
+ count?: number | undefined;
70
83
  /** List of load balancers that reference this IP list. */
71
- items?: IPListUsageItemsList;
84
+ items?: IPListUsageItemsList | undefined;
72
85
  }
73
86
  /** GetIPListResponse returns IP list configuration without CIDR entries. */
74
87
  export interface GetIPListResponse {
75
88
  /** Unique SHA-256 hex fingerprint used to verify the stored IP list content. */
76
- contentHash?: string;
89
+ contentHash?: string | undefined;
77
90
  /** 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. */
78
- labels?: GetIPListResponseLabelsMap;
91
+ labels?: GetIPListResponseLabelsMap | undefined;
79
92
  /** IP list name. */
80
93
  name: string;
81
94
  /** Number of IPv4 CIDR entries stored in the list. */
82
- numberOfIps?: number;
95
+ numberOfIps?: number | undefined;
83
96
  /** Current use of this IP list in load balancers. */
84
- usage?: IPListUsage;
97
+ usage?: IPListUsage | undefined;
85
98
  }
86
99
  export interface GetQuotaRequest {
87
100
  projectId: string;
@@ -90,21 +103,21 @@ export interface GetQuotaRequest {
90
103
  /** IPListsQuota holds the limits and current usage for IP list resources. Defaults: limit=3 per project, max_entries_per_list=50000. */
91
104
  export interface IPListsQuota {
92
105
  /** The maximum number of IP lists allowed in this project. Defaults to 3. Use -1 to indicate unlimited. */
93
- limit?: number;
106
+ limit?: number | undefined;
94
107
  /** The number of IP lists that currently exist in this project. */
95
- usage?: number;
108
+ usage?: number | undefined;
96
109
  }
97
110
  /** Quotas holds the specific quota elements for resources managed by this API. */
98
111
  export interface Quotas {
99
- ipLists?: IPListsQuota;
112
+ ipLists?: IPListsQuota | undefined;
100
113
  }
101
114
  /** GetQuotaResponse returns the configured IP list quota for the project and region. */
102
115
  export interface GetQuotaResponse {
103
116
  /** Project identifier */
104
- projectId?: string;
105
- quotas?: Quotas;
117
+ projectId?: string | undefined;
118
+ quotas?: Quotas | undefined;
106
119
  /** Region */
107
- region?: string;
120
+ region?: string | undefined;
108
121
  }
109
122
  export interface ListIPListsRequest {
110
123
  projectId: string;
@@ -115,7 +128,7 @@ export type ListIPListsResponseItemsList = Array<GetIPListResponse>;
115
128
  /** ListIPListsResponse returns metadata for all IP lists in a project and region. The CIDR entries themselves are never returned. */
116
129
  export interface ListIPListsResponse {
117
130
  /** Every IP list in the project and region. Never includes the CIDR entries themselves. */
118
- items?: ListIPListsResponseItemsList;
131
+ items?: ListIPListsResponseItemsList | undefined;
119
132
  }
120
133
  /** 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. */
121
134
  export type UploadIPListRequestLabelsMap = { [key: string]: string | undefined };
@@ -126,7 +139,7 @@ export interface UploadIPListRequest {
126
139
  /** Raw upload payload as a plain UTF-8 string. Newline-separated `.txt` list of IPv4 CIDR entries, or CSV with `cidr,labels` columns (any other columns are ignored). */
127
140
  fileContent: string;
128
141
  /** 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. */
129
- labels?: UploadIPListRequestLabelsMap;
142
+ labels?: UploadIPListRequestLabelsMap | undefined;
130
143
  }
131
144
  export type DeleteIPListError = BadRequest | Forbidden | NotFound | StackitOpError;
132
145
  /** 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. */
@@ -141,6 +154,8 @@ export const deleteIPList: API.OperationMethod<
141
154
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
142
155
  protocol: StackitProtocol,
143
156
  retry: Retry.Retry,
157
+ telemetry: TELEMETRY,
158
+ span: "DeleteIPList",
144
159
  }));
145
160
 
146
161
  export type GetIPListError = BadRequest | Forbidden | NotFound | StackitOpError;
@@ -156,6 +171,8 @@ export const getIPList: API.OperationMethod<
156
171
  errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
157
172
  protocol: StackitProtocol,
158
173
  retry: Retry.Retry,
174
+ telemetry: TELEMETRY,
175
+ span: "GetIPList",
159
176
  }));
160
177
 
161
178
  export type GetQuotaError = BadRequest | Forbidden | StackitOpError;
@@ -171,6 +188,8 @@ export const getQuota: API.OperationMethod<
171
188
  errors: [BadRequest, Forbidden, UnknownStackitError],
172
189
  protocol: StackitProtocol,
173
190
  retry: Retry.Retry,
191
+ telemetry: TELEMETRY,
192
+ span: "GetQuota",
174
193
  }));
175
194
 
176
195
  export type ListIPListsError = BadRequest | Forbidden | StackitOpError;
@@ -186,6 +205,8 @@ export const listIPLists: API.OperationMethod<
186
205
  errors: [BadRequest, Forbidden, UnknownStackitError],
187
206
  protocol: StackitProtocol,
188
207
  retry: Retry.Retry,
208
+ telemetry: TELEMETRY,
209
+ span: "ListIPLists",
189
210
  }));
190
211
 
191
212
  export type UploadIPListError = BadRequest | Forbidden | UnprocessableEntity | StackitOpError;
@@ -201,6 +222,8 @@ export const uploadIPList: API.OperationMethod<
201
222
  errors: [BadRequest, Forbidden, UnprocessableEntity, UnknownStackitError],
202
223
  protocol: StackitProtocol,
203
224
  retry: Retry.Retry,
225
+ telemetry: TELEMETRY,
226
+ span: "UploadIPList",
204
227
  }));
205
228
 
206
229
  // Schema builders: each runs one schema initializer, on that schema's first use.