@distilled.cloud/stackit 0.0.0-placeholder → 1.0.0-rc.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +34 -0
  3. package/lib/credentials.d.ts +29 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +49 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +36 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +26 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/pagination.d.ts +9 -0
  16. package/lib/pagination.d.ts.map +1 -0
  17. package/lib/pagination.js +48 -0
  18. package/lib/pagination.js.map +1 -0
  19. package/lib/protocol.d.ts +32 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +148 -0
  22. package/lib/protocol.js.map +1 -0
  23. package/lib/response-validation.test.d.ts +4 -0
  24. package/lib/response-validation.test.d.ts.map +1 -0
  25. package/lib/response-validation.test.js +31 -0
  26. package/lib/response-validation.test.js.map +1 -0
  27. package/lib/retry.d.ts +31 -0
  28. package/lib/retry.d.ts.map +1 -0
  29. package/lib/retry.js +31 -0
  30. package/lib/retry.js.map +1 -0
  31. package/lib/services/alb.d.ts +603 -0
  32. package/lib/services/alb.d.ts.map +1 -0
  33. package/lib/services/alb.js +562 -0
  34. package/lib/services/alb.js.map +1 -0
  35. package/lib/services/alb_waf.d.ts +526 -0
  36. package/lib/services/alb_waf.d.ts.map +1 -0
  37. package/lib/services/alb_waf.js +545 -0
  38. package/lib/services/alb_waf.js.map +1 -0
  39. package/lib/services/authorization.d.ts +251 -0
  40. package/lib/services/authorization.d.ts.map +1 -0
  41. package/lib/services/authorization.js +353 -0
  42. package/lib/services/authorization.js.map +1 -0
  43. package/lib/services/automation.d.ts +358 -0
  44. package/lib/services/automation.d.ts.map +1 -0
  45. package/lib/services/automation.js +426 -0
  46. package/lib/services/automation.js.map +1 -0
  47. package/lib/services/cdn.d.ts +1239 -0
  48. package/lib/services/cdn.d.ts.map +1 -0
  49. package/lib/services/cdn.js +992 -0
  50. package/lib/services/cdn.js.map +1 -0
  51. package/lib/services/certificates.d.ts +201 -0
  52. package/lib/services/certificates.d.ts.map +1 -0
  53. package/lib/services/certificates.js +197 -0
  54. package/lib/services/certificates.js.map +1 -0
  55. package/lib/services/cost.d.ts +222 -0
  56. package/lib/services/cost.d.ts.map +1 -0
  57. package/lib/services/cost.js +188 -0
  58. package/lib/services/cost.js.map +1 -0
  59. package/lib/services/dns.d.ts +875 -0
  60. package/lib/services/dns.d.ts.map +1 -0
  61. package/lib/services/dns.js +854 -0
  62. package/lib/services/dns.js.map +1 -0
  63. package/lib/services/dremio.d.ts +358 -0
  64. package/lib/services/dremio.d.ts.map +1 -0
  65. package/lib/services/dremio.js +339 -0
  66. package/lib/services/dremio.js.map +1 -0
  67. package/lib/services/edge.d.ts +312 -0
  68. package/lib/services/edge.d.ts.map +1 -0
  69. package/lib/services/edge.js +375 -0
  70. package/lib/services/edge.js.map +1 -0
  71. package/lib/services/functions.d.ts +409 -0
  72. package/lib/services/functions.d.ts.map +1 -0
  73. package/lib/services/functions.js +423 -0
  74. package/lib/services/functions.js.map +1 -0
  75. package/lib/services/git.d.ts +497 -0
  76. package/lib/services/git.d.ts.map +1 -0
  77. package/lib/services/git.js +552 -0
  78. package/lib/services/git.js.map +1 -0
  79. package/lib/services/iaas.d.ts +2965 -0
  80. package/lib/services/iaas.d.ts.map +1 -0
  81. package/lib/services/iaas.js +3768 -0
  82. package/lib/services/iaas.js.map +1 -0
  83. package/lib/services/index.d.ts +51 -0
  84. package/lib/services/index.d.ts.map +1 -0
  85. package/lib/services/index.js +52 -0
  86. package/lib/services/index.js.map +1 -0
  87. package/lib/services/intake.d.ts +555 -0
  88. package/lib/services/intake.d.ts.map +1 -0
  89. package/lib/services/intake.js +513 -0
  90. package/lib/services/intake.js.map +1 -0
  91. package/lib/services/kms.d.ts +654 -0
  92. package/lib/services/kms.d.ts.map +1 -0
  93. package/lib/services/kms.js +703 -0
  94. package/lib/services/kms.js.map +1 -0
  95. package/lib/services/lb_ip_lists.d.ts +162 -0
  96. package/lib/services/lb_ip_lists.d.ts.map +1 -0
  97. package/lib/services/lb_ip_lists.js +173 -0
  98. package/lib/services/lb_ip_lists.js.map +1 -0
  99. package/lib/services/load_balancer.d.ts +563 -0
  100. package/lib/services/load_balancer.d.ts.map +1 -0
  101. package/lib/services/load_balancer.js +542 -0
  102. package/lib/services/load_balancer.js.map +1 -0
  103. package/lib/services/logme.d.ts +516 -0
  104. package/lib/services/logme.d.ts.map +1 -0
  105. package/lib/services/logme.js +636 -0
  106. package/lib/services/logme.js.map +1 -0
  107. package/lib/services/logs.d.ts +436 -0
  108. package/lib/services/logs.d.ts.map +1 -0
  109. package/lib/services/logs.js +498 -0
  110. package/lib/services/logs.js.map +1 -0
  111. package/lib/services/mariadb.d.ts +479 -0
  112. package/lib/services/mariadb.d.ts.map +1 -0
  113. package/lib/services/mariadb.js +611 -0
  114. package/lib/services/mariadb.js.map +1 -0
  115. package/lib/services/model_experiments.d.ts +306 -0
  116. package/lib/services/model_experiments.d.ts.map +1 -0
  117. package/lib/services/model_experiments.js +356 -0
  118. package/lib/services/model_experiments.js.map +1 -0
  119. package/lib/services/model_serving.d.ts +289 -0
  120. package/lib/services/model_serving.d.ts.map +1 -0
  121. package/lib/services/model_serving.js +319 -0
  122. package/lib/services/model_serving.js.map +1 -0
  123. package/lib/services/mongodb_flex.d.ts +826 -0
  124. package/lib/services/mongodb_flex.d.ts.map +1 -0
  125. package/lib/services/mongodb_flex.js +889 -0
  126. package/lib/services/mongodb_flex.js.map +1 -0
  127. package/lib/services/object_storage.d.ts +446 -0
  128. package/lib/services/object_storage.d.ts.map +1 -0
  129. package/lib/services/object_storage.js +577 -0
  130. package/lib/services/object_storage.js.map +1 -0
  131. package/lib/services/observability.d.ts +2750 -0
  132. package/lib/services/observability.d.ts.map +1 -0
  133. package/lib/services/observability.js +3407 -0
  134. package/lib/services/observability.js.map +1 -0
  135. package/lib/services/opensearch.d.ts +505 -0
  136. package/lib/services/opensearch.d.ts.map +1 -0
  137. package/lib/services/opensearch.js +623 -0
  138. package/lib/services/opensearch.js.map +1 -0
  139. package/lib/services/pim.d.ts +997 -0
  140. package/lib/services/pim.d.ts.map +1 -0
  141. package/lib/services/pim.js +789 -0
  142. package/lib/services/pim.js.map +1 -0
  143. package/lib/services/postgres_flex.d.ts +854 -0
  144. package/lib/services/postgres_flex.d.ts.map +1 -0
  145. package/lib/services/postgres_flex.js +1018 -0
  146. package/lib/services/postgres_flex.js.map +1 -0
  147. package/lib/services/pubsub.d.ts +489 -0
  148. package/lib/services/pubsub.d.ts.map +1 -0
  149. package/lib/services/pubsub.js +614 -0
  150. package/lib/services/pubsub.js.map +1 -0
  151. package/lib/services/rabbitmq.d.ts +523 -0
  152. package/lib/services/rabbitmq.d.ts.map +1 -0
  153. package/lib/services/rabbitmq.js +636 -0
  154. package/lib/services/rabbitmq.js.map +1 -0
  155. package/lib/services/registry.d.ts +212 -0
  156. package/lib/services/registry.d.ts.map +1 -0
  157. package/lib/services/registry.js +221 -0
  158. package/lib/services/registry.js.map +1 -0
  159. package/lib/services/resource_manager.d.ts +458 -0
  160. package/lib/services/resource_manager.d.ts.map +1 -0
  161. package/lib/services/resource_manager.js +503 -0
  162. package/lib/services/resource_manager.js.map +1 -0
  163. package/lib/services/run_command.d.ts +175 -0
  164. package/lib/services/run_command.d.ts.map +1 -0
  165. package/lib/services/run_command.js +203 -0
  166. package/lib/services/run_command.js.map +1 -0
  167. package/lib/services/sca.d.ts +541 -0
  168. package/lib/services/sca.d.ts.map +1 -0
  169. package/lib/services/sca.js +478 -0
  170. package/lib/services/sca.js.map +1 -0
  171. package/lib/services/scf.d.ts +498 -0
  172. package/lib/services/scf.d.ts.map +1 -0
  173. package/lib/services/scf.js +718 -0
  174. package/lib/services/scf.js.map +1 -0
  175. package/lib/services/secrets_manager.d.ts +505 -0
  176. package/lib/services/secrets_manager.d.ts.map +1 -0
  177. package/lib/services/secrets_manager.js +659 -0
  178. package/lib/services/secrets_manager.js.map +1 -0
  179. package/lib/services/server_backup.d.ts +380 -0
  180. package/lib/services/server_backup.d.ts.map +1 -0
  181. package/lib/services/server_backup.js +474 -0
  182. package/lib/services/server_backup.js.map +1 -0
  183. package/lib/services/server_update.d.ts +292 -0
  184. package/lib/services/server_update.d.ts.map +1 -0
  185. package/lib/services/server_update.js +364 -0
  186. package/lib/services/server_update.js.map +1 -0
  187. package/lib/services/service_account.d.ts +465 -0
  188. package/lib/services/service_account.d.ts.map +1 -0
  189. package/lib/services/service_account.js +523 -0
  190. package/lib/services/service_account.js.map +1 -0
  191. package/lib/services/service_enablement.d.ts +149 -0
  192. package/lib/services/service_enablement.d.ts.map +1 -0
  193. package/lib/services/service_enablement.js +159 -0
  194. package/lib/services/service_enablement.js.map +1 -0
  195. package/lib/services/sfs.d.ts +721 -0
  196. package/lib/services/sfs.d.ts.map +1 -0
  197. package/lib/services/sfs.js +845 -0
  198. package/lib/services/sfs.js.map +1 -0
  199. package/lib/services/ske.d.ts +536 -0
  200. package/lib/services/ske.d.ts.map +1 -0
  201. package/lib/services/ske.js +598 -0
  202. package/lib/services/ske.js.map +1 -0
  203. package/lib/services/sqlserverflex.d.ts +956 -0
  204. package/lib/services/sqlserverflex.d.ts.map +1 -0
  205. package/lib/services/sqlserverflex.js +1087 -0
  206. package/lib/services/sqlserverflex.js.map +1 -0
  207. package/lib/services/stackit_marketplace.d.ts +288 -0
  208. package/lib/services/stackit_marketplace.d.ts.map +1 -0
  209. package/lib/services/stackit_marketplace.js +393 -0
  210. package/lib/services/stackit_marketplace.js.map +1 -0
  211. package/lib/services/telemetry_link.d.ts +443 -0
  212. package/lib/services/telemetry_link.d.ts.map +1 -0
  213. package/lib/services/telemetry_link.js +550 -0
  214. package/lib/services/telemetry_link.js.map +1 -0
  215. package/lib/services/telemetry_router.d.ts +493 -0
  216. package/lib/services/telemetry_router.d.ts.map +1 -0
  217. package/lib/services/telemetry_router.js +523 -0
  218. package/lib/services/telemetry_router.js.map +1 -0
  219. package/lib/services/ufw.d.ts +295 -0
  220. package/lib/services/ufw.d.ts.map +1 -0
  221. package/lib/services/ufw.js +301 -0
  222. package/lib/services/ufw.js.map +1 -0
  223. package/lib/services/valkey.d.ts +505 -0
  224. package/lib/services/valkey.d.ts.map +1 -0
  225. package/lib/services/valkey.js +627 -0
  226. package/lib/services/valkey.js.map +1 -0
  227. package/lib/services/vpn.d.ts +1024 -0
  228. package/lib/services/vpn.d.ts.map +1 -0
  229. package/lib/services/vpn.js +1013 -0
  230. package/lib/services/vpn.js.map +1 -0
  231. package/lib/services/workflows.d.ts +600 -0
  232. package/lib/services/workflows.d.ts.map +1 -0
  233. package/lib/services/workflows.js +556 -0
  234. package/lib/services/workflows.js.map +1 -0
  235. package/lib/traits.d.ts +24 -0
  236. package/lib/traits.d.ts.map +1 -0
  237. package/lib/traits.js +15 -0
  238. package/lib/traits.js.map +1 -0
  239. package/package.json +78 -7
  240. package/src/credentials.ts +90 -0
  241. package/src/errors.ts +50 -0
  242. package/src/index.ts +34 -0
  243. package/src/pagination.ts +73 -0
  244. package/src/protocol.ts +243 -0
  245. package/src/response-validation.test.ts +45 -0
  246. package/src/retry.ts +53 -0
  247. package/src/services/alb.ts +1409 -0
  248. package/src/services/alb_waf.ts +1347 -0
  249. package/src/services/authorization.ts +740 -0
  250. package/src/services/automation.ts +966 -0
  251. package/src/services/cdn.ts +2736 -0
  252. package/src/services/certificates.ts +450 -0
  253. package/src/services/cost.ts +484 -0
  254. package/src/services/dns.ts +2271 -0
  255. package/src/services/dremio.ts +803 -0
  256. package/src/services/edge.ts +839 -0
  257. package/src/services/functions.ts +1010 -0
  258. package/src/services/git.ts +1275 -0
  259. package/src/services/iaas.ts +8670 -0
  260. package/src/services/index.ts +51 -0
  261. package/src/services/intake.ts +1233 -0
  262. package/src/services/kms.ts +1638 -0
  263. package/src/services/lb_ip_lists.ts +377 -0
  264. package/src/services/load_balancer.ts +1342 -0
  265. package/src/services/logme.ts +1379 -0
  266. package/src/services/logs.ts +1150 -0
  267. package/src/services/mariadb.ts +1293 -0
  268. package/src/services/model_experiments.ts +797 -0
  269. package/src/services/model_serving.ts +697 -0
  270. package/src/services/mongodb_flex.ts +2078 -0
  271. package/src/services/object_storage.ts +1248 -0
  272. package/src/services/observability.ts +7856 -0
  273. package/src/services/opensearch.ts +1354 -0
  274. package/src/services/pim.ts +2090 -0
  275. package/src/services/postgres_flex.ts +2326 -0
  276. package/src/services/pubsub.ts +1336 -0
  277. package/src/services/rabbitmq.ts +1402 -0
  278. package/src/services/registry.ts +494 -0
  279. package/src/services/resource_manager.ts +1155 -0
  280. package/src/services/run_command.ts +441 -0
  281. package/src/services/sca.ts +1222 -0
  282. package/src/services/scf.ts +1537 -0
  283. package/src/services/secrets_manager.ts +1399 -0
  284. package/src/services/server_backup.ts +1032 -0
  285. package/src/services/server_update.ts +767 -0
  286. package/src/services/service_account.ts +1208 -0
  287. package/src/services/service_enablement.ts +359 -0
  288. package/src/services/sfs.ts +1913 -0
  289. package/src/services/ske.ts +1408 -0
  290. package/src/services/sqlserverflex.ts +2543 -0
  291. package/src/services/stackit_marketplace.ts +853 -0
  292. package/src/services/telemetry_link.ts +1245 -0
  293. package/src/services/telemetry_router.ts +1205 -0
  294. package/src/services/ufw.ts +704 -0
  295. package/src/services/valkey.ts +1357 -0
  296. package/src/services/vpn.ts +2554 -0
  297. package/src/services/workflows.ts +1361 -0
  298. package/src/traits.ts +65 -0
