@distilled.cloud/stackit 0.0.0-stage → 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 +33 -2
  3. package/lib/credentials.d.ts +29 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +49 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +36 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +26 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/pagination.d.ts +9 -0
  16. package/lib/pagination.d.ts.map +1 -0
  17. package/lib/pagination.js +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 +83 -3
  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,2750 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as Redacted from "effect/Redacted";
3
+ import * as API from "@distilled.cloud/core/api";
4
+ import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
5
+ export type { StackitOpError, StackitOpContext };
6
+ declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
7
+ readonly code: any;
8
+ readonly message: any;
9
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
10
+ "@distilled.cloud/error/categories": {
11
+ BadRequestError: true;
12
+ };
13
+ });
14
+ export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
15
+ }
16
+ declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
17
+ readonly code: any;
18
+ readonly message: any;
19
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
20
+ "@distilled.cloud/error/categories": {
21
+ AuthError: true;
22
+ };
23
+ });
24
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
25
+ }
26
+ declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
27
+ readonly code: any;
28
+ readonly message: any;
29
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
30
+ "@distilled.cloud/error/categories": {
31
+ BadRequestError: true;
32
+ };
33
+ });
34
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
35
+ }
36
+ export interface CreateAlertConfigReceiverRequestEmailConfigsItem {
37
+ /** SMTP authentication information. `Additional Validators:` * must be a syntactically valid email address */
38
+ authIdentity?: string;
39
+ /** SMTP authentication information. */
40
+ authPassword?: string | Redacted.Redacted<string>;
41
+ /** SMTP authentication information. */
42
+ authUsername?: string;
43
+ /** The sender address. `Additional Validators:` * must be a syntactically valid email address */
44
+ from?: string;
45
+ /** Whether to notify about resolved alerts. */
46
+ sendResolved?: boolean;
47
+ /** The SMTP host through which emails are sent. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
48
+ smarthost?: string;
49
+ /** The email address to send notifications to. `Additional Validators:` * must be a syntactically valid email address */
50
+ to?: string;
51
+ }
52
+ export declare const CreateAlertConfigReceiverRequestEmailConfigsItem: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
53
+ /** Email configurations */
54
+ export type CreateAlertConfigReceiverRequestEmailConfigsList = Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
55
+ export declare const CreateAlertConfigReceiverRequestEmailConfigsList: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsList>;
56
+ export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
57
+ /** The API key to use when talking to the OpsGenie API. `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
58
+ apiKey?: string | Redacted.Redacted<string>;
59
+ /** The host to send OpsGenie API requests to. `Additional Validators:` * must be a syntactically valid url address */
60
+ apiUrl?: string;
61
+ /** Priority level of alert. Possible values are P1, P2, P3, P4, and P5. */
62
+ priority?: string;
63
+ /** Whether to notify about resolved alerts. */
64
+ sendResolved?: boolean;
65
+ /** Comma separated list of tags attached to the notifications. */
66
+ tags?: string;
67
+ }
68
+ export declare const CreateAlertConfigReceiverRequestOpsgenieConfigsItem: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
69
+ /** Configuration for ops genie. */
70
+ export type CreateAlertConfigReceiverRequestOpsgenieConfigsList = Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
71
+ export declare const CreateAlertConfigReceiverRequestOpsgenieConfigsList: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsList>;
72
+ export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
73
+ /** Google Chat webhooks require special handling. If you set this property to true, it is treated as such. `Additional Validators:` * When set to true, msTeams must be false. */
74
+ googleChat?: boolean;
75
+ /** Microsoft Teams webhooks require special handling. If you set this property to true, it is treated as such. `Additional Validators:` * When set to true, googleChat must be false. */
76
+ msTeams?: boolean;
77
+ /** Whether to notify about resolved alerts. */
78
+ sendResolved?: boolean;
79
+ /** The endpoint to send HTTP POST requests to. `Additional Validators:` * must be a syntactically valid url address */
80
+ url?: string;
81
+ }
82
+ export declare const CreateAlertConfigReceiverRequestWebHookConfigsItem: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
83
+ export type CreateAlertConfigReceiverRequestWebHookConfigsList = Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
84
+ export declare const CreateAlertConfigReceiverRequestWebHookConfigsList: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsList>;
85
+ export interface CreateAlertConfigReceiverRequest {
86
+ projectId: string;
87
+ instanceId: string;
88
+ /** Email configurations */
89
+ emailConfigs?: CreateAlertConfigReceiverRequestEmailConfigsList;
90
+ /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
91
+ name: string;
92
+ /** Configuration for ops genie. */
93
+ opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList;
94
+ webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList;
95
+ }
96
+ export declare const CreateAlertConfigReceiverRequest: S.Schema<CreateAlertConfigReceiverRequest>;
97
+ export interface EmailConfig {
98
+ authIdentity?: string;
99
+ authPassword?: string | Redacted.Redacted<string>;
100
+ authUsername?: string;
101
+ from?: string;
102
+ sendResolved?: boolean;
103
+ smarthost?: string;
104
+ to: string;
105
+ }
106
+ export declare const EmailConfig: S.Schema<EmailConfig>;
107
+ export type ReceiversEmailConfigsList = Array<EmailConfig>;
108
+ export declare const ReceiversEmailConfigsList: S.Schema<ReceiversEmailConfigsList>;
109
+ export interface OpsgenieConfig {
110
+ apiKey?: string | Redacted.Redacted<string>;
111
+ apiUrl?: string;
112
+ priority?: string;
113
+ sendResolved?: boolean;
114
+ tags?: string;
115
+ }
116
+ export declare const OpsgenieConfig: S.Schema<OpsgenieConfig>;
117
+ export type ReceiversOpsgenieConfigsList = Array<OpsgenieConfig>;
118
+ export declare const ReceiversOpsgenieConfigsList: S.Schema<ReceiversOpsgenieConfigsList>;
119
+ export interface WebHook {
120
+ googleChat?: boolean;
121
+ msTeams?: boolean;
122
+ sendResolved?: boolean;
123
+ url: string;
124
+ }
125
+ export declare const WebHook: S.Schema<WebHook>;
126
+ export type ReceiversWebHookConfigsList = Array<WebHook>;
127
+ export declare const ReceiversWebHookConfigsList: S.Schema<ReceiversWebHookConfigsList>;
128
+ export interface Receivers {
129
+ emailConfigs?: ReceiversEmailConfigsList;
130
+ name: string;
131
+ opsgenieConfigs?: ReceiversOpsgenieConfigsList;
132
+ webHookConfigs?: ReceiversWebHookConfigsList;
133
+ }
134
+ export declare const Receivers: S.Schema<Receivers>;
135
+ export type AlertConfigReceiversResponseDataList = Array<Receivers>;
136
+ export declare const AlertConfigReceiversResponseDataList: S.Schema<AlertConfigReceiversResponseDataList>;
137
+ export interface AlertConfigReceiversResponse {
138
+ data: AlertConfigReceiversResponseDataList;
139
+ message: string;
140
+ }
141
+ export declare const AlertConfigReceiversResponse: S.Schema<AlertConfigReceiversResponse>;
142
+ /** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
143
+ export type CreateAlertConfigRouteRequestGroupByList = Array<string>;
144
+ export declare const CreateAlertConfigRouteRequestGroupByList: S.Schema<CreateAlertConfigRouteRequestGroupByList>;
145
+ /** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
146
+ export type CreateAlertConfigRouteRequestMatchersList = Array<string>;
147
+ export declare const CreateAlertConfigRouteRequestMatchersList: S.Schema<CreateAlertConfigRouteRequestMatchersList>;
148
+ export type CreateAlertConfigRouteRequestRoutesItemGroupByList = Array<string>;
149
+ export declare const CreateAlertConfigRouteRequestRoutesItemGroupByList: S.Schema<CreateAlertConfigRouteRequestRoutesItemGroupByList>;
150
+ /** As in one level above */
151
+ export type CreateAlertConfigRouteRequestRoutesItemMatchersList = Array<string>;
152
+ export declare const CreateAlertConfigRouteRequestRoutesItemMatchersList: S.Schema<CreateAlertConfigRouteRequestRoutesItemMatchersList>;
153
+ /** Another child routes */
154
+ export type CreateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
155
+ export declare const CreateAlertConfigRouteRequestRoutesItemRoutesList: S.Schema<CreateAlertConfigRouteRequestRoutesItemRoutesList>;
156
+ /** As in one level above */
157
+ export interface CreateAlertConfigRouteRequestRoutesItem {
158
+ /** Whether an alert should continue matching subsequent sibling nodes. */
159
+ continue?: boolean;
160
+ groupBy?: CreateAlertConfigRouteRequestRoutesItemGroupByList;
161
+ /** As in one level above */
162
+ groupInterval?: string;
163
+ /** As in one level above */
164
+ groupWait?: string;
165
+ /** As in one level above */
166
+ match?: unknown;
167
+ /** As in one level above */
168
+ matchRe?: unknown;
169
+ /** As in one level above */
170
+ matchers?: CreateAlertConfigRouteRequestRoutesItemMatchersList;
171
+ /** As in one level above */
172
+ receiver?: string;
173
+ /** As in one level above */
174
+ repeatInterval?: string;
175
+ /** Another child routes */
176
+ routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList;
177
+ }
178
+ export declare const CreateAlertConfigRouteRequestRoutesItem: S.Schema<CreateAlertConfigRouteRequestRoutesItem>;
179
+ /** Zero or more child routes. */
180
+ export type CreateAlertConfigRouteRequestRoutesList = Array<CreateAlertConfigRouteRequestRoutesItem>;
181
+ export declare const CreateAlertConfigRouteRequestRoutesList: S.Schema<CreateAlertConfigRouteRequestRoutesList>;
182
+ export interface CreateAlertConfigRouteRequest {
183
+ projectId: string;
184
+ instanceId: string;
185
+ /** The continue parameter cannot be set to true on the root route because there are no subsequent sibling nodes to match. It must always be false. */
186
+ continue?: boolean;
187
+ /** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
188
+ groupBy?: CreateAlertConfigRouteRequestGroupByList;
189
+ /** How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) `Additional Validators:` * must be a valid time format */
190
+ groupInterval?: string;
191
+ /** How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) `Additional Validators:` * must be a valid time format */
192
+ groupWait?: string;
193
+ /** map of key:value. A set of equality matchers an alert has to fulfill to match the node. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters * key and values should only include the characters: a-zA-Z0-9_./@&?:- */
194
+ match?: unknown;
195
+ /** map of key:value. A set of regex-matchers an alert has to fulfill to match the node. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
196
+ matchRe?: unknown;
197
+ /** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
198
+ matchers?: CreateAlertConfigRouteRequestMatchersList;
199
+ /** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
200
+ receiver: string;
201
+ /** How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). `Additional Validators:` * must be a valid time format */
202
+ repeatInterval?: string;
203
+ /** Zero or more child routes. */
204
+ routes?: CreateAlertConfigRouteRequestRoutesList;
205
+ }
206
+ export declare const CreateAlertConfigRouteRequest: S.Schema<CreateAlertConfigRouteRequest>;
207
+ export type RouteGroupByList = Array<string>;
208
+ export declare const RouteGroupByList: S.Schema<RouteGroupByList>;
209
+ export type RouteMatchMap = {
210
+ [key: string]: string | undefined;
211
+ };
212
+ export declare const RouteMatchMap: S.Schema<RouteMatchMap>;
213
+ export type RouteMatchReMap = {
214
+ [key: string]: string | undefined;
215
+ };
216
+ export declare const RouteMatchReMap: S.Schema<RouteMatchReMap>;
217
+ export type RouteMatchersList = Array<string>;
218
+ export declare const RouteMatchersList: S.Schema<RouteMatchersList>;
219
+ export type RouteSerializerGroupByList = Array<string>;
220
+ export declare const RouteSerializerGroupByList: S.Schema<RouteSerializerGroupByList>;
221
+ export type RouteSerializerMatchMap = {
222
+ [key: string]: string | undefined;
223
+ };
224
+ export declare const RouteSerializerMatchMap: S.Schema<RouteSerializerMatchMap>;
225
+ export type RouteSerializerMatchReMap = {
226
+ [key: string]: string | undefined;
227
+ };
228
+ export declare const RouteSerializerMatchReMap: S.Schema<RouteSerializerMatchReMap>;
229
+ export type RouteSerializerMatchersList = Array<string>;
230
+ export declare const RouteSerializerMatchersList: S.Schema<RouteSerializerMatchersList>;
231
+ export type RouteSerializerRoutesItemMap = {
232
+ [key: string]: string | undefined;
233
+ };
234
+ export declare const RouteSerializerRoutesItemMap: S.Schema<RouteSerializerRoutesItemMap>;
235
+ export type RouteSerializerRoutesList = Array<RouteSerializerRoutesItemMap>;
236
+ export declare const RouteSerializerRoutesList: S.Schema<RouteSerializerRoutesList>;
237
+ export interface RouteSerializer {
238
+ continue?: boolean;
239
+ groupBy?: RouteSerializerGroupByList;
240
+ groupInterval?: string;
241
+ groupWait?: string;
242
+ match?: RouteSerializerMatchMap;
243
+ matchRe?: RouteSerializerMatchReMap;
244
+ matchers?: RouteSerializerMatchersList;
245
+ receiver: string;
246
+ repeatInterval?: string;
247
+ routes?: RouteSerializerRoutesList;
248
+ }
249
+ export declare const RouteSerializer: S.Schema<RouteSerializer>;
250
+ export type RouteRoutesList = Array<RouteSerializer>;
251
+ export declare const RouteRoutesList: S.Schema<RouteRoutesList>;
252
+ export interface Route {
253
+ continue?: boolean;
254
+ groupBy?: RouteGroupByList;
255
+ groupInterval?: string;
256
+ groupWait?: string;
257
+ match?: RouteMatchMap;
258
+ matchRe?: RouteMatchReMap;
259
+ matchers?: RouteMatchersList;
260
+ receiver: string;
261
+ repeatInterval?: string;
262
+ routes?: RouteRoutesList;
263
+ }
264
+ export declare const Route: S.Schema<Route>;
265
+ export interface AlertConfigRouteResponse {
266
+ data: Route;
267
+ message: string;
268
+ }
269
+ export declare const AlertConfigRouteResponse: S.Schema<AlertConfigRouteResponse>;
270
+ /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
271
+ export interface CreateAlertgroupsRequestRulesItem {
272
+ /** The name of the alert. When this attribute is used, an Alerting Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- * required when 'record' is not used in this rule, otherwise not allowed */
273
+ alert?: string;
274
+ /** Map of key:value. Annotations to add to each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters * is not allowed to use when 'record' is used in this rule */
275
+ annotations?: unknown;
276
+ /** The PromQL expression to evaluate to create alerts when using the 'alert' attribute in this rule, or to create a metric when using the 'record' attribute. */
277
+ expr: string;
278
+ /** Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. `Additional Validators:` * must be a valid time string * is not allowed to use when 'record' is used in this rule */
279
+ for?: string;
280
+ /** Map of key:value. Labels to add or overwrite for each alert or metric. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
281
+ labels?: unknown;
282
+ /** The name of the metric. When this attribute is used, an Recording Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9:_ * required when 'alert' is not used in this rule, otherwise not allowed */
283
+ record?: string;
284
+ }
285
+ export declare const CreateAlertgroupsRequestRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
286
+ /** rules for the alert group */
287
+ export type CreateAlertgroupsRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
288
+ export declare const CreateAlertgroupsRequestRulesList: S.Schema<CreateAlertgroupsRequestRulesList>;
289
+ export interface CreateAlertgroupsRequest {
290
+ projectId: string;
291
+ instanceId: string;
292
+ /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
293
+ interval?: string;
294
+ /** The name of the group. Must be unique. `Additional Validators:` * is the identifier and so unique * should only include the characters: a-zA-Z0-9- */
295
+ name: string;
296
+ /** rules for the alert group */
297
+ rules: CreateAlertgroupsRequestRulesList;
298
+ }
299
+ export declare const CreateAlertgroupsRequest: S.Schema<CreateAlertgroupsRequest>;
300
+ export type AlertRuleRecordAnnotationsMap = {
301
+ [key: string]: string | undefined;
302
+ };
303
+ export declare const AlertRuleRecordAnnotationsMap: S.Schema<AlertRuleRecordAnnotationsMap>;
304
+ export type AlertRuleRecordLabelsMap = {
305
+ [key: string]: string | undefined;
306
+ };
307
+ export declare const AlertRuleRecordLabelsMap: S.Schema<AlertRuleRecordLabelsMap>;
308
+ export interface AlertRuleRecord {
309
+ alert?: string;
310
+ annotations?: AlertRuleRecordAnnotationsMap;
311
+ expr: string;
312
+ for?: string;
313
+ labels?: AlertRuleRecordLabelsMap;
314
+ record?: string;
315
+ }
316
+ export declare const AlertRuleRecord: S.Schema<AlertRuleRecord>;
317
+ export type AlertGroupRulesList = Array<AlertRuleRecord>;
318
+ export declare const AlertGroupRulesList: S.Schema<AlertGroupRulesList>;
319
+ export interface AlertGroup {
320
+ interval?: string;
321
+ name: string;
322
+ rules: AlertGroupRulesList;
323
+ }
324
+ export declare const AlertGroup: S.Schema<AlertGroup>;
325
+ export type AlertGroupsResponseDataList = Array<AlertGroup>;
326
+ export declare const AlertGroupsResponseDataList: S.Schema<AlertGroupsResponseDataList>;
327
+ export interface AlertGroupsResponse {
328
+ data: AlertGroupsResponseDataList;
329
+ message: string;
330
+ }
331
+ export declare const AlertGroupsResponse: S.Schema<AlertGroupsResponse>;
332
+ export interface CreateAlertRecordRequest {
333
+ projectId: string;
334
+ instanceId: string;
335
+ groupName: string;
336
+ /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
337
+ expr: string;
338
+ /** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
339
+ labels?: unknown;
340
+ /** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
341
+ record: string;
342
+ }
343
+ export declare const CreateAlertRecordRequest: S.Schema<CreateAlertRecordRequest>;
344
+ export type AlertRecordLabelsMap = {
345
+ [key: string]: string | undefined;
346
+ };
347
+ export declare const AlertRecordLabelsMap: S.Schema<AlertRecordLabelsMap>;
348
+ export interface AlertRecord {
349
+ expr: string;
350
+ labels?: AlertRecordLabelsMap;
351
+ record: string;
352
+ }
353
+ export declare const AlertRecord: S.Schema<AlertRecord>;
354
+ export type AlertRecordsResponseDataList = Array<AlertRecord>;
355
+ export declare const AlertRecordsResponseDataList: S.Schema<AlertRecordsResponseDataList>;
356
+ export interface AlertRecordsResponse {
357
+ data: AlertRecordsResponseDataList;
358
+ message: string;
359
+ }
360
+ export declare const AlertRecordsResponse: S.Schema<AlertRecordsResponse>;
361
+ export interface CreateAlertrulesRequest {
362
+ projectId: string;
363
+ instanceId: string;
364
+ groupName: string;
365
+ /** The name of the alert. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- */
366
+ alert: string;
367
+ /** map of key:value. Annotations to add to each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
368
+ annotations?: unknown;
369
+ /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
370
+ expr: string;
371
+ /** Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. `Additional Validators:` * must be a valid time string */
372
+ for?: string;
373
+ /** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
374
+ labels?: unknown;
375
+ }
376
+ export declare const CreateAlertrulesRequest: S.Schema<CreateAlertrulesRequest>;
377
+ export type AlertRuleAnnotationsMap = {
378
+ [key: string]: string | undefined;
379
+ };
380
+ export declare const AlertRuleAnnotationsMap: S.Schema<AlertRuleAnnotationsMap>;
381
+ export type AlertRuleLabelsMap = {
382
+ [key: string]: string | undefined;
383
+ };
384
+ export declare const AlertRuleLabelsMap: S.Schema<AlertRuleLabelsMap>;
385
+ export interface AlertRule {
386
+ alert: string;
387
+ annotations?: AlertRuleAnnotationsMap;
388
+ expr: string;
389
+ for?: string;
390
+ labels?: AlertRuleLabelsMap;
391
+ }
392
+ export declare const AlertRule: S.Schema<AlertRule>;
393
+ export type AlertRulesResponseDataList = Array<AlertRule>;
394
+ export declare const AlertRulesResponseDataList: S.Schema<AlertRulesResponseDataList>;
395
+ export interface AlertRulesResponse {
396
+ data: AlertRulesResponseDataList;
397
+ message: string;
398
+ }
399
+ export declare const AlertRulesResponse: S.Schema<AlertRulesResponse>;
400
+ export type CreateBackupRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
401
+ export declare const CreateBackupRequestBackupTargetItem: any;
402
+ export type CreateBackupRequestBackupTargetList = Array<CreateBackupRequestBackupTargetItem | (string & {})>;
403
+ export declare const CreateBackupRequestBackupTargetList: S.Schema<CreateBackupRequestBackupTargetList>;
404
+ export interface CreateBackupRequest {
405
+ projectId: string;
406
+ instanceId: string;
407
+ /** List of backup targets */
408
+ backupTarget?: CreateBackupRequestBackupTargetList;
409
+ }
410
+ export declare const CreateBackupRequest: S.Schema<CreateBackupRequest>;
411
+ export interface Message {
412
+ message: string;
413
+ }
414
+ export declare const Message: S.Schema<Message>;
415
+ export type CreateBackupScheduleRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
416
+ export declare const CreateBackupScheduleRequestBackupTargetItem: any;
417
+ export type CreateBackupScheduleRequestBackupTargetList = Array<CreateBackupScheduleRequestBackupTargetItem | (string & {})>;
418
+ export declare const CreateBackupScheduleRequestBackupTargetList: S.Schema<CreateBackupScheduleRequestBackupTargetList>;
419
+ export interface CreateBackupScheduleRequest {
420
+ projectId: string;
421
+ instanceId: string;
422
+ /** List of backup targets */
423
+ backupTarget?: CreateBackupScheduleRequestBackupTargetList;
424
+ /** The schedule for how often to create a backup. `Additional Validators:` * must be a valid cronjob format * must run less than hourly */
425
+ schedule: string;
426
+ }
427
+ export declare const CreateBackupScheduleRequest: S.Schema<CreateBackupScheduleRequest>;
428
+ export interface BackupSchedulePostResponse {
429
+ message: string;
430
+ schedule: string;
431
+ }
432
+ export declare const BackupSchedulePostResponse: S.Schema<BackupSchedulePostResponse>;
433
+ export interface CreateCertCheckRequest {
434
+ projectId: string;
435
+ instanceId: string;
436
+ /** cert to check */
437
+ source: string;
438
+ }
439
+ export declare const CreateCertCheckRequest: S.Schema<CreateCertCheckRequest>;
440
+ export interface CertCheckChildResponse {
441
+ id: string;
442
+ source: string;
443
+ }
444
+ export declare const CertCheckChildResponse: S.Schema<CertCheckChildResponse>;
445
+ export type CertCheckResponseCertChecksList = Array<CertCheckChildResponse>;
446
+ export declare const CertCheckResponseCertChecksList: S.Schema<CertCheckResponseCertChecksList>;
447
+ export interface CertCheckResponse {
448
+ certCheck?: CertCheckChildResponse;
449
+ certChecks: CertCheckResponseCertChecksList;
450
+ message: string;
451
+ }
452
+ export declare const CertCheckResponse: S.Schema<CertCheckResponse>;
453
+ export interface CreateCredentialsRequest {
454
+ projectId: string;
455
+ instanceId: string;
456
+ /** description */
457
+ description?: string;
458
+ }
459
+ export declare const CreateCredentialsRequest: S.Schema<CreateCredentialsRequest>;
460
+ export interface Credentials {
461
+ description?: string;
462
+ password: string | Redacted.Redacted<string>;
463
+ username: string;
464
+ }
465
+ export declare const Credentials: S.Schema<Credentials>;
466
+ export interface CreateCredentialsResponse {
467
+ credentials: Credentials;
468
+ message: string;
469
+ }
470
+ export declare const CreateCredentialsResponse: S.Schema<CreateCredentialsResponse>;
471
+ export interface CreateElasticsearchCheckRequest {
472
+ projectId: string;
473
+ instanceId: string;
474
+ /** password */
475
+ password?: string | Redacted.Redacted<string>;
476
+ /** url to check */
477
+ server: string;
478
+ /** username */
479
+ username?: string;
480
+ }
481
+ export declare const CreateElasticsearchCheckRequest: S.Schema<CreateElasticsearchCheckRequest>;
482
+ export interface ElasticsearchCheckChildResponse {
483
+ id: string;
484
+ password?: string | Redacted.Redacted<string>;
485
+ server: string;
486
+ username?: string;
487
+ }
488
+ export declare const ElasticsearchCheckChildResponse: S.Schema<ElasticsearchCheckChildResponse>;
489
+ export type ElasticsearchCheckResponseElasticsearchChecksList = Array<ElasticsearchCheckChildResponse>;
490
+ export declare const ElasticsearchCheckResponseElasticsearchChecksList: S.Schema<ElasticsearchCheckResponseElasticsearchChecksList>;
491
+ export interface ElasticsearchCheckResponse {
492
+ elasticsearchCheck?: ElasticsearchCheckChildResponse;
493
+ elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList;
494
+ message: string;
495
+ }
496
+ export declare const ElasticsearchCheckResponse: S.Schema<ElasticsearchCheckResponse>;
497
+ export interface CreateHttpCheckRequest {
498
+ projectId: string;
499
+ instanceId: string;
500
+ /** url to check */
501
+ url: string;
502
+ }
503
+ export declare const CreateHttpCheckRequest: S.Schema<CreateHttpCheckRequest>;
504
+ export interface HttpCheckChildResponse {
505
+ id: string;
506
+ url: string;
507
+ }
508
+ export declare const HttpCheckChildResponse: S.Schema<HttpCheckChildResponse>;
509
+ export type HttpCheckResponseHttpChecksList = Array<HttpCheckChildResponse>;
510
+ export declare const HttpCheckResponseHttpChecksList: S.Schema<HttpCheckResponseHttpChecksList>;
511
+ export interface HttpCheckResponse {
512
+ httpCheck?: HttpCheckChildResponse;
513
+ httpChecks: HttpCheckResponseHttpChecksList;
514
+ message: string;
515
+ }
516
+ export declare const HttpCheckResponse: S.Schema<HttpCheckResponse>;
517
+ export interface CreateInstanceRequest {
518
+ projectId: string;
519
+ /** If true, a default Grafana server admin user is created. It's recommended to set this to false and use STACKIT SSO (`Owner` or `Observability Grafana Server Admin` role) instead. It is still possible to manually create a new Grafana admin user via the Grafana UI later. */
520
+ grafanaAdminEnabled?: boolean;
521
+ /** Name of the service */
522
+ name?: string;
523
+ /** Additional parameters */
524
+ parameter?: unknown;
525
+ /** UUID of the plan to create/update */
526
+ planId: string;
527
+ }
528
+ export declare const CreateInstanceRequest: S.Schema<CreateInstanceRequest>;
529
+ export interface CreateInstanceResponse {
530
+ dashboardUrl: string;
531
+ instanceId: string;
532
+ message: string;
533
+ }
534
+ export declare const CreateInstanceResponse: S.Schema<CreateInstanceResponse>;
535
+ /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
536
+ export interface CreateLogsAlertgroupsRequestRulesItem {
537
+ /** The name of the alert. When this attribute is used, an Alerting Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- * required when 'record' is not used in this rule, otherwise not allowed */
538
+ alert?: string;
539
+ /** Map of key:value. Annotations to add to each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters * is not allowed to use when 'record' is used in this rule */
540
+ annotations?: unknown;
541
+ /** The LogQL expression to evaluate to create alerts when using the 'alert' attribute in this rule, or to create a metric when using the 'record' attribute. */
542
+ expr: string;
543
+ /** Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. `Additional Validators:` * must be a valid time string * is not allowed to use when 'record' is used in this rule */
544
+ for?: string;
545
+ /** Map of key:value. Labels to add or overwrite for each alert or metric. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
546
+ labels?: unknown;
547
+ /** The name of the metric. When this attribute is used, an Recording Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9:_ * required when 'alert' is not used in this rule, otherwise not allowed */
548
+ record?: string;
549
+ }
550
+ export declare const CreateLogsAlertgroupsRequestRulesItem: S.Schema<CreateLogsAlertgroupsRequestRulesItem>;
551
+ /** rules for the alert group */
552
+ export type CreateLogsAlertgroupsRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
553
+ export declare const CreateLogsAlertgroupsRequestRulesList: S.Schema<CreateLogsAlertgroupsRequestRulesList>;
554
+ export interface CreateLogsAlertgroupsRequest {
555
+ projectId: string;
556
+ instanceId: string;
557
+ /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
558
+ interval?: string;
559
+ /** The name of the group. Must be unique. `Additional Validators:` * is the identifier and so unique * should only include the characters: a-zA-Z0-9- */
560
+ name: string;
561
+ /** rules for the alert group */
562
+ rules: CreateLogsAlertgroupsRequestRulesList;
563
+ }
564
+ export declare const CreateLogsAlertgroupsRequest: S.Schema<CreateLogsAlertgroupsRequest>;
565
+ export interface CreateMongodbCheckRequest {
566
+ projectId: string;
567
+ instanceId: string;
568
+ /** url to check */
569
+ server: string;
570
+ }
571
+ export declare const CreateMongodbCheckRequest: S.Schema<CreateMongodbCheckRequest>;
572
+ export interface MongodbCheckChildResponse {
573
+ id: string;
574
+ server: string;
575
+ }
576
+ export declare const MongodbCheckChildResponse: S.Schema<MongodbCheckChildResponse>;
577
+ export type MongodbCheckResponseMongodbChecksList = Array<MongodbCheckChildResponse>;
578
+ export declare const MongodbCheckResponseMongodbChecksList: S.Schema<MongodbCheckResponseMongodbChecksList>;
579
+ export interface MongodbCheckResponse {
580
+ message: string;
581
+ mongodbCheck?: MongodbCheckChildResponse;
582
+ mongodbChecks: MongodbCheckResponseMongodbChecksList;
583
+ }
584
+ export declare const MongodbCheckResponse: S.Schema<MongodbCheckResponse>;
585
+ export interface CreateMysqlCheckRequest {
586
+ projectId: string;
587
+ instanceId: string;
588
+ /** url to check */
589
+ server: string;
590
+ }
591
+ export declare const CreateMysqlCheckRequest: S.Schema<CreateMysqlCheckRequest>;
592
+ export type MysqlCheckChildResponse = MongodbCheckChildResponse;
593
+ export declare const MysqlCheckChildResponse: S.Schema<MongodbCheckChildResponse>;
594
+ export type MysqlCheckResponseMysqlChecksList = Array<MongodbCheckChildResponse>;
595
+ export declare const MysqlCheckResponseMysqlChecksList: S.Schema<MysqlCheckResponseMysqlChecksList>;
596
+ export interface MysqlCheckResponse {
597
+ message: string;
598
+ mysqlCheck?: MongodbCheckChildResponse;
599
+ mysqlChecks: MysqlCheckResponseMysqlChecksList;
600
+ }
601
+ export declare const MysqlCheckResponse: S.Schema<MysqlCheckResponse>;
602
+ export interface CreateNetworkCheckRequest {
603
+ projectId: string;
604
+ instanceId: string;
605
+ /** network to check */
606
+ address: string;
607
+ }
608
+ export declare const CreateNetworkCheckRequest: S.Schema<CreateNetworkCheckRequest>;
609
+ export interface NetworkCheckChildResponse {
610
+ address: string;
611
+ id: string;
612
+ }
613
+ export declare const NetworkCheckChildResponse: S.Schema<NetworkCheckChildResponse>;
614
+ export type NetworkCheckResponseNetworkChecksList = Array<NetworkCheckChildResponse>;
615
+ export declare const NetworkCheckResponseNetworkChecksList: S.Schema<NetworkCheckResponseNetworkChecksList>;
616
+ export interface NetworkCheckResponse {
617
+ message: string;
618
+ networkCheck?: NetworkCheckChildResponse;
619
+ networkChecks: NetworkCheckResponseNetworkChecksList;
620
+ }
621
+ export declare const NetworkCheckResponse: S.Schema<NetworkCheckResponse>;
622
+ export interface CreatePingCheckRequest {
623
+ projectId: string;
624
+ instanceId: string;
625
+ /** domain to check */
626
+ url: string;
627
+ }
628
+ export declare const CreatePingCheckRequest: S.Schema<CreatePingCheckRequest>;
629
+ export type PingCheckChildResponse = HttpCheckChildResponse;
630
+ export declare const PingCheckChildResponse: S.Schema<HttpCheckChildResponse>;
631
+ export type PingCheckResponsePingChecksList = Array<HttpCheckChildResponse>;
632
+ export declare const PingCheckResponsePingChecksList: S.Schema<PingCheckResponsePingChecksList>;
633
+ export interface PingCheckResponse {
634
+ message: string;
635
+ pingCheck?: HttpCheckChildResponse;
636
+ pingChecks: PingCheckResponsePingChecksList;
637
+ }
638
+ export declare const PingCheckResponse: S.Schema<PingCheckResponse>;
639
+ export interface CreatePostgresqlCheckRequest {
640
+ projectId: string;
641
+ instanceId: string;
642
+ /** url to check */
643
+ address: string;
644
+ }
645
+ export declare const CreatePostgresqlCheckRequest: S.Schema<CreatePostgresqlCheckRequest>;
646
+ export type PostgresqlCheckChildResponse = NetworkCheckChildResponse;
647
+ export declare const PostgresqlCheckChildResponse: S.Schema<NetworkCheckChildResponse>;
648
+ export type PostgresqlCheckResponsePostgresqlChecksList = Array<NetworkCheckChildResponse>;
649
+ export declare const PostgresqlCheckResponsePostgresqlChecksList: S.Schema<PostgresqlCheckResponsePostgresqlChecksList>;
650
+ export interface PostgresqlCheckResponse {
651
+ message: string;
652
+ postgresqlCheck?: NetworkCheckChildResponse;
653
+ postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList;
654
+ }
655
+ export declare const PostgresqlCheckResponse: S.Schema<PostgresqlCheckResponse>;
656
+ export interface CreateRabbitmqCheckRequest {
657
+ projectId: string;
658
+ instanceId: string;
659
+ /** password */
660
+ password?: string | Redacted.Redacted<string>;
661
+ /** url to check */
662
+ url: string;
663
+ /** username */
664
+ username?: string;
665
+ }
666
+ export declare const CreateRabbitmqCheckRequest: S.Schema<CreateRabbitmqCheckRequest>;
667
+ export interface RabbitMQCheckChildResponse {
668
+ id: string;
669
+ password?: string | Redacted.Redacted<string>;
670
+ url: string;
671
+ username?: string;
672
+ }
673
+ export declare const RabbitMQCheckChildResponse: S.Schema<RabbitMQCheckChildResponse>;
674
+ export type RabbitmqCheckResponseRabbitmqChecksList = Array<RabbitMQCheckChildResponse>;
675
+ export declare const RabbitmqCheckResponseRabbitmqChecksList: S.Schema<RabbitmqCheckResponseRabbitmqChecksList>;
676
+ export interface RabbitmqCheckResponse {
677
+ message: string;
678
+ rabbitmqCheck?: RabbitMQCheckChildResponse;
679
+ rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList;
680
+ }
681
+ export declare const RabbitmqCheckResponse: S.Schema<RabbitmqCheckResponse>;
682
+ export interface CreateRedisCheckRequest {
683
+ projectId: string;
684
+ instanceId: string;
685
+ /** password */
686
+ password?: string | Redacted.Redacted<string>;
687
+ /** url to check */
688
+ server: string;
689
+ /** username */
690
+ username?: string;
691
+ }
692
+ export declare const CreateRedisCheckRequest: S.Schema<CreateRedisCheckRequest>;
693
+ export type RedisCheckChildResponse = ElasticsearchCheckChildResponse;
694
+ export declare const RedisCheckChildResponse: S.Schema<ElasticsearchCheckChildResponse>;
695
+ export type RedisCheckResponseRedisChecksList = Array<ElasticsearchCheckChildResponse>;
696
+ export declare const RedisCheckResponseRedisChecksList: S.Schema<RedisCheckResponseRedisChecksList>;
697
+ export interface RedisCheckResponse {
698
+ message: string;
699
+ redisCheck?: ElasticsearchCheckChildResponse;
700
+ redisChecks: RedisCheckResponseRedisChecksList;
701
+ }
702
+ export declare const RedisCheckResponse: S.Schema<RedisCheckResponse>;
703
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
704
+ export interface CreateScrapeConfigRequestBasicAuth {
705
+ /** password */
706
+ password?: string | Redacted.Redacted<string>;
707
+ /** username */
708
+ username?: string;
709
+ }
710
+ export declare const CreateScrapeConfigRequestBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
711
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
712
+ export type CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
713
+ export declare const CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
714
+ /** The URL to fetch the token from. */
715
+ export type CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = Array<string>;
716
+ export declare const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList>;
717
+ /** Configures the scrape request's TLS settings. */
718
+ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig {
719
+ /** Disable validation of the server certificate. */
720
+ insecureSkipVerify?: boolean;
721
+ }
722
+ export declare const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
723
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
724
+ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
725
+ /** clientId */
726
+ clientId: string;
727
+ /** clientSecret */
728
+ clientSecret: string | Redacted.Redacted<string>;
729
+ /** The URL to fetch the token from. */
730
+ scopes?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList;
731
+ /** Configures the scrape request's TLS settings. */
732
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
733
+ /** The URL to fetch the token from. */
734
+ tokenUrl: string;
735
+ }
736
+ export declare const CreateScrapeConfigRequestHttpSdConfigsItemOauth2: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2>;
737
+ /** Configures the scrape request's TLS settings. */
738
+ export type CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
739
+ export declare const CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
740
+ export interface CreateScrapeConfigRequestHttpSdConfigsItem {
741
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
742
+ basicAuth?: CreateScrapeConfigRequestBasicAuth;
743
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
744
+ oauth2?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2;
745
+ /** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
746
+ refreshInterval?: string;
747
+ /** Configures the scrape request's TLS settings. */
748
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
749
+ /** URL from which the targets are fetched. */
750
+ url: string;
751
+ }
752
+ export declare const CreateScrapeConfigRequestHttpSdConfigsItem: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItem>;
753
+ /** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
754
+ export type CreateScrapeConfigRequestHttpSdConfigsList = Array<CreateScrapeConfigRequestHttpSdConfigsItem>;
755
+ export declare const CreateScrapeConfigRequestHttpSdConfigsList: S.Schema<CreateScrapeConfigRequestHttpSdConfigsList>;
756
+ /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
757
+ export type CreateScrapeConfigRequestMetricsRelabelConfigsItemAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
758
+ export declare const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction: any;
759
+ /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
760
+ export type CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
761
+ export declare const CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList: S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList>;
762
+ export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
763
+ /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
764
+ action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
765
+ /** Modulus to take of the hash of the source label values. */
766
+ modulus?: number;
767
+ /** Regular expression against which the extracted value is matched. */
768
+ regex?: string;
769
+ /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
770
+ replacement?: string;
771
+ /** Separator placed between concatenated source label values. */
772
+ separator?: string;
773
+ /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
774
+ sourceLabels?: CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
775
+ /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
776
+ targetLabel?: string;
777
+ }
778
+ export declare const CreateScrapeConfigRequestMetricsRelabelConfigsItem: S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
779
+ /** List of metric relabel configurations */
780
+ export type CreateScrapeConfigRequestMetricsRelabelConfigsList = Array<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
781
+ export declare const CreateScrapeConfigRequestMetricsRelabelConfigsList: S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsList>;
782
+ /** The URL to fetch the token from. */
783
+ export type CreateScrapeConfigRequestOauth2ScopesList = Array<string>;
784
+ export declare const CreateScrapeConfigRequestOauth2ScopesList: S.Schema<CreateScrapeConfigRequestOauth2ScopesList>;
785
+ /** Configures the scrape request's TLS settings. */
786
+ export type CreateScrapeConfigRequestOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
787
+ export declare const CreateScrapeConfigRequestOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
788
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
789
+ export interface CreateScrapeConfigRequestOauth2 {
790
+ /** clientId */
791
+ clientId: string;
792
+ /** clientSecret */
793
+ clientSecret: string | Redacted.Redacted<string>;
794
+ /** The URL to fetch the token from. */
795
+ scopes?: CreateScrapeConfigRequestOauth2ScopesList;
796
+ /** Configures the scrape request's TLS settings. */
797
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
798
+ /** The URL to fetch the token from. */
799
+ tokenUrl: string;
800
+ }
801
+ export declare const CreateScrapeConfigRequestOauth2: S.Schema<CreateScrapeConfigRequestOauth2>;
802
+ /** Configures the protocol scheme used for requests. https or http */
803
+ export type CreateScrapeConfigRequestScheme = "http" | "https";
804
+ export declare const CreateScrapeConfigRequestScheme: any;
805
+ /** The targets specified by the static config. */
806
+ export type CreateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
807
+ export declare const CreateScrapeConfigRequestStaticConfigsItemTargetsList: S.Schema<CreateScrapeConfigRequestStaticConfigsItemTargetsList>;
808
+ export interface CreateScrapeConfigRequestStaticConfigsItem {
809
+ /** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
810
+ labels?: unknown;
811
+ /** The targets specified by the static config. */
812
+ targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList;
813
+ }
814
+ export declare const CreateScrapeConfigRequestStaticConfigsItem: S.Schema<CreateScrapeConfigRequestStaticConfigsItem>;
815
+ /** A list of scrape configurations. */
816
+ export type CreateScrapeConfigRequestStaticConfigsList = Array<CreateScrapeConfigRequestStaticConfigsItem>;
817
+ export declare const CreateScrapeConfigRequestStaticConfigsList: S.Schema<CreateScrapeConfigRequestStaticConfigsList>;
818
+ /** Configures the scrape request's TLS settings. */
819
+ export type CreateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
820
+ export declare const CreateScrapeConfigRequestTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
821
+ export interface CreateScrapeConfigRequest {
822
+ projectId: string;
823
+ instanceId: string;
824
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
825
+ basicAuth?: CreateScrapeConfigRequestBasicAuth;
826
+ /** Sets the 'Authorization' header on every scrape request with the configured bearer token. It is mutually exclusive with 'bearer_token_file'. `Additional Validators:` * needs to be a valid bearer token * if bearerToken is in the body no other authentication method should be in the body */
827
+ bearerToken?: string;
828
+ /** Note that any globally configured 'external_labels' are unaffected by this setting. In communication with external systems, they are always applied only when a time series does not have a given label yet and are ignored otherwise. */
829
+ honorLabels?: boolean;
830
+ /** honor_timestamps controls whether Prometheus respects the timestamps present in scraped data. If honor_timestamps is set to 'true', the timestamps of the metrics exposed by the target will be used. */
831
+ honorTimeStamps?: boolean;
832
+ /** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
833
+ httpSdConfigs?: CreateScrapeConfigRequestHttpSdConfigsList;
834
+ /** The job name assigned to scraped metrics by default. `Additional Validators:` * must be unique * key and values should only include the characters: a-zA-Z0-9- */
835
+ jobName: string;
836
+ /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
837
+ metricsPath?: string;
838
+ /** List of metric relabel configurations */
839
+ metricsRelabelConfigs?: CreateScrapeConfigRequestMetricsRelabelConfigsList;
840
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
841
+ oauth2?: CreateScrapeConfigRequestOauth2;
842
+ /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
843
+ params?: unknown;
844
+ /** Per-scrape limit on number of scraped samples that will be accepted. If more than this number of samples are present after metric relabeling the entire scrape will be treated as failed. The total limit depends on the service plan target limits * samples */
845
+ sampleLimit?: number;
846
+ /** Configures the protocol scheme used for requests. https or http */
847
+ scheme: CreateScrapeConfigRequestScheme | (string & {});
848
+ /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
849
+ scrapeInterval: string;
850
+ /** Per-scrape timeout when scraping this job. `Additional Validators:` * must be a valid time format* must be smaller than scrapeInterval */
851
+ scrapeTimeout: string;
852
+ /** A list of scrape configurations. */
853
+ staticConfigs: CreateScrapeConfigRequestStaticConfigsList;
854
+ /** Configures the scrape request's TLS settings. */
855
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
856
+ }
857
+ export declare const CreateScrapeConfigRequest: S.Schema<CreateScrapeConfigRequest>;
858
+ export interface BasicAuth {
859
+ password: string | Redacted.Redacted<string>;
860
+ username: string;
861
+ }
862
+ export declare const BasicAuth: S.Schema<BasicAuth>;
863
+ export type OAuth2ScopesList = Array<string>;
864
+ export declare const OAuth2ScopesList: S.Schema<OAuth2ScopesList>;
865
+ export interface TLSConfig {
866
+ insecureSkipVerify?: boolean;
867
+ }
868
+ export declare const TLSConfig: S.Schema<TLSConfig>;
869
+ export interface OAuth2 {
870
+ clientId: string;
871
+ clientSecret: string | Redacted.Redacted<string>;
872
+ scopes?: OAuth2ScopesList;
873
+ tlsConfig?: TLSConfig;
874
+ tokenUrl: string;
875
+ }
876
+ export declare const OAuth2: S.Schema<OAuth2>;
877
+ export interface HTTPServiceSD {
878
+ basicAuth?: BasicAuth;
879
+ oauth2?: OAuth2;
880
+ refreshInterval?: string;
881
+ tlsConfig?: TLSConfig;
882
+ url: string;
883
+ }
884
+ export declare const HTTPServiceSD: S.Schema<HTTPServiceSD>;
885
+ export type JobHttpSdConfigsList = Array<HTTPServiceSD>;
886
+ export declare const JobHttpSdConfigsList: S.Schema<JobHttpSdConfigsList>;
887
+ export type MetricsRelabelConfigAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
888
+ export declare const MetricsRelabelConfigAction: any;
889
+ export type MetricsRelabelConfigSourceLabelsList = Array<string>;
890
+ export declare const MetricsRelabelConfigSourceLabelsList: S.Schema<MetricsRelabelConfigSourceLabelsList>;
891
+ export interface MetricsRelabelConfig {
892
+ action?: MetricsRelabelConfigAction;
893
+ modulus?: number;
894
+ regex?: string;
895
+ replacement?: string;
896
+ separator?: string;
897
+ sourceLabels: MetricsRelabelConfigSourceLabelsList;
898
+ targetLabel?: string;
899
+ }
900
+ export declare const MetricsRelabelConfig: S.Schema<MetricsRelabelConfig>;
901
+ export type JobMetricsRelabelConfigsList = Array<MetricsRelabelConfig>;
902
+ export declare const JobMetricsRelabelConfigsList: S.Schema<JobMetricsRelabelConfigsList>;
903
+ export type JobParamsValueList = Array<string>;
904
+ export declare const JobParamsValueList: S.Schema<JobParamsValueList>;
905
+ export type JobParamsMap = {
906
+ [key: string]: JobParamsValueList | undefined;
907
+ };
908
+ export declare const JobParamsMap: S.Schema<JobParamsMap>;
909
+ export type JobScheme = "http" | "https";
910
+ export declare const JobScheme: any;
911
+ export type StaticConfigsLabelsMap = {
912
+ [key: string]: string | undefined;
913
+ };
914
+ export declare const StaticConfigsLabelsMap: S.Schema<StaticConfigsLabelsMap>;
915
+ export type StaticConfigsTargetsList = Array<string>;
916
+ export declare const StaticConfigsTargetsList: S.Schema<StaticConfigsTargetsList>;
917
+ export interface StaticConfigs {
918
+ labels?: StaticConfigsLabelsMap;
919
+ targets: StaticConfigsTargetsList;
920
+ }
921
+ export declare const StaticConfigs: S.Schema<StaticConfigs>;
922
+ export type JobStaticConfigsList = Array<StaticConfigs>;
923
+ export declare const JobStaticConfigsList: S.Schema<JobStaticConfigsList>;
924
+ export interface Job {
925
+ basicAuth?: BasicAuth;
926
+ bearerToken?: string;
927
+ honorLabels?: boolean;
928
+ honorTimeStamps?: boolean;
929
+ httpSdConfigs?: JobHttpSdConfigsList;
930
+ jobName: string;
931
+ metricsPath?: string;
932
+ metricsRelabelConfigs?: JobMetricsRelabelConfigsList;
933
+ oauth2?: OAuth2;
934
+ params?: JobParamsMap;
935
+ sampleLimit?: number;
936
+ scheme?: JobScheme;
937
+ scrapeInterval: string;
938
+ scrapeTimeout: string;
939
+ staticConfigs: JobStaticConfigsList;
940
+ tlsConfig?: TLSConfig;
941
+ }
942
+ export declare const Job: S.Schema<Job>;
943
+ export type ScrapeConfigsResponseDataList = Array<Job>;
944
+ export declare const ScrapeConfigsResponseDataList: S.Schema<ScrapeConfigsResponseDataList>;
945
+ export interface ScrapeConfigsResponse {
946
+ data: ScrapeConfigsResponseDataList;
947
+ message: string;
948
+ }
949
+ export declare const ScrapeConfigsResponse: S.Schema<ScrapeConfigsResponse>;
950
+ export interface DeleteAlertConfigReceiverRequest {
951
+ projectId: string;
952
+ instanceId: string;
953
+ receiver: string;
954
+ }
955
+ export declare const DeleteAlertConfigReceiverRequest: S.Schema<DeleteAlertConfigReceiverRequest>;
956
+ export interface DeleteAlertConfigRouteRequest {
957
+ projectId: string;
958
+ instanceId: string;
959
+ receiver: string;
960
+ }
961
+ export declare const DeleteAlertConfigRouteRequest: S.Schema<DeleteAlertConfigRouteRequest>;
962
+ export interface DeleteAlertgroupRequest {
963
+ projectId: string;
964
+ instanceId: string;
965
+ groupName: string;
966
+ }
967
+ export declare const DeleteAlertgroupRequest: S.Schema<DeleteAlertgroupRequest>;
968
+ export type DeleteAlertgroupsRequestGroupNameList = Array<string>;
969
+ export declare const DeleteAlertgroupsRequestGroupNameList: S.Schema<DeleteAlertgroupsRequestGroupNameList>;
970
+ export interface DeleteAlertgroupsRequest {
971
+ projectId: string;
972
+ instanceId: string;
973
+ /** Name of the groups that should be deleted */
974
+ groupName: DeleteAlertgroupsRequestGroupNameList;
975
+ }
976
+ export declare const DeleteAlertgroupsRequest: S.Schema<DeleteAlertgroupsRequest>;
977
+ export interface DeleteAlertRecordRequest {
978
+ projectId: string;
979
+ instanceId: string;
980
+ groupName: string;
981
+ alertRecord: string;
982
+ }
983
+ export declare const DeleteAlertRecordRequest: S.Schema<DeleteAlertRecordRequest>;
984
+ export type DeleteAlertRecordsRequestAlertRecordList = Array<string>;
985
+ export declare const DeleteAlertRecordsRequestAlertRecordList: S.Schema<DeleteAlertRecordsRequestAlertRecordList>;
986
+ export interface DeleteAlertRecordsRequest {
987
+ projectId: string;
988
+ instanceId: string;
989
+ groupName: string;
990
+ /** Name of the records that should be deleted */
991
+ alertRecord: DeleteAlertRecordsRequestAlertRecordList;
992
+ }
993
+ export declare const DeleteAlertRecordsRequest: S.Schema<DeleteAlertRecordsRequest>;
994
+ export interface DeleteAlertruleRequest {
995
+ projectId: string;
996
+ instanceId: string;
997
+ groupName: string;
998
+ alertName: string;
999
+ }
1000
+ export declare const DeleteAlertruleRequest: S.Schema<DeleteAlertruleRequest>;
1001
+ export type DeleteAlertrulesRequestAlertNameList = Array<string>;
1002
+ export declare const DeleteAlertrulesRequestAlertNameList: S.Schema<DeleteAlertrulesRequestAlertNameList>;
1003
+ export interface DeleteAlertrulesRequest {
1004
+ projectId: string;
1005
+ instanceId: string;
1006
+ groupName: string;
1007
+ /** Name of the alert rules that should be deleted */
1008
+ alertName: DeleteAlertrulesRequestAlertNameList;
1009
+ }
1010
+ export declare const DeleteAlertrulesRequest: S.Schema<DeleteAlertrulesRequest>;
1011
+ export interface DeleteCertCheckRequest {
1012
+ projectId: string;
1013
+ instanceId: string;
1014
+ id: string;
1015
+ }
1016
+ export declare const DeleteCertCheckRequest: S.Schema<DeleteCertCheckRequest>;
1017
+ export interface DeleteCredentialsRequest {
1018
+ projectId: string;
1019
+ instanceId: string;
1020
+ username: string;
1021
+ }
1022
+ export declare const DeleteCredentialsRequest: S.Schema<DeleteCredentialsRequest>;
1023
+ export interface DeleteCredentialsRemoteWriteConfigRequest {
1024
+ projectId: string;
1025
+ instanceId: string;
1026
+ username: string;
1027
+ }
1028
+ export declare const DeleteCredentialsRemoteWriteConfigRequest: S.Schema<DeleteCredentialsRemoteWriteConfigRequest>;
1029
+ export interface CredentialsRemoteWriteDeleteResponse {
1030
+ maxLimit: number;
1031
+ message: string;
1032
+ }
1033
+ export declare const CredentialsRemoteWriteDeleteResponse: S.Schema<CredentialsRemoteWriteDeleteResponse>;
1034
+ export interface DeleteElasticsearchCheckRequest {
1035
+ projectId: string;
1036
+ instanceId: string;
1037
+ id: string;
1038
+ }
1039
+ export declare const DeleteElasticsearchCheckRequest: S.Schema<DeleteElasticsearchCheckRequest>;
1040
+ export interface DeleteHttpCheckRequest {
1041
+ projectId: string;
1042
+ instanceId: string;
1043
+ id: string;
1044
+ }
1045
+ export declare const DeleteHttpCheckRequest: S.Schema<DeleteHttpCheckRequest>;
1046
+ export interface DeleteInstanceRequest {
1047
+ projectId: string;
1048
+ instanceId: string;
1049
+ }
1050
+ export declare const DeleteInstanceRequest: S.Schema<DeleteInstanceRequest>;
1051
+ export interface InstanceResponse {
1052
+ message: string;
1053
+ }
1054
+ export declare const InstanceResponse: S.Schema<InstanceResponse>;
1055
+ export interface DeleteLogsAlertgroupRequest {
1056
+ projectId: string;
1057
+ instanceId: string;
1058
+ groupName: string;
1059
+ }
1060
+ export declare const DeleteLogsAlertgroupRequest: S.Schema<DeleteLogsAlertgroupRequest>;
1061
+ export interface DeleteMongodbCheckRequest {
1062
+ projectId: string;
1063
+ instanceId: string;
1064
+ id: string;
1065
+ }
1066
+ export declare const DeleteMongodbCheckRequest: S.Schema<DeleteMongodbCheckRequest>;
1067
+ export interface DeleteMysqlCheckRequest {
1068
+ projectId: string;
1069
+ instanceId: string;
1070
+ id: string;
1071
+ }
1072
+ export declare const DeleteMysqlCheckRequest: S.Schema<DeleteMysqlCheckRequest>;
1073
+ export interface DeleteNetworkCheckRequest {
1074
+ projectId: string;
1075
+ instanceId: string;
1076
+ id: string;
1077
+ }
1078
+ export declare const DeleteNetworkCheckRequest: S.Schema<DeleteNetworkCheckRequest>;
1079
+ export interface DeletePingCheckRequest {
1080
+ projectId: string;
1081
+ instanceId: string;
1082
+ id: string;
1083
+ }
1084
+ export declare const DeletePingCheckRequest: S.Schema<DeletePingCheckRequest>;
1085
+ export interface DeletePostgresqlCheckRequest {
1086
+ projectId: string;
1087
+ instanceId: string;
1088
+ id: string;
1089
+ }
1090
+ export declare const DeletePostgresqlCheckRequest: S.Schema<DeletePostgresqlCheckRequest>;
1091
+ export interface DeleteRabbitmqCheckRequest {
1092
+ projectId: string;
1093
+ instanceId: string;
1094
+ id: string;
1095
+ }
1096
+ export declare const DeleteRabbitmqCheckRequest: S.Schema<DeleteRabbitmqCheckRequest>;
1097
+ export interface DeleteRedisCheckRequest {
1098
+ projectId: string;
1099
+ instanceId: string;
1100
+ id: string;
1101
+ }
1102
+ export declare const DeleteRedisCheckRequest: S.Schema<DeleteRedisCheckRequest>;
1103
+ export interface DeleteScrapeConfigRequest {
1104
+ projectId: string;
1105
+ instanceId: string;
1106
+ jobName: string;
1107
+ }
1108
+ export declare const DeleteScrapeConfigRequest: S.Schema<DeleteScrapeConfigRequest>;
1109
+ export type DeleteScrapeConfigResponseDataList = Array<Job>;
1110
+ export declare const DeleteScrapeConfigResponseDataList: S.Schema<DeleteScrapeConfigResponseDataList>;
1111
+ export interface DeleteScrapeConfigResponse {
1112
+ data: DeleteScrapeConfigResponseDataList;
1113
+ message: string;
1114
+ }
1115
+ export declare const DeleteScrapeConfigResponse: S.Schema<DeleteScrapeConfigResponse>;
1116
+ export type DeleteScrapeConfigsRequestJobNameList = Array<string>;
1117
+ export declare const DeleteScrapeConfigsRequestJobNameList: S.Schema<DeleteScrapeConfigsRequestJobNameList>;
1118
+ export interface DeleteScrapeConfigsRequest {
1119
+ projectId: string;
1120
+ instanceId: string;
1121
+ /** Name of the jobs that should be deleted */
1122
+ jobName: DeleteScrapeConfigsRequestJobNameList;
1123
+ }
1124
+ export declare const DeleteScrapeConfigsRequest: S.Schema<DeleteScrapeConfigsRequest>;
1125
+ export interface GetAlertConfigReceiverRequest {
1126
+ projectId: string;
1127
+ instanceId: string;
1128
+ receiver: string;
1129
+ }
1130
+ export declare const GetAlertConfigReceiverRequest: S.Schema<GetAlertConfigReceiverRequest>;
1131
+ export interface Receiver {
1132
+ data: Receivers;
1133
+ message: string;
1134
+ }
1135
+ export declare const Receiver: S.Schema<Receiver>;
1136
+ export interface GetAlertConfigRouteRequest {
1137
+ projectId: string;
1138
+ instanceId: string;
1139
+ receiver: string;
1140
+ }
1141
+ export declare const GetAlertConfigRouteRequest: S.Schema<GetAlertConfigRouteRequest>;
1142
+ export interface GetAlertConfigsRequest {
1143
+ projectId: string;
1144
+ instanceId: string;
1145
+ }
1146
+ export declare const GetAlertConfigsRequest: S.Schema<GetAlertConfigsRequest>;
1147
+ export interface Global {
1148
+ opsgenieApiKey?: string;
1149
+ opsgenieApiUrl?: string;
1150
+ resolveTimeout?: string;
1151
+ smtpAuthIdentity?: string;
1152
+ smtpAuthPassword?: string | Redacted.Redacted<string>;
1153
+ smtpAuthUsername?: string;
1154
+ smtpFrom?: string;
1155
+ smtpSmarthost?: string;
1156
+ }
1157
+ export declare const Global: S.Schema<Global>;
1158
+ export type InhibitRulesEqualList = Array<string>;
1159
+ export declare const InhibitRulesEqualList: S.Schema<InhibitRulesEqualList>;
1160
+ export type InhibitRulesSourceMatchMap = {
1161
+ [key: string]: string | undefined;
1162
+ };
1163
+ export declare const InhibitRulesSourceMatchMap: S.Schema<InhibitRulesSourceMatchMap>;
1164
+ export type InhibitRulesSourceMatchReMap = {
1165
+ [key: string]: string | undefined;
1166
+ };
1167
+ export declare const InhibitRulesSourceMatchReMap: S.Schema<InhibitRulesSourceMatchReMap>;
1168
+ export type InhibitRulesSourceMatchersList = Array<string>;
1169
+ export declare const InhibitRulesSourceMatchersList: S.Schema<InhibitRulesSourceMatchersList>;
1170
+ export type InhibitRulesTargetMatchMap = {
1171
+ [key: string]: string | undefined;
1172
+ };
1173
+ export declare const InhibitRulesTargetMatchMap: S.Schema<InhibitRulesTargetMatchMap>;
1174
+ export type InhibitRulesTargetMatchReMap = {
1175
+ [key: string]: string | undefined;
1176
+ };
1177
+ export declare const InhibitRulesTargetMatchReMap: S.Schema<InhibitRulesTargetMatchReMap>;
1178
+ export type InhibitRulesTargetMatchersList = Array<string>;
1179
+ export declare const InhibitRulesTargetMatchersList: S.Schema<InhibitRulesTargetMatchersList>;
1180
+ export interface InhibitRules {
1181
+ equal?: InhibitRulesEqualList;
1182
+ sourceMatch?: InhibitRulesSourceMatchMap;
1183
+ sourceMatchRe?: InhibitRulesSourceMatchReMap;
1184
+ sourceMatchers?: InhibitRulesSourceMatchersList;
1185
+ targetMatch?: InhibitRulesTargetMatchMap;
1186
+ targetMatchRe?: InhibitRulesTargetMatchReMap;
1187
+ targetMatchers?: InhibitRulesTargetMatchersList;
1188
+ }
1189
+ export declare const InhibitRules: S.Schema<InhibitRules>;
1190
+ export type AlertInhibitRulesList = Array<InhibitRules>;
1191
+ export declare const AlertInhibitRulesList: S.Schema<AlertInhibitRulesList>;
1192
+ export type AlertReceiversList = Array<Receivers>;
1193
+ export declare const AlertReceiversList: S.Schema<AlertReceiversList>;
1194
+ export interface Alert {
1195
+ global?: Global;
1196
+ inhibitRules?: AlertInhibitRulesList;
1197
+ receivers: AlertReceiversList;
1198
+ route: Route;
1199
+ }
1200
+ export declare const Alert: S.Schema<Alert>;
1201
+ export interface GetAlertConfigsResponse {
1202
+ data: Alert;
1203
+ message: string;
1204
+ }
1205
+ export declare const GetAlertConfigsResponse: S.Schema<GetAlertConfigsResponse>;
1206
+ export interface GetAlertgroupRequest {
1207
+ projectId: string;
1208
+ instanceId: string;
1209
+ groupName: string;
1210
+ }
1211
+ export declare const GetAlertgroupRequest: S.Schema<GetAlertgroupRequest>;
1212
+ export interface AlertGroupResponse {
1213
+ data: AlertGroup;
1214
+ message: string;
1215
+ }
1216
+ export declare const AlertGroupResponse: S.Schema<AlertGroupResponse>;
1217
+ export interface GetAlertRecordRequest {
1218
+ projectId: string;
1219
+ instanceId: string;
1220
+ groupName: string;
1221
+ alertRecord: string;
1222
+ }
1223
+ export declare const GetAlertRecordRequest: S.Schema<GetAlertRecordRequest>;
1224
+ export interface AlertRecordResponse {
1225
+ data: AlertRecord;
1226
+ message: string;
1227
+ }
1228
+ export declare const AlertRecordResponse: S.Schema<AlertRecordResponse>;
1229
+ export interface GetAlertruleRequest {
1230
+ projectId: string;
1231
+ instanceId: string;
1232
+ groupName: string;
1233
+ alertName: string;
1234
+ }
1235
+ export declare const GetAlertruleRequest: S.Schema<GetAlertruleRequest>;
1236
+ export interface AlertRuleResponse {
1237
+ data: AlertRule;
1238
+ message: string;
1239
+ }
1240
+ export declare const AlertRuleResponse: S.Schema<AlertRuleResponse>;
1241
+ export interface GetCredentialsRequest {
1242
+ projectId: string;
1243
+ instanceId: string;
1244
+ username: string;
1245
+ }
1246
+ export declare const GetCredentialsRequest: S.Schema<GetCredentialsRequest>;
1247
+ export type GetCredentialsResponseCredentialsInfoMap = {
1248
+ [key: string]: string | undefined;
1249
+ };
1250
+ export declare const GetCredentialsResponseCredentialsInfoMap: S.Schema<GetCredentialsResponseCredentialsInfoMap>;
1251
+ export interface GetCredentialsResponse {
1252
+ credentialsInfo?: GetCredentialsResponseCredentialsInfoMap;
1253
+ id: string;
1254
+ message: string;
1255
+ name: string;
1256
+ }
1257
+ export declare const GetCredentialsResponse: S.Schema<GetCredentialsResponse>;
1258
+ export interface GetCredentialsRemoteWriteConfigRequest {
1259
+ projectId: string;
1260
+ instanceId: string;
1261
+ username: string;
1262
+ }
1263
+ export declare const GetCredentialsRemoteWriteConfigRequest: S.Schema<GetCredentialsRemoteWriteConfigRequest>;
1264
+ export interface CredentialsRemoteWriteConfig {
1265
+ credentialsMaxLimit: number;
1266
+ maxLimit: number;
1267
+ message: string;
1268
+ }
1269
+ export declare const CredentialsRemoteWriteConfig: S.Schema<CredentialsRemoteWriteConfig>;
1270
+ export interface GetGrafanaConfigsRequest {
1271
+ projectId: string;
1272
+ instanceId: string;
1273
+ }
1274
+ export declare const GetGrafanaConfigsRequest: S.Schema<GetGrafanaConfigsRequest>;
1275
+ export interface GrafanaOauth {
1276
+ allowAssignGrafanaAdmin?: boolean;
1277
+ apiUrl: string;
1278
+ authUrl: string;
1279
+ enabled: boolean;
1280
+ name?: string;
1281
+ oauthClientId: string;
1282
+ oauthClientSecret: string;
1283
+ roleAttributePath: string;
1284
+ roleAttributeStrict?: boolean;
1285
+ scopes?: string;
1286
+ tokenUrl: string;
1287
+ usePkce?: boolean;
1288
+ }
1289
+ export declare const GrafanaOauth: S.Schema<GrafanaOauth>;
1290
+ export interface GrafanaConfigs {
1291
+ genericOauth?: GrafanaOauth;
1292
+ message: string;
1293
+ publicReadAccess?: boolean;
1294
+ useStackitSso?: boolean;
1295
+ }
1296
+ export declare const GrafanaConfigs: S.Schema<GrafanaConfigs>;
1297
+ export interface GetInstanceRequest {
1298
+ projectId: string;
1299
+ instanceId: string;
1300
+ }
1301
+ export declare const GetInstanceRequest: S.Schema<GetInstanceRequest>;
1302
+ export interface PlanModel {
1303
+ alertMatchers: number;
1304
+ alertReceivers: number;
1305
+ alertRules: number;
1306
+ amount?: number;
1307
+ bucketSize: number;
1308
+ description?: string;
1309
+ grafanaGlobalDashboards: number;
1310
+ grafanaGlobalOrgs: number;
1311
+ grafanaGlobalSessions: number;
1312
+ grafanaGlobalUsers: number;
1313
+ id: string;
1314
+ logsAlert: number;
1315
+ logsStorage: number;
1316
+ name?: string;
1317
+ planId: string;
1318
+ samplesPerScrape: number;
1319
+ targetNumber: number;
1320
+ totalMetricSamples: number;
1321
+ tracesStorage: number;
1322
+ }
1323
+ export declare const PlanModel: S.Schema<PlanModel>;
1324
+ export interface InstanceSensitiveData {
1325
+ alertingUrl: string;
1326
+ cluster: string;
1327
+ grafanaAdminEnabled: boolean;
1328
+ grafanaAdminPassword?: string | Redacted.Redacted<string>;
1329
+ grafanaAdminUser?: string;
1330
+ grafanaPublicReadAccess: boolean;
1331
+ grafanaUrl: string;
1332
+ grafanaUseStackitSso: boolean;
1333
+ instance: string;
1334
+ jaegerHttpTracesUrl?: string;
1335
+ jaegerHttpUrl: string;
1336
+ jaegerTracesUrl: string;
1337
+ jaegerUiUrl: string;
1338
+ logsPushUrl: string;
1339
+ logsUrl: string;
1340
+ metricsEndpointUrl: string;
1341
+ metricsRetentionTime1h: number;
1342
+ metricsRetentionTime5m: number;
1343
+ metricsRetentionTimeRaw: number;
1344
+ metricsUrl: string;
1345
+ name?: string;
1346
+ otlpGrpcTracesUrl: string;
1347
+ otlpHttpLogsUrl: string;
1348
+ otlpHttpTracesUrl: string;
1349
+ otlpTracesUrl: string;
1350
+ plan: PlanModel;
1351
+ pushMetricsUrl: string;
1352
+ targetsUrl: string;
1353
+ zipkinSpansUrl: string;
1354
+ }
1355
+ export declare const InstanceSensitiveData: S.Schema<InstanceSensitiveData>;
1356
+ export type GetInstanceResponseParametersMap = {
1357
+ [key: string]: string | undefined;
1358
+ };
1359
+ export declare const GetInstanceResponseParametersMap: S.Schema<GetInstanceResponseParametersMap>;
1360
+ export type GetInstanceResponseStatus = "CREATING" | "CREATE_SUCCEEDED" | "CREATE_FAILED" | "DELETING" | "DELETE_SUCCEEDED" | "DELETE_FAILED" | "UPDATING" | "UPDATE_SUCCEEDED" | "UPDATE_FAILED";
1361
+ export declare const GetInstanceResponseStatus: any;
1362
+ export interface GetInstanceResponse {
1363
+ dashboardUrl: string;
1364
+ error?: string | null;
1365
+ id: string;
1366
+ instance: InstanceSensitiveData;
1367
+ isUpdatable?: boolean;
1368
+ message: string;
1369
+ name?: string;
1370
+ parameters?: GetInstanceResponseParametersMap;
1371
+ planId: string;
1372
+ planName: string;
1373
+ planSchema?: string;
1374
+ serviceName: string;
1375
+ status: GetInstanceResponseStatus;
1376
+ }
1377
+ export declare const GetInstanceResponse: S.Schema<GetInstanceResponse>;
1378
+ export interface GetLogsAlertgroupRequest {
1379
+ projectId: string;
1380
+ instanceId: string;
1381
+ groupName: string;
1382
+ }
1383
+ export declare const GetLogsAlertgroupRequest: S.Schema<GetLogsAlertgroupRequest>;
1384
+ export interface GetLogsConfigsRequest {
1385
+ projectId: string;
1386
+ instanceId: string;
1387
+ }
1388
+ export declare const GetLogsConfigsRequest: S.Schema<GetLogsConfigsRequest>;
1389
+ export interface LogsConfig {
1390
+ retention: string;
1391
+ }
1392
+ export declare const LogsConfig: S.Schema<LogsConfig>;
1393
+ export interface LogsConfigResponse {
1394
+ config: LogsConfig;
1395
+ message: string;
1396
+ }
1397
+ export declare const LogsConfigResponse: S.Schema<LogsConfigResponse>;
1398
+ export interface GetMetricsStorageRetentionRequest {
1399
+ projectId: string;
1400
+ instanceId: string;
1401
+ }
1402
+ export declare const GetMetricsStorageRetentionRequest: S.Schema<GetMetricsStorageRetentionRequest>;
1403
+ export interface GetMetricsStorageRetentionResponse {
1404
+ message: string;
1405
+ metricsRetentionTime1h: string;
1406
+ metricsRetentionTime5m: string;
1407
+ metricsRetentionTimeRaw: string;
1408
+ }
1409
+ export declare const GetMetricsStorageRetentionResponse: S.Schema<GetMetricsStorageRetentionResponse>;
1410
+ export interface GetScrapeConfigRequest {
1411
+ projectId: string;
1412
+ instanceId: string;
1413
+ jobName: string;
1414
+ }
1415
+ export declare const GetScrapeConfigRequest: S.Schema<GetScrapeConfigRequest>;
1416
+ export interface GetScrapeConfigResponse {
1417
+ data: Job;
1418
+ message: string;
1419
+ }
1420
+ export declare const GetScrapeConfigResponse: S.Schema<GetScrapeConfigResponse>;
1421
+ export interface GetTracesConfigsRequest {
1422
+ projectId: string;
1423
+ instanceId: string;
1424
+ }
1425
+ export declare const GetTracesConfigsRequest: S.Schema<GetTracesConfigsRequest>;
1426
+ export type TraceConfig = LogsConfig;
1427
+ export declare const TraceConfig: S.Schema<LogsConfig>;
1428
+ export interface TracesConfigResponse {
1429
+ config: LogsConfig;
1430
+ message: string;
1431
+ }
1432
+ export declare const TracesConfigResponse: S.Schema<TracesConfigResponse>;
1433
+ export interface ListACLRequest {
1434
+ projectId: string;
1435
+ instanceId: string;
1436
+ }
1437
+ export declare const ListACLRequest: S.Schema<ListACLRequest>;
1438
+ export type ListACLResponseAclList = Array<string>;
1439
+ export declare const ListACLResponseAclList: S.Schema<ListACLResponseAclList>;
1440
+ export interface ListACLResponse {
1441
+ acl: ListACLResponseAclList;
1442
+ message: string;
1443
+ }
1444
+ export declare const ListACLResponse: S.Schema<ListACLResponse>;
1445
+ export interface ListAlertConfigReceiversRequest {
1446
+ projectId: string;
1447
+ instanceId: string;
1448
+ }
1449
+ export declare const ListAlertConfigReceiversRequest: S.Schema<ListAlertConfigReceiversRequest>;
1450
+ export interface ListAlertConfigRoutesRequest {
1451
+ projectId: string;
1452
+ instanceId: string;
1453
+ }
1454
+ export declare const ListAlertConfigRoutesRequest: S.Schema<ListAlertConfigRoutesRequest>;
1455
+ export interface ListAlertgroupsRequest {
1456
+ projectId: string;
1457
+ instanceId: string;
1458
+ }
1459
+ export declare const ListAlertgroupsRequest: S.Schema<ListAlertgroupsRequest>;
1460
+ export interface ListAlertRecordsRequest {
1461
+ projectId: string;
1462
+ instanceId: string;
1463
+ groupName: string;
1464
+ }
1465
+ export declare const ListAlertRecordsRequest: S.Schema<ListAlertRecordsRequest>;
1466
+ export interface ListAlertrulesRequest {
1467
+ projectId: string;
1468
+ instanceId: string;
1469
+ groupName: string;
1470
+ }
1471
+ export declare const ListAlertrulesRequest: S.Schema<ListAlertrulesRequest>;
1472
+ export interface ListBackupRetentionsRequest {
1473
+ projectId: string;
1474
+ instanceId: string;
1475
+ }
1476
+ export declare const ListBackupRetentionsRequest: S.Schema<ListBackupRetentionsRequest>;
1477
+ export interface BackupRetentionResponse {
1478
+ alertConfigBackupRetention: string;
1479
+ alertRulesBackupRetention: string;
1480
+ grafanaBackupRetention: string;
1481
+ message: string;
1482
+ scrapeConfigBackupRetention: string;
1483
+ }
1484
+ export declare const BackupRetentionResponse: S.Schema<BackupRetentionResponse>;
1485
+ export type ListBackupsRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
1486
+ export declare const ListBackupsRequestBackupTargetItem: any;
1487
+ export type ListBackupsRequestBackupTargetList = Array<ListBackupsRequestBackupTargetItem | (string & {})>;
1488
+ export declare const ListBackupsRequestBackupTargetList: S.Schema<ListBackupsRequestBackupTargetList>;
1489
+ export interface ListBackupsRequest {
1490
+ projectId: string;
1491
+ instanceId: string;
1492
+ /** List of backup targets */
1493
+ backupTarget?: ListBackupsRequestBackupTargetList;
1494
+ }
1495
+ export declare const ListBackupsRequest: S.Schema<ListBackupsRequest>;
1496
+ export type BackupResponseAlertConfigBackupsList = Array<string>;
1497
+ export declare const BackupResponseAlertConfigBackupsList: S.Schema<BackupResponseAlertConfigBackupsList>;
1498
+ export type BackupResponseAlertRulesBackupsList = Array<string>;
1499
+ export declare const BackupResponseAlertRulesBackupsList: S.Schema<BackupResponseAlertRulesBackupsList>;
1500
+ export type BackupResponseGrafanaBackupsList = Array<string>;
1501
+ export declare const BackupResponseGrafanaBackupsList: S.Schema<BackupResponseGrafanaBackupsList>;
1502
+ export type BackupResponseScrapeConfigBackupsList = Array<string>;
1503
+ export declare const BackupResponseScrapeConfigBackupsList: S.Schema<BackupResponseScrapeConfigBackupsList>;
1504
+ export interface BackupResponse {
1505
+ alertConfigBackups: BackupResponseAlertConfigBackupsList;
1506
+ alertRulesBackups: BackupResponseAlertRulesBackupsList;
1507
+ grafanaBackups: BackupResponseGrafanaBackupsList;
1508
+ message: string;
1509
+ scrapeConfigBackups: BackupResponseScrapeConfigBackupsList;
1510
+ }
1511
+ export declare const BackupResponse: S.Schema<BackupResponse>;
1512
+ export type ListBackupSchedulesRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
1513
+ export declare const ListBackupSchedulesRequestBackupTargetItem: any;
1514
+ export type ListBackupSchedulesRequestBackupTargetList = Array<ListBackupSchedulesRequestBackupTargetItem | (string & {})>;
1515
+ export declare const ListBackupSchedulesRequestBackupTargetList: S.Schema<ListBackupSchedulesRequestBackupTargetList>;
1516
+ export interface ListBackupSchedulesRequest {
1517
+ projectId: string;
1518
+ instanceId: string;
1519
+ /** List of backup targets */
1520
+ backupTarget?: ListBackupSchedulesRequestBackupTargetList;
1521
+ }
1522
+ export declare const ListBackupSchedulesRequest: S.Schema<ListBackupSchedulesRequest>;
1523
+ export interface BackupSchedule {
1524
+ schedule: string;
1525
+ scheduleId: string;
1526
+ }
1527
+ export declare const BackupSchedule: S.Schema<BackupSchedule>;
1528
+ export type BackupScheduleResponseAlertConfigBackupSchedulesList = Array<BackupSchedule>;
1529
+ export declare const BackupScheduleResponseAlertConfigBackupSchedulesList: S.Schema<BackupScheduleResponseAlertConfigBackupSchedulesList>;
1530
+ export type BackupScheduleResponseAlertRulesBackupSchedulesList = Array<BackupSchedule>;
1531
+ export declare const BackupScheduleResponseAlertRulesBackupSchedulesList: S.Schema<BackupScheduleResponseAlertRulesBackupSchedulesList>;
1532
+ export type BackupScheduleResponseGrafanaBackupSchedulesList = Array<BackupSchedule>;
1533
+ export declare const BackupScheduleResponseGrafanaBackupSchedulesList: S.Schema<BackupScheduleResponseGrafanaBackupSchedulesList>;
1534
+ export type BackupScheduleResponseScrapeConfigBackupSchedulesList = Array<BackupSchedule>;
1535
+ export declare const BackupScheduleResponseScrapeConfigBackupSchedulesList: S.Schema<BackupScheduleResponseScrapeConfigBackupSchedulesList>;
1536
+ export interface BackupScheduleResponse {
1537
+ alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList;
1538
+ alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList;
1539
+ grafanaBackupSchedules?: BackupScheduleResponseGrafanaBackupSchedulesList;
1540
+ message: string;
1541
+ scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList;
1542
+ }
1543
+ export declare const BackupScheduleResponse: S.Schema<BackupScheduleResponse>;
1544
+ export interface ListCertChecksRequest {
1545
+ projectId: string;
1546
+ instanceId: string;
1547
+ }
1548
+ export declare const ListCertChecksRequest: S.Schema<ListCertChecksRequest>;
1549
+ export interface ListCredentialsRequest {
1550
+ projectId: string;
1551
+ instanceId: string;
1552
+ }
1553
+ export declare const ListCredentialsRequest: S.Schema<ListCredentialsRequest>;
1554
+ export type ServiceKeysListCredentialsInfoMap = {
1555
+ [key: string]: string | undefined;
1556
+ };
1557
+ export declare const ServiceKeysListCredentialsInfoMap: S.Schema<ServiceKeysListCredentialsInfoMap>;
1558
+ export interface ServiceKeysList {
1559
+ credentialsInfo?: ServiceKeysListCredentialsInfoMap;
1560
+ description?: string;
1561
+ id: string;
1562
+ name: string;
1563
+ }
1564
+ export declare const ServiceKeysList: S.Schema<ServiceKeysList>;
1565
+ export type ListCredentialsResponseCredentialsList = Array<ServiceKeysList>;
1566
+ export declare const ListCredentialsResponseCredentialsList: S.Schema<ListCredentialsResponseCredentialsList>;
1567
+ export interface ListCredentialsResponse {
1568
+ credentials: ListCredentialsResponseCredentialsList;
1569
+ message: string;
1570
+ }
1571
+ export declare const ListCredentialsResponse: S.Schema<ListCredentialsResponse>;
1572
+ export interface ListElasticsearchChecksRequest {
1573
+ projectId: string;
1574
+ instanceId: string;
1575
+ }
1576
+ export declare const ListElasticsearchChecksRequest: S.Schema<ListElasticsearchChecksRequest>;
1577
+ export interface ListHttpChecksRequest {
1578
+ projectId: string;
1579
+ instanceId: string;
1580
+ }
1581
+ export declare const ListHttpChecksRequest: S.Schema<ListHttpChecksRequest>;
1582
+ export interface ListInstancesRequest {
1583
+ projectId: string;
1584
+ }
1585
+ export declare const ListInstancesRequest: S.Schema<ListInstancesRequest>;
1586
+ export type ProjectInstanceFullStatus = "CREATING" | "CREATE_SUCCEEDED" | "CREATE_FAILED" | "DELETING" | "DELETE_SUCCEEDED" | "DELETE_FAILED" | "UPDATING" | "UPDATE_SUCCEEDED" | "UPDATE_FAILED";
1587
+ export declare const ProjectInstanceFullStatus: any;
1588
+ export interface ProjectInstanceFull {
1589
+ error?: string | null;
1590
+ id: string;
1591
+ instance: string;
1592
+ name?: string;
1593
+ planName: string;
1594
+ serviceName: string;
1595
+ status: ProjectInstanceFullStatus;
1596
+ }
1597
+ export declare const ProjectInstanceFull: S.Schema<ProjectInstanceFull>;
1598
+ export type ListInstancesResponseInstancesList = Array<ProjectInstanceFull>;
1599
+ export declare const ListInstancesResponseInstancesList: S.Schema<ListInstancesResponseInstancesList>;
1600
+ export interface ListInstancesResponse {
1601
+ instances: ListInstancesResponseInstancesList;
1602
+ message: string;
1603
+ }
1604
+ export declare const ListInstancesResponse: S.Schema<ListInstancesResponse>;
1605
+ export interface ListLogsAlertgroupsRequest {
1606
+ projectId: string;
1607
+ instanceId: string;
1608
+ }
1609
+ export declare const ListLogsAlertgroupsRequest: S.Schema<ListLogsAlertgroupsRequest>;
1610
+ export interface ListMongodbChecksRequest {
1611
+ projectId: string;
1612
+ instanceId: string;
1613
+ }
1614
+ export declare const ListMongodbChecksRequest: S.Schema<ListMongodbChecksRequest>;
1615
+ export interface ListMysqlChecksRequest {
1616
+ projectId: string;
1617
+ instanceId: string;
1618
+ }
1619
+ export declare const ListMysqlChecksRequest: S.Schema<ListMysqlChecksRequest>;
1620
+ export interface ListNetworkChecksRequest {
1621
+ projectId: string;
1622
+ instanceId: string;
1623
+ }
1624
+ export declare const ListNetworkChecksRequest: S.Schema<ListNetworkChecksRequest>;
1625
+ export interface ListOfferingsRequest {
1626
+ projectId: string;
1627
+ }
1628
+ export declare const ListOfferingsRequest: S.Schema<ListOfferingsRequest>;
1629
+ export interface Plan {
1630
+ alertMatchers: number;
1631
+ alertReceivers: number;
1632
+ alertRules: number;
1633
+ amount?: number;
1634
+ bucketSize: number;
1635
+ description?: string;
1636
+ grafanaGlobalDashboards: number;
1637
+ grafanaGlobalOrgs: number;
1638
+ grafanaGlobalSessions: number;
1639
+ grafanaGlobalUsers: number;
1640
+ id: string;
1641
+ isFree?: boolean;
1642
+ isPublic?: boolean;
1643
+ logsAlert: number;
1644
+ logsStorage: number;
1645
+ name?: string;
1646
+ planId: string;
1647
+ samplesPerScrape: number;
1648
+ schema?: string;
1649
+ targetNumber: number;
1650
+ totalMetricSamples: number;
1651
+ tracesStorage: number;
1652
+ }
1653
+ export declare const Plan: S.Schema<Plan>;
1654
+ export type OfferingsPlansList = Array<Plan>;
1655
+ export declare const OfferingsPlansList: S.Schema<OfferingsPlansList>;
1656
+ export type OfferingsTagsList = Array<string>;
1657
+ export declare const OfferingsTagsList: S.Schema<OfferingsTagsList>;
1658
+ export interface Offerings {
1659
+ description: string;
1660
+ documentationUrl: string;
1661
+ imageUrl: string;
1662
+ name: string;
1663
+ plans: OfferingsPlansList;
1664
+ tags: OfferingsTagsList;
1665
+ }
1666
+ export declare const Offerings: S.Schema<Offerings>;
1667
+ export interface ListPingChecksRequest {
1668
+ projectId: string;
1669
+ instanceId: string;
1670
+ }
1671
+ export declare const ListPingChecksRequest: S.Schema<ListPingChecksRequest>;
1672
+ export interface ListPlansRequest {
1673
+ projectId: string;
1674
+ }
1675
+ export declare const ListPlansRequest: S.Schema<ListPlansRequest>;
1676
+ export type PlansResponsePlansList = Array<Plan>;
1677
+ export declare const PlansResponsePlansList: S.Schema<PlansResponsePlansList>;
1678
+ export interface PlansResponse {
1679
+ message: string;
1680
+ plans: PlansResponsePlansList;
1681
+ }
1682
+ export declare const PlansResponse: S.Schema<PlansResponse>;
1683
+ export interface ListPostgresqlChecksRequest {
1684
+ projectId: string;
1685
+ instanceId: string;
1686
+ }
1687
+ export declare const ListPostgresqlChecksRequest: S.Schema<ListPostgresqlChecksRequest>;
1688
+ export interface ListRabbitmqChecksRequest {
1689
+ projectId: string;
1690
+ instanceId: string;
1691
+ }
1692
+ export declare const ListRabbitmqChecksRequest: S.Schema<ListRabbitmqChecksRequest>;
1693
+ export interface ListRedisChecksRequest {
1694
+ projectId: string;
1695
+ instanceId: string;
1696
+ }
1697
+ export declare const ListRedisChecksRequest: S.Schema<ListRedisChecksRequest>;
1698
+ export interface ListScrapeConfigsRequest {
1699
+ projectId: string;
1700
+ instanceId: string;
1701
+ }
1702
+ export declare const ListScrapeConfigsRequest: S.Schema<ListScrapeConfigsRequest>;
1703
+ export type ListScrapeConfigsResponseDataList = Array<Job>;
1704
+ export declare const ListScrapeConfigsResponseDataList: S.Schema<ListScrapeConfigsResponseDataList>;
1705
+ export interface ListScrapeConfigsResponse {
1706
+ data: ListScrapeConfigsResponseDataList;
1707
+ message: string;
1708
+ }
1709
+ export declare const ListScrapeConfigsResponse: S.Schema<ListScrapeConfigsResponse>;
1710
+ /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
1711
+ export type PartialUpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
1712
+ export declare const PartialUpdateAlertgroupsRequestBodyItemRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
1713
+ /** rules for the alert group */
1714
+ export type PartialUpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsRequestRulesItem>;
1715
+ export declare const PartialUpdateAlertgroupsRequestBodyItemRulesList: S.Schema<PartialUpdateAlertgroupsRequestBodyItemRulesList>;
1716
+ /** Alert group that should be created or updated. `Additional Validators:` * total config should not be bigger than 500000 characters as string since this the limitation of prometheus. */
1717
+ export interface PartialUpdateAlertgroupsRequestBodyItem {
1718
+ /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1719
+ interval?: string;
1720
+ /** The name of the group. Must be unique. `Additional Validators:` * is the identifier and so unique * should only include the characters: a-zA-Z0-9- */
1721
+ name: string;
1722
+ /** rules for the alert group */
1723
+ rules: PartialUpdateAlertgroupsRequestBodyItemRulesList;
1724
+ }
1725
+ export declare const PartialUpdateAlertgroupsRequestBodyItem: S.Schema<PartialUpdateAlertgroupsRequestBodyItem>;
1726
+ /** Array of alert groups that should be created or updated */
1727
+ export type PartialUpdateAlertgroupsRequestBodyList = Array<PartialUpdateAlertgroupsRequestBodyItem>;
1728
+ export declare const PartialUpdateAlertgroupsRequestBodyList: S.Schema<PartialUpdateAlertgroupsRequestBodyList>;
1729
+ export interface PartialUpdateAlertgroupsRequest {
1730
+ projectId: string;
1731
+ instanceId: string;
1732
+ body: PartialUpdateAlertgroupsRequestBodyList;
1733
+ }
1734
+ export declare const PartialUpdateAlertgroupsRequest: S.Schema<PartialUpdateAlertgroupsRequest>;
1735
+ /** Record. `Additional Validators:` * total config (all alert groups/rules/records) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
1736
+ export interface PartialUpdateAlertRecordsRequestBodyItem {
1737
+ /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1738
+ expr: string;
1739
+ /** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
1740
+ labels?: unknown;
1741
+ /** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
1742
+ record: string;
1743
+ }
1744
+ export declare const PartialUpdateAlertRecordsRequestBodyItem: S.Schema<PartialUpdateAlertRecordsRequestBodyItem>;
1745
+ /** Array of records that should be created or updated */
1746
+ export type PartialUpdateAlertRecordsRequestBodyList = Array<PartialUpdateAlertRecordsRequestBodyItem>;
1747
+ export declare const PartialUpdateAlertRecordsRequestBodyList: S.Schema<PartialUpdateAlertRecordsRequestBodyList>;
1748
+ export interface PartialUpdateAlertRecordsRequest {
1749
+ projectId: string;
1750
+ instanceId: string;
1751
+ groupName: string;
1752
+ body: PartialUpdateAlertRecordsRequestBodyList;
1753
+ }
1754
+ export declare const PartialUpdateAlertRecordsRequest: S.Schema<PartialUpdateAlertRecordsRequest>;
1755
+ /** Alert rule. `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
1756
+ export interface PartialUpdateAlertrulesRequestBodyItem {
1757
+ /** The name of the alert. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- */
1758
+ alert: string;
1759
+ /** map of key:value. Annotations to add to each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
1760
+ annotations?: unknown;
1761
+ /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1762
+ expr: string;
1763
+ /** Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. `Additional Validators:` * must be a valid time string */
1764
+ for?: string;
1765
+ /** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
1766
+ labels?: unknown;
1767
+ }
1768
+ export declare const PartialUpdateAlertrulesRequestBodyItem: S.Schema<PartialUpdateAlertrulesRequestBodyItem>;
1769
+ /** Array of alert rules that should be created or updated */
1770
+ export type PartialUpdateAlertrulesRequestBodyList = Array<PartialUpdateAlertrulesRequestBodyItem>;
1771
+ export declare const PartialUpdateAlertrulesRequestBodyList: S.Schema<PartialUpdateAlertrulesRequestBodyList>;
1772
+ export interface PartialUpdateAlertrulesRequest {
1773
+ projectId: string;
1774
+ instanceId: string;
1775
+ groupName: string;
1776
+ body: PartialUpdateAlertrulesRequestBodyList;
1777
+ }
1778
+ export declare const PartialUpdateAlertrulesRequest: S.Schema<PartialUpdateAlertrulesRequest>;
1779
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
1780
+ export type PartialUpdateScrapeConfigsRequestBodyItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
1781
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
1782
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
1783
+ export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
1784
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
1785
+ /** The URL to fetch the token from. */
1786
+ export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList = Array<string>;
1787
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList>;
1788
+ /** Configures the scrape request's TLS settings. */
1789
+ export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1790
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
1791
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
1792
+ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 {
1793
+ /** clientId */
1794
+ clientId: string;
1795
+ /** clientSecret */
1796
+ clientSecret: string | Redacted.Redacted<string>;
1797
+ /** The URL to fetch the token from. */
1798
+ scopes?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList;
1799
+ /** Configures the scrape request's TLS settings. */
1800
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1801
+ /** The URL to fetch the token from. */
1802
+ tokenUrl: string;
1803
+ }
1804
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2>;
1805
+ /** Configures the scrape request's TLS settings. */
1806
+ export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1807
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
1808
+ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem {
1809
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
1810
+ basicAuth?: CreateScrapeConfigRequestBasicAuth;
1811
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
1812
+ oauth2?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2;
1813
+ /** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
1814
+ refreshInterval?: string;
1815
+ /** Configures the scrape request's TLS settings. */
1816
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1817
+ /** URL from which the targets are fetched. */
1818
+ url: string;
1819
+ }
1820
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem>;
1821
+ /** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
1822
+ export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList = Array<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem>;
1823
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList>;
1824
+ /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
1825
+ export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
1826
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction: any;
1827
+ /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
1828
+ export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
1829
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList>;
1830
+ export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem {
1831
+ /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
1832
+ action?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction | (string & {});
1833
+ /** Modulus to take of the hash of the source label values. */
1834
+ modulus?: number;
1835
+ /** Regular expression against which the extracted value is matched. */
1836
+ regex?: string;
1837
+ /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
1838
+ replacement?: string;
1839
+ /** Separator placed between concatenated source label values. */
1840
+ separator?: string;
1841
+ /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
1842
+ sourceLabels?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList;
1843
+ /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
1844
+ targetLabel?: string;
1845
+ }
1846
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem>;
1847
+ /** List of metric relabel configurations */
1848
+ export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList = Array<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem>;
1849
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList>;
1850
+ /** The URL to fetch the token from. */
1851
+ export type PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList = Array<string>;
1852
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList>;
1853
+ /** Configures the scrape request's TLS settings. */
1854
+ export type PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1855
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
1856
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
1857
+ export interface PartialUpdateScrapeConfigsRequestBodyItemOauth2 {
1858
+ /** clientId */
1859
+ clientId: string;
1860
+ /** clientSecret */
1861
+ clientSecret: string | Redacted.Redacted<string>;
1862
+ /** The URL to fetch the token from. */
1863
+ scopes?: PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList;
1864
+ /** Configures the scrape request's TLS settings. */
1865
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1866
+ /** The URL to fetch the token from. */
1867
+ tokenUrl: string;
1868
+ }
1869
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemOauth2: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2>;
1870
+ /** Configures the protocol scheme used for requests. https or http */
1871
+ export type PartialUpdateScrapeConfigsRequestBodyItemScheme = "http" | "https";
1872
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemScheme: any;
1873
+ /** The targets specified by the static config. */
1874
+ export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList = Array<string>;
1875
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList>;
1876
+ export interface PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem {
1877
+ /** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
1878
+ labels?: unknown;
1879
+ /** The targets specified by the static config. */
1880
+ targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList;
1881
+ }
1882
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem>;
1883
+ /** A list of scrape configurations. */
1884
+ export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList = Array<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem>;
1885
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList>;
1886
+ /** Configures the scrape request's TLS settings. */
1887
+ export type PartialUpdateScrapeConfigsRequestBodyItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1888
+ export declare const PartialUpdateScrapeConfigsRequestBodyItemTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
1889
+ export interface PartialUpdateScrapeConfigsRequestBodyItem {
1890
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
1891
+ basicAuth?: CreateScrapeConfigRequestBasicAuth;
1892
+ /** Sets the 'Authorization' header on every scrape request with the configured bearer token. It is mutually exclusive with 'bearer_token_file'. `Additional Validators:` * needs to be a valid bearer token * if bearerToken is in the body no other authentication method should be in the body */
1893
+ bearerToken?: string;
1894
+ /** Note that any globally configured 'external_labels' are unaffected by this setting. In communication with external systems, they are always applied only when a time series does not have a given label yet and are ignored otherwise. */
1895
+ honorLabels?: boolean;
1896
+ /** honor_timestamps controls whether Prometheus respects the timestamps present in scraped data. If honor_timestamps is set to 'true', the timestamps of the metrics exposed by the target will be used. */
1897
+ honorTimeStamps?: boolean;
1898
+ /** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
1899
+ httpSdConfigs?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList;
1900
+ /** The job name assigned to scraped metrics by default. `Additional Validators:` * must be unique * key and values should only include the characters: a-zA-Z0-9- */
1901
+ jobName: string;
1902
+ /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
1903
+ metricsPath?: string;
1904
+ /** List of metric relabel configurations */
1905
+ metricsRelabelConfigs?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList;
1906
+ /** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
1907
+ oauth2?: PartialUpdateScrapeConfigsRequestBodyItemOauth2;
1908
+ /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
1909
+ params?: unknown;
1910
+ /** Per-scrape limit on number of scraped samples that will be accepted. If more than this number of samples are present after metric relabeling the entire scrape will be treated as failed. The total limit depends on the service plan target limits * samples */
1911
+ sampleLimit?: number;
1912
+ /** Configures the protocol scheme used for requests. https or http */
1913
+ scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme | (string & {});
1914
+ /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
1915
+ scrapeInterval: string;
1916
+ /** Per-scrape timeout when scraping this job. `Additional Validators:` * must be a valid time format* must be smaller than scrapeInterval */
1917
+ scrapeTimeout: string;
1918
+ /** A list of scrape configurations. */
1919
+ staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList;
1920
+ /** Configures the scrape request's TLS settings. */
1921
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1922
+ }
1923
+ export declare const PartialUpdateScrapeConfigsRequestBodyItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItem>;
1924
+ /** Array of jobs that should be created or updated */
1925
+ export type PartialUpdateScrapeConfigsRequestBodyList = Array<PartialUpdateScrapeConfigsRequestBodyItem>;
1926
+ export declare const PartialUpdateScrapeConfigsRequestBodyList: S.Schema<PartialUpdateScrapeConfigsRequestBodyList>;
1927
+ export interface PartialUpdateScrapeConfigsRequest {
1928
+ projectId: string;
1929
+ instanceId: string;
1930
+ body: PartialUpdateScrapeConfigsRequestBodyList;
1931
+ }
1932
+ export declare const PartialUpdateScrapeConfigsRequest: S.Schema<PartialUpdateScrapeConfigsRequest>;
1933
+ export type RestoreBackupRequestRestoreTarget = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
1934
+ export declare const RestoreBackupRequestRestoreTarget: any;
1935
+ export interface RestoreBackupRequest {
1936
+ projectId: string;
1937
+ instanceId: string;
1938
+ backupDate: string;
1939
+ /** List of restore targets */
1940
+ restoreTarget: RestoreBackupRequestRestoreTarget | (string & {});
1941
+ }
1942
+ export declare const RestoreBackupRequest: S.Schema<RestoreBackupRequest>;
1943
+ /** list of cidr */
1944
+ export type UpdateACLRequestAclList = Array<string>;
1945
+ export declare const UpdateACLRequestAclList: S.Schema<UpdateACLRequestAclList>;
1946
+ export interface UpdateACLRequest {
1947
+ projectId: string;
1948
+ instanceId: string;
1949
+ /** list of cidr */
1950
+ acl: UpdateACLRequestAclList;
1951
+ }
1952
+ export declare const UpdateACLRequest: S.Schema<UpdateACLRequest>;
1953
+ export type UpdateAlertConfigReceiverRequestEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
1954
+ export declare const UpdateAlertConfigReceiverRequestEmailConfigsItem: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
1955
+ /** Email configurations */
1956
+ export type UpdateAlertConfigReceiverRequestEmailConfigsList = Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
1957
+ export declare const UpdateAlertConfigReceiverRequestEmailConfigsList: S.Schema<UpdateAlertConfigReceiverRequestEmailConfigsList>;
1958
+ export type UpdateAlertConfigReceiverRequestOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
1959
+ export declare const UpdateAlertConfigReceiverRequestOpsgenieConfigsItem: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
1960
+ /** Configuration for ops genie. */
1961
+ export type UpdateAlertConfigReceiverRequestOpsgenieConfigsList = Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
1962
+ export declare const UpdateAlertConfigReceiverRequestOpsgenieConfigsList: S.Schema<UpdateAlertConfigReceiverRequestOpsgenieConfigsList>;
1963
+ export type UpdateAlertConfigReceiverRequestWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
1964
+ export declare const UpdateAlertConfigReceiverRequestWebHookConfigsItem: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
1965
+ export type UpdateAlertConfigReceiverRequestWebHookConfigsList = Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
1966
+ export declare const UpdateAlertConfigReceiverRequestWebHookConfigsList: S.Schema<UpdateAlertConfigReceiverRequestWebHookConfigsList>;
1967
+ export interface UpdateAlertConfigReceiverRequest {
1968
+ projectId: string;
1969
+ instanceId: string;
1970
+ receiver: string;
1971
+ /** Email configurations */
1972
+ emailConfigs?: UpdateAlertConfigReceiverRequestEmailConfigsList;
1973
+ /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
1974
+ name: string;
1975
+ /** Configuration for ops genie. */
1976
+ opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList;
1977
+ webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList;
1978
+ }
1979
+ export declare const UpdateAlertConfigReceiverRequest: S.Schema<UpdateAlertConfigReceiverRequest>;
1980
+ /** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
1981
+ export type UpdateAlertConfigRouteRequestGroupByList = Array<string>;
1982
+ export declare const UpdateAlertConfigRouteRequestGroupByList: S.Schema<UpdateAlertConfigRouteRequestGroupByList>;
1983
+ /** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
1984
+ export type UpdateAlertConfigRouteRequestMatchersList = Array<string>;
1985
+ export declare const UpdateAlertConfigRouteRequestMatchersList: S.Schema<UpdateAlertConfigRouteRequestMatchersList>;
1986
+ export type UpdateAlertConfigRouteRequestRoutesItemGroupByList = Array<string>;
1987
+ export declare const UpdateAlertConfigRouteRequestRoutesItemGroupByList: S.Schema<UpdateAlertConfigRouteRequestRoutesItemGroupByList>;
1988
+ /** As in one level above */
1989
+ export type UpdateAlertConfigRouteRequestRoutesItemMatchersList = Array<string>;
1990
+ export declare const UpdateAlertConfigRouteRequestRoutesItemMatchersList: S.Schema<UpdateAlertConfigRouteRequestRoutesItemMatchersList>;
1991
+ /** Another child routes */
1992
+ export type UpdateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
1993
+ export declare const UpdateAlertConfigRouteRequestRoutesItemRoutesList: S.Schema<UpdateAlertConfigRouteRequestRoutesItemRoutesList>;
1994
+ /** As in one level above */
1995
+ export interface UpdateAlertConfigRouteRequestRoutesItem {
1996
+ /** Whether an alert should continue matching subsequent sibling nodes. */
1997
+ continue?: boolean;
1998
+ groupBy?: UpdateAlertConfigRouteRequestRoutesItemGroupByList;
1999
+ /** As in one level above */
2000
+ groupInterval?: string;
2001
+ /** As in one level above */
2002
+ groupWait?: string;
2003
+ /** As in one level above */
2004
+ match?: unknown;
2005
+ /** As in one level above */
2006
+ matchRe?: unknown;
2007
+ /** As in one level above */
2008
+ matchers?: UpdateAlertConfigRouteRequestRoutesItemMatchersList;
2009
+ /** As in one level above */
2010
+ receiver?: string;
2011
+ /** As in one level above */
2012
+ repeatInterval?: string;
2013
+ /** Another child routes */
2014
+ routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList;
2015
+ }
2016
+ export declare const UpdateAlertConfigRouteRequestRoutesItem: S.Schema<UpdateAlertConfigRouteRequestRoutesItem>;
2017
+ /** Zero or more child routes. */
2018
+ export type UpdateAlertConfigRouteRequestRoutesList = Array<UpdateAlertConfigRouteRequestRoutesItem>;
2019
+ export declare const UpdateAlertConfigRouteRequestRoutesList: S.Schema<UpdateAlertConfigRouteRequestRoutesList>;
2020
+ export interface UpdateAlertConfigRouteRequest {
2021
+ projectId: string;
2022
+ instanceId: string;
2023
+ receiver: string;
2024
+ /** The continue parameter cannot be set to true on the root route because there are no subsequent sibling nodes to match. It must always be false. */
2025
+ continue?: boolean;
2026
+ /** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
2027
+ groupBy?: UpdateAlertConfigRouteRequestGroupByList;
2028
+ /** How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) `Additional Validators:` * must be a valid time format */
2029
+ groupInterval?: string;
2030
+ /** How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) `Additional Validators:` * must be a valid time format */
2031
+ groupWait?: string;
2032
+ /** map of key:value. A set of equality matchers an alert has to fulfill to match the node. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters * key and values should only include the characters: a-zA-Z0-9_./@&?:- */
2033
+ match?: unknown;
2034
+ /** map of key:value. A set of regex-matchers an alert has to fulfill to match the node. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2035
+ matchRe?: unknown;
2036
+ /** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2037
+ matchers?: UpdateAlertConfigRouteRequestMatchersList;
2038
+ /** How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). `Additional Validators:` * must be a valid time format */
2039
+ repeatInterval?: string;
2040
+ /** Zero or more child routes. */
2041
+ routes?: UpdateAlertConfigRouteRequestRoutesList;
2042
+ }
2043
+ export declare const UpdateAlertConfigRouteRequest: S.Schema<UpdateAlertConfigRouteRequest>;
2044
+ /** Global config. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. */
2045
+ export interface UpdateAlertConfigsRequestGlobal {
2046
+ /** Opsgenie api key `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
2047
+ opsgenieApiKey?: string;
2048
+ /** Opsgenie api url `Additional Validators:` * must be a syntactically valid url address */
2049
+ opsgenieApiUrl?: string;
2050
+ /** ResolveTimeout is the default value used by alertmanager if the alert does not include EndsAt, after this time passes it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. `Additional Validators:` * must be a valid time format */
2051
+ resolveTimeout?: string;
2052
+ /** Auth identity. `Additional Validators:` * must be a syntactically valid email address */
2053
+ smtpAuthIdentity?: string;
2054
+ /** SMTP Auth using LOGIN and PLAIN. */
2055
+ smtpAuthPassword?: string | Redacted.Redacted<string>;
2056
+ /** SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. */
2057
+ smtpAuthUsername?: string;
2058
+ /** The default SMTP From header field. `Additional Validators:` * must be a syntactically valid email address */
2059
+ smtpFrom?: string;
2060
+ /** The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). Example: smtp.example.org:587 `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
2061
+ smtpSmarthost?: string;
2062
+ }
2063
+ export declare const UpdateAlertConfigsRequestGlobal: S.Schema<UpdateAlertConfigsRequestGlobal>;
2064
+ /** Labels that must have an equal value in the source and target alert for the inhibition to take effect. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
2065
+ export type UpdateAlertConfigsRequestInhibitRulesEqualList = Array<string>;
2066
+ export declare const UpdateAlertConfigsRequestInhibitRulesEqualList: S.Schema<UpdateAlertConfigsRequestInhibitRulesEqualList>;
2067
+ /** A list of inhibition rules. */
2068
+ export interface UpdateAlertConfigsRequestInhibitRules {
2069
+ /** Labels that must have an equal value in the source and target alert for the inhibition to take effect. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
2070
+ equal?: UpdateAlertConfigsRequestInhibitRulesEqualList;
2071
+ /** map of key:value. Matchers for which one or more alerts have to exist for the inhibition to take effect. `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters * each key and value should only include the characters: a-zA-Z0-9_./@&?:- */
2072
+ sourceMatch?: unknown;
2073
+ /** map of key:value. Regex match `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
2074
+ sourceMatchRe?: unknown;
2075
+ /** map of key:value. Matchers that have to be fulfilled in the alerts to be muted. `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters * each key and value should only include the characters: a-zA-Z0-9_./@&?:- */
2076
+ targetMatch?: unknown;
2077
+ /** map of key:value. Matchers that have to be fulfilled in the alerts to be muted. Regex. `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
2078
+ targetMatchRe?: unknown;
2079
+ }
2080
+ export declare const UpdateAlertConfigsRequestInhibitRules: S.Schema<UpdateAlertConfigsRequestInhibitRules>;
2081
+ export type UpdateAlertConfigsRequestReceiversItemEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
2082
+ export declare const UpdateAlertConfigsRequestReceiversItemEmailConfigsItem: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
2083
+ /** Email configurations */
2084
+ export type UpdateAlertConfigsRequestReceiversItemEmailConfigsList = Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
2085
+ export declare const UpdateAlertConfigsRequestReceiversItemEmailConfigsList: S.Schema<UpdateAlertConfigsRequestReceiversItemEmailConfigsList>;
2086
+ export type UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
2087
+ export declare const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
2088
+ /** Configuration for ops genie. */
2089
+ export type UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList = Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
2090
+ export declare const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList: S.Schema<UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList>;
2091
+ export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
2092
+ export declare const UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
2093
+ export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsList = Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
2094
+ export declare const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList: S.Schema<UpdateAlertConfigsRequestReceiversItemWebHookConfigsList>;
2095
+ /** Receivers */
2096
+ export interface UpdateAlertConfigsRequestReceiversItem {
2097
+ /** Email configurations */
2098
+ emailConfigs?: UpdateAlertConfigsRequestReceiversItemEmailConfigsList;
2099
+ /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
2100
+ name: string;
2101
+ /** Configuration for ops genie. */
2102
+ opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList;
2103
+ webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList;
2104
+ }
2105
+ export declare const UpdateAlertConfigsRequestReceiversItem: S.Schema<UpdateAlertConfigsRequestReceiversItem>;
2106
+ /** A list of notification receivers. */
2107
+ export type UpdateAlertConfigsRequestReceiversList = Array<UpdateAlertConfigsRequestReceiversItem>;
2108
+ export declare const UpdateAlertConfigsRequestReceiversList: S.Schema<UpdateAlertConfigsRequestReceiversList>;
2109
+ /** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
2110
+ export type UpdateAlertConfigsRequestRouteGroupByList = Array<string>;
2111
+ export declare const UpdateAlertConfigsRequestRouteGroupByList: S.Schema<UpdateAlertConfigsRequestRouteGroupByList>;
2112
+ export type UpdateAlertConfigsRequestRouteRoutesItemGroupByList = Array<string>;
2113
+ export declare const UpdateAlertConfigsRequestRouteRoutesItemGroupByList: S.Schema<UpdateAlertConfigsRequestRouteRoutesItemGroupByList>;
2114
+ /** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2115
+ export type UpdateAlertConfigsRequestRouteRoutesItemMatchersList = Array<string>;
2116
+ export declare const UpdateAlertConfigsRequestRouteRoutesItemMatchersList: S.Schema<UpdateAlertConfigsRequestRouteRoutesItemMatchersList>;
2117
+ /** Another child routes */
2118
+ export type UpdateAlertConfigsRequestRouteRoutesItemRoutesList = Array<unknown>;
2119
+ export declare const UpdateAlertConfigsRequestRouteRoutesItemRoutesList: S.Schema<UpdateAlertConfigsRequestRouteRoutesItemRoutesList>;
2120
+ /** As in one level above */
2121
+ export interface UpdateAlertConfigsRequestRouteRoutesItem {
2122
+ /** Whether an alert should continue matching subsequent sibling nodes. */
2123
+ continue?: boolean;
2124
+ groupBy?: UpdateAlertConfigsRequestRouteRoutesItemGroupByList;
2125
+ /** As in one level above */
2126
+ groupInterval?: string;
2127
+ /** As in one level above */
2128
+ groupWait?: string;
2129
+ /** As in one level above */
2130
+ match?: unknown;
2131
+ /** As in one level above */
2132
+ matchRe?: unknown;
2133
+ /** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2134
+ matchers?: UpdateAlertConfigsRequestRouteRoutesItemMatchersList;
2135
+ /** As in one level above */
2136
+ receiver?: string;
2137
+ /** As in one level above */
2138
+ repeatInterval?: string;
2139
+ /** Another child routes */
2140
+ routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList;
2141
+ }
2142
+ export declare const UpdateAlertConfigsRequestRouteRoutesItem: S.Schema<UpdateAlertConfigsRequestRouteRoutesItem>;
2143
+ /** Zero or more child routes. */
2144
+ export type UpdateAlertConfigsRequestRouteRoutesList = Array<UpdateAlertConfigsRequestRouteRoutesItem>;
2145
+ export declare const UpdateAlertConfigsRequestRouteRoutesList: S.Schema<UpdateAlertConfigsRequestRouteRoutesList>;
2146
+ /** The root node of the routing tree. */
2147
+ export interface UpdateAlertConfigsRequestRoute {
2148
+ /** The continue parameter cannot be set to true on the root route because there are no subsequent sibling nodes to match. It must always be false. */
2149
+ continue?: boolean;
2150
+ /** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
2151
+ groupBy?: UpdateAlertConfigsRequestRouteGroupByList;
2152
+ /** How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) `Additional Validators:` * must be a valid time format */
2153
+ groupInterval?: string;
2154
+ /** How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) `Additional Validators:` * must be a valid time format */
2155
+ groupWait?: string;
2156
+ /** map of key:value. A set of equality matchers an alert has to fulfill to match the node. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters * key and values should only include the characters: a-zA-Z0-9_./@&?:- */
2157
+ match?: unknown;
2158
+ /** map of key:value. A set of regex-matchers an alert has to fulfill to match the node. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2159
+ matchRe?: unknown;
2160
+ /** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
2161
+ receiver: string;
2162
+ /** How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). `Additional Validators:` * must be a valid time format */
2163
+ repeatInterval?: string;
2164
+ /** Zero or more child routes. */
2165
+ routes?: UpdateAlertConfigsRequestRouteRoutesList;
2166
+ }
2167
+ export declare const UpdateAlertConfigsRequestRoute: S.Schema<UpdateAlertConfigsRequestRoute>;
2168
+ export interface UpdateAlertConfigsRequest {
2169
+ projectId: string;
2170
+ instanceId: string;
2171
+ /** Global config. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. */
2172
+ global?: UpdateAlertConfigsRequestGlobal;
2173
+ /** A list of inhibition rules. */
2174
+ inhibitRules?: UpdateAlertConfigsRequestInhibitRules;
2175
+ /** A list of notification receivers. */
2176
+ receivers: UpdateAlertConfigsRequestReceiversList;
2177
+ /** The root node of the routing tree. */
2178
+ route: UpdateAlertConfigsRequestRoute;
2179
+ }
2180
+ export declare const UpdateAlertConfigsRequest: S.Schema<UpdateAlertConfigsRequest>;
2181
+ export interface UpdateAlertConfigsResponse {
2182
+ data: Alert;
2183
+ message: string;
2184
+ }
2185
+ export declare const UpdateAlertConfigsResponse: S.Schema<UpdateAlertConfigsResponse>;
2186
+ /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
2187
+ export type UpdateAlertgroupRequestRulesItem = CreateAlertgroupsRequestRulesItem;
2188
+ export declare const UpdateAlertgroupRequestRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
2189
+ /** rules for the alert group */
2190
+ export type UpdateAlertgroupRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
2191
+ export declare const UpdateAlertgroupRequestRulesList: S.Schema<UpdateAlertgroupRequestRulesList>;
2192
+ export interface UpdateAlertgroupRequest {
2193
+ projectId: string;
2194
+ instanceId: string;
2195
+ groupName: string;
2196
+ /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
2197
+ interval?: string;
2198
+ /** rules for the alert group */
2199
+ rules: UpdateAlertgroupRequestRulesList;
2200
+ }
2201
+ export declare const UpdateAlertgroupRequest: S.Schema<UpdateAlertgroupRequest>;
2202
+ /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
2203
+ export type UpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
2204
+ export declare const UpdateAlertgroupsRequestBodyItemRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
2205
+ /** rules for the alert group */
2206
+ export type UpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsRequestRulesItem>;
2207
+ export declare const UpdateAlertgroupsRequestBodyItemRulesList: S.Schema<UpdateAlertgroupsRequestBodyItemRulesList>;
2208
+ /** Alert group that should be created or updated. `Additional Validators:` * total config should not be bigger than 500000 characters as string since this the limitation of prometheus. */
2209
+ export interface UpdateAlertgroupsRequestBodyItem {
2210
+ /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
2211
+ interval?: string;
2212
+ /** The name of the group. Must be unique. `Additional Validators:` * is the identifier and so unique * should only include the characters: a-zA-Z0-9- */
2213
+ name: string;
2214
+ /** rules for the alert group */
2215
+ rules: UpdateAlertgroupsRequestBodyItemRulesList;
2216
+ }
2217
+ export declare const UpdateAlertgroupsRequestBodyItem: S.Schema<UpdateAlertgroupsRequestBodyItem>;
2218
+ /** Array of alert groups that should be set. It will override all existing alert groups. */
2219
+ export type UpdateAlertgroupsRequestBodyList = Array<UpdateAlertgroupsRequestBodyItem>;
2220
+ export declare const UpdateAlertgroupsRequestBodyList: S.Schema<UpdateAlertgroupsRequestBodyList>;
2221
+ export interface UpdateAlertgroupsRequest {
2222
+ projectId: string;
2223
+ instanceId: string;
2224
+ body: UpdateAlertgroupsRequestBodyList;
2225
+ }
2226
+ export declare const UpdateAlertgroupsRequest: S.Schema<UpdateAlertgroupsRequest>;
2227
+ export interface UpdateAlertRecordRequest {
2228
+ projectId: string;
2229
+ instanceId: string;
2230
+ groupName: string;
2231
+ alertRecord: string;
2232
+ /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
2233
+ expr: string;
2234
+ /** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2235
+ labels?: unknown;
2236
+ }
2237
+ export declare const UpdateAlertRecordRequest: S.Schema<UpdateAlertRecordRequest>;
2238
+ export interface UpdateAlertruleRequest {
2239
+ projectId: string;
2240
+ instanceId: string;
2241
+ groupName: string;
2242
+ alertName: string;
2243
+ /** map of key:value. Annotations to add to each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2244
+ annotations?: unknown;
2245
+ /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
2246
+ expr: string;
2247
+ /** Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. `Additional Validators:` * must be a valid time string */
2248
+ for?: string;
2249
+ /** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2250
+ labels?: unknown;
2251
+ }
2252
+ export declare const UpdateAlertruleRequest: S.Schema<UpdateAlertruleRequest>;
2253
+ export interface UpdateCredentialsRemoteWriteConfigRequest {
2254
+ projectId: string;
2255
+ instanceId: string;
2256
+ username: string;
2257
+ /** Remote write metric sample limit for credential to push in a single minute. */
2258
+ maxLimit?: number;
2259
+ }
2260
+ export declare const UpdateCredentialsRemoteWriteConfigRequest: S.Schema<UpdateCredentialsRemoteWriteConfigRequest>;
2261
+ export interface UpdateGrafanaConfigsRequestGenericOauth {
2262
+ /** Set to true to enable automatic sync of the Grafana server administrator role. If this option is set to true and the result of evaluating role_attribute_path for a user is GrafanaAdmin, Grafana grants the user the server administrator privileges and organization administrator role. If this option is set to false and the result of evaluating role_attribute_path for a user is GrafanaAdmin, Grafana grants the user only organization administrator role. */
2263
+ allowAssignGrafanaAdmin?: boolean;
2264
+ /** Set api_url to the resource that returns OpenID UserInfo compatible information. */
2265
+ apiUrl: string;
2266
+ /** Authentication endpoint of idp. */
2267
+ authUrl: string;
2268
+ /** Enable or disable generic oauth login */
2269
+ enabled: boolean;
2270
+ /** Display name for the oAuth provider */
2271
+ name?: string;
2272
+ /** Oauth client id for auth endpoint. */
2273
+ oauthClientId: string;
2274
+ /** Oauth client secret for auth endpoint. */
2275
+ oauthClientSecret: string;
2276
+ /** Grafana checks for the presence of a role using the JMESPath specified via the role_attribute_path configuration option. The JMESPath is applied to the id_token first. If there is no match, then the UserInfo endpoint specified via the api_url configuration option is tried next. The result after evaluation of the role_attribute_path JMESPath expression should be a valid Grafana role, for example, Viewer, Editor or Admin For example: contains(roles[\*], 'grafana-admin') && 'Admin' || contains(roles[\*], 'grafana-editor') && 'Editor' || contains(roles[\*], 'grafana-viewer') && 'Viewer' */
2277
+ roleAttributePath: string;
2278
+ /** If the role_attribute_path property does not return a role, then the user is assigned the Viewer role by default. You can disable the role assignment by setting role_attribute_strict = true. It denies user access if no role or an invalid role is returned. */
2279
+ roleAttributeStrict?: boolean;
2280
+ /** Space seperated list of scopes of the token */
2281
+ scopes?: string;
2282
+ /** Token endpoint of the idp. */
2283
+ tokenUrl: string;
2284
+ /** Enable or disable Proof Key for Code Exchange */
2285
+ usePkce?: boolean;
2286
+ }
2287
+ export declare const UpdateGrafanaConfigsRequestGenericOauth: S.Schema<UpdateGrafanaConfigsRequestGenericOauth>;
2288
+ export interface UpdateGrafanaConfigsRequest {
2289
+ projectId: string;
2290
+ instanceId: string;
2291
+ genericOauth?: UpdateGrafanaConfigsRequestGenericOauth;
2292
+ /** If it's true, anyone can access the Grafana dashboards without logging in. If it is wrong, a login is required. */
2293
+ publicReadAccess?: boolean;
2294
+ /** If it's true, it overwrites the current genericOauth config and configures STACKIT SSO for this instance. */
2295
+ useStackitSso?: boolean;
2296
+ }
2297
+ export declare const UpdateGrafanaConfigsRequest: S.Schema<UpdateGrafanaConfigsRequest>;
2298
+ export interface UpdateInstanceRequest {
2299
+ projectId: string;
2300
+ instanceId: string;
2301
+ /** When set to false, the Grafana server admin created during provisioning will be deleted. It's recommended to set this to false and use STACKIT SSO (`Owner` or `Observability Grafana Server Admin` role) instead. It is still possible to manually create a new Grafana admin user via the Grafana UI later. Once set to false, it is not possible to set it to true again. */
2302
+ grafanaAdminEnabled?: boolean;
2303
+ /** Name of the service */
2304
+ name?: string;
2305
+ /** Additional parameters */
2306
+ parameter?: unknown;
2307
+ /** UUID of the plan to update */
2308
+ planId?: string;
2309
+ }
2310
+ export declare const UpdateInstanceRequest: S.Schema<UpdateInstanceRequest>;
2311
+ /** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
2312
+ export type UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
2313
+ export declare const UpdateLogsAlertgroupRequestRulesItem: S.Schema<CreateLogsAlertgroupsRequestRulesItem>;
2314
+ /** rules for the alert group */
2315
+ export type UpdateLogsAlertgroupRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
2316
+ export declare const UpdateLogsAlertgroupRequestRulesList: S.Schema<UpdateLogsAlertgroupRequestRulesList>;
2317
+ export interface UpdateLogsAlertgroupRequest {
2318
+ projectId: string;
2319
+ instanceId: string;
2320
+ groupName: string;
2321
+ /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
2322
+ interval?: string;
2323
+ /** rules for the alert group */
2324
+ rules: UpdateLogsAlertgroupRequestRulesList;
2325
+ }
2326
+ export declare const UpdateLogsAlertgroupRequest: S.Schema<UpdateLogsAlertgroupRequest>;
2327
+ export interface UpdateLogsConfigsRequest {
2328
+ projectId: string;
2329
+ instanceId: string;
2330
+ /** How long to keep the logs `Additional Validators:` * Should be a valid time string * Should not be longer than 30 days */
2331
+ retention: string;
2332
+ }
2333
+ export declare const UpdateLogsConfigsRequest: S.Schema<UpdateLogsConfigsRequest>;
2334
+ export interface UpdateMetricsStorageRetentionRequest {
2335
+ projectId: string;
2336
+ instanceId: string;
2337
+ /** Retention time of longtime storage of 1h sampled data. After that time the 1h sampled data will be deleted permanently. The goal of downsampling is to get fast results for queries over long time intervals. It is recommended to set this value to be the same as metricsRetentionTimeRaw to ensure zoom-in capabilities in your dashboards. The default value is 90 days. `Additional Validators:` * Should be a valid time string (e.g. '90d'). * Should be between '10d' and '780d'. * Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will be automatically adjusted in the backend to the recommended range of '10d' to '780d'. */
2338
+ metricsRetentionTime1h: string;
2339
+ /** Retention time of longtime storage of 5m sampled data. After that time the 5m sampled data will be deleted permanently. All 5m resolution metrics older than 10 days are downsampled at a 1h resolution. The goal of downsampling is to get fast results for queries over long time intervals. It is recommended to set this value to be the same as metricsRetentionTimeRaw to ensure zoom-in capabilities in your dashboards. The default value is 90 days. `Additional Validators:` * Should be a valid time string (e.g. '90d'). * Should be between '10d' and '780d'. * Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will be automatically adjusted in the backend to the recommended range of '10d' to '780d'. */
2340
+ metricsRetentionTime5m: string;
2341
+ /** Retention time of longtime storage of raw data. After that time the raw data will be deleted permanently. All raw resolution metrics that are older than 40 hours are downsampled at a 5m resolution. The default value is 90 days. `Additional Validators:` * Should be a valid time string (e.g. '90d'). * Should be between '2d' and '780d'. * Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will be automatically adjusted in the backend to the recommended range of '2d' to '780d'. */
2342
+ metricsRetentionTimeRaw: string;
2343
+ }
2344
+ export declare const UpdateMetricsStorageRetentionRequest: S.Schema<UpdateMetricsStorageRetentionRequest>;
2345
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
2346
+ export type UpdateScrapeConfigRequestBasicAuth = CreateScrapeConfigRequestBasicAuth;
2347
+ export declare const UpdateScrapeConfigRequestBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
2348
+ /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
2349
+ export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
2350
+ export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction: any;
2351
+ /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
2352
+ export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
2353
+ export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList: S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList>;
2354
+ export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
2355
+ /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
2356
+ action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
2357
+ /** Modulus to take of the hash of the source label values. */
2358
+ modulus?: number;
2359
+ /** Regular expression against which the extracted value is matched. */
2360
+ regex?: string;
2361
+ /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
2362
+ replacement?: string;
2363
+ /** Separator placed between concatenated source label values. */
2364
+ separator?: string;
2365
+ /** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
2366
+ sourceLabels?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
2367
+ /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
2368
+ targetLabel?: string;
2369
+ }
2370
+ export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsItem: S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
2371
+ /** List of metric relabel configurations */
2372
+ export type UpdateScrapeConfigRequestMetricsRelabelConfigsList = Array<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
2373
+ export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsList: S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsList>;
2374
+ /** Configures the protocol scheme used for requests. https or http */
2375
+ export type UpdateScrapeConfigRequestScheme = "http" | "https";
2376
+ export declare const UpdateScrapeConfigRequestScheme: any;
2377
+ /** The targets specified by the static config. */
2378
+ export type UpdateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
2379
+ export declare const UpdateScrapeConfigRequestStaticConfigsItemTargetsList: S.Schema<UpdateScrapeConfigRequestStaticConfigsItemTargetsList>;
2380
+ export interface UpdateScrapeConfigRequestStaticConfigsItem {
2381
+ /** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
2382
+ labels?: unknown;
2383
+ /** The targets specified by the static config. */
2384
+ targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList;
2385
+ }
2386
+ export declare const UpdateScrapeConfigRequestStaticConfigsItem: S.Schema<UpdateScrapeConfigRequestStaticConfigsItem>;
2387
+ /** A list of scrape configurations. */
2388
+ export type UpdateScrapeConfigRequestStaticConfigsList = Array<UpdateScrapeConfigRequestStaticConfigsItem>;
2389
+ export declare const UpdateScrapeConfigRequestStaticConfigsList: S.Schema<UpdateScrapeConfigRequestStaticConfigsList>;
2390
+ /** Configures the scrape request's TLS settings. */
2391
+ export type UpdateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2392
+ export declare const UpdateScrapeConfigRequestTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
2393
+ export interface UpdateScrapeConfigRequest {
2394
+ projectId: string;
2395
+ instanceId: string;
2396
+ jobName: string;
2397
+ /** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
2398
+ basicAuth?: CreateScrapeConfigRequestBasicAuth;
2399
+ /** Sets the 'Authorization' header on every scrape request with the configured bearer token. It is mutually exclusive with 'bearer_token_file'. `Additional Validators:` * needs to be a valid bearer token * if bearerToken is in the body no other authentication method should be in the body */
2400
+ bearerToken?: string;
2401
+ /** Note that any globally configured 'external_labels' are unaffected by this setting. In communication with external systems, they are always applied only when a time series does not have a given label yet and are ignored otherwise. */
2402
+ honorLabels?: boolean;
2403
+ /** honor_timestamps controls whether Prometheus respects the timestamps present in scraped data. If honor_timestamps is set to 'true', the timestamps of the metrics exposed by the target will be used. */
2404
+ honorTimeStamps?: boolean;
2405
+ /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
2406
+ metricsPath: string;
2407
+ /** List of metric relabel configurations */
2408
+ metricsRelabelConfigs?: UpdateScrapeConfigRequestMetricsRelabelConfigsList;
2409
+ /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
2410
+ params?: unknown;
2411
+ /** Per-scrape limit on number of scraped samples that will be accepted. If more than this number of samples are present after metric relabeling the entire scrape will be treated as failed. The total limit depends on the service plan target limits * samples */
2412
+ sampleLimit?: number;
2413
+ /** Configures the protocol scheme used for requests. https or http */
2414
+ scheme: UpdateScrapeConfigRequestScheme | (string & {});
2415
+ /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
2416
+ scrapeInterval: string;
2417
+ /** Per-scrape timeout when scraping this job. `Additional Validators:` * must be a valid time format* must be smaller than scrapeInterval */
2418
+ scrapeTimeout: string;
2419
+ /** A list of scrape configurations. */
2420
+ staticConfigs: UpdateScrapeConfigRequestStaticConfigsList;
2421
+ /** Configures the scrape request's TLS settings. */
2422
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2423
+ }
2424
+ export declare const UpdateScrapeConfigRequest: S.Schema<UpdateScrapeConfigRequest>;
2425
+ export interface UpdateTracesConfigsRequest {
2426
+ projectId: string;
2427
+ instanceId: string;
2428
+ /** How long to keep the traces `Additional Validators:` * Should be a valid time string * Should not be bigger than 30 days */
2429
+ retention: string;
2430
+ }
2431
+ export declare const UpdateTracesConfigsRequest: S.Schema<UpdateTracesConfigsRequest>;
2432
+ export type CreateAlertConfigReceiverError = BadRequest | Forbidden | StackitOpError;
2433
+ /** Create alert config receiver. */
2434
+ export declare const createAlertConfigReceiver: API.OperationMethod<CreateAlertConfigReceiverRequest, AlertConfigReceiversResponse, CreateAlertConfigReceiverError, StackitOpContext>;
2435
+ export type CreateAlertConfigRouteError = BadRequest | Forbidden | StackitOpError;
2436
+ /** Create alert config route in routes of route. */
2437
+ export declare const createAlertConfigRoute: API.OperationMethod<CreateAlertConfigRouteRequest, AlertConfigRouteResponse, CreateAlertConfigRouteError, StackitOpContext>;
2438
+ export type CreateAlertgroupsError = BadRequest | Forbidden | StackitOpError;
2439
+ /** Create alert group. */
2440
+ export declare const createAlertgroups: API.OperationMethod<CreateAlertgroupsRequest, AlertGroupsResponse, CreateAlertgroupsError, StackitOpContext>;
2441
+ export type CreateAlertRecordError = BadRequest | Forbidden | StackitOpError;
2442
+ /** Create alert record. */
2443
+ export declare const createAlertRecord: API.OperationMethod<CreateAlertRecordRequest, AlertRecordsResponse, CreateAlertRecordError, StackitOpContext>;
2444
+ export type CreateAlertrulesError = BadRequest | Forbidden | StackitOpError;
2445
+ /** Create alert rule. */
2446
+ export declare const createAlertrules: API.OperationMethod<CreateAlertrulesRequest, AlertRulesResponse, CreateAlertrulesError, StackitOpContext>;
2447
+ export type CreateBackupError = BadRequest | Forbidden | StackitOpError;
2448
+ /** Create a backup. */
2449
+ export declare const createBackup: API.OperationMethod<CreateBackupRequest, Message, CreateBackupError, StackitOpContext>;
2450
+ export type CreateBackupScheduleError = BadRequest | Forbidden | StackitOpError;
2451
+ /** Create backup schedule. */
2452
+ export declare const createBackupSchedule: API.OperationMethod<CreateBackupScheduleRequest, BackupSchedulePostResponse, CreateBackupScheduleError, StackitOpContext>;
2453
+ export type CreateCertCheckError = BadRequest | Forbidden | StackitOpError;
2454
+ /** Create cert check. */
2455
+ export declare const createCertCheck: API.OperationMethod<CreateCertCheckRequest, CertCheckResponse, CreateCertCheckError, StackitOpContext>;
2456
+ export type CreateCredentialsError = BadRequest | Forbidden | StackitOpError;
2457
+ /** Create technical user credentials. */
2458
+ export declare const createCredentials: API.OperationMethod<CreateCredentialsRequest, CreateCredentialsResponse, CreateCredentialsError, StackitOpContext>;
2459
+ export type CreateElasticsearchCheckError = BadRequest | Forbidden | StackitOpError;
2460
+ /** Create elasticsearch check. */
2461
+ export declare const createElasticsearchCheck: API.OperationMethod<CreateElasticsearchCheckRequest, ElasticsearchCheckResponse, CreateElasticsearchCheckError, StackitOpContext>;
2462
+ export type CreateHttpCheckError = BadRequest | Forbidden | StackitOpError;
2463
+ /** Create http check. */
2464
+ export declare const createHttpCheck: API.OperationMethod<CreateHttpCheckRequest, HttpCheckResponse, CreateHttpCheckError, StackitOpContext>;
2465
+ export type CreateInstanceError = BadRequest | Forbidden | StackitOpError;
2466
+ /** Create new instance. */
2467
+ export declare const createInstance: API.OperationMethod<CreateInstanceRequest, CreateInstanceResponse, CreateInstanceError, StackitOpContext>;
2468
+ export type CreateLogsAlertgroupsError = BadRequest | Forbidden | StackitOpError;
2469
+ /** Create logs alert group config. */
2470
+ export declare const createLogsAlertgroups: API.OperationMethod<CreateLogsAlertgroupsRequest, AlertGroupsResponse, CreateLogsAlertgroupsError, StackitOpContext>;
2471
+ export type CreateMongodbCheckError = BadRequest | Forbidden | StackitOpError;
2472
+ /** Create mongodb check. */
2473
+ export declare const createMongodbCheck: API.OperationMethod<CreateMongodbCheckRequest, MongodbCheckResponse, CreateMongodbCheckError, StackitOpContext>;
2474
+ export type CreateMysqlCheckError = BadRequest | Forbidden | StackitOpError;
2475
+ /** Create mysql check. */
2476
+ export declare const createMysqlCheck: API.OperationMethod<CreateMysqlCheckRequest, MysqlCheckResponse, CreateMysqlCheckError, StackitOpContext>;
2477
+ export type CreateNetworkCheckError = BadRequest | Forbidden | StackitOpError;
2478
+ /** Create network check. */
2479
+ export declare const createNetworkCheck: API.OperationMethod<CreateNetworkCheckRequest, NetworkCheckResponse, CreateNetworkCheckError, StackitOpContext>;
2480
+ export type CreatePingCheckError = BadRequest | Forbidden | StackitOpError;
2481
+ /** Create ping check. */
2482
+ export declare const createPingCheck: API.OperationMethod<CreatePingCheckRequest, PingCheckResponse, CreatePingCheckError, StackitOpContext>;
2483
+ export type CreatePostgresqlCheckError = BadRequest | Forbidden | StackitOpError;
2484
+ /** Create postgresql check. */
2485
+ export declare const createPostgresqlCheck: API.OperationMethod<CreatePostgresqlCheckRequest, PostgresqlCheckResponse, CreatePostgresqlCheckError, StackitOpContext>;
2486
+ export type CreateRabbitmqCheckError = BadRequest | Forbidden | StackitOpError;
2487
+ /** Create rabbitmq check. */
2488
+ export declare const createRabbitmqCheck: API.OperationMethod<CreateRabbitmqCheckRequest, RabbitmqCheckResponse, CreateRabbitmqCheckError, StackitOpContext>;
2489
+ export type CreateRedisCheckError = BadRequest | Forbidden | StackitOpError;
2490
+ /** Create redis check. */
2491
+ export declare const createRedisCheck: API.OperationMethod<CreateRedisCheckRequest, RedisCheckResponse, CreateRedisCheckError, StackitOpContext>;
2492
+ export type CreateScrapeConfigError = BadRequest | Forbidden | StackitOpError;
2493
+ /** Create scrape config. */
2494
+ export declare const createScrapeConfig: API.OperationMethod<CreateScrapeConfigRequest, ScrapeConfigsResponse, CreateScrapeConfigError, StackitOpContext>;
2495
+ export type DeleteAlertConfigReceiverError = Forbidden | NotFound | StackitOpError;
2496
+ /** Delete alert config receiver. */
2497
+ export declare const deleteAlertConfigReceiver: API.OperationMethod<DeleteAlertConfigReceiverRequest, AlertConfigReceiversResponse, DeleteAlertConfigReceiverError, StackitOpContext>;
2498
+ export type DeleteAlertConfigRouteError = Forbidden | NotFound | StackitOpError;
2499
+ /** Delete alert receiver for route. */
2500
+ export declare const deleteAlertConfigRoute: API.OperationMethod<DeleteAlertConfigRouteRequest, AlertConfigRouteResponse, DeleteAlertConfigRouteError, StackitOpContext>;
2501
+ export type DeleteAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
2502
+ /** Delete alert group config. */
2503
+ export declare const deleteAlertgroup: API.OperationMethod<DeleteAlertgroupRequest, AlertGroupsResponse, DeleteAlertgroupError, StackitOpContext>;
2504
+ export type DeleteAlertgroupsError = Forbidden | StackitOpError;
2505
+ /** Delete alert groups. */
2506
+ export declare const deleteAlertgroups: API.OperationMethod<DeleteAlertgroupsRequest, AlertGroupsResponse, DeleteAlertgroupsError, StackitOpContext>;
2507
+ export type DeleteAlertRecordError = Forbidden | NotFound | StackitOpError;
2508
+ /** Delete alert record. */
2509
+ export declare const deleteAlertRecord: API.OperationMethod<DeleteAlertRecordRequest, AlertRecordsResponse, DeleteAlertRecordError, StackitOpContext>;
2510
+ export type DeleteAlertRecordsError = Forbidden | StackitOpError;
2511
+ /** Delete alert records. */
2512
+ export declare const deleteAlertRecords: API.OperationMethod<DeleteAlertRecordsRequest, AlertRecordsResponse, DeleteAlertRecordsError, StackitOpContext>;
2513
+ export type DeleteAlertruleError = BadRequest | Forbidden | NotFound | StackitOpError;
2514
+ /** Delete alert rule. */
2515
+ export declare const deleteAlertrule: API.OperationMethod<DeleteAlertruleRequest, AlertRulesResponse, DeleteAlertruleError, StackitOpContext>;
2516
+ export type DeleteAlertrulesError = Forbidden | StackitOpError;
2517
+ /** Delete alert rules. */
2518
+ export declare const deleteAlertrules: API.OperationMethod<DeleteAlertrulesRequest, AlertRulesResponse, DeleteAlertrulesError, StackitOpContext>;
2519
+ export type DeleteCertCheckError = BadRequest | Forbidden | StackitOpError;
2520
+ /** Delete cert check. */
2521
+ export declare const deleteCertCheck: API.OperationMethod<DeleteCertCheckRequest, CertCheckResponse, DeleteCertCheckError, StackitOpContext>;
2522
+ export type DeleteCredentialsError = Forbidden | NotFound | StackitOpError;
2523
+ /** Delete technical credentials. */
2524
+ export declare const deleteCredentials: API.OperationMethod<DeleteCredentialsRequest, Message, DeleteCredentialsError, StackitOpContext>;
2525
+ export type DeleteCredentialsRemoteWriteConfigError = BadRequest | Forbidden | NotFound | StackitOpError;
2526
+ /** Delete remote write config for credentials. */
2527
+ export declare const deleteCredentialsRemoteWriteConfig: API.OperationMethod<DeleteCredentialsRemoteWriteConfigRequest, CredentialsRemoteWriteDeleteResponse, DeleteCredentialsRemoteWriteConfigError, StackitOpContext>;
2528
+ export type DeleteElasticsearchCheckError = BadRequest | Forbidden | StackitOpError;
2529
+ /** Delete elasticsearch check. */
2530
+ export declare const deleteElasticsearchCheck: API.OperationMethod<DeleteElasticsearchCheckRequest, ElasticsearchCheckResponse, DeleteElasticsearchCheckError, StackitOpContext>;
2531
+ export type DeleteHttpCheckError = BadRequest | Forbidden | StackitOpError;
2532
+ /** Delete http check. */
2533
+ export declare const deleteHttpCheck: API.OperationMethod<DeleteHttpCheckRequest, HttpCheckResponse, DeleteHttpCheckError, StackitOpContext>;
2534
+ export type DeleteInstanceError = Forbidden | StackitOpError;
2535
+ /** Delete instance. */
2536
+ export declare const deleteInstance: API.OperationMethod<DeleteInstanceRequest, InstanceResponse, DeleteInstanceError, StackitOpContext>;
2537
+ export type DeleteLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
2538
+ /** Delete logs alert group config. */
2539
+ export declare const deleteLogsAlertgroup: API.OperationMethod<DeleteLogsAlertgroupRequest, AlertGroupsResponse, DeleteLogsAlertgroupError, StackitOpContext>;
2540
+ export type DeleteMongodbCheckError = BadRequest | Forbidden | StackitOpError;
2541
+ /** Delete mongodb check. */
2542
+ export declare const deleteMongodbCheck: API.OperationMethod<DeleteMongodbCheckRequest, MongodbCheckResponse, DeleteMongodbCheckError, StackitOpContext>;
2543
+ export type DeleteMysqlCheckError = BadRequest | Forbidden | StackitOpError;
2544
+ /** Delete mysql check. */
2545
+ export declare const deleteMysqlCheck: API.OperationMethod<DeleteMysqlCheckRequest, MysqlCheckResponse, DeleteMysqlCheckError, StackitOpContext>;
2546
+ export type DeleteNetworkCheckError = BadRequest | Forbidden | StackitOpError;
2547
+ /** Delete network check. */
2548
+ export declare const deleteNetworkCheck: API.OperationMethod<DeleteNetworkCheckRequest, NetworkCheckResponse, DeleteNetworkCheckError, StackitOpContext>;
2549
+ export type DeletePingCheckError = BadRequest | Forbidden | StackitOpError;
2550
+ /** Delete ping check. */
2551
+ export declare const deletePingCheck: API.OperationMethod<DeletePingCheckRequest, PingCheckResponse, DeletePingCheckError, StackitOpContext>;
2552
+ export type DeletePostgresqlCheckError = BadRequest | Forbidden | StackitOpError;
2553
+ /** Delete postgresql check. */
2554
+ export declare const deletePostgresqlCheck: API.OperationMethod<DeletePostgresqlCheckRequest, PostgresqlCheckResponse, DeletePostgresqlCheckError, StackitOpContext>;
2555
+ export type DeleteRabbitmqCheckError = BadRequest | Forbidden | StackitOpError;
2556
+ /** Delete rabbitmq check. */
2557
+ export declare const deleteRabbitmqCheck: API.OperationMethod<DeleteRabbitmqCheckRequest, RabbitmqCheckResponse, DeleteRabbitmqCheckError, StackitOpContext>;
2558
+ export type DeleteRedisCheckError = BadRequest | Forbidden | StackitOpError;
2559
+ /** Delete redis check. */
2560
+ export declare const deleteRedisCheck: API.OperationMethod<DeleteRedisCheckRequest, RedisCheckResponse, DeleteRedisCheckError, StackitOpContext>;
2561
+ export type DeleteScrapeConfigError = Forbidden | NotFound | StackitOpError;
2562
+ /** Delete scrape config. */
2563
+ export declare const deleteScrapeConfig: API.OperationMethod<DeleteScrapeConfigRequest, DeleteScrapeConfigResponse, DeleteScrapeConfigError, StackitOpContext>;
2564
+ export type DeleteScrapeConfigsError = Forbidden | StackitOpError;
2565
+ /** Delete scrape configs. */
2566
+ export declare const deleteScrapeConfigs: API.OperationMethod<DeleteScrapeConfigsRequest, ScrapeConfigsResponse, DeleteScrapeConfigsError, StackitOpContext>;
2567
+ export type GetAlertConfigReceiverError = Forbidden | NotFound | StackitOpError;
2568
+ /** Get alert config receivers. */
2569
+ export declare const getAlertConfigReceiver: API.OperationMethod<GetAlertConfigReceiverRequest, Receiver, GetAlertConfigReceiverError, StackitOpContext>;
2570
+ export type GetAlertConfigRouteError = Forbidden | StackitOpError;
2571
+ /** Get alert receiver for route. */
2572
+ export declare const getAlertConfigRoute: API.OperationMethod<GetAlertConfigRouteRequest, AlertConfigRouteResponse, GetAlertConfigRouteError, StackitOpContext>;
2573
+ export type GetAlertConfigsError = Forbidden | StackitOpError;
2574
+ /** Get alert config. */
2575
+ export declare const getAlertConfigs: API.OperationMethod<GetAlertConfigsRequest, GetAlertConfigsResponse, GetAlertConfigsError, StackitOpContext>;
2576
+ export type GetAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
2577
+ /** Get alert group. */
2578
+ export declare const getAlertgroup: API.OperationMethod<GetAlertgroupRequest, AlertGroupResponse, GetAlertgroupError, StackitOpContext>;
2579
+ export type GetAlertRecordError = BadRequest | Forbidden | NotFound | StackitOpError;
2580
+ /** Get alert record. */
2581
+ export declare const getAlertRecord: API.OperationMethod<GetAlertRecordRequest, AlertRecordResponse, GetAlertRecordError, StackitOpContext>;
2582
+ export type GetAlertruleError = Forbidden | NotFound | StackitOpError;
2583
+ /** Get alert rule. */
2584
+ export declare const getAlertrule: API.OperationMethod<GetAlertruleRequest, AlertRuleResponse, GetAlertruleError, StackitOpContext>;
2585
+ export type GetCredentialsError = Forbidden | NotFound | StackitOpError;
2586
+ /** Get single technical credentials. */
2587
+ export declare const getCredentials: API.OperationMethod<GetCredentialsRequest, GetCredentialsResponse, GetCredentialsError, StackitOpContext>;
2588
+ export type GetCredentialsRemoteWriteConfigError = Forbidden | NotFound | StackitOpError;
2589
+ /** Get remote write config. */
2590
+ export declare const getCredentialsRemoteWriteConfig: API.OperationMethod<GetCredentialsRemoteWriteConfigRequest, CredentialsRemoteWriteConfig, GetCredentialsRemoteWriteConfigError, StackitOpContext>;
2591
+ export type GetGrafanaConfigsError = Forbidden | StackitOpError;
2592
+ /** Get grafana config. */
2593
+ export declare const getGrafanaConfigs: API.OperationMethod<GetGrafanaConfigsRequest, GrafanaConfigs, GetGrafanaConfigsError, StackitOpContext>;
2594
+ export type GetInstanceError = Forbidden | StackitOpError;
2595
+ /** Get instance information. */
2596
+ export declare const getInstance: API.OperationMethod<GetInstanceRequest, GetInstanceResponse, GetInstanceError, StackitOpContext>;
2597
+ export type GetLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
2598
+ /** Get logs alert group config. */
2599
+ export declare const getLogsAlertgroup: API.OperationMethod<GetLogsAlertgroupRequest, AlertGroupResponse, GetLogsAlertgroupError, StackitOpContext>;
2600
+ export type GetLogsConfigsError = Forbidden | StackitOpError;
2601
+ /** Get logs configuration. */
2602
+ export declare const getLogsConfigs: API.OperationMethod<GetLogsConfigsRequest, LogsConfigResponse, GetLogsConfigsError, StackitOpContext>;
2603
+ export type GetMetricsStorageRetentionError = Forbidden | StackitOpError;
2604
+ /** Get metric storage retention time. */
2605
+ export declare const getMetricsStorageRetention: API.OperationMethod<GetMetricsStorageRetentionRequest, GetMetricsStorageRetentionResponse, GetMetricsStorageRetentionError, StackitOpContext>;
2606
+ export type GetScrapeConfigError = Forbidden | StackitOpError;
2607
+ /** Get scrape config. */
2608
+ export declare const getScrapeConfig: API.OperationMethod<GetScrapeConfigRequest, GetScrapeConfigResponse, GetScrapeConfigError, StackitOpContext>;
2609
+ export type GetTracesConfigsError = Forbidden | StackitOpError;
2610
+ /** Get traces config. */
2611
+ export declare const getTracesConfigs: API.OperationMethod<GetTracesConfigsRequest, TracesConfigResponse, GetTracesConfigsError, StackitOpContext>;
2612
+ export type ListACLError = Forbidden | StackitOpError;
2613
+ /** Get acl for instance. */
2614
+ export declare const listACL: API.OperationMethod<ListACLRequest, ListACLResponse, ListACLError, StackitOpContext>;
2615
+ export type ListAlertConfigReceiversError = Forbidden | StackitOpError;
2616
+ /** Get alert config receivers. */
2617
+ export declare const listAlertConfigReceivers: API.OperationMethod<ListAlertConfigReceiversRequest, AlertConfigReceiversResponse, ListAlertConfigReceiversError, StackitOpContext>;
2618
+ export type ListAlertConfigRoutesError = Forbidden | StackitOpError;
2619
+ /** Get alert config route. */
2620
+ export declare const listAlertConfigRoutes: API.OperationMethod<ListAlertConfigRoutesRequest, AlertConfigRouteResponse, ListAlertConfigRoutesError, StackitOpContext>;
2621
+ export type ListAlertgroupsError = BadRequest | Forbidden | StackitOpError;
2622
+ /** Get alert groups. */
2623
+ export declare const listAlertgroups: API.OperationMethod<ListAlertgroupsRequest, AlertGroupsResponse, ListAlertgroupsError, StackitOpContext>;
2624
+ export type ListAlertRecordsError = Forbidden | StackitOpError;
2625
+ /** Get alert records. */
2626
+ export declare const listAlertRecords: API.OperationMethod<ListAlertRecordsRequest, AlertRecordsResponse, ListAlertRecordsError, StackitOpContext>;
2627
+ export type ListAlertrulesError = Forbidden | StackitOpError;
2628
+ /** Get alert rules. */
2629
+ export declare const listAlertrules: API.OperationMethod<ListAlertrulesRequest, AlertRulesResponse, ListAlertrulesError, StackitOpContext>;
2630
+ export type ListBackupRetentionsError = Forbidden | StackitOpError;
2631
+ /** Get backup retention. */
2632
+ export declare const listBackupRetentions: API.OperationMethod<ListBackupRetentionsRequest, BackupRetentionResponse, ListBackupRetentionsError, StackitOpContext>;
2633
+ export type ListBackupsError = Forbidden | StackitOpError;
2634
+ /** Get backups. */
2635
+ export declare const listBackups: API.OperationMethod<ListBackupsRequest, BackupResponse, ListBackupsError, StackitOpContext>;
2636
+ export type ListBackupSchedulesError = Forbidden | StackitOpError;
2637
+ /** Get backup schedules. */
2638
+ export declare const listBackupSchedules: API.OperationMethod<ListBackupSchedulesRequest, BackupScheduleResponse, ListBackupSchedulesError, StackitOpContext>;
2639
+ export type ListCertChecksError = BadRequest | Forbidden | StackitOpError;
2640
+ /** Get all cert checks configured. */
2641
+ export declare const listCertChecks: API.OperationMethod<ListCertChecksRequest, CertCheckResponse, ListCertChecksError, StackitOpContext>;
2642
+ export type ListCredentialsError = Forbidden | StackitOpError;
2643
+ /** Get all technical user credentials. */
2644
+ export declare const listCredentials: API.OperationMethod<ListCredentialsRequest, ListCredentialsResponse, ListCredentialsError, StackitOpContext>;
2645
+ export type ListElasticsearchChecksError = BadRequest | Forbidden | StackitOpError;
2646
+ /** Get all elasticsearch checks configured. */
2647
+ export declare const listElasticsearchChecks: API.OperationMethod<ListElasticsearchChecksRequest, ElasticsearchCheckResponse, ListElasticsearchChecksError, StackitOpContext>;
2648
+ export type ListHttpChecksError = BadRequest | Forbidden | StackitOpError;
2649
+ /** Get all http checks configured. */
2650
+ export declare const listHttpChecks: API.OperationMethod<ListHttpChecksRequest, HttpCheckResponse, ListHttpChecksError, StackitOpContext>;
2651
+ export type ListInstancesError = Forbidden | StackitOpError;
2652
+ /** Get all instances for a project. */
2653
+ export declare const listInstances: API.OperationMethod<ListInstancesRequest, ListInstancesResponse, ListInstancesError, StackitOpContext>;
2654
+ export type ListLogsAlertgroupsError = BadRequest | Forbidden | StackitOpError;
2655
+ /** Get logs alert groups config. */
2656
+ export declare const listLogsAlertgroups: API.OperationMethod<ListLogsAlertgroupsRequest, AlertGroupsResponse, ListLogsAlertgroupsError, StackitOpContext>;
2657
+ export type ListMongodbChecksError = BadRequest | Forbidden | StackitOpError;
2658
+ /** Get all mongodb checks configured. */
2659
+ export declare const listMongodbChecks: API.OperationMethod<ListMongodbChecksRequest, MongodbCheckResponse, ListMongodbChecksError, StackitOpContext>;
2660
+ export type ListMysqlChecksError = BadRequest | Forbidden | StackitOpError;
2661
+ /** Get all mysql checks configured. */
2662
+ export declare const listMysqlChecks: API.OperationMethod<ListMysqlChecksRequest, MysqlCheckResponse, ListMysqlChecksError, StackitOpContext>;
2663
+ export type ListNetworkChecksError = BadRequest | Forbidden | StackitOpError;
2664
+ /** Get all network checks configured. */
2665
+ export declare const listNetworkChecks: API.OperationMethod<ListNetworkChecksRequest, NetworkCheckResponse, ListNetworkChecksError, StackitOpContext>;
2666
+ export type ListOfferingsError = Forbidden | StackitOpError;
2667
+ /** Get all plans. */
2668
+ export declare const listOfferings: API.OperationMethod<ListOfferingsRequest, Offerings, ListOfferingsError, StackitOpContext>;
2669
+ export type ListPingChecksError = BadRequest | Forbidden | StackitOpError;
2670
+ /** Get all ping checks configured. */
2671
+ export declare const listPingChecks: API.OperationMethod<ListPingChecksRequest, PingCheckResponse, ListPingChecksError, StackitOpContext>;
2672
+ export type ListPlansError = Forbidden | StackitOpError;
2673
+ /** Get all plans. */
2674
+ export declare const listPlans: API.OperationMethod<ListPlansRequest, PlansResponse, ListPlansError, StackitOpContext>;
2675
+ export type ListPostgresqlChecksError = BadRequest | Forbidden | StackitOpError;
2676
+ /** Get all postgresql checks configured. */
2677
+ export declare const listPostgresqlChecks: API.OperationMethod<ListPostgresqlChecksRequest, PostgresqlCheckResponse, ListPostgresqlChecksError, StackitOpContext>;
2678
+ export type ListRabbitmqChecksError = BadRequest | Forbidden | StackitOpError;
2679
+ /** Get all rabbitmq checks configured. */
2680
+ export declare const listRabbitmqChecks: API.OperationMethod<ListRabbitmqChecksRequest, RabbitmqCheckResponse, ListRabbitmqChecksError, StackitOpContext>;
2681
+ export type ListRedisChecksError = BadRequest | Forbidden | StackitOpError;
2682
+ /** Get all redis checks configured. */
2683
+ export declare const listRedisChecks: API.OperationMethod<ListRedisChecksRequest, RedisCheckResponse, ListRedisChecksError, StackitOpContext>;
2684
+ export type ListScrapeConfigsError = Forbidden | StackitOpError;
2685
+ /** Get scrape configs. */
2686
+ export declare const listScrapeConfigs: API.OperationMethod<ListScrapeConfigsRequest, ListScrapeConfigsResponse, ListScrapeConfigsError, StackitOpContext>;
2687
+ export type PartialUpdateAlertgroupsError = BadRequest | Forbidden | StackitOpError;
2688
+ /** Patch alert groups. */
2689
+ export declare const partialUpdateAlertgroups: API.OperationMethod<PartialUpdateAlertgroupsRequest, AlertGroupsResponse, PartialUpdateAlertgroupsError, StackitOpContext>;
2690
+ export type PartialUpdateAlertRecordsError = BadRequest | Forbidden | StackitOpError;
2691
+ /** Patch alert records. */
2692
+ export declare const partialUpdateAlertRecords: API.OperationMethod<PartialUpdateAlertRecordsRequest, AlertRecordsResponse, PartialUpdateAlertRecordsError, StackitOpContext>;
2693
+ export type PartialUpdateAlertrulesError = BadRequest | Forbidden | StackitOpError;
2694
+ /** Patch alert rules. */
2695
+ export declare const partialUpdateAlertrules: API.OperationMethod<PartialUpdateAlertrulesRequest, AlertRulesResponse, PartialUpdateAlertrulesError, StackitOpContext>;
2696
+ export type PartialUpdateScrapeConfigsError = BadRequest | Forbidden | StackitOpError;
2697
+ /** Update scrape configs. */
2698
+ export declare const partialUpdateScrapeConfigs: API.OperationMethod<PartialUpdateScrapeConfigsRequest, ScrapeConfigsResponse, PartialUpdateScrapeConfigsError, StackitOpContext>;
2699
+ export type RestoreBackupError = Forbidden | NotFound | StackitOpError;
2700
+ /** Restore backup. */
2701
+ export declare const restoreBackup: API.OperationMethod<RestoreBackupRequest, Message, RestoreBackupError, StackitOpContext>;
2702
+ export type UpdateACLError = BadRequest | Forbidden | StackitOpError;
2703
+ /** Update acl config. */
2704
+ export declare const updateACL: API.OperationMethod<UpdateACLRequest, Message, UpdateACLError, StackitOpContext>;
2705
+ export type UpdateAlertConfigReceiverError = BadRequest | Forbidden | NotFound | StackitOpError;
2706
+ /** Update alert config receiver. */
2707
+ export declare const updateAlertConfigReceiver: API.OperationMethod<UpdateAlertConfigReceiverRequest, AlertConfigReceiversResponse, UpdateAlertConfigReceiverError, StackitOpContext>;
2708
+ export type UpdateAlertConfigRouteError = BadRequest | Forbidden | NotFound | StackitOpError;
2709
+ /** Update alert receiver for route. */
2710
+ export declare const updateAlertConfigRoute: API.OperationMethod<UpdateAlertConfigRouteRequest, AlertConfigRouteResponse, UpdateAlertConfigRouteError, StackitOpContext>;
2711
+ export type UpdateAlertConfigsError = BadRequest | Forbidden | StackitOpError;
2712
+ /** Update alert config. */
2713
+ export declare const updateAlertConfigs: API.OperationMethod<UpdateAlertConfigsRequest, UpdateAlertConfigsResponse, UpdateAlertConfigsError, StackitOpContext>;
2714
+ export type UpdateAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
2715
+ /** Update alert group config. */
2716
+ export declare const updateAlertgroup: API.OperationMethod<UpdateAlertgroupRequest, AlertGroupsResponse, UpdateAlertgroupError, StackitOpContext>;
2717
+ export type UpdateAlertgroupsError = BadRequest | Forbidden | StackitOpError;
2718
+ /** Update alert groups. */
2719
+ export declare const updateAlertgroups: API.OperationMethod<UpdateAlertgroupsRequest, AlertGroupsResponse, UpdateAlertgroupsError, StackitOpContext>;
2720
+ export type UpdateAlertRecordError = BadRequest | Forbidden | NotFound | StackitOpError;
2721
+ /** Update alert record. */
2722
+ export declare const updateAlertRecord: API.OperationMethod<UpdateAlertRecordRequest, AlertRecordsResponse, UpdateAlertRecordError, StackitOpContext>;
2723
+ export type UpdateAlertruleError = BadRequest | Forbidden | NotFound | StackitOpError;
2724
+ /** Update alert rule. */
2725
+ export declare const updateAlertrule: API.OperationMethod<UpdateAlertruleRequest, AlertRulesResponse, UpdateAlertruleError, StackitOpContext>;
2726
+ export type UpdateCredentialsRemoteWriteConfigError = BadRequest | Forbidden | NotFound | StackitOpError;
2727
+ /** Update remote write config for credentials. */
2728
+ export declare const updateCredentialsRemoteWriteConfig: API.OperationMethod<UpdateCredentialsRemoteWriteConfigRequest, CredentialsRemoteWriteConfig, UpdateCredentialsRemoteWriteConfigError, StackitOpContext>;
2729
+ export type UpdateGrafanaConfigsError = BadRequest | Forbidden | StackitOpError;
2730
+ /** Update grafana config. */
2731
+ export declare const updateGrafanaConfigs: API.OperationMethod<UpdateGrafanaConfigsRequest, Message, UpdateGrafanaConfigsError, StackitOpContext>;
2732
+ export type UpdateInstanceError = BadRequest | Forbidden | StackitOpError;
2733
+ /** Update instance. */
2734
+ export declare const updateInstance: API.OperationMethod<UpdateInstanceRequest, InstanceResponse, UpdateInstanceError, StackitOpContext>;
2735
+ export type UpdateLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
2736
+ /** Update logs alert group config. */
2737
+ export declare const updateLogsAlertgroup: API.OperationMethod<UpdateLogsAlertgroupRequest, AlertGroupsResponse, UpdateLogsAlertgroupError, StackitOpContext>;
2738
+ export type UpdateLogsConfigsError = BadRequest | Forbidden | StackitOpError;
2739
+ /** Update logs config. */
2740
+ export declare const updateLogsConfigs: API.OperationMethod<UpdateLogsConfigsRequest, Message, UpdateLogsConfigsError, StackitOpContext>;
2741
+ export type UpdateMetricsStorageRetentionError = BadRequest | Forbidden | StackitOpError;
2742
+ /** Update metric update retention time. */
2743
+ export declare const updateMetricsStorageRetention: API.OperationMethod<UpdateMetricsStorageRetentionRequest, Message, UpdateMetricsStorageRetentionError, StackitOpContext>;
2744
+ export type UpdateScrapeConfigError = BadRequest | Forbidden | NotFound | StackitOpError;
2745
+ /** Update scrape config. */
2746
+ export declare const updateScrapeConfig: API.OperationMethod<UpdateScrapeConfigRequest, ScrapeConfigsResponse, UpdateScrapeConfigError, StackitOpContext>;
2747
+ export type UpdateTracesConfigsError = BadRequest | Forbidden | StackitOpError;
2748
+ /** Update traces config. */
2749
+ export declare const updateTracesConfigs: API.OperationMethod<UpdateTracesConfigsRequest, Message, UpdateTracesConfigsError, StackitOpContext>;
2750
+ //# sourceMappingURL=observability.d.ts.map