@@ -0,0 +1,3407 @@
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
+ 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.js";
7
+ import { StackitProtocol, } from "../protocol.js";
8
+ import { UnknownStackitError } from "../errors.js";
9
+ import * as Retry from "../retry.js";
10
+ export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
11
+ /*@__PURE__*/ S.TaggedError()("BadRequest", {
12
+ code: S.Number,
13
+ message: S.String,
14
+ }).pipe(C.withBadRequestError), [{ status: 400 }]) {
15
+ }
16
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
17
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
18
+ code: S.Number,
19
+ message: S.String,
20
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
21
+ }
22
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
23
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
24
+ code: S.Number,
25
+ message: S.String,
26
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
27
+ }
28
+ export const CreateAlertConfigReceiverRequestEmailConfigsItem =
29
+ /*@__PURE__*/ S.suspend(() => S.Struct({
30
+ authIdentity: S.optional(S.String),
31
+ authPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
32
+ authUsername: S.optional(S.String),
33
+ from: S.optional(S.String),
34
+ sendResolved: S.optional(S.Boolean),
35
+ smarthost: S.optional(S.String),
36
+ to: S.optional(S.String),
37
+ })).annotate({
38
+ identifier: "CreateAlertConfigReceiverRequestEmailConfigsItem",
39
+ });
40
+ export const CreateAlertConfigReceiverRequestEmailConfigsList =
41
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
42
+ export const CreateAlertConfigReceiverRequestOpsgenieConfigsItem =
43
+ /*@__PURE__*/ S.suspend(() => S.Struct({
44
+ apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
45
+ apiUrl: S.optional(S.String),
46
+ priority: S.optional(S.String),
47
+ sendResolved: S.optional(S.Boolean),
48
+ tags: S.optional(S.String),
49
+ })).annotate({
50
+ identifier: "CreateAlertConfigReceiverRequestOpsgenieConfigsItem",
51
+ });
52
+ export const CreateAlertConfigReceiverRequestOpsgenieConfigsList =
53
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
54
+ export const CreateAlertConfigReceiverRequestWebHookConfigsItem =
55
+ /*@__PURE__*/ S.suspend(() => S.Struct({
56
+ googleChat: S.optional(S.Boolean),
57
+ msTeams: S.optional(S.Boolean),
58
+ sendResolved: S.optional(S.Boolean),
59
+ url: S.optional(S.String),
60
+ })).annotate({
61
+ identifier: "CreateAlertConfigReceiverRequestWebHookConfigsItem",
62
+ });
63
+ export const CreateAlertConfigReceiverRequestWebHookConfigsList =
64
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
65
+ export const CreateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
66
+ projectId: S.String.pipe(T.Label()),
67
+ instanceId: S.String.pipe(T.Label()),
68
+ emailConfigs: S.optional(CreateAlertConfigReceiverRequestEmailConfigsList),
69
+ name: S.String,
70
+ opsgenieConfigs: S.optional(CreateAlertConfigReceiverRequestOpsgenieConfigsList),
71
+ webHookConfigs: S.optional(CreateAlertConfigReceiverRequestWebHookConfigsList),
72
+ }).pipe(T.Http({
73
+ method: "POST",
74
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers",
75
+ code: 200,
76
+ baseUrl: "https://argus.api.{region}stackit.cloud",
77
+ }))).annotate({
78
+ identifier: "CreateAlertConfigReceiverRequest",
79
+ });
80
+ export const EmailConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
81
+ authIdentity: S.optional(S.String),
82
+ authPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
83
+ authUsername: S.optional(S.String),
84
+ from: S.optional(S.String),
85
+ sendResolved: S.optional(S.Boolean),
86
+ smarthost: S.optional(S.String),
87
+ to: S.String,
88
+ })).annotate({ identifier: "EmailConfig" });
89
+ export const ReceiversEmailConfigsList = /*@__PURE__*/ S.Array(EmailConfig);
90
+ export const OpsgenieConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
91
+ apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
92
+ apiUrl: S.optional(S.String),
93
+ priority: S.optional(S.String),
94
+ sendResolved: S.optional(S.Boolean),
95
+ tags: S.optional(S.String),
96
+ })).annotate({ identifier: "OpsgenieConfig" });
97
+ export const ReceiversOpsgenieConfigsList = /*@__PURE__*/ S.Array(OpsgenieConfig);
98
+ export const WebHook = /*@__PURE__*/ S.suspend(() => S.Struct({
99
+ googleChat: S.optional(S.Boolean),
100
+ msTeams: S.optional(S.Boolean),
101
+ sendResolved: S.optional(S.Boolean),
102
+ url: S.String,
103
+ })).annotate({ identifier: "WebHook" });
104
+ export const ReceiversWebHookConfigsList = /*@__PURE__*/ S.Array(WebHook);
105
+ export const Receivers = /*@__PURE__*/ S.suspend(() => S.Struct({
106
+ emailConfigs: S.optional(ReceiversEmailConfigsList),
107
+ name: S.String,
108
+ opsgenieConfigs: S.optional(ReceiversOpsgenieConfigsList),
109
+ webHookConfigs: S.optional(ReceiversWebHookConfigsList),
110
+ })).annotate({ identifier: "Receivers" });
111
+ export const AlertConfigReceiversResponseDataList = /*@__PURE__*/ S.Array(Receivers);
112
+ export const AlertConfigReceiversResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
113
+ data: AlertConfigReceiversResponseDataList,
114
+ message: S.String,
115
+ })).annotate({
116
+ identifier: "AlertConfigReceiversResponse",
117
+ });
118
+ export const CreateAlertConfigRouteRequestGroupByList = /*@__PURE__*/ S.Array(S.String);
119
+ export const CreateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(S.String);
120
+ export const CreateAlertConfigRouteRequestRoutesItemGroupByList =
121
+ /*@__PURE__*/ S.Array(S.String);
122
+ export const CreateAlertConfigRouteRequestRoutesItemMatchersList =
123
+ /*@__PURE__*/ S.Array(S.String);
124
+ export const CreateAlertConfigRouteRequestRoutesItemRoutesList =
125
+ /*@__PURE__*/ S.Array(S.Unknown);
126
+ export const CreateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
127
+ continue: S.optional(S.Boolean),
128
+ groupBy: S.optional(CreateAlertConfigRouteRequestRoutesItemGroupByList),
129
+ groupInterval: S.optional(S.String),
130
+ groupWait: S.optional(S.String),
131
+ match: S.optional(S.Unknown),
132
+ matchRe: S.optional(S.Unknown),
133
+ matchers: S.optional(CreateAlertConfigRouteRequestRoutesItemMatchersList),
134
+ receiver: S.optional(S.String),
135
+ repeatInterval: S.optional(S.String),
136
+ routes: S.optional(CreateAlertConfigRouteRequestRoutesItemRoutesList),
137
+ })).annotate({
138
+ identifier: "CreateAlertConfigRouteRequestRoutesItem",
139
+ });
140
+ export const CreateAlertConfigRouteRequestRoutesList = /*@__PURE__*/ S.Array(CreateAlertConfigRouteRequestRoutesItem);
141
+ export const CreateAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
142
+ projectId: S.String.pipe(T.Label()),
143
+ instanceId: S.String.pipe(T.Label()),
144
+ continue: S.optional(S.Boolean),
145
+ groupBy: S.optional(CreateAlertConfigRouteRequestGroupByList),
146
+ groupInterval: S.optional(S.String),
147
+ groupWait: S.optional(S.String),
148
+ match: S.optional(S.Unknown),
149
+ matchRe: S.optional(S.Unknown),
150
+ matchers: S.optional(CreateAlertConfigRouteRequestMatchersList),
151
+ receiver: S.String,
152
+ repeatInterval: S.optional(S.String),
153
+ routes: S.optional(CreateAlertConfigRouteRequestRoutesList),
154
+ }).pipe(T.Http({
155
+ method: "POST",
156
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes",
157
+ code: 200,
158
+ baseUrl: "https://argus.api.{region}stackit.cloud",
159
+ }))).annotate({
160
+ identifier: "CreateAlertConfigRouteRequest",
161
+ });
162
+ export const RouteGroupByList = /*@__PURE__*/ S.Array(S.String);
163
+ export const RouteMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
164
+ export const RouteMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
165
+ export const RouteMatchersList = /*@__PURE__*/ S.Array(S.String);
166
+ export const RouteSerializerGroupByList = /*@__PURE__*/ S.Array(S.String);
167
+ export const RouteSerializerMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
168
+ export const RouteSerializerMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
169
+ export const RouteSerializerMatchersList = /*@__PURE__*/ S.Array(S.String);
170
+ export const RouteSerializerRoutesItemMap = /*@__PURE__*/ S.Record(S.String, S.String);
171
+ export const RouteSerializerRoutesList = /*@__PURE__*/ S.Array(RouteSerializerRoutesItemMap);
172
+ export const RouteSerializer = /*@__PURE__*/ S.suspend(() => S.Struct({
173
+ continue: S.optional(S.Boolean),
174
+ groupBy: S.optional(RouteSerializerGroupByList),
175
+ groupInterval: S.optional(S.String),
176
+ groupWait: S.optional(S.String),
177
+ match: S.optional(RouteSerializerMatchMap),
178
+ matchRe: S.optional(RouteSerializerMatchReMap),
179
+ matchers: S.optional(RouteSerializerMatchersList),
180
+ receiver: S.String,
181
+ repeatInterval: S.optional(S.String),
182
+ routes: S.optional(RouteSerializerRoutesList),
183
+ })).annotate({
184
+ identifier: "RouteSerializer",
185
+ });
186
+ export const RouteRoutesList = /*@__PURE__*/ S.Array(RouteSerializer);
187
+ export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
188
+ continue: S.optional(S.Boolean),
189
+ groupBy: S.optional(RouteGroupByList),
190
+ groupInterval: S.optional(S.String),
191
+ groupWait: S.optional(S.String),
192
+ match: S.optional(RouteMatchMap),
193
+ matchRe: S.optional(RouteMatchReMap),
194
+ matchers: S.optional(RouteMatchersList),
195
+ receiver: S.String,
196
+ repeatInterval: S.optional(S.String),
197
+ routes: S.optional(RouteRoutesList),
198
+ })).annotate({ identifier: "Route" });
199
+ export const AlertConfigRouteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
200
+ data: Route,
201
+ message: S.String,
202
+ })).annotate({
203
+ identifier: "AlertConfigRouteResponse",
204
+ });
205
+ export const CreateAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
206
+ alert: S.optional(S.String),
207
+ annotations: S.optional(S.Unknown),
208
+ expr: S.String,
209
+ for: S.optional(S.String),
210
+ labels: S.optional(S.Unknown),
211
+ record: S.optional(S.String),
212
+ })).annotate({
213
+ identifier: "CreateAlertgroupsRequestRulesItem",
214
+ });
215
+ export const CreateAlertgroupsRequestRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
216
+ export const CreateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
217
+ projectId: S.String.pipe(T.Label()),
218
+ instanceId: S.String.pipe(T.Label()),
219
+ interval: S.optional(S.String),
220
+ name: S.String,
221
+ rules: CreateAlertgroupsRequestRulesList,
222
+ }).pipe(T.Http({
223
+ method: "POST",
224
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
225
+ code: 200,
226
+ baseUrl: "https://argus.api.{region}stackit.cloud",
227
+ }))).annotate({
228
+ identifier: "CreateAlertgroupsRequest",
229
+ });
230
+ export const AlertRuleRecordAnnotationsMap = /*@__PURE__*/ S.Record(S.String, S.String);
231
+ export const AlertRuleRecordLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
232
+ export const AlertRuleRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
233
+ alert: S.optional(S.String),
234
+ annotations: S.optional(AlertRuleRecordAnnotationsMap),
235
+ expr: S.String,
236
+ for: S.optional(S.String),
237
+ labels: S.optional(AlertRuleRecordLabelsMap),
238
+ record: S.optional(S.String),
239
+ })).annotate({
240
+ identifier: "AlertRuleRecord",
241
+ });
242
+ export const AlertGroupRulesList = /*@__PURE__*/ S.Array(AlertRuleRecord);
243
+ export const AlertGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
244
+ interval: S.optional(S.String),
245
+ name: S.String,
246
+ rules: AlertGroupRulesList,
247
+ })).annotate({ identifier: "AlertGroup" });
248
+ export const AlertGroupsResponseDataList = /*@__PURE__*/ S.Array(AlertGroup);
249
+ export const AlertGroupsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
250
+ data: AlertGroupsResponseDataList,
251
+ message: S.String,
252
+ })).annotate({
253
+ identifier: "AlertGroupsResponse",
254
+ });
255
+ export const CreateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
256
+ projectId: S.String.pipe(T.Label()),
257
+ instanceId: S.String.pipe(T.Label()),
258
+ groupName: S.String.pipe(T.Label()),
259
+ expr: S.String,
260
+ labels: S.optional(S.Unknown),
261
+ record: S.String,
262
+ }).pipe(T.Http({
263
+ method: "POST",
264
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
265
+ code: 200,
266
+ baseUrl: "https://argus.api.{region}stackit.cloud",
267
+ }))).annotate({
268
+ identifier: "CreateAlertRecordRequest",
269
+ });
270
+ export const AlertRecordLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
271
+ export const AlertRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
272
+ expr: S.String,
273
+ labels: S.optional(AlertRecordLabelsMap),
274
+ record: S.String,
275
+ })).annotate({ identifier: "AlertRecord" });
276
+ export const AlertRecordsResponseDataList = /*@__PURE__*/ S.Array(AlertRecord);
277
+ export const AlertRecordsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
278
+ data: AlertRecordsResponseDataList,
279
+ message: S.String,
280
+ })).annotate({
281
+ identifier: "AlertRecordsResponse",
282
+ });
283
+ export const CreateAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
284
+ projectId: S.String.pipe(T.Label()),
285
+ instanceId: S.String.pipe(T.Label()),
286
+ groupName: S.String.pipe(T.Label()),
287
+ alert: S.String,
288
+ annotations: S.optional(S.Unknown),
289
+ expr: S.String,
290
+ for: S.optional(S.String),
291
+ labels: S.optional(S.Unknown),
292
+ }).pipe(T.Http({
293
+ method: "POST",
294
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
295
+ code: 200,
296
+ baseUrl: "https://argus.api.{region}stackit.cloud",
297
+ }))).annotate({
298
+ identifier: "CreateAlertrulesRequest",
299
+ });
300
+ export const AlertRuleAnnotationsMap = /*@__PURE__*/ S.Record(S.String, S.String);
301
+ export const AlertRuleLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
302
+ export const AlertRule = /*@__PURE__*/ S.suspend(() => S.Struct({
303
+ alert: S.String,
304
+ annotations: S.optional(AlertRuleAnnotationsMap),
305
+ expr: S.String,
306
+ for: S.optional(S.String),
307
+ labels: S.optional(AlertRuleLabelsMap),
308
+ })).annotate({ identifier: "AlertRule" });
309
+ export const AlertRulesResponseDataList = /*@__PURE__*/ S.Array(AlertRule);
310
+ export const AlertRulesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
311
+ data: AlertRulesResponseDataList,
312
+ message: S.String,
313
+ })).annotate({
314
+ identifier: "AlertRulesResponse",
315
+ });
316
+ export const CreateBackupRequestBackupTargetItem = /*@__PURE__*/ S.String;
317
+ export const CreateBackupRequestBackupTargetList = /*@__PURE__*/ S.Array(CreateBackupRequestBackupTargetItem);
318
+ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
319
+ projectId: S.String.pipe(T.Label()),
320
+ instanceId: S.String.pipe(T.Label()),
321
+ backupTarget: S.optional(CreateBackupRequestBackupTargetList.pipe(T.Query())),
322
+ }).pipe(T.Http({
323
+ method: "POST",
324
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/backups",
325
+ code: 200,
326
+ baseUrl: "https://argus.api.{region}stackit.cloud",
327
+ }))).annotate({
328
+ identifier: "CreateBackupRequest",
329
+ });
330
+ export const Message = /*@__PURE__*/ S.suspend(() => S.Struct({
331
+ message: S.String,
332
+ })).annotate({ identifier: "Message" });
333
+ export const CreateBackupScheduleRequestBackupTargetItem =
334
+ /*@__PURE__*/ S.String;
335
+ export const CreateBackupScheduleRequestBackupTargetList =
336
+ /*@__PURE__*/ S.Array(CreateBackupScheduleRequestBackupTargetItem);
337
+ export const CreateBackupScheduleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
338
+ projectId: S.String.pipe(T.Label()),
339
+ instanceId: S.String.pipe(T.Label()),
340
+ backupTarget: S.optional(CreateBackupScheduleRequestBackupTargetList.pipe(T.Query())),
341
+ schedule: S.String,
342
+ }).pipe(T.Http({
343
+ method: "POST",
344
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-schedules",
345
+ code: 200,
346
+ baseUrl: "https://argus.api.{region}stackit.cloud",
347
+ }))).annotate({
348
+ identifier: "CreateBackupScheduleRequest",
349
+ });
350
+ export const BackupSchedulePostResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
351
+ message: S.String,
352
+ schedule: S.String,
353
+ })).annotate({
354
+ identifier: "BackupSchedulePostResponse",
355
+ });
356
+ export const CreateCertCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
357
+ projectId: S.String.pipe(T.Label()),
358
+ instanceId: S.String.pipe(T.Label()),
359
+ source: S.String,
360
+ }).pipe(T.Http({
361
+ method: "POST",
362
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks",
363
+ code: 200,
364
+ baseUrl: "https://argus.api.{region}stackit.cloud",
365
+ }))).annotate({
366
+ identifier: "CreateCertCheckRequest",
367
+ });
368
+ export const CertCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
369
+ id: S.String,
370
+ source: S.String,
371
+ })).annotate({
372
+ identifier: "CertCheckChildResponse",
373
+ });
374
+ export const CertCheckResponseCertChecksList = /*@__PURE__*/ S.Array(CertCheckChildResponse);
375
+ export const CertCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
376
+ certCheck: S.optional(CertCheckChildResponse),
377
+ certChecks: CertCheckResponseCertChecksList,
378
+ message: S.String,
379
+ })).annotate({
380
+ identifier: "CertCheckResponse",
381
+ });
382
+ export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
383
+ projectId: S.String.pipe(T.Label()),
384
+ instanceId: S.String.pipe(T.Label()),
385
+ description: S.optional(S.String),
386
+ }).pipe(T.Http({
387
+ method: "POST",
388
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials",
389
+ code: 200,
390
+ baseUrl: "https://argus.api.{region}stackit.cloud",
391
+ }))).annotate({
392
+ identifier: "CreateCredentialsRequest",
393
+ });
394
+ export const Credentials = /*@__PURE__*/ S.suspend(() => S.Struct({
395
+ description: S.optional(S.String),
396
+ password: S.String.pipe(T.SensitiveValue({})),
397
+ username: S.String,
398
+ })).annotate({ identifier: "Credentials" });
399
+ export const CreateCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
400
+ credentials: Credentials,
401
+ message: S.String,
402
+ })).annotate({
403
+ identifier: "CreateCredentialsResponse",
404
+ });
405
+ export const CreateElasticsearchCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
406
+ projectId: S.String.pipe(T.Label()),
407
+ instanceId: S.String.pipe(T.Label()),
408
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
409
+ server: S.String,
410
+ username: S.optional(S.String),
411
+ }).pipe(T.Http({
412
+ method: "POST",
413
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks",
414
+ code: 200,
415
+ baseUrl: "https://argus.api.{region}stackit.cloud",
416
+ }))).annotate({
417
+ identifier: "CreateElasticsearchCheckRequest",
418
+ });
419
+ export const ElasticsearchCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
420
+ id: S.String,
421
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
422
+ server: S.String,
423
+ username: S.optional(S.String),
424
+ })).annotate({
425
+ identifier: "ElasticsearchCheckChildResponse",
426
+ });
427
+ export const ElasticsearchCheckResponseElasticsearchChecksList =
428
+ /*@__PURE__*/ S.Array(ElasticsearchCheckChildResponse);
429
+ export const ElasticsearchCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
430
+ elasticsearchCheck: S.optional(ElasticsearchCheckChildResponse),
431
+ elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList,
432
+ message: S.String,
433
+ })).annotate({
434
+ identifier: "ElasticsearchCheckResponse",
435
+ });
436
+ export const CreateHttpCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
437
+ projectId: S.String.pipe(T.Label()),
438
+ instanceId: S.String.pipe(T.Label()),
439
+ url: S.String,
440
+ }).pipe(T.Http({
441
+ method: "POST",
442
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks",
443
+ code: 200,
444
+ baseUrl: "https://argus.api.{region}stackit.cloud",
445
+ }))).annotate({
446
+ identifier: "CreateHttpCheckRequest",
447
+ });
448
+ export const HttpCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
449
+ id: S.String,
450
+ url: S.String,
451
+ })).annotate({
452
+ identifier: "HttpCheckChildResponse",
453
+ });
454
+ export const HttpCheckResponseHttpChecksList = /*@__PURE__*/ S.Array(HttpCheckChildResponse);
455
+ export const HttpCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
456
+ httpCheck: S.optional(HttpCheckChildResponse),
457
+ httpChecks: HttpCheckResponseHttpChecksList,
458
+ message: S.String,
459
+ })).annotate({
460
+ identifier: "HttpCheckResponse",
461
+ });
462
+ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
463
+ projectId: S.String.pipe(T.Label()),
464
+ grafanaAdminEnabled: S.optional(S.Boolean),
465
+ name: S.optional(S.String),
466
+ parameter: S.optional(S.Unknown),
467
+ planId: S.String,
468
+ }).pipe(T.Http({
469
+ method: "POST",
470
+ uri: "/v1/projects/{projectId}/instances",
471
+ code: 200,
472
+ baseUrl: "https://argus.api.{region}stackit.cloud",
473
+ }))).annotate({
474
+ identifier: "CreateInstanceRequest",
475
+ });
476
+ export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
477
+ dashboardUrl: S.String,
478
+ instanceId: S.String,
479
+ message: S.String,
480
+ })).annotate({
481
+ identifier: "CreateInstanceResponse",
482
+ });
483
+ export const CreateLogsAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
484
+ alert: S.optional(S.String),
485
+ annotations: S.optional(S.Unknown),
486
+ expr: S.String,
487
+ for: S.optional(S.String),
488
+ labels: S.optional(S.Unknown),
489
+ record: S.optional(S.String),
490
+ })).annotate({
491
+ identifier: "CreateLogsAlertgroupsRequestRulesItem",
492
+ });
493
+ export const CreateLogsAlertgroupsRequestRulesList = /*@__PURE__*/ S.Array(CreateLogsAlertgroupsRequestRulesItem);
494
+ export const CreateLogsAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
495
+ projectId: S.String.pipe(T.Label()),
496
+ instanceId: S.String.pipe(T.Label()),
497
+ interval: S.optional(S.String),
498
+ name: S.String,
499
+ rules: CreateLogsAlertgroupsRequestRulesList,
500
+ }).pipe(T.Http({
501
+ method: "POST",
502
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups",
503
+ code: 200,
504
+ baseUrl: "https://argus.api.{region}stackit.cloud",
505
+ }))).annotate({
506
+ identifier: "CreateLogsAlertgroupsRequest",
507
+ });
508
+ export const CreateMongodbCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
509
+ projectId: S.String.pipe(T.Label()),
510
+ instanceId: S.String.pipe(T.Label()),
511
+ server: S.String,
512
+ }).pipe(T.Http({
513
+ method: "POST",
514
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks",
515
+ code: 200,
516
+ baseUrl: "https://argus.api.{region}stackit.cloud",
517
+ }))).annotate({
518
+ identifier: "CreateMongodbCheckRequest",
519
+ });
520
+ export const MongodbCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
521
+ id: S.String,
522
+ server: S.String,
523
+ })).annotate({
524
+ identifier: "MongodbCheckChildResponse",
525
+ });
526
+ export const MongodbCheckResponseMongodbChecksList = /*@__PURE__*/ S.Array(MongodbCheckChildResponse);
527
+ export const MongodbCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
528
+ message: S.String,
529
+ mongodbCheck: S.optional(MongodbCheckChildResponse),
530
+ mongodbChecks: MongodbCheckResponseMongodbChecksList,
531
+ })).annotate({
532
+ identifier: "MongodbCheckResponse",
533
+ });
534
+ export const CreateMysqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
535
+ projectId: S.String.pipe(T.Label()),
536
+ instanceId: S.String.pipe(T.Label()),
537
+ server: S.String,
538
+ }).pipe(T.Http({
539
+ method: "POST",
540
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",
541
+ code: 200,
542
+ baseUrl: "https://argus.api.{region}stackit.cloud",
543
+ }))).annotate({
544
+ identifier: "CreateMysqlCheckRequest",
545
+ });
546
+ export const MysqlCheckChildResponse = MongodbCheckChildResponse;
547
+ export const MysqlCheckResponseMysqlChecksList = /*@__PURE__*/ S.Array(MongodbCheckChildResponse);
548
+ export const MysqlCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
549
+ message: S.String,
550
+ mysqlCheck: S.optional(MongodbCheckChildResponse),
551
+ mysqlChecks: MysqlCheckResponseMysqlChecksList,
552
+ })).annotate({
553
+ identifier: "MysqlCheckResponse",
554
+ });
555
+ export const CreateNetworkCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
556
+ projectId: S.String.pipe(T.Label()),
557
+ instanceId: S.String.pipe(T.Label()),
558
+ address: S.String,
559
+ }).pipe(T.Http({
560
+ method: "POST",
561
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/network-checks",
562
+ code: 200,
563
+ baseUrl: "https://argus.api.{region}stackit.cloud",
564
+ }))).annotate({
565
+ identifier: "CreateNetworkCheckRequest",
566
+ });
567
+ export const NetworkCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
568
+ address: S.String,
569
+ id: S.String,
570
+ })).annotate({
571
+ identifier: "NetworkCheckChildResponse",
572
+ });
573
+ export const NetworkCheckResponseNetworkChecksList = /*@__PURE__*/ S.Array(NetworkCheckChildResponse);
574
+ export const NetworkCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
575
+ message: S.String,
576
+ networkCheck: S.optional(NetworkCheckChildResponse),
577
+ networkChecks: NetworkCheckResponseNetworkChecksList,
578
+ })).annotate({
579
+ identifier: "NetworkCheckResponse",
580
+ });
581
+ export const CreatePingCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
582
+ projectId: S.String.pipe(T.Label()),
583
+ instanceId: S.String.pipe(T.Label()),
584
+ url: S.String,
585
+ }).pipe(T.Http({
586
+ method: "POST",
587
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks",
588
+ code: 200,
589
+ baseUrl: "https://argus.api.{region}stackit.cloud",
590
+ }))).annotate({
591
+ identifier: "CreatePingCheckRequest",
592
+ });
593
+ export const PingCheckChildResponse = HttpCheckChildResponse;
594
+ export const PingCheckResponsePingChecksList = /*@__PURE__*/ S.Array(HttpCheckChildResponse);
595
+ export const PingCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
596
+ message: S.String,
597
+ pingCheck: S.optional(HttpCheckChildResponse),
598
+ pingChecks: PingCheckResponsePingChecksList,
599
+ })).annotate({
600
+ identifier: "PingCheckResponse",
601
+ });
602
+ export const CreatePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
603
+ projectId: S.String.pipe(T.Label()),
604
+ instanceId: S.String.pipe(T.Label()),
605
+ address: S.String,
606
+ }).pipe(T.Http({
607
+ method: "POST",
608
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks",
609
+ code: 200,
610
+ baseUrl: "https://argus.api.{region}stackit.cloud",
611
+ }))).annotate({
612
+ identifier: "CreatePostgresqlCheckRequest",
613
+ });
614
+ export const PostgresqlCheckChildResponse = NetworkCheckChildResponse;
615
+ export const PostgresqlCheckResponsePostgresqlChecksList =
616
+ /*@__PURE__*/ S.Array(NetworkCheckChildResponse);
617
+ export const PostgresqlCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
618
+ message: S.String,
619
+ postgresqlCheck: S.optional(NetworkCheckChildResponse),
620
+ postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList,
621
+ })).annotate({
622
+ identifier: "PostgresqlCheckResponse",
623
+ });
624
+ export const CreateRabbitmqCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
625
+ projectId: S.String.pipe(T.Label()),
626
+ instanceId: S.String.pipe(T.Label()),
627
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
628
+ url: S.String,
629
+ username: S.optional(S.String),
630
+ }).pipe(T.Http({
631
+ method: "POST",
632
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks",
633
+ code: 200,
634
+ baseUrl: "https://argus.api.{region}stackit.cloud",
635
+ }))).annotate({
636
+ identifier: "CreateRabbitmqCheckRequest",
637
+ });
638
+ export const RabbitMQCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
639
+ id: S.String,
640
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
641
+ url: S.String,
642
+ username: S.optional(S.String),
643
+ })).annotate({
644
+ identifier: "RabbitMQCheckChildResponse",
645
+ });
646
+ export const RabbitmqCheckResponseRabbitmqChecksList = /*@__PURE__*/ S.Array(RabbitMQCheckChildResponse);
647
+ export const RabbitmqCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
648
+ message: S.String,
649
+ rabbitmqCheck: S.optional(RabbitMQCheckChildResponse),
650
+ rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList,
651
+ })).annotate({
652
+ identifier: "RabbitmqCheckResponse",
653
+ });
654
+ export const CreateRedisCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
655
+ projectId: S.String.pipe(T.Label()),
656
+ instanceId: S.String.pipe(T.Label()),
657
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
658
+ server: S.String,
659
+ username: S.optional(S.String),
660
+ }).pipe(T.Http({
661
+ method: "POST",
662
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks",
663
+ code: 200,
664
+ baseUrl: "https://argus.api.{region}stackit.cloud",
665
+ }))).annotate({
666
+ identifier: "CreateRedisCheckRequest",
667
+ });
668
+ export const RedisCheckChildResponse = ElasticsearchCheckChildResponse;
669
+ export const RedisCheckResponseRedisChecksList = /*@__PURE__*/ S.Array(ElasticsearchCheckChildResponse);
670
+ export const RedisCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
671
+ message: S.String,
672
+ redisCheck: S.optional(ElasticsearchCheckChildResponse),
673
+ redisChecks: RedisCheckResponseRedisChecksList,
674
+ })).annotate({
675
+ identifier: "RedisCheckResponse",
676
+ });
677
+ export const CreateScrapeConfigRequestBasicAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
678
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
679
+ username: S.optional(S.String),
680
+ })).annotate({
681
+ identifier: "CreateScrapeConfigRequestBasicAuth",
682
+ });
683
+ export const CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
684
+ export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList =
685
+ /*@__PURE__*/ S.Array(S.String);
686
+ export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig =
687
+ /*@__PURE__*/ S.suspend(() => S.Struct({
688
+ insecureSkipVerify: S.optional(S.Boolean),
689
+ })).annotate({
690
+ identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig",
691
+ });
692
+ export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2 =
693
+ /*@__PURE__*/ S.suspend(() => S.Struct({
694
+ clientId: S.String,
695
+ clientSecret: S.String.pipe(T.SensitiveValue({})),
696
+ scopes: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList),
697
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
698
+ tokenUrl: S.String,
699
+ })).annotate({
700
+ identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2",
701
+ });
702
+ export const CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
703
+ export const CreateScrapeConfigRequestHttpSdConfigsItem =
704
+ /*@__PURE__*/ S.suspend(() => S.Struct({
705
+ basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
706
+ oauth2: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2),
707
+ refreshInterval: S.optional(S.String),
708
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
709
+ url: S.String,
710
+ })).annotate({
711
+ identifier: "CreateScrapeConfigRequestHttpSdConfigsItem",
712
+ });
713
+ export const CreateScrapeConfigRequestHttpSdConfigsList = /*@__PURE__*/ S.Array(CreateScrapeConfigRequestHttpSdConfigsItem);
714
+ export const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction =
715
+ /*@__PURE__*/ S.String;
716
+ export const CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
717
+ /*@__PURE__*/ S.Array(S.String);
718
+ export const CreateScrapeConfigRequestMetricsRelabelConfigsItem =
719
+ /*@__PURE__*/ S.suspend(() => S.Struct({
720
+ action: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsItemAction),
721
+ modulus: S.optional(S.Number),
722
+ regex: S.optional(S.String),
723
+ replacement: S.optional(S.String),
724
+ separator: S.optional(S.String),
725
+ sourceLabels: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList),
726
+ targetLabel: S.optional(S.String),
727
+ })).annotate({
728
+ identifier: "CreateScrapeConfigRequestMetricsRelabelConfigsItem",
729
+ });
730
+ export const CreateScrapeConfigRequestMetricsRelabelConfigsList =
731
+ /*@__PURE__*/ S.Array(CreateScrapeConfigRequestMetricsRelabelConfigsItem);
732
+ export const CreateScrapeConfigRequestOauth2ScopesList = /*@__PURE__*/ S.Array(S.String);
733
+ export const CreateScrapeConfigRequestOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
734
+ export const CreateScrapeConfigRequestOauth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
735
+ clientId: S.String,
736
+ clientSecret: S.String.pipe(T.SensitiveValue({})),
737
+ scopes: S.optional(CreateScrapeConfigRequestOauth2ScopesList),
738
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
739
+ tokenUrl: S.String,
740
+ })).annotate({
741
+ identifier: "CreateScrapeConfigRequestOauth2",
742
+ });
743
+ export const CreateScrapeConfigRequestScheme = /*@__PURE__*/ S.String;
744
+ export const CreateScrapeConfigRequestStaticConfigsItemTargetsList =
745
+ /*@__PURE__*/ S.Array(S.String);
746
+ export const CreateScrapeConfigRequestStaticConfigsItem =
747
+ /*@__PURE__*/ S.suspend(() => S.Struct({
748
+ labels: S.optional(S.Unknown),
749
+ targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList,
750
+ })).annotate({
751
+ identifier: "CreateScrapeConfigRequestStaticConfigsItem",
752
+ });
753
+ export const CreateScrapeConfigRequestStaticConfigsList = /*@__PURE__*/ S.Array(CreateScrapeConfigRequestStaticConfigsItem);
754
+ export const CreateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
755
+ export const CreateScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
756
+ projectId: S.String.pipe(T.Label()),
757
+ instanceId: S.String.pipe(T.Label()),
758
+ basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
759
+ bearerToken: S.optional(S.String),
760
+ honorLabels: S.optional(S.Boolean),
761
+ honorTimeStamps: S.optional(S.Boolean),
762
+ httpSdConfigs: S.optional(CreateScrapeConfigRequestHttpSdConfigsList),
763
+ jobName: S.String,
764
+ metricsPath: S.optional(S.String),
765
+ metricsRelabelConfigs: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsList),
766
+ oauth2: S.optional(CreateScrapeConfigRequestOauth2),
767
+ params: S.optional(S.Unknown),
768
+ sampleLimit: S.optional(S.Number),
769
+ scheme: CreateScrapeConfigRequestScheme,
770
+ scrapeInterval: S.String,
771
+ scrapeTimeout: S.String,
772
+ staticConfigs: CreateScrapeConfigRequestStaticConfigsList,
773
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
774
+ }).pipe(T.Http({
775
+ method: "POST",
776
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
777
+ code: 200,
778
+ baseUrl: "https://argus.api.{region}stackit.cloud",
779
+ }))).annotate({
780
+ identifier: "CreateScrapeConfigRequest",
781
+ });
782
+ export const BasicAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
783
+ password: S.String.pipe(T.SensitiveValue({})),
784
+ username: S.String,
785
+ })).annotate({ identifier: "BasicAuth" });
786
+ export const OAuth2ScopesList = /*@__PURE__*/ S.Array(S.String);
787
+ export const TLSConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
788
+ insecureSkipVerify: S.optional(S.Boolean),
789
+ })).annotate({ identifier: "TLSConfig" });
790
+ export const OAuth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
791
+ clientId: S.String,
792
+ clientSecret: S.String.pipe(T.SensitiveValue({})),
793
+ scopes: S.optional(OAuth2ScopesList),
794
+ tlsConfig: S.optional(TLSConfig),
795
+ tokenUrl: S.String,
796
+ })).annotate({ identifier: "OAuth2" });
797
+ export const HTTPServiceSD = /*@__PURE__*/ S.suspend(() => S.Struct({
798
+ basicAuth: S.optional(BasicAuth),
799
+ oauth2: S.optional(OAuth2),
800
+ refreshInterval: S.optional(S.String),
801
+ tlsConfig: S.optional(TLSConfig),
802
+ url: S.String,
803
+ })).annotate({ identifier: "HTTPServiceSD" });
804
+ export const JobHttpSdConfigsList = /*@__PURE__*/ S.Array(HTTPServiceSD);
805
+ export const MetricsRelabelConfigAction = /*@__PURE__*/ S.String;
806
+ export const MetricsRelabelConfigSourceLabelsList = /*@__PURE__*/ S.Array(S.String);
807
+ export const MetricsRelabelConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
808
+ action: S.optional(MetricsRelabelConfigAction),
809
+ modulus: S.optional(S.Number),
810
+ regex: S.optional(S.String),
811
+ replacement: S.optional(S.String),
812
+ separator: S.optional(S.String),
813
+ sourceLabels: MetricsRelabelConfigSourceLabelsList,
814
+ targetLabel: S.optional(S.String),
815
+ })).annotate({
816
+ identifier: "MetricsRelabelConfig",
817
+ });
818
+ export const JobMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(MetricsRelabelConfig);
819
+ export const JobParamsValueList = /*@__PURE__*/ S.Array(S.String);
820
+ export const JobParamsMap = /*@__PURE__*/ S.Record(S.String, JobParamsValueList);
821
+ export const JobScheme = /*@__PURE__*/ S.String;
822
+ export const StaticConfigsLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
823
+ export const StaticConfigsTargetsList = /*@__PURE__*/ S.Array(S.String);
824
+ export const StaticConfigs = /*@__PURE__*/ S.suspend(() => S.Struct({
825
+ labels: S.optional(StaticConfigsLabelsMap),
826
+ targets: StaticConfigsTargetsList,
827
+ })).annotate({ identifier: "StaticConfigs" });
828
+ export const JobStaticConfigsList = /*@__PURE__*/ S.Array(StaticConfigs);
829
+ export const Job = /*@__PURE__*/ S.suspend(() => S.Struct({
830
+ basicAuth: S.optional(BasicAuth),
831
+ bearerToken: S.optional(S.String),
832
+ honorLabels: S.optional(S.Boolean),
833
+ honorTimeStamps: S.optional(S.Boolean),
834
+ httpSdConfigs: S.optional(JobHttpSdConfigsList),
835
+ jobName: S.String,
836
+ metricsPath: S.optional(S.String),
837
+ metricsRelabelConfigs: S.optional(JobMetricsRelabelConfigsList),
838
+ oauth2: S.optional(OAuth2),
839
+ params: S.optional(JobParamsMap),
840
+ sampleLimit: S.optional(S.Number),
841
+ scheme: S.optional(JobScheme),
842
+ scrapeInterval: S.String,
843
+ scrapeTimeout: S.String,
844
+ staticConfigs: JobStaticConfigsList,
845
+ tlsConfig: S.optional(TLSConfig),
846
+ })).annotate({ identifier: "Job" });
847
+ export const ScrapeConfigsResponseDataList = /*@__PURE__*/ S.Array(Job);
848
+ export const ScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
849
+ data: ScrapeConfigsResponseDataList,
850
+ message: S.String,
851
+ })).annotate({
852
+ identifier: "ScrapeConfigsResponse",
853
+ });
854
+ export const DeleteAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
855
+ projectId: S.String.pipe(T.Label()),
856
+ instanceId: S.String.pipe(T.Label()),
857
+ receiver: S.String.pipe(T.Label()),
858
+ }).pipe(T.Http({
859
+ method: "DELETE",
860
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",
861
+ code: 200,
862
+ baseUrl: "https://argus.api.{region}stackit.cloud",
863
+ }))).annotate({
864
+ identifier: "DeleteAlertConfigReceiverRequest",
865
+ });
866
+ export const DeleteAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
867
+ projectId: S.String.pipe(T.Label()),
868
+ instanceId: S.String.pipe(T.Label()),
869
+ receiver: S.String.pipe(T.Label()),
870
+ }).pipe(T.Http({
871
+ method: "DELETE",
872
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",
873
+ code: 200,
874
+ baseUrl: "https://argus.api.{region}stackit.cloud",
875
+ }))).annotate({
876
+ identifier: "DeleteAlertConfigRouteRequest",
877
+ });
878
+ export const DeleteAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
879
+ projectId: S.String.pipe(T.Label()),
880
+ instanceId: S.String.pipe(T.Label()),
881
+ groupName: S.String.pipe(T.Label()),
882
+ }).pipe(T.Http({
883
+ method: "DELETE",
884
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
885
+ code: 200,
886
+ baseUrl: "https://argus.api.{region}stackit.cloud",
887
+ }))).annotate({
888
+ identifier: "DeleteAlertgroupRequest",
889
+ });
890
+ export const DeleteAlertgroupsRequestGroupNameList = /*@__PURE__*/ S.Array(S.String);
891
+ export const DeleteAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
892
+ projectId: S.String.pipe(T.Label()),
893
+ instanceId: S.String.pipe(T.Label()),
894
+ groupName: DeleteAlertgroupsRequestGroupNameList.pipe(T.Query()),
895
+ }).pipe(T.Http({
896
+ method: "DELETE",
897
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
898
+ code: 200,
899
+ baseUrl: "https://argus.api.{region}stackit.cloud",
900
+ }))).annotate({
901
+ identifier: "DeleteAlertgroupsRequest",
902
+ });
903
+ export const DeleteAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
904
+ projectId: S.String.pipe(T.Label()),
905
+ instanceId: S.String.pipe(T.Label()),
906
+ groupName: S.String.pipe(T.Label()),
907
+ alertRecord: S.String.pipe(T.Label()),
908
+ }).pipe(T.Http({
909
+ method: "DELETE",
910
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
911
+ code: 200,
912
+ baseUrl: "https://argus.api.{region}stackit.cloud",
913
+ }))).annotate({
914
+ identifier: "DeleteAlertRecordRequest",
915
+ });
916
+ export const DeleteAlertRecordsRequestAlertRecordList = /*@__PURE__*/ S.Array(S.String);
917
+ export const DeleteAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
918
+ projectId: S.String.pipe(T.Label()),
919
+ instanceId: S.String.pipe(T.Label()),
920
+ groupName: S.String.pipe(T.Label()),
921
+ alertRecord: DeleteAlertRecordsRequestAlertRecordList.pipe(T.Query()),
922
+ }).pipe(T.Http({
923
+ method: "DELETE",
924
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
925
+ code: 200,
926
+ baseUrl: "https://argus.api.{region}stackit.cloud",
927
+ }))).annotate({
928
+ identifier: "DeleteAlertRecordsRequest",
929
+ });
930
+ export const DeleteAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
931
+ projectId: S.String.pipe(T.Label()),
932
+ instanceId: S.String.pipe(T.Label()),
933
+ groupName: S.String.pipe(T.Label()),
934
+ alertName: S.String.pipe(T.Label()),
935
+ }).pipe(T.Http({
936
+ method: "DELETE",
937
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
938
+ code: 200,
939
+ baseUrl: "https://argus.api.{region}stackit.cloud",
940
+ }))).annotate({
941
+ identifier: "DeleteAlertruleRequest",
942
+ });
943
+ export const DeleteAlertrulesRequestAlertNameList = /*@__PURE__*/ S.Array(S.String);
944
+ export const DeleteAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
945
+ projectId: S.String.pipe(T.Label()),
946
+ instanceId: S.String.pipe(T.Label()),
947
+ groupName: S.String.pipe(T.Label()),
948
+ alertName: DeleteAlertrulesRequestAlertNameList.pipe(T.Query()),
949
+ }).pipe(T.Http({
950
+ method: "DELETE",
951
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
952
+ code: 200,
953
+ baseUrl: "https://argus.api.{region}stackit.cloud",
954
+ }))).annotate({
955
+ identifier: "DeleteAlertrulesRequest",
956
+ });
957
+ export const DeleteCertCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
958
+ projectId: S.String.pipe(T.Label()),
959
+ instanceId: S.String.pipe(T.Label()),
960
+ id: S.String.pipe(T.Label()),
961
+ }).pipe(T.Http({
962
+ method: "DELETE",
963
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks/{id}",
964
+ code: 200,
965
+ baseUrl: "https://argus.api.{region}stackit.cloud",
966
+ }))).annotate({
967
+ identifier: "DeleteCertCheckRequest",
968
+ });
969
+ export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
970
+ projectId: S.String.pipe(T.Label()),
971
+ instanceId: S.String.pipe(T.Label()),
972
+ username: S.String.pipe(T.Label()),
973
+ }).pipe(T.Http({
974
+ method: "DELETE",
975
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",
976
+ code: 200,
977
+ baseUrl: "https://argus.api.{region}stackit.cloud",
978
+ }))).annotate({
979
+ identifier: "DeleteCredentialsRequest",
980
+ });
981
+ export const DeleteCredentialsRemoteWriteConfigRequest =
982
+ /*@__PURE__*/ S.suspend(() => S.Struct({
983
+ projectId: S.String.pipe(T.Label()),
984
+ instanceId: S.String.pipe(T.Label()),
985
+ username: S.String.pipe(T.Label()),
986
+ }).pipe(T.Http({
987
+ method: "DELETE",
988
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
989
+ code: 200,
990
+ baseUrl: "https://argus.api.{region}stackit.cloud",
991
+ }))).annotate({
992
+ identifier: "DeleteCredentialsRemoteWriteConfigRequest",
993
+ });
994
+ export const CredentialsRemoteWriteDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
995
+ maxLimit: S.Number,
996
+ message: S.String,
997
+ })).annotate({
998
+ identifier: "CredentialsRemoteWriteDeleteResponse",
999
+ });
1000
+ export const DeleteElasticsearchCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1001
+ projectId: S.String.pipe(T.Label()),
1002
+ instanceId: S.String.pipe(T.Label()),
1003
+ id: S.String.pipe(T.Label()),
1004
+ }).pipe(T.Http({
1005
+ method: "DELETE",
1006
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks/{id}",
1007
+ code: 200,
1008
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1009
+ }))).annotate({
1010
+ identifier: "DeleteElasticsearchCheckRequest",
1011
+ });
1012
+ export const DeleteHttpCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1013
+ projectId: S.String.pipe(T.Label()),
1014
+ instanceId: S.String.pipe(T.Label()),
1015
+ id: S.String.pipe(T.Label()),
1016
+ }).pipe(T.Http({
1017
+ method: "DELETE",
1018
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks/{id}",
1019
+ code: 200,
1020
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1021
+ }))).annotate({
1022
+ identifier: "DeleteHttpCheckRequest",
1023
+ });
1024
+ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1025
+ projectId: S.String.pipe(T.Label()),
1026
+ instanceId: S.String.pipe(T.Label()),
1027
+ }).pipe(T.Http({
1028
+ method: "DELETE",
1029
+ uri: "/v1/projects/{projectId}/instances/{instanceId}",
1030
+ code: 200,
1031
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1032
+ }))).annotate({
1033
+ identifier: "DeleteInstanceRequest",
1034
+ });
1035
+ export const InstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1036
+ message: S.String,
1037
+ })).annotate({
1038
+ identifier: "InstanceResponse",
1039
+ });
1040
+ export const DeleteLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1041
+ projectId: S.String.pipe(T.Label()),
1042
+ instanceId: S.String.pipe(T.Label()),
1043
+ groupName: S.String.pipe(T.Label()),
1044
+ }).pipe(T.Http({
1045
+ method: "DELETE",
1046
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",
1047
+ code: 200,
1048
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1049
+ }))).annotate({
1050
+ identifier: "DeleteLogsAlertgroupRequest",
1051
+ });
1052
+ export const DeleteMongodbCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1053
+ projectId: S.String.pipe(T.Label()),
1054
+ instanceId: S.String.pipe(T.Label()),
1055
+ id: S.String.pipe(T.Label()),
1056
+ }).pipe(T.Http({
1057
+ method: "DELETE",
1058
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks/{id}",
1059
+ code: 200,
1060
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1061
+ }))).annotate({
1062
+ identifier: "DeleteMongodbCheckRequest",
1063
+ });
1064
+ export const DeleteMysqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1065
+ projectId: S.String.pipe(T.Label()),
1066
+ instanceId: S.String.pipe(T.Label()),
1067
+ id: S.String.pipe(T.Label()),
1068
+ }).pipe(T.Http({
1069
+ method: "DELETE",
1070
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks/{id}",
1071
+ code: 200,
1072
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1073
+ }))).annotate({
1074
+ identifier: "DeleteMysqlCheckRequest",
1075
+ });
1076
+ export const DeleteNetworkCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1077
+ projectId: S.String.pipe(T.Label()),
1078
+ instanceId: S.String.pipe(T.Label()),
1079
+ id: S.String.pipe(T.Label()),
1080
+ }).pipe(T.Http({
1081
+ method: "DELETE",
1082
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/network-checks/{id}",
1083
+ code: 200,
1084
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1085
+ }))).annotate({
1086
+ identifier: "DeleteNetworkCheckRequest",
1087
+ });
1088
+ export const DeletePingCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1089
+ projectId: S.String.pipe(T.Label()),
1090
+ instanceId: S.String.pipe(T.Label()),
1091
+ id: S.String.pipe(T.Label()),
1092
+ }).pipe(T.Http({
1093
+ method: "DELETE",
1094
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks/{id}",
1095
+ code: 200,
1096
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1097
+ }))).annotate({
1098
+ identifier: "DeletePingCheckRequest",
1099
+ });
1100
+ export const DeletePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1101
+ projectId: S.String.pipe(T.Label()),
1102
+ instanceId: S.String.pipe(T.Label()),
1103
+ id: S.String.pipe(T.Label()),
1104
+ }).pipe(T.Http({
1105
+ method: "DELETE",
1106
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks/{id}",
1107
+ code: 200,
1108
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1109
+ }))).annotate({
1110
+ identifier: "DeletePostgresqlCheckRequest",
1111
+ });
1112
+ export const DeleteRabbitmqCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1113
+ projectId: S.String.pipe(T.Label()),
1114
+ instanceId: S.String.pipe(T.Label()),
1115
+ id: S.String.pipe(T.Label()),
1116
+ }).pipe(T.Http({
1117
+ method: "DELETE",
1118
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks/{id}",
1119
+ code: 200,
1120
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1121
+ }))).annotate({
1122
+ identifier: "DeleteRabbitmqCheckRequest",
1123
+ });
1124
+ export const DeleteRedisCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1125
+ projectId: S.String.pipe(T.Label()),
1126
+ instanceId: S.String.pipe(T.Label()),
1127
+ id: S.String.pipe(T.Label()),
1128
+ }).pipe(T.Http({
1129
+ method: "DELETE",
1130
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks/{id}",
1131
+ code: 200,
1132
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1133
+ }))).annotate({
1134
+ identifier: "DeleteRedisCheckRequest",
1135
+ });
1136
+ export const DeleteScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1137
+ projectId: S.String.pipe(T.Label()),
1138
+ instanceId: S.String.pipe(T.Label()),
1139
+ jobName: S.String.pipe(T.Label()),
1140
+ }).pipe(T.Http({
1141
+ method: "DELETE",
1142
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",
1143
+ code: 200,
1144
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1145
+ }))).annotate({
1146
+ identifier: "DeleteScrapeConfigRequest",
1147
+ });
1148
+ export const DeleteScrapeConfigResponseDataList = /*@__PURE__*/ S.Array(Job);
1149
+ export const DeleteScrapeConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1150
+ data: DeleteScrapeConfigResponseDataList,
1151
+ message: S.String,
1152
+ })).annotate({
1153
+ identifier: "DeleteScrapeConfigResponse",
1154
+ });
1155
+ export const DeleteScrapeConfigsRequestJobNameList = /*@__PURE__*/ S.Array(S.String);
1156
+ export const DeleteScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1157
+ projectId: S.String.pipe(T.Label()),
1158
+ instanceId: S.String.pipe(T.Label()),
1159
+ jobName: DeleteScrapeConfigsRequestJobNameList.pipe(T.Query()),
1160
+ }).pipe(T.Http({
1161
+ method: "DELETE",
1162
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
1163
+ code: 200,
1164
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1165
+ }))).annotate({
1166
+ identifier: "DeleteScrapeConfigsRequest",
1167
+ });
1168
+ export const GetAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1169
+ projectId: S.String.pipe(T.Label()),
1170
+ instanceId: S.String.pipe(T.Label()),
1171
+ receiver: S.String.pipe(T.Label()),
1172
+ }).pipe(T.Http({
1173
+ method: "GET",
1174
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",
1175
+ code: 200,
1176
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1177
+ }))).annotate({
1178
+ identifier: "GetAlertConfigReceiverRequest",
1179
+ });
1180
+ export const Receiver = /*@__PURE__*/ S.suspend(() => S.Struct({
1181
+ data: Receivers,
1182
+ message: S.String,
1183
+ })).annotate({ identifier: "Receiver" });
1184
+ export const GetAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1185
+ projectId: S.String.pipe(T.Label()),
1186
+ instanceId: S.String.pipe(T.Label()),
1187
+ receiver: S.String.pipe(T.Label()),
1188
+ }).pipe(T.Http({
1189
+ method: "GET",
1190
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",
1191
+ code: 200,
1192
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1193
+ }))).annotate({
1194
+ identifier: "GetAlertConfigRouteRequest",
1195
+ });
1196
+ export const GetAlertConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1197
+ projectId: S.String.pipe(T.Label()),
1198
+ instanceId: S.String.pipe(T.Label()),
1199
+ }).pipe(T.Http({
1200
+ method: "GET",
1201
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs",
1202
+ code: 200,
1203
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1204
+ }))).annotate({
1205
+ identifier: "GetAlertConfigsRequest",
1206
+ });
1207
+ export const Global = /*@__PURE__*/ S.suspend(() => S.Struct({
1208
+ opsgenieApiKey: S.optional(S.String),
1209
+ opsgenieApiUrl: S.optional(S.String),
1210
+ resolveTimeout: S.optional(S.String),
1211
+ smtpAuthIdentity: S.optional(S.String),
1212
+ smtpAuthPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
1213
+ smtpAuthUsername: S.optional(S.String),
1214
+ smtpFrom: S.optional(S.String),
1215
+ smtpSmarthost: S.optional(S.String),
1216
+ })).annotate({ identifier: "Global" });
1217
+ export const InhibitRulesEqualList = /*@__PURE__*/ S.Array(S.String);
1218
+ export const InhibitRulesSourceMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
1219
+ export const InhibitRulesSourceMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
1220
+ export const InhibitRulesSourceMatchersList = /*@__PURE__*/ S.Array(S.String);
1221
+ export const InhibitRulesTargetMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
1222
+ export const InhibitRulesTargetMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
1223
+ export const InhibitRulesTargetMatchersList = /*@__PURE__*/ S.Array(S.String);
1224
+ export const InhibitRules = /*@__PURE__*/ S.suspend(() => S.Struct({
1225
+ equal: S.optional(InhibitRulesEqualList),
1226
+ sourceMatch: S.optional(InhibitRulesSourceMatchMap),
1227
+ sourceMatchRe: S.optional(InhibitRulesSourceMatchReMap),
1228
+ sourceMatchers: S.optional(InhibitRulesSourceMatchersList),
1229
+ targetMatch: S.optional(InhibitRulesTargetMatchMap),
1230
+ targetMatchRe: S.optional(InhibitRulesTargetMatchReMap),
1231
+ targetMatchers: S.optional(InhibitRulesTargetMatchersList),
1232
+ })).annotate({ identifier: "InhibitRules" });
1233
+ export const AlertInhibitRulesList = /*@__PURE__*/ S.Array(InhibitRules);
1234
+ export const AlertReceiversList = /*@__PURE__*/ S.Array(Receivers);
1235
+ export const Alert = /*@__PURE__*/ S.suspend(() => S.Struct({
1236
+ global: S.optional(Global),
1237
+ inhibitRules: S.optional(AlertInhibitRulesList),
1238
+ receivers: AlertReceiversList,
1239
+ route: Route,
1240
+ })).annotate({ identifier: "Alert" });
1241
+ export const GetAlertConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1242
+ data: Alert,
1243
+ message: S.String,
1244
+ })).annotate({
1245
+ identifier: "GetAlertConfigsResponse",
1246
+ });
1247
+ export const GetAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1248
+ projectId: S.String.pipe(T.Label()),
1249
+ instanceId: S.String.pipe(T.Label()),
1250
+ groupName: S.String.pipe(T.Label()),
1251
+ }).pipe(T.Http({
1252
+ method: "GET",
1253
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
1254
+ code: 200,
1255
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1256
+ }))).annotate({
1257
+ identifier: "GetAlertgroupRequest",
1258
+ });
1259
+ export const AlertGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1260
+ data: AlertGroup,
1261
+ message: S.String,
1262
+ })).annotate({
1263
+ identifier: "AlertGroupResponse",
1264
+ });
1265
+ export const GetAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1266
+ projectId: S.String.pipe(T.Label()),
1267
+ instanceId: S.String.pipe(T.Label()),
1268
+ groupName: S.String.pipe(T.Label()),
1269
+ alertRecord: S.String.pipe(T.Label()),
1270
+ }).pipe(T.Http({
1271
+ method: "GET",
1272
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
1273
+ code: 200,
1274
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1275
+ }))).annotate({
1276
+ identifier: "GetAlertRecordRequest",
1277
+ });
1278
+ export const AlertRecordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1279
+ data: AlertRecord,
1280
+ message: S.String,
1281
+ })).annotate({
1282
+ identifier: "AlertRecordResponse",
1283
+ });
1284
+ export const GetAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1285
+ projectId: S.String.pipe(T.Label()),
1286
+ instanceId: S.String.pipe(T.Label()),
1287
+ groupName: S.String.pipe(T.Label()),
1288
+ alertName: S.String.pipe(T.Label()),
1289
+ }).pipe(T.Http({
1290
+ method: "GET",
1291
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
1292
+ code: 200,
1293
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1294
+ }))).annotate({
1295
+ identifier: "GetAlertruleRequest",
1296
+ });
1297
+ export const AlertRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1298
+ data: AlertRule,
1299
+ message: S.String,
1300
+ })).annotate({
1301
+ identifier: "AlertRuleResponse",
1302
+ });
1303
+ export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1304
+ projectId: S.String.pipe(T.Label()),
1305
+ instanceId: S.String.pipe(T.Label()),
1306
+ username: S.String.pipe(T.Label()),
1307
+ }).pipe(T.Http({
1308
+ method: "GET",
1309
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",
1310
+ code: 200,
1311
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1312
+ }))).annotate({
1313
+ identifier: "GetCredentialsRequest",
1314
+ });
1315
+ export const GetCredentialsResponseCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.String);
1316
+ export const GetCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1317
+ credentialsInfo: S.optional(GetCredentialsResponseCredentialsInfoMap),
1318
+ id: S.String,
1319
+ message: S.String,
1320
+ name: S.String,
1321
+ })).annotate({
1322
+ identifier: "GetCredentialsResponse",
1323
+ });
1324
+ export const GetCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1325
+ projectId: S.String.pipe(T.Label()),
1326
+ instanceId: S.String.pipe(T.Label()),
1327
+ username: S.String.pipe(T.Label()),
1328
+ }).pipe(T.Http({
1329
+ method: "GET",
1330
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
1331
+ code: 200,
1332
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1333
+ }))).annotate({
1334
+ identifier: "GetCredentialsRemoteWriteConfigRequest",
1335
+ });
1336
+ export const CredentialsRemoteWriteConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
1337
+ credentialsMaxLimit: S.Number,
1338
+ maxLimit: S.Number,
1339
+ message: S.String,
1340
+ })).annotate({
1341
+ identifier: "CredentialsRemoteWriteConfig",
1342
+ });
1343
+ export const GetGrafanaConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1344
+ projectId: S.String.pipe(T.Label()),
1345
+ instanceId: S.String.pipe(T.Label()),
1346
+ }).pipe(T.Http({
1347
+ method: "GET",
1348
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/grafana-configs",
1349
+ code: 200,
1350
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1351
+ }))).annotate({
1352
+ identifier: "GetGrafanaConfigsRequest",
1353
+ });
1354
+ export const GrafanaOauth = /*@__PURE__*/ S.suspend(() => S.Struct({
1355
+ allowAssignGrafanaAdmin: S.optional(S.Boolean),
1356
+ apiUrl: S.String,
1357
+ authUrl: S.String,
1358
+ enabled: S.Boolean,
1359
+ name: S.optional(S.String),
1360
+ oauthClientId: S.String,
1361
+ oauthClientSecret: S.String,
1362
+ roleAttributePath: S.String,
1363
+ roleAttributeStrict: S.optional(S.Boolean),
1364
+ scopes: S.optional(S.String),
1365
+ tokenUrl: S.String,
1366
+ usePkce: S.optional(S.Boolean),
1367
+ })).annotate({ identifier: "GrafanaOauth" });
1368
+ export const GrafanaConfigs = /*@__PURE__*/ S.suspend(() => S.Struct({
1369
+ genericOauth: S.optional(GrafanaOauth),
1370
+ message: S.String,
1371
+ publicReadAccess: S.optional(S.Boolean),
1372
+ useStackitSso: S.optional(S.Boolean),
1373
+ })).annotate({ identifier: "GrafanaConfigs" });
1374
+ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1375
+ projectId: S.String.pipe(T.Label()),
1376
+ instanceId: S.String.pipe(T.Label()),
1377
+ }).pipe(T.Http({
1378
+ method: "GET",
1379
+ uri: "/v1/projects/{projectId}/instances/{instanceId}",
1380
+ code: 200,
1381
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1382
+ }))).annotate({
1383
+ identifier: "GetInstanceRequest",
1384
+ });
1385
+ export const PlanModel = /*@__PURE__*/ S.suspend(() => S.Struct({
1386
+ alertMatchers: S.Number,
1387
+ alertReceivers: S.Number,
1388
+ alertRules: S.Number,
1389
+ amount: S.optional(S.Number),
1390
+ bucketSize: S.Number,
1391
+ description: S.optional(S.String),
1392
+ grafanaGlobalDashboards: S.Number,
1393
+ grafanaGlobalOrgs: S.Number,
1394
+ grafanaGlobalSessions: S.Number,
1395
+ grafanaGlobalUsers: S.Number,
1396
+ id: S.String,
1397
+ logsAlert: S.Number,
1398
+ logsStorage: S.Number,
1399
+ name: S.optional(S.String),
1400
+ planId: S.String,
1401
+ samplesPerScrape: S.Number,
1402
+ targetNumber: S.Number,
1403
+ totalMetricSamples: S.Number,
1404
+ tracesStorage: S.Number,
1405
+ })).annotate({ identifier: "PlanModel" });
1406
+ export const InstanceSensitiveData = /*@__PURE__*/ S.suspend(() => S.Struct({
1407
+ alertingUrl: S.String,
1408
+ cluster: S.String,
1409
+ grafanaAdminEnabled: S.Boolean,
1410
+ grafanaAdminPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
1411
+ grafanaAdminUser: S.optional(S.String),
1412
+ grafanaPublicReadAccess: S.Boolean,
1413
+ grafanaUrl: S.String,
1414
+ grafanaUseStackitSso: S.Boolean,
1415
+ instance: S.String,
1416
+ jaegerHttpTracesUrl: S.optional(S.String),
1417
+ jaegerHttpUrl: S.String,
1418
+ jaegerTracesUrl: S.String,
1419
+ jaegerUiUrl: S.String,
1420
+ logsPushUrl: S.String,
1421
+ logsUrl: S.String,
1422
+ metricsEndpointUrl: S.String,
1423
+ metricsRetentionTime1h: S.Number,
1424
+ metricsRetentionTime5m: S.Number,
1425
+ metricsRetentionTimeRaw: S.Number,
1426
+ metricsUrl: S.String,
1427
+ name: S.optional(S.String),
1428
+ otlpGrpcTracesUrl: S.String,
1429
+ otlpHttpLogsUrl: S.String,
1430
+ otlpHttpTracesUrl: S.String,
1431
+ otlpTracesUrl: S.String,
1432
+ plan: PlanModel,
1433
+ pushMetricsUrl: S.String,
1434
+ targetsUrl: S.String,
1435
+ zipkinSpansUrl: S.String,
1436
+ })).annotate({
1437
+ identifier: "InstanceSensitiveData",
1438
+ });
1439
+ export const GetInstanceResponseParametersMap = /*@__PURE__*/ S.Record(S.String, S.String);
1440
+ export const GetInstanceResponseStatus = /*@__PURE__*/ S.String;
1441
+ export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1442
+ dashboardUrl: S.String,
1443
+ error: S.optional(S.NullOr(S.String)),
1444
+ id: S.String,
1445
+ instance: InstanceSensitiveData,
1446
+ isUpdatable: S.optional(S.Boolean),
1447
+ message: S.String,
1448
+ name: S.optional(S.String),
1449
+ parameters: S.optional(GetInstanceResponseParametersMap),
1450
+ planId: S.String,
1451
+ planName: S.String,
1452
+ planSchema: S.optional(S.String),
1453
+ serviceName: S.String,
1454
+ status: GetInstanceResponseStatus,
1455
+ })).annotate({
1456
+ identifier: "GetInstanceResponse",
1457
+ });
1458
+ export const GetLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1459
+ projectId: S.String.pipe(T.Label()),
1460
+ instanceId: S.String.pipe(T.Label()),
1461
+ groupName: S.String.pipe(T.Label()),
1462
+ }).pipe(T.Http({
1463
+ method: "GET",
1464
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",
1465
+ code: 200,
1466
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1467
+ }))).annotate({
1468
+ identifier: "GetLogsAlertgroupRequest",
1469
+ });
1470
+ export const GetLogsConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1471
+ projectId: S.String.pipe(T.Label()),
1472
+ instanceId: S.String.pipe(T.Label()),
1473
+ }).pipe(T.Http({
1474
+ method: "GET",
1475
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-configs",
1476
+ code: 200,
1477
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1478
+ }))).annotate({
1479
+ identifier: "GetLogsConfigsRequest",
1480
+ });
1481
+ export const LogsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
1482
+ retention: S.String,
1483
+ })).annotate({ identifier: "LogsConfig" });
1484
+ export const LogsConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1485
+ config: LogsConfig,
1486
+ message: S.String,
1487
+ })).annotate({
1488
+ identifier: "LogsConfigResponse",
1489
+ });
1490
+ export const GetMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1491
+ projectId: S.String.pipe(T.Label()),
1492
+ instanceId: S.String.pipe(T.Label()),
1493
+ }).pipe(T.Http({
1494
+ method: "GET",
1495
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",
1496
+ code: 200,
1497
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1498
+ }))).annotate({
1499
+ identifier: "GetMetricsStorageRetentionRequest",
1500
+ });
1501
+ export const GetMetricsStorageRetentionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1502
+ message: S.String,
1503
+ metricsRetentionTime1h: S.String,
1504
+ metricsRetentionTime5m: S.String,
1505
+ metricsRetentionTimeRaw: S.String,
1506
+ })).annotate({
1507
+ identifier: "GetMetricsStorageRetentionResponse",
1508
+ });
1509
+ export const GetScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1510
+ projectId: S.String.pipe(T.Label()),
1511
+ instanceId: S.String.pipe(T.Label()),
1512
+ jobName: S.String.pipe(T.Label()),
1513
+ }).pipe(T.Http({
1514
+ method: "GET",
1515
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",
1516
+ code: 200,
1517
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1518
+ }))).annotate({
1519
+ identifier: "GetScrapeConfigRequest",
1520
+ });
1521
+ export const GetScrapeConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1522
+ data: Job,
1523
+ message: S.String,
1524
+ })).annotate({
1525
+ identifier: "GetScrapeConfigResponse",
1526
+ });
1527
+ export const GetTracesConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1528
+ projectId: S.String.pipe(T.Label()),
1529
+ instanceId: S.String.pipe(T.Label()),
1530
+ }).pipe(T.Http({
1531
+ method: "GET",
1532
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/traces-configs",
1533
+ code: 200,
1534
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1535
+ }))).annotate({
1536
+ identifier: "GetTracesConfigsRequest",
1537
+ });
1538
+ export const TraceConfig = LogsConfig;
1539
+ export const TracesConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1540
+ config: LogsConfig,
1541
+ message: S.String,
1542
+ })).annotate({
1543
+ identifier: "TracesConfigResponse",
1544
+ });
1545
+ export const ListACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1546
+ projectId: S.String.pipe(T.Label()),
1547
+ instanceId: S.String.pipe(T.Label()),
1548
+ }).pipe(T.Http({
1549
+ method: "GET",
1550
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/acl",
1551
+ code: 200,
1552
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1553
+ }))).annotate({ identifier: "ListACLRequest" });
1554
+ export const ListACLResponseAclList = /*@__PURE__*/ S.Array(S.String);
1555
+ export const ListACLResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1556
+ acl: ListACLResponseAclList,
1557
+ message: S.String,
1558
+ })).annotate({
1559
+ identifier: "ListACLResponse",
1560
+ });
1561
+ export const ListAlertConfigReceiversRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1562
+ projectId: S.String.pipe(T.Label()),
1563
+ instanceId: S.String.pipe(T.Label()),
1564
+ }).pipe(T.Http({
1565
+ method: "GET",
1566
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers",
1567
+ code: 200,
1568
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1569
+ }))).annotate({
1570
+ identifier: "ListAlertConfigReceiversRequest",
1571
+ });
1572
+ export const ListAlertConfigRoutesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1573
+ projectId: S.String.pipe(T.Label()),
1574
+ instanceId: S.String.pipe(T.Label()),
1575
+ }).pipe(T.Http({
1576
+ method: "GET",
1577
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes",
1578
+ code: 200,
1579
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1580
+ }))).annotate({
1581
+ identifier: "ListAlertConfigRoutesRequest",
1582
+ });
1583
+ export const ListAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1584
+ projectId: S.String.pipe(T.Label()),
1585
+ instanceId: S.String.pipe(T.Label()),
1586
+ }).pipe(T.Http({
1587
+ method: "GET",
1588
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
1589
+ code: 200,
1590
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1591
+ }))).annotate({
1592
+ identifier: "ListAlertgroupsRequest",
1593
+ });
1594
+ export const ListAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1595
+ projectId: S.String.pipe(T.Label()),
1596
+ instanceId: S.String.pipe(T.Label()),
1597
+ groupName: S.String.pipe(T.Label()),
1598
+ }).pipe(T.Http({
1599
+ method: "GET",
1600
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
1601
+ code: 200,
1602
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1603
+ }))).annotate({
1604
+ identifier: "ListAlertRecordsRequest",
1605
+ });
1606
+ export const ListAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1607
+ projectId: S.String.pipe(T.Label()),
1608
+ instanceId: S.String.pipe(T.Label()),
1609
+ groupName: S.String.pipe(T.Label()),
1610
+ }).pipe(T.Http({
1611
+ method: "GET",
1612
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
1613
+ code: 200,
1614
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1615
+ }))).annotate({
1616
+ identifier: "ListAlertrulesRequest",
1617
+ });
1618
+ export const ListBackupRetentionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1619
+ projectId: S.String.pipe(T.Label()),
1620
+ instanceId: S.String.pipe(T.Label()),
1621
+ }).pipe(T.Http({
1622
+ method: "GET",
1623
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-retentions",
1624
+ code: 200,
1625
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1626
+ }))).annotate({
1627
+ identifier: "ListBackupRetentionsRequest",
1628
+ });
1629
+ export const BackupRetentionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1630
+ alertConfigBackupRetention: S.String,
1631
+ alertRulesBackupRetention: S.String,
1632
+ grafanaBackupRetention: S.String,
1633
+ message: S.String,
1634
+ scrapeConfigBackupRetention: S.String,
1635
+ })).annotate({
1636
+ identifier: "BackupRetentionResponse",
1637
+ });
1638
+ export const ListBackupsRequestBackupTargetItem = /*@__PURE__*/ S.String;
1639
+ export const ListBackupsRequestBackupTargetList = /*@__PURE__*/ S.Array(ListBackupsRequestBackupTargetItem);
1640
+ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1641
+ projectId: S.String.pipe(T.Label()),
1642
+ instanceId: S.String.pipe(T.Label()),
1643
+ backupTarget: S.optional(ListBackupsRequestBackupTargetList.pipe(T.Query())),
1644
+ }).pipe(T.Http({
1645
+ method: "GET",
1646
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/backups",
1647
+ code: 200,
1648
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1649
+ }))).annotate({
1650
+ identifier: "ListBackupsRequest",
1651
+ });
1652
+ export const BackupResponseAlertConfigBackupsList = /*@__PURE__*/ S.Array(S.String);
1653
+ export const BackupResponseAlertRulesBackupsList = /*@__PURE__*/ S.Array(S.String);
1654
+ export const BackupResponseGrafanaBackupsList = /*@__PURE__*/ S.Array(S.String);
1655
+ export const BackupResponseScrapeConfigBackupsList = /*@__PURE__*/ S.Array(S.String);
1656
+ export const BackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1657
+ alertConfigBackups: BackupResponseAlertConfigBackupsList,
1658
+ alertRulesBackups: BackupResponseAlertRulesBackupsList,
1659
+ grafanaBackups: BackupResponseGrafanaBackupsList,
1660
+ message: S.String,
1661
+ scrapeConfigBackups: BackupResponseScrapeConfigBackupsList,
1662
+ })).annotate({ identifier: "BackupResponse" });
1663
+ export const ListBackupSchedulesRequestBackupTargetItem =
1664
+ /*@__PURE__*/ S.String;
1665
+ export const ListBackupSchedulesRequestBackupTargetList = /*@__PURE__*/ S.Array(ListBackupSchedulesRequestBackupTargetItem);
1666
+ export const ListBackupSchedulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1667
+ projectId: S.String.pipe(T.Label()),
1668
+ instanceId: S.String.pipe(T.Label()),
1669
+ backupTarget: S.optional(ListBackupSchedulesRequestBackupTargetList.pipe(T.Query())),
1670
+ }).pipe(T.Http({
1671
+ method: "GET",
1672
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-schedules",
1673
+ code: 200,
1674
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1675
+ }))).annotate({
1676
+ identifier: "ListBackupSchedulesRequest",
1677
+ });
1678
+ export const BackupSchedule = /*@__PURE__*/ S.suspend(() => S.Struct({
1679
+ schedule: S.String,
1680
+ scheduleId: S.String,
1681
+ })).annotate({ identifier: "BackupSchedule" });
1682
+ export const BackupScheduleResponseAlertConfigBackupSchedulesList =
1683
+ /*@__PURE__*/ S.Array(BackupSchedule);
1684
+ export const BackupScheduleResponseAlertRulesBackupSchedulesList =
1685
+ /*@__PURE__*/ S.Array(BackupSchedule);
1686
+ export const BackupScheduleResponseGrafanaBackupSchedulesList =
1687
+ /*@__PURE__*/ S.Array(BackupSchedule);
1688
+ export const BackupScheduleResponseScrapeConfigBackupSchedulesList =
1689
+ /*@__PURE__*/ S.Array(BackupSchedule);
1690
+ export const BackupScheduleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1691
+ alertConfigBackupSchedules: S.optional(BackupScheduleResponseAlertConfigBackupSchedulesList),
1692
+ alertRulesBackupSchedules: S.optional(BackupScheduleResponseAlertRulesBackupSchedulesList),
1693
+ grafanaBackupSchedules: S.optional(BackupScheduleResponseGrafanaBackupSchedulesList),
1694
+ message: S.String,
1695
+ scrapeConfigBackupSchedules: S.optional(BackupScheduleResponseScrapeConfigBackupSchedulesList),
1696
+ })).annotate({
1697
+ identifier: "BackupScheduleResponse",
1698
+ });
1699
+ export const ListCertChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1700
+ projectId: S.String.pipe(T.Label()),
1701
+ instanceId: S.String.pipe(T.Label()),
1702
+ }).pipe(T.Http({
1703
+ method: "GET",
1704
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks",
1705
+ code: 200,
1706
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1707
+ }))).annotate({
1708
+ identifier: "ListCertChecksRequest",
1709
+ });
1710
+ export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1711
+ projectId: S.String.pipe(T.Label()),
1712
+ instanceId: S.String.pipe(T.Label()),
1713
+ }).pipe(T.Http({
1714
+ method: "GET",
1715
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials",
1716
+ code: 200,
1717
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1718
+ }))).annotate({
1719
+ identifier: "ListCredentialsRequest",
1720
+ });
1721
+ export const ServiceKeysListCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.String);
1722
+ export const ServiceKeysList = /*@__PURE__*/ S.suspend(() => S.Struct({
1723
+ credentialsInfo: S.optional(ServiceKeysListCredentialsInfoMap),
1724
+ description: S.optional(S.String),
1725
+ id: S.String,
1726
+ name: S.String,
1727
+ })).annotate({
1728
+ identifier: "ServiceKeysList",
1729
+ });
1730
+ export const ListCredentialsResponseCredentialsList = /*@__PURE__*/ S.Array(ServiceKeysList);
1731
+ export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1732
+ credentials: ListCredentialsResponseCredentialsList,
1733
+ message: S.String,
1734
+ })).annotate({
1735
+ identifier: "ListCredentialsResponse",
1736
+ });
1737
+ export const ListElasticsearchChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1738
+ projectId: S.String.pipe(T.Label()),
1739
+ instanceId: S.String.pipe(T.Label()),
1740
+ }).pipe(T.Http({
1741
+ method: "GET",
1742
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks",
1743
+ code: 200,
1744
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1745
+ }))).annotate({
1746
+ identifier: "ListElasticsearchChecksRequest",
1747
+ });
1748
+ export const ListHttpChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1749
+ projectId: S.String.pipe(T.Label()),
1750
+ instanceId: S.String.pipe(T.Label()),
1751
+ }).pipe(T.Http({
1752
+ method: "GET",
1753
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks",
1754
+ code: 200,
1755
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1756
+ }))).annotate({
1757
+ identifier: "ListHttpChecksRequest",
1758
+ });
1759
+ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1760
+ projectId: S.String.pipe(T.Label()),
1761
+ }).pipe(T.Http({
1762
+ method: "GET",
1763
+ uri: "/v1/projects/{projectId}/instances",
1764
+ code: 200,
1765
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1766
+ }))).annotate({
1767
+ identifier: "ListInstancesRequest",
1768
+ });
1769
+ export const ProjectInstanceFullStatus = /*@__PURE__*/ S.String;
1770
+ export const ProjectInstanceFull = /*@__PURE__*/ S.suspend(() => S.Struct({
1771
+ error: S.optional(S.NullOr(S.String)),
1772
+ id: S.String,
1773
+ instance: S.String,
1774
+ name: S.optional(S.String),
1775
+ planName: S.String,
1776
+ serviceName: S.String,
1777
+ status: ProjectInstanceFullStatus,
1778
+ })).annotate({
1779
+ identifier: "ProjectInstanceFull",
1780
+ });
1781
+ export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(ProjectInstanceFull);
1782
+ export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1783
+ instances: ListInstancesResponseInstancesList,
1784
+ message: S.String,
1785
+ })).annotate({
1786
+ identifier: "ListInstancesResponse",
1787
+ });
1788
+ export const ListLogsAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1789
+ projectId: S.String.pipe(T.Label()),
1790
+ instanceId: S.String.pipe(T.Label()),
1791
+ }).pipe(T.Http({
1792
+ method: "GET",
1793
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups",
1794
+ code: 200,
1795
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1796
+ }))).annotate({
1797
+ identifier: "ListLogsAlertgroupsRequest",
1798
+ });
1799
+ export const ListMongodbChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1800
+ projectId: S.String.pipe(T.Label()),
1801
+ instanceId: S.String.pipe(T.Label()),
1802
+ }).pipe(T.Http({
1803
+ method: "GET",
1804
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks",
1805
+ code: 200,
1806
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1807
+ }))).annotate({
1808
+ identifier: "ListMongodbChecksRequest",
1809
+ });
1810
+ export const ListMysqlChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1811
+ projectId: S.String.pipe(T.Label()),
1812
+ instanceId: S.String.pipe(T.Label()),
1813
+ }).pipe(T.Http({
1814
+ method: "GET",
1815
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",
1816
+ code: 200,
1817
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1818
+ }))).annotate({
1819
+ identifier: "ListMysqlChecksRequest",
1820
+ });
1821
+ export const ListNetworkChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1822
+ projectId: S.String.pipe(T.Label()),
1823
+ instanceId: S.String.pipe(T.Label()),
1824
+ }).pipe(T.Http({
1825
+ method: "GET",
1826
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/network-checks",
1827
+ code: 200,
1828
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1829
+ }))).annotate({
1830
+ identifier: "ListNetworkChecksRequest",
1831
+ });
1832
+ export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1833
+ projectId: S.String.pipe(T.Label()),
1834
+ }).pipe(T.Http({
1835
+ method: "GET",
1836
+ uri: "/v1/projects/{projectId}/offerings",
1837
+ code: 200,
1838
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1839
+ }))).annotate({
1840
+ identifier: "ListOfferingsRequest",
1841
+ });
1842
+ export const Plan = /*@__PURE__*/ S.suspend(() => S.Struct({
1843
+ alertMatchers: S.Number,
1844
+ alertReceivers: S.Number,
1845
+ alertRules: S.Number,
1846
+ amount: S.optional(S.Number),
1847
+ bucketSize: S.Number,
1848
+ description: S.optional(S.String),
1849
+ grafanaGlobalDashboards: S.Number,
1850
+ grafanaGlobalOrgs: S.Number,
1851
+ grafanaGlobalSessions: S.Number,
1852
+ grafanaGlobalUsers: S.Number,
1853
+ id: S.String,
1854
+ isFree: S.optional(S.Boolean),
1855
+ isPublic: S.optional(S.Boolean),
1856
+ logsAlert: S.Number,
1857
+ logsStorage: S.Number,
1858
+ name: S.optional(S.String),
1859
+ planId: S.String,
1860
+ samplesPerScrape: S.Number,
1861
+ schema: S.optional(S.String),
1862
+ targetNumber: S.Number,
1863
+ totalMetricSamples: S.Number,
1864
+ tracesStorage: S.Number,
1865
+ })).annotate({ identifier: "Plan" });
1866
+ export const OfferingsPlansList = /*@__PURE__*/ S.Array(Plan);
1867
+ export const OfferingsTagsList = /*@__PURE__*/ S.Array(S.String);
1868
+ export const Offerings = /*@__PURE__*/ S.suspend(() => S.Struct({
1869
+ description: S.String,
1870
+ documentationUrl: S.String,
1871
+ imageUrl: S.String,
1872
+ name: S.String,
1873
+ plans: OfferingsPlansList,
1874
+ tags: OfferingsTagsList,
1875
+ })).annotate({ identifier: "Offerings" });
1876
+ export const ListPingChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1877
+ projectId: S.String.pipe(T.Label()),
1878
+ instanceId: S.String.pipe(T.Label()),
1879
+ }).pipe(T.Http({
1880
+ method: "GET",
1881
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks",
1882
+ code: 200,
1883
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1884
+ }))).annotate({
1885
+ identifier: "ListPingChecksRequest",
1886
+ });
1887
+ export const ListPlansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1888
+ projectId: S.String.pipe(T.Label()),
1889
+ }).pipe(T.Http({
1890
+ method: "GET",
1891
+ uri: "/v1/projects/{projectId}/plans",
1892
+ code: 200,
1893
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1894
+ }))).annotate({
1895
+ identifier: "ListPlansRequest",
1896
+ });
1897
+ export const PlansResponsePlansList = /*@__PURE__*/ S.Array(Plan);
1898
+ export const PlansResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1899
+ message: S.String,
1900
+ plans: PlansResponsePlansList,
1901
+ })).annotate({ identifier: "PlansResponse" });
1902
+ export const ListPostgresqlChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1903
+ projectId: S.String.pipe(T.Label()),
1904
+ instanceId: S.String.pipe(T.Label()),
1905
+ }).pipe(T.Http({
1906
+ method: "GET",
1907
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks",
1908
+ code: 200,
1909
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1910
+ }))).annotate({
1911
+ identifier: "ListPostgresqlChecksRequest",
1912
+ });
1913
+ export const ListRabbitmqChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1914
+ projectId: S.String.pipe(T.Label()),
1915
+ instanceId: S.String.pipe(T.Label()),
1916
+ }).pipe(T.Http({
1917
+ method: "GET",
1918
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks",
1919
+ code: 200,
1920
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1921
+ }))).annotate({
1922
+ identifier: "ListRabbitmqChecksRequest",
1923
+ });
1924
+ export const ListRedisChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1925
+ projectId: S.String.pipe(T.Label()),
1926
+ instanceId: S.String.pipe(T.Label()),
1927
+ }).pipe(T.Http({
1928
+ method: "GET",
1929
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks",
1930
+ code: 200,
1931
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1932
+ }))).annotate({
1933
+ identifier: "ListRedisChecksRequest",
1934
+ });
1935
+ export const ListScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1936
+ projectId: S.String.pipe(T.Label()),
1937
+ instanceId: S.String.pipe(T.Label()),
1938
+ }).pipe(T.Http({
1939
+ method: "GET",
1940
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
1941
+ code: 200,
1942
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1943
+ }))).annotate({
1944
+ identifier: "ListScrapeConfigsRequest",
1945
+ });
1946
+ export const ListScrapeConfigsResponseDataList = /*@__PURE__*/ S.Array(Job);
1947
+ export const ListScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1948
+ data: ListScrapeConfigsResponseDataList,
1949
+ message: S.String,
1950
+ })).annotate({
1951
+ identifier: "ListScrapeConfigsResponse",
1952
+ });
1953
+ export const PartialUpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
1954
+ export const PartialUpdateAlertgroupsRequestBodyItemRulesList =
1955
+ /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
1956
+ export const PartialUpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
1957
+ interval: S.optional(S.String),
1958
+ name: S.String,
1959
+ rules: PartialUpdateAlertgroupsRequestBodyItemRulesList,
1960
+ })).annotate({
1961
+ identifier: "PartialUpdateAlertgroupsRequestBodyItem",
1962
+ });
1963
+ export const PartialUpdateAlertgroupsRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateAlertgroupsRequestBodyItem);
1964
+ export const PartialUpdateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1965
+ projectId: S.String.pipe(T.Label()),
1966
+ instanceId: S.String.pipe(T.Label()),
1967
+ body: PartialUpdateAlertgroupsRequestBodyList.pipe(T.HttpBody()),
1968
+ }).pipe(T.Http({
1969
+ method: "PATCH",
1970
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
1971
+ code: 200,
1972
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1973
+ }))).annotate({
1974
+ identifier: "PartialUpdateAlertgroupsRequest",
1975
+ });
1976
+ export const PartialUpdateAlertRecordsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
1977
+ expr: S.String,
1978
+ labels: S.optional(S.Unknown),
1979
+ record: S.String,
1980
+ })).annotate({
1981
+ identifier: "PartialUpdateAlertRecordsRequestBodyItem",
1982
+ });
1983
+ export const PartialUpdateAlertRecordsRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateAlertRecordsRequestBodyItem);
1984
+ export const PartialUpdateAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1985
+ projectId: S.String.pipe(T.Label()),
1986
+ instanceId: S.String.pipe(T.Label()),
1987
+ groupName: S.String.pipe(T.Label()),
1988
+ body: PartialUpdateAlertRecordsRequestBodyList.pipe(T.HttpBody()),
1989
+ }).pipe(T.Http({
1990
+ method: "PATCH",
1991
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
1992
+ code: 200,
1993
+ baseUrl: "https://argus.api.{region}stackit.cloud",
1994
+ }))).annotate({
1995
+ identifier: "PartialUpdateAlertRecordsRequest",
1996
+ });
1997
+ export const PartialUpdateAlertrulesRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
1998
+ alert: S.String,
1999
+ annotations: S.optional(S.Unknown),
2000
+ expr: S.String,
2001
+ for: S.optional(S.String),
2002
+ labels: S.optional(S.Unknown),
2003
+ })).annotate({
2004
+ identifier: "PartialUpdateAlertrulesRequestBodyItem",
2005
+ });
2006
+ export const PartialUpdateAlertrulesRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateAlertrulesRequestBodyItem);
2007
+ export const PartialUpdateAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2008
+ projectId: S.String.pipe(T.Label()),
2009
+ instanceId: S.String.pipe(T.Label()),
2010
+ groupName: S.String.pipe(T.Label()),
2011
+ body: PartialUpdateAlertrulesRequestBodyList.pipe(T.HttpBody()),
2012
+ }).pipe(T.Http({
2013
+ method: "PATCH",
2014
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
2015
+ code: 200,
2016
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2017
+ }))).annotate({
2018
+ identifier: "PartialUpdateAlertrulesRequest",
2019
+ });
2020
+ export const PartialUpdateScrapeConfigsRequestBodyItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
2021
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
2022
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList =
2023
+ /*@__PURE__*/ S.Array(S.String);
2024
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2025
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 =
2026
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2027
+ clientId: S.String,
2028
+ clientSecret: S.String.pipe(T.SensitiveValue({})),
2029
+ scopes: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList),
2030
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
2031
+ tokenUrl: S.String,
2032
+ })).annotate({
2033
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2",
2034
+ });
2035
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2036
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem =
2037
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2038
+ basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
2039
+ oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2),
2040
+ refreshInterval: S.optional(S.String),
2041
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
2042
+ url: S.String,
2043
+ })).annotate({
2044
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem",
2045
+ });
2046
+ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList =
2047
+ /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem);
2048
+ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction =
2049
+ /*@__PURE__*/ S.String;
2050
+ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList =
2051
+ /*@__PURE__*/ S.Array(S.String);
2052
+ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem =
2053
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2054
+ action: S.optional(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction),
2055
+ modulus: S.optional(S.Number),
2056
+ regex: S.optional(S.String),
2057
+ replacement: S.optional(S.String),
2058
+ separator: S.optional(S.String),
2059
+ sourceLabels: S.optional(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList),
2060
+ targetLabel: S.optional(S.String),
2061
+ })).annotate({
2062
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem",
2063
+ });
2064
+ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList =
2065
+ /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem);
2066
+ export const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList =
2067
+ /*@__PURE__*/ S.Array(S.String);
2068
+ export const PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2069
+ export const PartialUpdateScrapeConfigsRequestBodyItemOauth2 =
2070
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2071
+ clientId: S.String,
2072
+ clientSecret: S.String.pipe(T.SensitiveValue({})),
2073
+ scopes: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList),
2074
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
2075
+ tokenUrl: S.String,
2076
+ })).annotate({
2077
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemOauth2",
2078
+ });
2079
+ export const PartialUpdateScrapeConfigsRequestBodyItemScheme =
2080
+ /*@__PURE__*/ S.String;
2081
+ export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList =
2082
+ /*@__PURE__*/ S.Array(S.String);
2083
+ export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem =
2084
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2085
+ labels: S.optional(S.Unknown),
2086
+ targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList,
2087
+ })).annotate({
2088
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem",
2089
+ });
2090
+ export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList =
2091
+ /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem);
2092
+ export const PartialUpdateScrapeConfigsRequestBodyItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2093
+ export const PartialUpdateScrapeConfigsRequestBodyItem =
2094
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2095
+ basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
2096
+ bearerToken: S.optional(S.String),
2097
+ honorLabels: S.optional(S.Boolean),
2098
+ honorTimeStamps: S.optional(S.Boolean),
2099
+ httpSdConfigs: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList),
2100
+ jobName: S.String,
2101
+ metricsPath: S.optional(S.String),
2102
+ metricsRelabelConfigs: S.optional(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList),
2103
+ oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2),
2104
+ params: S.optional(S.Unknown),
2105
+ sampleLimit: S.optional(S.Number),
2106
+ scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme,
2107
+ scrapeInterval: S.String,
2108
+ scrapeTimeout: S.String,
2109
+ staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList,
2110
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
2111
+ })).annotate({
2112
+ identifier: "PartialUpdateScrapeConfigsRequestBodyItem",
2113
+ });
2114
+ export const PartialUpdateScrapeConfigsRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItem);
2115
+ export const PartialUpdateScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2116
+ projectId: S.String.pipe(T.Label()),
2117
+ instanceId: S.String.pipe(T.Label()),
2118
+ body: PartialUpdateScrapeConfigsRequestBodyList.pipe(T.HttpBody()),
2119
+ }).pipe(T.Http({
2120
+ method: "PATCH",
2121
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
2122
+ code: 200,
2123
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2124
+ }))).annotate({
2125
+ identifier: "PartialUpdateScrapeConfigsRequest",
2126
+ });
2127
+ export const RestoreBackupRequestRestoreTarget = /*@__PURE__*/ S.String;
2128
+ export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2129
+ projectId: S.String.pipe(T.Label()),
2130
+ instanceId: S.String.pipe(T.Label()),
2131
+ backupDate: S.String.pipe(T.Label()),
2132
+ restoreTarget: RestoreBackupRequestRestoreTarget.pipe(T.Query()),
2133
+ }).pipe(T.Http({
2134
+ method: "POST",
2135
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-restores/{backupDate}",
2136
+ code: 200,
2137
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2138
+ }))).annotate({
2139
+ identifier: "RestoreBackupRequest",
2140
+ });
2141
+ export const UpdateACLRequestAclList = /*@__PURE__*/ S.Array(S.String);
2142
+ export const UpdateACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2143
+ projectId: S.String.pipe(T.Label()),
2144
+ instanceId: S.String.pipe(T.Label()),
2145
+ acl: UpdateACLRequestAclList,
2146
+ }).pipe(T.Http({
2147
+ method: "PUT",
2148
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/acl",
2149
+ code: 200,
2150
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2151
+ }))).annotate({
2152
+ identifier: "UpdateACLRequest",
2153
+ });
2154
+ export const UpdateAlertConfigReceiverRequestEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
2155
+ export const UpdateAlertConfigReceiverRequestEmailConfigsList =
2156
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
2157
+ export const UpdateAlertConfigReceiverRequestOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
2158
+ export const UpdateAlertConfigReceiverRequestOpsgenieConfigsList =
2159
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
2160
+ export const UpdateAlertConfigReceiverRequestWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
2161
+ export const UpdateAlertConfigReceiverRequestWebHookConfigsList =
2162
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
2163
+ export const UpdateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2164
+ projectId: S.String.pipe(T.Label()),
2165
+ instanceId: S.String.pipe(T.Label()),
2166
+ receiver: S.String.pipe(T.Label()),
2167
+ emailConfigs: S.optional(UpdateAlertConfigReceiverRequestEmailConfigsList),
2168
+ name: S.String,
2169
+ opsgenieConfigs: S.optional(UpdateAlertConfigReceiverRequestOpsgenieConfigsList),
2170
+ webHookConfigs: S.optional(UpdateAlertConfigReceiverRequestWebHookConfigsList),
2171
+ }).pipe(T.Http({
2172
+ method: "PUT",
2173
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",
2174
+ code: 200,
2175
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2176
+ }))).annotate({
2177
+ identifier: "UpdateAlertConfigReceiverRequest",
2178
+ });
2179
+ export const UpdateAlertConfigRouteRequestGroupByList = /*@__PURE__*/ S.Array(S.String);
2180
+ export const UpdateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(S.String);
2181
+ export const UpdateAlertConfigRouteRequestRoutesItemGroupByList =
2182
+ /*@__PURE__*/ S.Array(S.String);
2183
+ export const UpdateAlertConfigRouteRequestRoutesItemMatchersList =
2184
+ /*@__PURE__*/ S.Array(S.String);
2185
+ export const UpdateAlertConfigRouteRequestRoutesItemRoutesList =
2186
+ /*@__PURE__*/ S.Array(S.Unknown);
2187
+ export const UpdateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
2188
+ continue: S.optional(S.Boolean),
2189
+ groupBy: S.optional(UpdateAlertConfigRouteRequestRoutesItemGroupByList),
2190
+ groupInterval: S.optional(S.String),
2191
+ groupWait: S.optional(S.String),
2192
+ match: S.optional(S.Unknown),
2193
+ matchRe: S.optional(S.Unknown),
2194
+ matchers: S.optional(UpdateAlertConfigRouteRequestRoutesItemMatchersList),
2195
+ receiver: S.optional(S.String),
2196
+ repeatInterval: S.optional(S.String),
2197
+ routes: S.optional(UpdateAlertConfigRouteRequestRoutesItemRoutesList),
2198
+ })).annotate({
2199
+ identifier: "UpdateAlertConfigRouteRequestRoutesItem",
2200
+ });
2201
+ export const UpdateAlertConfigRouteRequestRoutesList = /*@__PURE__*/ S.Array(UpdateAlertConfigRouteRequestRoutesItem);
2202
+ export const UpdateAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2203
+ projectId: S.String.pipe(T.Label()),
2204
+ instanceId: S.String.pipe(T.Label()),
2205
+ receiver: S.String.pipe(T.Label()),
2206
+ continue: S.optional(S.Boolean),
2207
+ groupBy: S.optional(UpdateAlertConfigRouteRequestGroupByList),
2208
+ groupInterval: S.optional(S.String),
2209
+ groupWait: S.optional(S.String),
2210
+ match: S.optional(S.Unknown),
2211
+ matchRe: S.optional(S.Unknown),
2212
+ matchers: S.optional(UpdateAlertConfigRouteRequestMatchersList),
2213
+ repeatInterval: S.optional(S.String),
2214
+ routes: S.optional(UpdateAlertConfigRouteRequestRoutesList),
2215
+ }).pipe(T.Http({
2216
+ method: "PUT",
2217
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",
2218
+ code: 200,
2219
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2220
+ }))).annotate({
2221
+ identifier: "UpdateAlertConfigRouteRequest",
2222
+ });
2223
+ export const UpdateAlertConfigsRequestGlobal = /*@__PURE__*/ S.suspend(() => S.Struct({
2224
+ opsgenieApiKey: S.optional(S.String),
2225
+ opsgenieApiUrl: S.optional(S.String),
2226
+ resolveTimeout: S.optional(S.String),
2227
+ smtpAuthIdentity: S.optional(S.String),
2228
+ smtpAuthPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
2229
+ smtpAuthUsername: S.optional(S.String),
2230
+ smtpFrom: S.optional(S.String),
2231
+ smtpSmarthost: S.optional(S.String),
2232
+ })).annotate({
2233
+ identifier: "UpdateAlertConfigsRequestGlobal",
2234
+ });
2235
+ export const UpdateAlertConfigsRequestInhibitRulesEqualList =
2236
+ /*@__PURE__*/ S.Array(S.String);
2237
+ export const UpdateAlertConfigsRequestInhibitRules = /*@__PURE__*/ S.suspend(() => S.Struct({
2238
+ equal: S.optional(UpdateAlertConfigsRequestInhibitRulesEqualList),
2239
+ sourceMatch: S.optional(S.Unknown),
2240
+ sourceMatchRe: S.optional(S.Unknown),
2241
+ targetMatch: S.optional(S.Unknown),
2242
+ targetMatchRe: S.optional(S.Unknown),
2243
+ })).annotate({
2244
+ identifier: "UpdateAlertConfigsRequestInhibitRules",
2245
+ });
2246
+ export const UpdateAlertConfigsRequestReceiversItemEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
2247
+ export const UpdateAlertConfigsRequestReceiversItemEmailConfigsList =
2248
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
2249
+ export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
2250
+ export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList =
2251
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
2252
+ export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
2253
+ export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList =
2254
+ /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
2255
+ export const UpdateAlertConfigsRequestReceiversItem = /*@__PURE__*/ S.suspend(() => S.Struct({
2256
+ emailConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemEmailConfigsList),
2257
+ name: S.String,
2258
+ opsgenieConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList),
2259
+ webHookConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemWebHookConfigsList),
2260
+ })).annotate({
2261
+ identifier: "UpdateAlertConfigsRequestReceiversItem",
2262
+ });
2263
+ export const UpdateAlertConfigsRequestReceiversList = /*@__PURE__*/ S.Array(UpdateAlertConfigsRequestReceiversItem);
2264
+ export const UpdateAlertConfigsRequestRouteGroupByList = /*@__PURE__*/ S.Array(S.String);
2265
+ export const UpdateAlertConfigsRequestRouteRoutesItemGroupByList =
2266
+ /*@__PURE__*/ S.Array(S.String);
2267
+ export const UpdateAlertConfigsRequestRouteRoutesItemMatchersList =
2268
+ /*@__PURE__*/ S.Array(S.String);
2269
+ export const UpdateAlertConfigsRequestRouteRoutesItemRoutesList =
2270
+ /*@__PURE__*/ S.Array(S.Unknown);
2271
+ export const UpdateAlertConfigsRequestRouteRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
2272
+ continue: S.optional(S.Boolean),
2273
+ groupBy: S.optional(UpdateAlertConfigsRequestRouteRoutesItemGroupByList),
2274
+ groupInterval: S.optional(S.String),
2275
+ groupWait: S.optional(S.String),
2276
+ match: S.optional(S.Unknown),
2277
+ matchRe: S.optional(S.Unknown),
2278
+ matchers: S.optional(UpdateAlertConfigsRequestRouteRoutesItemMatchersList),
2279
+ receiver: S.optional(S.String),
2280
+ repeatInterval: S.optional(S.String),
2281
+ routes: S.optional(UpdateAlertConfigsRequestRouteRoutesItemRoutesList),
2282
+ })).annotate({
2283
+ identifier: "UpdateAlertConfigsRequestRouteRoutesItem",
2284
+ });
2285
+ export const UpdateAlertConfigsRequestRouteRoutesList = /*@__PURE__*/ S.Array(UpdateAlertConfigsRequestRouteRoutesItem);
2286
+ export const UpdateAlertConfigsRequestRoute = /*@__PURE__*/ S.suspend(() => S.Struct({
2287
+ continue: S.optional(S.Boolean),
2288
+ groupBy: S.optional(UpdateAlertConfigsRequestRouteGroupByList),
2289
+ groupInterval: S.optional(S.String),
2290
+ groupWait: S.optional(S.String),
2291
+ match: S.optional(S.Unknown),
2292
+ matchRe: S.optional(S.Unknown),
2293
+ receiver: S.String,
2294
+ repeatInterval: S.optional(S.String),
2295
+ routes: S.optional(UpdateAlertConfigsRequestRouteRoutesList),
2296
+ })).annotate({
2297
+ identifier: "UpdateAlertConfigsRequestRoute",
2298
+ });
2299
+ export const UpdateAlertConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2300
+ projectId: S.String.pipe(T.Label()),
2301
+ instanceId: S.String.pipe(T.Label()),
2302
+ global: S.optional(UpdateAlertConfigsRequestGlobal),
2303
+ inhibitRules: S.optional(UpdateAlertConfigsRequestInhibitRules),
2304
+ receivers: UpdateAlertConfigsRequestReceiversList,
2305
+ route: UpdateAlertConfigsRequestRoute,
2306
+ }).pipe(T.Http({
2307
+ method: "PUT",
2308
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs",
2309
+ code: 200,
2310
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2311
+ }))).annotate({
2312
+ identifier: "UpdateAlertConfigsRequest",
2313
+ });
2314
+ export const UpdateAlertConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
2315
+ data: Alert,
2316
+ message: S.String,
2317
+ })).annotate({
2318
+ identifier: "UpdateAlertConfigsResponse",
2319
+ });
2320
+ export const UpdateAlertgroupRequestRulesItem = CreateAlertgroupsRequestRulesItem;
2321
+ export const UpdateAlertgroupRequestRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
2322
+ export const UpdateAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2323
+ projectId: S.String.pipe(T.Label()),
2324
+ instanceId: S.String.pipe(T.Label()),
2325
+ groupName: S.String.pipe(T.Label()),
2326
+ interval: S.optional(S.String),
2327
+ rules: UpdateAlertgroupRequestRulesList,
2328
+ }).pipe(T.Http({
2329
+ method: "PUT",
2330
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
2331
+ code: 200,
2332
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2333
+ }))).annotate({
2334
+ identifier: "UpdateAlertgroupRequest",
2335
+ });
2336
+ export const UpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
2337
+ export const UpdateAlertgroupsRequestBodyItemRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
2338
+ export const UpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
2339
+ interval: S.optional(S.String),
2340
+ name: S.String,
2341
+ rules: UpdateAlertgroupsRequestBodyItemRulesList,
2342
+ })).annotate({
2343
+ identifier: "UpdateAlertgroupsRequestBodyItem",
2344
+ });
2345
+ export const UpdateAlertgroupsRequestBodyList = /*@__PURE__*/ S.Array(UpdateAlertgroupsRequestBodyItem);
2346
+ export const UpdateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2347
+ projectId: S.String.pipe(T.Label()),
2348
+ instanceId: S.String.pipe(T.Label()),
2349
+ body: UpdateAlertgroupsRequestBodyList.pipe(T.HttpBody()),
2350
+ }).pipe(T.Http({
2351
+ method: "PUT",
2352
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
2353
+ code: 200,
2354
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2355
+ }))).annotate({
2356
+ identifier: "UpdateAlertgroupsRequest",
2357
+ });
2358
+ export const UpdateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2359
+ projectId: S.String.pipe(T.Label()),
2360
+ instanceId: S.String.pipe(T.Label()),
2361
+ groupName: S.String.pipe(T.Label()),
2362
+ alertRecord: S.String.pipe(T.Label()),
2363
+ expr: S.String,
2364
+ labels: S.optional(S.Unknown),
2365
+ }).pipe(T.Http({
2366
+ method: "PUT",
2367
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
2368
+ code: 200,
2369
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2370
+ }))).annotate({
2371
+ identifier: "UpdateAlertRecordRequest",
2372
+ });
2373
+ export const UpdateAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2374
+ projectId: S.String.pipe(T.Label()),
2375
+ instanceId: S.String.pipe(T.Label()),
2376
+ groupName: S.String.pipe(T.Label()),
2377
+ alertName: S.String.pipe(T.Label()),
2378
+ annotations: S.optional(S.Unknown),
2379
+ expr: S.String,
2380
+ for: S.optional(S.String),
2381
+ labels: S.optional(S.Unknown),
2382
+ }).pipe(T.Http({
2383
+ method: "PUT",
2384
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
2385
+ code: 200,
2386
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2387
+ }))).annotate({
2388
+ identifier: "UpdateAlertruleRequest",
2389
+ });
2390
+ export const UpdateCredentialsRemoteWriteConfigRequest =
2391
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2392
+ projectId: S.String.pipe(T.Label()),
2393
+ instanceId: S.String.pipe(T.Label()),
2394
+ username: S.String.pipe(T.Label()),
2395
+ maxLimit: S.optional(S.Number),
2396
+ }).pipe(T.Http({
2397
+ method: "PUT",
2398
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
2399
+ code: 200,
2400
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2401
+ }))).annotate({
2402
+ identifier: "UpdateCredentialsRemoteWriteConfigRequest",
2403
+ });
2404
+ export const UpdateGrafanaConfigsRequestGenericOauth = /*@__PURE__*/ S.suspend(() => S.Struct({
2405
+ allowAssignGrafanaAdmin: S.optional(S.Boolean),
2406
+ apiUrl: S.String,
2407
+ authUrl: S.String,
2408
+ enabled: S.Boolean,
2409
+ name: S.optional(S.String),
2410
+ oauthClientId: S.String,
2411
+ oauthClientSecret: S.String,
2412
+ roleAttributePath: S.String,
2413
+ roleAttributeStrict: S.optional(S.Boolean),
2414
+ scopes: S.optional(S.String),
2415
+ tokenUrl: S.String,
2416
+ usePkce: S.optional(S.Boolean),
2417
+ })).annotate({
2418
+ identifier: "UpdateGrafanaConfigsRequestGenericOauth",
2419
+ });
2420
+ export const UpdateGrafanaConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2421
+ projectId: S.String.pipe(T.Label()),
2422
+ instanceId: S.String.pipe(T.Label()),
2423
+ genericOauth: S.optional(UpdateGrafanaConfigsRequestGenericOauth),
2424
+ publicReadAccess: S.optional(S.Boolean),
2425
+ useStackitSso: S.optional(S.Boolean),
2426
+ }).pipe(T.Http({
2427
+ method: "PUT",
2428
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/grafana-configs",
2429
+ code: 200,
2430
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2431
+ }))).annotate({
2432
+ identifier: "UpdateGrafanaConfigsRequest",
2433
+ });
2434
+ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2435
+ projectId: S.String.pipe(T.Label()),
2436
+ instanceId: S.String.pipe(T.Label()),
2437
+ grafanaAdminEnabled: S.optional(S.Boolean),
2438
+ name: S.optional(S.String),
2439
+ parameter: S.optional(S.Unknown),
2440
+ planId: S.optional(S.String),
2441
+ }).pipe(T.Http({
2442
+ method: "PUT",
2443
+ uri: "/v1/projects/{projectId}/instances/{instanceId}",
2444
+ code: 200,
2445
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2446
+ }))).annotate({
2447
+ identifier: "UpdateInstanceRequest",
2448
+ });
2449
+ export const UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
2450
+ export const UpdateLogsAlertgroupRequestRulesList = /*@__PURE__*/ S.Array(CreateLogsAlertgroupsRequestRulesItem);
2451
+ export const UpdateLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2452
+ projectId: S.String.pipe(T.Label()),
2453
+ instanceId: S.String.pipe(T.Label()),
2454
+ groupName: S.String.pipe(T.Label()),
2455
+ interval: S.optional(S.String),
2456
+ rules: UpdateLogsAlertgroupRequestRulesList,
2457
+ }).pipe(T.Http({
2458
+ method: "PUT",
2459
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",
2460
+ code: 200,
2461
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2462
+ }))).annotate({
2463
+ identifier: "UpdateLogsAlertgroupRequest",
2464
+ });
2465
+ export const UpdateLogsConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2466
+ projectId: S.String.pipe(T.Label()),
2467
+ instanceId: S.String.pipe(T.Label()),
2468
+ retention: S.String,
2469
+ }).pipe(T.Http({
2470
+ method: "PUT",
2471
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-configs",
2472
+ code: 200,
2473
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2474
+ }))).annotate({
2475
+ identifier: "UpdateLogsConfigsRequest",
2476
+ });
2477
+ export const UpdateMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2478
+ projectId: S.String.pipe(T.Label()),
2479
+ instanceId: S.String.pipe(T.Label()),
2480
+ metricsRetentionTime1h: S.String,
2481
+ metricsRetentionTime5m: S.String,
2482
+ metricsRetentionTimeRaw: S.String,
2483
+ }).pipe(T.Http({
2484
+ method: "PUT",
2485
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",
2486
+ code: 200,
2487
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2488
+ }))).annotate({
2489
+ identifier: "UpdateMetricsStorageRetentionRequest",
2490
+ });
2491
+ export const UpdateScrapeConfigRequestBasicAuth = CreateScrapeConfigRequestBasicAuth;
2492
+ export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction =
2493
+ /*@__PURE__*/ S.String;
2494
+ export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
2495
+ /*@__PURE__*/ S.Array(S.String);
2496
+ export const UpdateScrapeConfigRequestMetricsRelabelConfigsItem =
2497
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2498
+ action: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction),
2499
+ modulus: S.optional(S.Number),
2500
+ regex: S.optional(S.String),
2501
+ replacement: S.optional(S.String),
2502
+ separator: S.optional(S.String),
2503
+ sourceLabels: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList),
2504
+ targetLabel: S.optional(S.String),
2505
+ })).annotate({
2506
+ identifier: "UpdateScrapeConfigRequestMetricsRelabelConfigsItem",
2507
+ });
2508
+ export const UpdateScrapeConfigRequestMetricsRelabelConfigsList =
2509
+ /*@__PURE__*/ S.Array(UpdateScrapeConfigRequestMetricsRelabelConfigsItem);
2510
+ export const UpdateScrapeConfigRequestScheme = /*@__PURE__*/ S.String;
2511
+ export const UpdateScrapeConfigRequestStaticConfigsItemTargetsList =
2512
+ /*@__PURE__*/ S.Array(S.String);
2513
+ export const UpdateScrapeConfigRequestStaticConfigsItem =
2514
+ /*@__PURE__*/ S.suspend(() => S.Struct({
2515
+ labels: S.optional(S.Unknown),
2516
+ targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList,
2517
+ })).annotate({
2518
+ identifier: "UpdateScrapeConfigRequestStaticConfigsItem",
2519
+ });
2520
+ export const UpdateScrapeConfigRequestStaticConfigsList = /*@__PURE__*/ S.Array(UpdateScrapeConfigRequestStaticConfigsItem);
2521
+ export const UpdateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2522
+ export const UpdateScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2523
+ projectId: S.String.pipe(T.Label()),
2524
+ instanceId: S.String.pipe(T.Label()),
2525
+ jobName: S.String.pipe(T.Label()),
2526
+ basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
2527
+ bearerToken: S.optional(S.String),
2528
+ honorLabels: S.optional(S.Boolean),
2529
+ honorTimeStamps: S.optional(S.Boolean),
2530
+ metricsPath: S.String,
2531
+ metricsRelabelConfigs: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsList),
2532
+ params: S.optional(S.Unknown),
2533
+ sampleLimit: S.optional(S.Number),
2534
+ scheme: UpdateScrapeConfigRequestScheme,
2535
+ scrapeInterval: S.String,
2536
+ scrapeTimeout: S.String,
2537
+ staticConfigs: UpdateScrapeConfigRequestStaticConfigsList,
2538
+ tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
2539
+ }).pipe(T.Http({
2540
+ method: "PUT",
2541
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",
2542
+ code: 200,
2543
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2544
+ }))).annotate({
2545
+ identifier: "UpdateScrapeConfigRequest",
2546
+ });
2547
+ export const UpdateTracesConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2548
+ projectId: S.String.pipe(T.Label()),
2549
+ instanceId: S.String.pipe(T.Label()),
2550
+ retention: S.String,
2551
+ }).pipe(T.Http({
2552
+ method: "PUT",
2553
+ uri: "/v1/projects/{projectId}/instances/{instanceId}/traces-configs",
2554
+ code: 200,
2555
+ baseUrl: "https://argus.api.{region}stackit.cloud",
2556
+ }))).annotate({
2557
+ identifier: "UpdateTracesConfigsRequest",
2558
+ });
2559
+ /** Create alert config receiver. */
2560
+ export const createAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
2561
+ input: CreateAlertConfigReceiverRequest,
2562
+ output: AlertConfigReceiversResponse,
2563
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2564
+ protocol: StackitProtocol,
2565
+ retry: Retry.Retry,
2566
+ }));
2567
+ /** Create alert config route in routes of route. */
2568
+ export const createAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
2569
+ input: CreateAlertConfigRouteRequest,
2570
+ output: AlertConfigRouteResponse,
2571
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2572
+ protocol: StackitProtocol,
2573
+ retry: Retry.Retry,
2574
+ }));
2575
+ /** Create alert group. */
2576
+ export const createAlertgroups = /*@__PURE__*/ API.make(() => ({
2577
+ input: CreateAlertgroupsRequest,
2578
+ output: AlertGroupsResponse,
2579
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2580
+ protocol: StackitProtocol,
2581
+ retry: Retry.Retry,
2582
+ }));
2583
+ /** Create alert record. */
2584
+ export const createAlertRecord = /*@__PURE__*/ API.make(() => ({
2585
+ input: CreateAlertRecordRequest,
2586
+ output: AlertRecordsResponse,
2587
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2588
+ protocol: StackitProtocol,
2589
+ retry: Retry.Retry,
2590
+ }));
2591
+ /** Create alert rule. */
2592
+ export const createAlertrules = /*@__PURE__*/ API.make(() => ({
2593
+ input: CreateAlertrulesRequest,
2594
+ output: AlertRulesResponse,
2595
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2596
+ protocol: StackitProtocol,
2597
+ retry: Retry.Retry,
2598
+ }));
2599
+ /** Create a backup. */
2600
+ export const createBackup = /*@__PURE__*/ API.make(() => ({
2601
+ input: CreateBackupRequest,
2602
+ output: Message,
2603
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2604
+ protocol: StackitProtocol,
2605
+ retry: Retry.Retry,
2606
+ }));
2607
+ /** Create backup schedule. */
2608
+ export const createBackupSchedule = /*@__PURE__*/ API.make(() => ({
2609
+ input: CreateBackupScheduleRequest,
2610
+ output: BackupSchedulePostResponse,
2611
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2612
+ protocol: StackitProtocol,
2613
+ retry: Retry.Retry,
2614
+ }));
2615
+ /** Create cert check. */
2616
+ export const createCertCheck = /*@__PURE__*/ API.make(() => ({
2617
+ input: CreateCertCheckRequest,
2618
+ output: CertCheckResponse,
2619
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2620
+ protocol: StackitProtocol,
2621
+ retry: Retry.Retry,
2622
+ }));
2623
+ /** Create technical user credentials. */
2624
+ export const createCredentials = /*@__PURE__*/ API.make(() => ({
2625
+ input: CreateCredentialsRequest,
2626
+ output: CreateCredentialsResponse,
2627
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2628
+ protocol: StackitProtocol,
2629
+ retry: Retry.Retry,
2630
+ }));
2631
+ /** Create elasticsearch check. */
2632
+ export const createElasticsearchCheck = /*@__PURE__*/ API.make(() => ({
2633
+ input: CreateElasticsearchCheckRequest,
2634
+ output: ElasticsearchCheckResponse,
2635
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2636
+ protocol: StackitProtocol,
2637
+ retry: Retry.Retry,
2638
+ }));
2639
+ /** Create http check. */
2640
+ export const createHttpCheck = /*@__PURE__*/ API.make(() => ({
2641
+ input: CreateHttpCheckRequest,
2642
+ output: HttpCheckResponse,
2643
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2644
+ protocol: StackitProtocol,
2645
+ retry: Retry.Retry,
2646
+ }));
2647
+ /** Create new instance. */
2648
+ export const createInstance = /*@__PURE__*/ API.make(() => ({
2649
+ input: CreateInstanceRequest,
2650
+ output: CreateInstanceResponse,
2651
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2652
+ protocol: StackitProtocol,
2653
+ retry: Retry.Retry,
2654
+ }));
2655
+ /** Create logs alert group config. */
2656
+ export const createLogsAlertgroups = /*@__PURE__*/ API.make(() => ({
2657
+ input: CreateLogsAlertgroupsRequest,
2658
+ output: AlertGroupsResponse,
2659
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2660
+ protocol: StackitProtocol,
2661
+ retry: Retry.Retry,
2662
+ }));
2663
+ /** Create mongodb check. */
2664
+ export const createMongodbCheck = /*@__PURE__*/ API.make(() => ({
2665
+ input: CreateMongodbCheckRequest,
2666
+ output: MongodbCheckResponse,
2667
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2668
+ protocol: StackitProtocol,
2669
+ retry: Retry.Retry,
2670
+ }));
2671
+ /** Create mysql check. */
2672
+ export const createMysqlCheck = /*@__PURE__*/ API.make(() => ({
2673
+ input: CreateMysqlCheckRequest,
2674
+ output: MysqlCheckResponse,
2675
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2676
+ protocol: StackitProtocol,
2677
+ retry: Retry.Retry,
2678
+ }));
2679
+ /** Create network check. */
2680
+ export const createNetworkCheck = /*@__PURE__*/ API.make(() => ({
2681
+ input: CreateNetworkCheckRequest,
2682
+ output: NetworkCheckResponse,
2683
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2684
+ protocol: StackitProtocol,
2685
+ retry: Retry.Retry,
2686
+ }));
2687
+ /** Create ping check. */
2688
+ export const createPingCheck = /*@__PURE__*/ API.make(() => ({
2689
+ input: CreatePingCheckRequest,
2690
+ output: PingCheckResponse,
2691
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2692
+ protocol: StackitProtocol,
2693
+ retry: Retry.Retry,
2694
+ }));
2695
+ /** Create postgresql check. */
2696
+ export const createPostgresqlCheck = /*@__PURE__*/ API.make(() => ({
2697
+ input: CreatePostgresqlCheckRequest,
2698
+ output: PostgresqlCheckResponse,
2699
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2700
+ protocol: StackitProtocol,
2701
+ retry: Retry.Retry,
2702
+ }));
2703
+ /** Create rabbitmq check. */
2704
+ export const createRabbitmqCheck = /*@__PURE__*/ API.make(() => ({
2705
+ input: CreateRabbitmqCheckRequest,
2706
+ output: RabbitmqCheckResponse,
2707
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2708
+ protocol: StackitProtocol,
2709
+ retry: Retry.Retry,
2710
+ }));
2711
+ /** Create redis check. */
2712
+ export const createRedisCheck = /*@__PURE__*/ API.make(() => ({
2713
+ input: CreateRedisCheckRequest,
2714
+ output: RedisCheckResponse,
2715
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2716
+ protocol: StackitProtocol,
2717
+ retry: Retry.Retry,
2718
+ }));
2719
+ /** Create scrape config. */
2720
+ export const createScrapeConfig = /*@__PURE__*/ API.make(() => ({
2721
+ input: CreateScrapeConfigRequest,
2722
+ output: ScrapeConfigsResponse,
2723
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2724
+ protocol: StackitProtocol,
2725
+ retry: Retry.Retry,
2726
+ }));
2727
+ /** Delete alert config receiver. */
2728
+ export const deleteAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
2729
+ input: DeleteAlertConfigReceiverRequest,
2730
+ output: AlertConfigReceiversResponse,
2731
+ errors: [Forbidden, NotFound, UnknownStackitError],
2732
+ protocol: StackitProtocol,
2733
+ retry: Retry.Retry,
2734
+ }));
2735
+ /** Delete alert receiver for route. */
2736
+ export const deleteAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
2737
+ input: DeleteAlertConfigRouteRequest,
2738
+ output: AlertConfigRouteResponse,
2739
+ errors: [Forbidden, NotFound, UnknownStackitError],
2740
+ protocol: StackitProtocol,
2741
+ retry: Retry.Retry,
2742
+ }));
2743
+ /** Delete alert group config. */
2744
+ export const deleteAlertgroup = /*@__PURE__*/ API.make(() => ({
2745
+ input: DeleteAlertgroupRequest,
2746
+ output: AlertGroupsResponse,
2747
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2748
+ protocol: StackitProtocol,
2749
+ retry: Retry.Retry,
2750
+ }));
2751
+ /** Delete alert groups. */
2752
+ export const deleteAlertgroups = /*@__PURE__*/ API.make(() => ({
2753
+ input: DeleteAlertgroupsRequest,
2754
+ output: AlertGroupsResponse,
2755
+ errors: [Forbidden, UnknownStackitError],
2756
+ protocol: StackitProtocol,
2757
+ retry: Retry.Retry,
2758
+ }));
2759
+ /** Delete alert record. */
2760
+ export const deleteAlertRecord = /*@__PURE__*/ API.make(() => ({
2761
+ input: DeleteAlertRecordRequest,
2762
+ output: AlertRecordsResponse,
2763
+ errors: [Forbidden, NotFound, UnknownStackitError],
2764
+ protocol: StackitProtocol,
2765
+ retry: Retry.Retry,
2766
+ }));
2767
+ /** Delete alert records. */
2768
+ export const deleteAlertRecords = /*@__PURE__*/ API.make(() => ({
2769
+ input: DeleteAlertRecordsRequest,
2770
+ output: AlertRecordsResponse,
2771
+ errors: [Forbidden, UnknownStackitError],
2772
+ protocol: StackitProtocol,
2773
+ retry: Retry.Retry,
2774
+ }));
2775
+ /** Delete alert rule. */
2776
+ export const deleteAlertrule = /*@__PURE__*/ API.make(() => ({
2777
+ input: DeleteAlertruleRequest,
2778
+ output: AlertRulesResponse,
2779
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2780
+ protocol: StackitProtocol,
2781
+ retry: Retry.Retry,
2782
+ }));
2783
+ /** Delete alert rules. */
2784
+ export const deleteAlertrules = /*@__PURE__*/ API.make(() => ({
2785
+ input: DeleteAlertrulesRequest,
2786
+ output: AlertRulesResponse,
2787
+ errors: [Forbidden, UnknownStackitError],
2788
+ protocol: StackitProtocol,
2789
+ retry: Retry.Retry,
2790
+ }));
2791
+ /** Delete cert check. */
2792
+ export const deleteCertCheck = /*@__PURE__*/ API.make(() => ({
2793
+ input: DeleteCertCheckRequest,
2794
+ output: CertCheckResponse,
2795
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2796
+ protocol: StackitProtocol,
2797
+ retry: Retry.Retry,
2798
+ }));
2799
+ /** Delete technical credentials. */
2800
+ export const deleteCredentials = /*@__PURE__*/ API.make(() => ({
2801
+ input: DeleteCredentialsRequest,
2802
+ output: Message,
2803
+ errors: [Forbidden, NotFound, UnknownStackitError],
2804
+ protocol: StackitProtocol,
2805
+ retry: Retry.Retry,
2806
+ }));
2807
+ /** Delete remote write config for credentials. */
2808
+ export const deleteCredentialsRemoteWriteConfig = /*@__PURE__*/ API.make(() => ({
2809
+ input: DeleteCredentialsRemoteWriteConfigRequest,
2810
+ output: CredentialsRemoteWriteDeleteResponse,
2811
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2812
+ protocol: StackitProtocol,
2813
+ retry: Retry.Retry,
2814
+ }));
2815
+ /** Delete elasticsearch check. */
2816
+ export const deleteElasticsearchCheck = /*@__PURE__*/ API.make(() => ({
2817
+ input: DeleteElasticsearchCheckRequest,
2818
+ output: ElasticsearchCheckResponse,
2819
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2820
+ protocol: StackitProtocol,
2821
+ retry: Retry.Retry,
2822
+ }));
2823
+ /** Delete http check. */
2824
+ export const deleteHttpCheck = /*@__PURE__*/ API.make(() => ({
2825
+ input: DeleteHttpCheckRequest,
2826
+ output: HttpCheckResponse,
2827
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2828
+ protocol: StackitProtocol,
2829
+ retry: Retry.Retry,
2830
+ }));
2831
+ /** Delete instance. */
2832
+ export const deleteInstance = /*@__PURE__*/ API.make(() => ({
2833
+ input: DeleteInstanceRequest,
2834
+ output: InstanceResponse,
2835
+ errors: [Forbidden, UnknownStackitError],
2836
+ protocol: StackitProtocol,
2837
+ retry: Retry.Retry,
2838
+ }));
2839
+ /** Delete logs alert group config. */
2840
+ export const deleteLogsAlertgroup = /*@__PURE__*/ API.make(() => ({
2841
+ input: DeleteLogsAlertgroupRequest,
2842
+ output: AlertGroupsResponse,
2843
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2844
+ protocol: StackitProtocol,
2845
+ retry: Retry.Retry,
2846
+ }));
2847
+ /** Delete mongodb check. */
2848
+ export const deleteMongodbCheck = /*@__PURE__*/ API.make(() => ({
2849
+ input: DeleteMongodbCheckRequest,
2850
+ output: MongodbCheckResponse,
2851
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2852
+ protocol: StackitProtocol,
2853
+ retry: Retry.Retry,
2854
+ }));
2855
+ /** Delete mysql check. */
2856
+ export const deleteMysqlCheck = /*@__PURE__*/ API.make(() => ({
2857
+ input: DeleteMysqlCheckRequest,
2858
+ output: MysqlCheckResponse,
2859
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2860
+ protocol: StackitProtocol,
2861
+ retry: Retry.Retry,
2862
+ }));
2863
+ /** Delete network check. */
2864
+ export const deleteNetworkCheck = /*@__PURE__*/ API.make(() => ({
2865
+ input: DeleteNetworkCheckRequest,
2866
+ output: NetworkCheckResponse,
2867
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2868
+ protocol: StackitProtocol,
2869
+ retry: Retry.Retry,
2870
+ }));
2871
+ /** Delete ping check. */
2872
+ export const deletePingCheck = /*@__PURE__*/ API.make(() => ({
2873
+ input: DeletePingCheckRequest,
2874
+ output: PingCheckResponse,
2875
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2876
+ protocol: StackitProtocol,
2877
+ retry: Retry.Retry,
2878
+ }));
2879
+ /** Delete postgresql check. */
2880
+ export const deletePostgresqlCheck = /*@__PURE__*/ API.make(() => ({
2881
+ input: DeletePostgresqlCheckRequest,
2882
+ output: PostgresqlCheckResponse,
2883
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2884
+ protocol: StackitProtocol,
2885
+ retry: Retry.Retry,
2886
+ }));
2887
+ /** Delete rabbitmq check. */
2888
+ export const deleteRabbitmqCheck = /*@__PURE__*/ API.make(() => ({
2889
+ input: DeleteRabbitmqCheckRequest,
2890
+ output: RabbitmqCheckResponse,
2891
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2892
+ protocol: StackitProtocol,
2893
+ retry: Retry.Retry,
2894
+ }));
2895
+ /** Delete redis check. */
2896
+ export const deleteRedisCheck = /*@__PURE__*/ API.make(() => ({
2897
+ input: DeleteRedisCheckRequest,
2898
+ output: RedisCheckResponse,
2899
+ errors: [BadRequest, Forbidden, UnknownStackitError],
2900
+ protocol: StackitProtocol,
2901
+ retry: Retry.Retry,
2902
+ }));
2903
+ /** Delete scrape config. */
2904
+ export const deleteScrapeConfig = /*@__PURE__*/ API.make(() => ({
2905
+ input: DeleteScrapeConfigRequest,
2906
+ output: DeleteScrapeConfigResponse,
2907
+ errors: [Forbidden, NotFound, UnknownStackitError],
2908
+ protocol: StackitProtocol,
2909
+ retry: Retry.Retry,
2910
+ }));
2911
+ /** Delete scrape configs. */
2912
+ export const deleteScrapeConfigs = /*@__PURE__*/ API.make(() => ({
2913
+ input: DeleteScrapeConfigsRequest,
2914
+ output: ScrapeConfigsResponse,
2915
+ errors: [Forbidden, UnknownStackitError],
2916
+ protocol: StackitProtocol,
2917
+ retry: Retry.Retry,
2918
+ }));
2919
+ /** Get alert config receivers. */
2920
+ export const getAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
2921
+ input: GetAlertConfigReceiverRequest,
2922
+ output: Receiver,
2923
+ errors: [Forbidden, NotFound, UnknownStackitError],
2924
+ protocol: StackitProtocol,
2925
+ retry: Retry.Retry,
2926
+ }));
2927
+ /** Get alert receiver for route. */
2928
+ export const getAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
2929
+ input: GetAlertConfigRouteRequest,
2930
+ output: AlertConfigRouteResponse,
2931
+ errors: [Forbidden, UnknownStackitError],
2932
+ protocol: StackitProtocol,
2933
+ retry: Retry.Retry,
2934
+ }));
2935
+ /** Get alert config. */
2936
+ export const getAlertConfigs = /*@__PURE__*/ API.make(() => ({
2937
+ input: GetAlertConfigsRequest,
2938
+ output: GetAlertConfigsResponse,
2939
+ errors: [Forbidden, UnknownStackitError],
2940
+ protocol: StackitProtocol,
2941
+ retry: Retry.Retry,
2942
+ }));
2943
+ /** Get alert group. */
2944
+ export const getAlertgroup = /*@__PURE__*/ API.make(() => ({
2945
+ input: GetAlertgroupRequest,
2946
+ output: AlertGroupResponse,
2947
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2948
+ protocol: StackitProtocol,
2949
+ retry: Retry.Retry,
2950
+ }));
2951
+ /** Get alert record. */
2952
+ export const getAlertRecord = /*@__PURE__*/ API.make(() => ({
2953
+ input: GetAlertRecordRequest,
2954
+ output: AlertRecordResponse,
2955
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
2956
+ protocol: StackitProtocol,
2957
+ retry: Retry.Retry,
2958
+ }));
2959
+ /** Get alert rule. */
2960
+ export const getAlertrule = /*@__PURE__*/ API.make(() => ({
2961
+ input: GetAlertruleRequest,
2962
+ output: AlertRuleResponse,
2963
+ errors: [Forbidden, NotFound, UnknownStackitError],
2964
+ protocol: StackitProtocol,
2965
+ retry: Retry.Retry,
2966
+ }));
2967
+ /** Get single technical credentials. */
2968
+ export const getCredentials = /*@__PURE__*/ API.make(() => ({
2969
+ input: GetCredentialsRequest,
2970
+ output: GetCredentialsResponse,
2971
+ errors: [Forbidden, NotFound, UnknownStackitError],
2972
+ protocol: StackitProtocol,
2973
+ retry: Retry.Retry,
2974
+ }));
2975
+ /** Get remote write config. */
2976
+ export const getCredentialsRemoteWriteConfig = /*@__PURE__*/ API.make(() => ({
2977
+ input: GetCredentialsRemoteWriteConfigRequest,
2978
+ output: CredentialsRemoteWriteConfig,
2979
+ errors: [Forbidden, NotFound, UnknownStackitError],
2980
+ protocol: StackitProtocol,
2981
+ retry: Retry.Retry,
2982
+ }));
2983
+ /** Get grafana config. */
2984
+ export const getGrafanaConfigs = /*@__PURE__*/ API.make(() => ({
2985
+ input: GetGrafanaConfigsRequest,
2986
+ output: GrafanaConfigs,
2987
+ errors: [Forbidden, UnknownStackitError],
2988
+ protocol: StackitProtocol,
2989
+ retry: Retry.Retry,
2990
+ }));
2991
+ /** Get instance information. */
2992
+ export const getInstance = /*@__PURE__*/ API.make(() => ({
2993
+ input: GetInstanceRequest,
2994
+ output: GetInstanceResponse,
2995
+ errors: [Forbidden, UnknownStackitError],
2996
+ protocol: StackitProtocol,
2997
+ retry: Retry.Retry,
2998
+ }));
2999
+ /** Get logs alert group config. */
3000
+ export const getLogsAlertgroup = /*@__PURE__*/ API.make(() => ({
3001
+ input: GetLogsAlertgroupRequest,
3002
+ output: AlertGroupResponse,
3003
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3004
+ protocol: StackitProtocol,
3005
+ retry: Retry.Retry,
3006
+ }));
3007
+ /** Get logs configuration. */
3008
+ export const getLogsConfigs = /*@__PURE__*/ API.make(() => ({
3009
+ input: GetLogsConfigsRequest,
3010
+ output: LogsConfigResponse,
3011
+ errors: [Forbidden, UnknownStackitError],
3012
+ protocol: StackitProtocol,
3013
+ retry: Retry.Retry,
3014
+ }));
3015
+ /** Get metric storage retention time. */
3016
+ export const getMetricsStorageRetention = /*@__PURE__*/ API.make(() => ({
3017
+ input: GetMetricsStorageRetentionRequest,
3018
+ output: GetMetricsStorageRetentionResponse,
3019
+ errors: [Forbidden, UnknownStackitError],
3020
+ protocol: StackitProtocol,
3021
+ retry: Retry.Retry,
3022
+ }));
3023
+ /** Get scrape config. */
3024
+ export const getScrapeConfig = /*@__PURE__*/ API.make(() => ({
3025
+ input: GetScrapeConfigRequest,
3026
+ output: GetScrapeConfigResponse,
3027
+ errors: [Forbidden, UnknownStackitError],
3028
+ protocol: StackitProtocol,
3029
+ retry: Retry.Retry,
3030
+ }));
3031
+ /** Get traces config. */
3032
+ export const getTracesConfigs = /*@__PURE__*/ API.make(() => ({
3033
+ input: GetTracesConfigsRequest,
3034
+ output: TracesConfigResponse,
3035
+ errors: [Forbidden, UnknownStackitError],
3036
+ protocol: StackitProtocol,
3037
+ retry: Retry.Retry,
3038
+ }));
3039
+ /** Get acl for instance. */
3040
+ export const listACL = /*@__PURE__*/ API.make(() => ({
3041
+ input: ListACLRequest,
3042
+ output: ListACLResponse,
3043
+ errors: [Forbidden, UnknownStackitError],
3044
+ protocol: StackitProtocol,
3045
+ retry: Retry.Retry,
3046
+ }));
3047
+ /** Get alert config receivers. */
3048
+ export const listAlertConfigReceivers = /*@__PURE__*/ API.make(() => ({
3049
+ input: ListAlertConfigReceiversRequest,
3050
+ output: AlertConfigReceiversResponse,
3051
+ errors: [Forbidden, UnknownStackitError],
3052
+ protocol: StackitProtocol,
3053
+ retry: Retry.Retry,
3054
+ }));
3055
+ /** Get alert config route. */
3056
+ export const listAlertConfigRoutes = /*@__PURE__*/ API.make(() => ({
3057
+ input: ListAlertConfigRoutesRequest,
3058
+ output: AlertConfigRouteResponse,
3059
+ errors: [Forbidden, UnknownStackitError],
3060
+ protocol: StackitProtocol,
3061
+ retry: Retry.Retry,
3062
+ }));
3063
+ /** Get alert groups. */
3064
+ export const listAlertgroups = /*@__PURE__*/ API.make(() => ({
3065
+ input: ListAlertgroupsRequest,
3066
+ output: AlertGroupsResponse,
3067
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3068
+ protocol: StackitProtocol,
3069
+ retry: Retry.Retry,
3070
+ }));
3071
+ /** Get alert records. */
3072
+ export const listAlertRecords = /*@__PURE__*/ API.make(() => ({
3073
+ input: ListAlertRecordsRequest,
3074
+ output: AlertRecordsResponse,
3075
+ errors: [Forbidden, UnknownStackitError],
3076
+ protocol: StackitProtocol,
3077
+ retry: Retry.Retry,
3078
+ }));
3079
+ /** Get alert rules. */
3080
+ export const listAlertrules = /*@__PURE__*/ API.make(() => ({
3081
+ input: ListAlertrulesRequest,
3082
+ output: AlertRulesResponse,
3083
+ errors: [Forbidden, UnknownStackitError],
3084
+ protocol: StackitProtocol,
3085
+ retry: Retry.Retry,
3086
+ }));
3087
+ /** Get backup retention. */
3088
+ export const listBackupRetentions = /*@__PURE__*/ API.make(() => ({
3089
+ input: ListBackupRetentionsRequest,
3090
+ output: BackupRetentionResponse,
3091
+ errors: [Forbidden, UnknownStackitError],
3092
+ protocol: StackitProtocol,
3093
+ retry: Retry.Retry,
3094
+ }));
3095
+ /** Get backups. */
3096
+ export const listBackups = /*@__PURE__*/ API.make(() => ({
3097
+ input: ListBackupsRequest,
3098
+ output: BackupResponse,
3099
+ errors: [Forbidden, UnknownStackitError],
3100
+ protocol: StackitProtocol,
3101
+ retry: Retry.Retry,
3102
+ }));
3103
+ /** Get backup schedules. */
3104
+ export const listBackupSchedules = /*@__PURE__*/ API.make(() => ({
3105
+ input: ListBackupSchedulesRequest,
3106
+ output: BackupScheduleResponse,
3107
+ errors: [Forbidden, UnknownStackitError],
3108
+ protocol: StackitProtocol,
3109
+ retry: Retry.Retry,
3110
+ }));
3111
+ /** Get all cert checks configured. */
3112
+ export const listCertChecks = /*@__PURE__*/ API.make(() => ({
3113
+ input: ListCertChecksRequest,
3114
+ output: CertCheckResponse,
3115
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3116
+ protocol: StackitProtocol,
3117
+ retry: Retry.Retry,
3118
+ }));
3119
+ /** Get all technical user credentials. */
3120
+ export const listCredentials = /*@__PURE__*/ API.make(() => ({
3121
+ input: ListCredentialsRequest,
3122
+ output: ListCredentialsResponse,
3123
+ errors: [Forbidden, UnknownStackitError],
3124
+ protocol: StackitProtocol,
3125
+ retry: Retry.Retry,
3126
+ }));
3127
+ /** Get all elasticsearch checks configured. */
3128
+ export const listElasticsearchChecks = /*@__PURE__*/ API.make(() => ({
3129
+ input: ListElasticsearchChecksRequest,
3130
+ output: ElasticsearchCheckResponse,
3131
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3132
+ protocol: StackitProtocol,
3133
+ retry: Retry.Retry,
3134
+ }));
3135
+ /** Get all http checks configured. */
3136
+ export const listHttpChecks = /*@__PURE__*/ API.make(() => ({
3137
+ input: ListHttpChecksRequest,
3138
+ output: HttpCheckResponse,
3139
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3140
+ protocol: StackitProtocol,
3141
+ retry: Retry.Retry,
3142
+ }));
3143
+ /** Get all instances for a project. */
3144
+ export const listInstances = /*@__PURE__*/ API.make(() => ({
3145
+ input: ListInstancesRequest,
3146
+ output: ListInstancesResponse,
3147
+ errors: [Forbidden, UnknownStackitError],
3148
+ protocol: StackitProtocol,
3149
+ retry: Retry.Retry,
3150
+ }));
3151
+ /** Get logs alert groups config. */
3152
+ export const listLogsAlertgroups = /*@__PURE__*/ API.make(() => ({
3153
+ input: ListLogsAlertgroupsRequest,
3154
+ output: AlertGroupsResponse,
3155
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3156
+ protocol: StackitProtocol,
3157
+ retry: Retry.Retry,
3158
+ }));
3159
+ /** Get all mongodb checks configured. */
3160
+ export const listMongodbChecks = /*@__PURE__*/ API.make(() => ({
3161
+ input: ListMongodbChecksRequest,
3162
+ output: MongodbCheckResponse,
3163
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3164
+ protocol: StackitProtocol,
3165
+ retry: Retry.Retry,
3166
+ }));
3167
+ /** Get all mysql checks configured. */
3168
+ export const listMysqlChecks = /*@__PURE__*/ API.make(() => ({
3169
+ input: ListMysqlChecksRequest,
3170
+ output: MysqlCheckResponse,
3171
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3172
+ protocol: StackitProtocol,
3173
+ retry: Retry.Retry,
3174
+ }));
3175
+ /** Get all network checks configured. */
3176
+ export const listNetworkChecks = /*@__PURE__*/ API.make(() => ({
3177
+ input: ListNetworkChecksRequest,
3178
+ output: NetworkCheckResponse,
3179
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3180
+ protocol: StackitProtocol,
3181
+ retry: Retry.Retry,
3182
+ }));
3183
+ /** Get all plans. */
3184
+ export const listOfferings = /*@__PURE__*/ API.make(() => ({
3185
+ input: ListOfferingsRequest,
3186
+ output: Offerings,
3187
+ errors: [Forbidden, UnknownStackitError],
3188
+ protocol: StackitProtocol,
3189
+ retry: Retry.Retry,
3190
+ }));
3191
+ /** Get all ping checks configured. */
3192
+ export const listPingChecks = /*@__PURE__*/ API.make(() => ({
3193
+ input: ListPingChecksRequest,
3194
+ output: PingCheckResponse,
3195
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3196
+ protocol: StackitProtocol,
3197
+ retry: Retry.Retry,
3198
+ }));
3199
+ /** Get all plans. */
3200
+ export const listPlans = /*@__PURE__*/ API.make(() => ({
3201
+ input: ListPlansRequest,
3202
+ output: PlansResponse,
3203
+ errors: [Forbidden, UnknownStackitError],
3204
+ protocol: StackitProtocol,
3205
+ retry: Retry.Retry,
3206
+ }));
3207
+ /** Get all postgresql checks configured. */
3208
+ export const listPostgresqlChecks = /*@__PURE__*/ API.make(() => ({
3209
+ input: ListPostgresqlChecksRequest,
3210
+ output: PostgresqlCheckResponse,
3211
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3212
+ protocol: StackitProtocol,
3213
+ retry: Retry.Retry,
3214
+ }));
3215
+ /** Get all rabbitmq checks configured. */
3216
+ export const listRabbitmqChecks = /*@__PURE__*/ API.make(() => ({
3217
+ input: ListRabbitmqChecksRequest,
3218
+ output: RabbitmqCheckResponse,
3219
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3220
+ protocol: StackitProtocol,
3221
+ retry: Retry.Retry,
3222
+ }));
3223
+ /** Get all redis checks configured. */
3224
+ export const listRedisChecks = /*@__PURE__*/ API.make(() => ({
3225
+ input: ListRedisChecksRequest,
3226
+ output: RedisCheckResponse,
3227
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3228
+ protocol: StackitProtocol,
3229
+ retry: Retry.Retry,
3230
+ }));
3231
+ /** Get scrape configs. */
3232
+ export const listScrapeConfigs = /*@__PURE__*/ API.make(() => ({
3233
+ input: ListScrapeConfigsRequest,
3234
+ output: ListScrapeConfigsResponse,
3235
+ errors: [Forbidden, UnknownStackitError],
3236
+ protocol: StackitProtocol,
3237
+ retry: Retry.Retry,
3238
+ }));
3239
+ /** Patch alert groups. */
3240
+ export const partialUpdateAlertgroups = /*@__PURE__*/ API.make(() => ({
3241
+ input: PartialUpdateAlertgroupsRequest,
3242
+ output: AlertGroupsResponse,
3243
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3244
+ protocol: StackitProtocol,
3245
+ retry: Retry.Retry,
3246
+ }));
3247
+ /** Patch alert records. */
3248
+ export const partialUpdateAlertRecords = /*@__PURE__*/ API.make(() => ({
3249
+ input: PartialUpdateAlertRecordsRequest,
3250
+ output: AlertRecordsResponse,
3251
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3252
+ protocol: StackitProtocol,
3253
+ retry: Retry.Retry,
3254
+ }));
3255
+ /** Patch alert rules. */
3256
+ export const partialUpdateAlertrules = /*@__PURE__*/ API.make(() => ({
3257
+ input: PartialUpdateAlertrulesRequest,
3258
+ output: AlertRulesResponse,
3259
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3260
+ protocol: StackitProtocol,
3261
+ retry: Retry.Retry,
3262
+ }));
3263
+ /** Update scrape configs. */
3264
+ export const partialUpdateScrapeConfigs = /*@__PURE__*/ API.make(() => ({
3265
+ input: PartialUpdateScrapeConfigsRequest,
3266
+ output: ScrapeConfigsResponse,
3267
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3268
+ protocol: StackitProtocol,
3269
+ retry: Retry.Retry,
3270
+ }));
3271
+ /** Restore backup. */
3272
+ export const restoreBackup = /*@__PURE__*/ API.make(() => ({
3273
+ input: RestoreBackupRequest,
3274
+ output: Message,
3275
+ errors: [Forbidden, NotFound, UnknownStackitError],
3276
+ protocol: StackitProtocol,
3277
+ retry: Retry.Retry,
3278
+ }));
3279
+ /** Update acl config. */
3280
+ export const updateACL = /*@__PURE__*/ API.make(() => ({
3281
+ input: UpdateACLRequest,
3282
+ output: Message,
3283
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3284
+ protocol: StackitProtocol,
3285
+ retry: Retry.Retry,
3286
+ }));
3287
+ /** Update alert config receiver. */
3288
+ export const updateAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
3289
+ input: UpdateAlertConfigReceiverRequest,
3290
+ output: AlertConfigReceiversResponse,
3291
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3292
+ protocol: StackitProtocol,
3293
+ retry: Retry.Retry,
3294
+ }));
3295
+ /** Update alert receiver for route. */
3296
+ export const updateAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
3297
+ input: UpdateAlertConfigRouteRequest,
3298
+ output: AlertConfigRouteResponse,
3299
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3300
+ protocol: StackitProtocol,
3301
+ retry: Retry.Retry,
3302
+ }));
3303
+ /** Update alert config. */
3304
+ export const updateAlertConfigs = /*@__PURE__*/ API.make(() => ({
3305
+ input: UpdateAlertConfigsRequest,
3306
+ output: UpdateAlertConfigsResponse,
3307
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3308
+ protocol: StackitProtocol,
3309
+ retry: Retry.Retry,
3310
+ }));
3311
+ /** Update alert group config. */
3312
+ export const updateAlertgroup = /*@__PURE__*/ API.make(() => ({
3313
+ input: UpdateAlertgroupRequest,
3314
+ output: AlertGroupsResponse,
3315
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3316
+ protocol: StackitProtocol,
3317
+ retry: Retry.Retry,
3318
+ }));
3319
+ /** Update alert groups. */
3320
+ export const updateAlertgroups = /*@__PURE__*/ API.make(() => ({
3321
+ input: UpdateAlertgroupsRequest,
3322
+ output: AlertGroupsResponse,
3323
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3324
+ protocol: StackitProtocol,
3325
+ retry: Retry.Retry,
3326
+ }));
3327
+ /** Update alert record. */
3328
+ export const updateAlertRecord = /*@__PURE__*/ API.make(() => ({
3329
+ input: UpdateAlertRecordRequest,
3330
+ output: AlertRecordsResponse,
3331
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3332
+ protocol: StackitProtocol,
3333
+ retry: Retry.Retry,
3334
+ }));
3335
+ /** Update alert rule. */
3336
+ export const updateAlertrule = /*@__PURE__*/ API.make(() => ({
3337
+ input: UpdateAlertruleRequest,
3338
+ output: AlertRulesResponse,
3339
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3340
+ protocol: StackitProtocol,
3341
+ retry: Retry.Retry,
3342
+ }));
3343
+ /** Update remote write config for credentials. */
3344
+ export const updateCredentialsRemoteWriteConfig = /*@__PURE__*/ API.make(() => ({
3345
+ input: UpdateCredentialsRemoteWriteConfigRequest,
3346
+ output: CredentialsRemoteWriteConfig,
3347
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3348
+ protocol: StackitProtocol,
3349
+ retry: Retry.Retry,
3350
+ }));
3351
+ /** Update grafana config. */
3352
+ export const updateGrafanaConfigs = /*@__PURE__*/ API.make(() => ({
3353
+ input: UpdateGrafanaConfigsRequest,
3354
+ output: Message,
3355
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3356
+ protocol: StackitProtocol,
3357
+ retry: Retry.Retry,
3358
+ }));
3359
+ /** Update instance. */
3360
+ export const updateInstance = /*@__PURE__*/ API.make(() => ({
3361
+ input: UpdateInstanceRequest,
3362
+ output: InstanceResponse,
3363
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3364
+ protocol: StackitProtocol,
3365
+ retry: Retry.Retry,
3366
+ }));
3367
+ /** Update logs alert group config. */
3368
+ export const updateLogsAlertgroup = /*@__PURE__*/ API.make(() => ({
3369
+ input: UpdateLogsAlertgroupRequest,
3370
+ output: AlertGroupsResponse,
3371
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3372
+ protocol: StackitProtocol,
3373
+ retry: Retry.Retry,
3374
+ }));
3375
+ /** Update logs config. */
3376
+ export const updateLogsConfigs = /*@__PURE__*/ API.make(() => ({
3377
+ input: UpdateLogsConfigsRequest,
3378
+ output: Message,
3379
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3380
+ protocol: StackitProtocol,
3381
+ retry: Retry.Retry,
3382
+ }));
3383
+ /** Update metric update retention time. */
3384
+ export const updateMetricsStorageRetention = /*@__PURE__*/ API.make(() => ({
3385
+ input: UpdateMetricsStorageRetentionRequest,
3386
+ output: Message,
3387
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3388
+ protocol: StackitProtocol,
3389
+ retry: Retry.Retry,
3390
+ }));
3391
+ /** Update scrape config. */
3392
+ export const updateScrapeConfig = /*@__PURE__*/ API.make(() => ({
3393
+ input: UpdateScrapeConfigRequest,
3394
+ output: ScrapeConfigsResponse,
3395
+ errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
3396
+ protocol: StackitProtocol,
3397
+ retry: Retry.Retry,
3398
+ }));
3399
+ /** Update traces config. */
3400
+ export const updateTracesConfigs = /*@__PURE__*/ API.make(() => ({
3401
+ input: UpdateTracesConfigsRequest,
3402
+ output: Message,
3403
+ errors: [BadRequest, Forbidden, UnknownStackitError],
3404
+ protocol: StackitProtocol,
3405
+ retry: Retry.Retry,
3406
+ }));
3407
+ //# sourceMappingURL=observability.js.map