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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/credentials.d.ts +2 -1
  4. package/lib/credentials.d.ts.map +1 -1
  5. package/lib/index.d.ts +3 -3
  6. package/lib/pagination.d.ts.map +1 -1
  7. package/lib/protocol.d.ts +3 -2
  8. package/lib/protocol.d.ts.map +1 -1
  9. package/lib/services/alb.d.ts +134 -132
  10. package/lib/services/alb.d.ts.map +1 -1
  11. package/lib/services/alb.js +27 -26
  12. package/lib/services/alb.js.map +1 -1
  13. package/lib/services/alb_waf.d.ts +51 -51
  14. package/lib/services/alb_waf.d.ts.map +1 -1
  15. package/lib/services/alb_waf.js +32 -31
  16. package/lib/services/alb_waf.js.map +1 -1
  17. package/lib/services/authorization.d.ts +15 -15
  18. package/lib/services/authorization.d.ts.map +1 -1
  19. package/lib/services/authorization.js +1 -1
  20. package/lib/services/authorization.js.map +1 -1
  21. package/lib/services/automation.d.ts +47 -46
  22. package/lib/services/automation.d.ts.map +1 -1
  23. package/lib/services/automation.js +24 -1
  24. package/lib/services/automation.js.map +1 -1
  25. package/lib/services/cdn.d.ts +129 -129
  26. package/lib/services/cdn.d.ts.map +1 -1
  27. package/lib/services/cdn.js +30 -29
  28. package/lib/services/cdn.js.map +1 -1
  29. package/lib/services/certificates.d.ts +40 -40
  30. package/lib/services/certificates.d.ts.map +1 -1
  31. package/lib/services/certificates.js +1 -1
  32. package/lib/services/certificates.js.map +1 -1
  33. package/lib/services/cost.d.ts +15 -15
  34. package/lib/services/cost.d.ts.map +1 -1
  35. package/lib/services/cost.js +1 -1
  36. package/lib/services/cost.js.map +1 -1
  37. package/lib/services/dns.d.ts +218 -161
  38. package/lib/services/dns.d.ts.map +1 -1
  39. package/lib/services/dns.js +40 -38
  40. package/lib/services/dns.js.map +1 -1
  41. package/lib/services/dremio.d.ts +49 -34
  42. package/lib/services/dremio.d.ts.map +1 -1
  43. package/lib/services/dremio.js +1 -1
  44. package/lib/services/dremio.js.map +1 -1
  45. package/lib/services/edge.d.ts +21 -21
  46. package/lib/services/edge.d.ts.map +1 -1
  47. package/lib/services/edge.js +28 -1
  48. package/lib/services/edge.js.map +1 -1
  49. package/lib/services/functions.d.ts +104 -101
  50. package/lib/services/functions.d.ts.map +1 -1
  51. package/lib/services/functions.js +27 -1
  52. package/lib/services/functions.js.map +1 -1
  53. package/lib/services/git.d.ts +120 -29
  54. package/lib/services/git.d.ts.map +1 -1
  55. package/lib/services/git.js +38 -33
  56. package/lib/services/git.js.map +1 -1
  57. package/lib/services/iaas.d.ts +430 -415
  58. package/lib/services/iaas.d.ts.map +1 -1
  59. package/lib/services/iaas.js +180 -179
  60. package/lib/services/iaas.js.map +1 -1
  61. package/lib/services/identity.d.ts +204 -0
  62. package/lib/services/identity.d.ts.map +1 -0
  63. package/lib/services/identity.js +2 -0
  64. package/lib/services/identity.js.map +1 -0
  65. package/lib/services/index.d.ts +2 -0
  66. package/lib/services/index.d.ts.map +1 -1
  67. package/lib/services/index.js +2 -0
  68. package/lib/services/intake.d.ts +58 -58
  69. package/lib/services/intake.d.ts.map +1 -1
  70. package/lib/services/intake.js +28 -27
  71. package/lib/services/intake.js.map +1 -1
  72. package/lib/services/kms.d.ts +13 -13
  73. package/lib/services/kms.d.ts.map +1 -1
  74. package/lib/services/kms.js +40 -39
  75. package/lib/services/kms.js.map +1 -1
  76. package/lib/services/lb_ip_lists.d.ts +14 -14
  77. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  78. package/lib/services/lb_ip_lists.js +1 -1
  79. package/lib/services/lb_ip_lists.js.map +1 -1
  80. package/lib/services/load_balancer.d.ts +128 -126
  81. package/lib/services/load_balancer.d.ts.map +1 -1
  82. package/lib/services/load_balancer.js +28 -27
  83. package/lib/services/load_balancer.js.map +1 -1
  84. package/lib/services/logme.d.ts +96 -45
  85. package/lib/services/logme.d.ts.map +1 -1
  86. package/lib/services/logme.js +35 -31
  87. package/lib/services/logme.js.map +1 -1
  88. package/lib/services/logs.d.ts +78 -24
  89. package/lib/services/logs.d.ts.map +1 -1
  90. package/lib/services/logs.js +34 -32
  91. package/lib/services/logs.js.map +1 -1
  92. package/lib/services/mailout.d.ts +476 -0
  93. package/lib/services/mailout.d.ts.map +1 -0
  94. package/lib/services/mailout.js +33 -0
  95. package/lib/services/mailout.js.map +1 -0
  96. package/lib/services/mariadb.d.ts +81 -30
  97. package/lib/services/mariadb.d.ts.map +1 -1
  98. package/lib/services/mariadb.js +36 -32
  99. package/lib/services/mariadb.js.map +1 -1
  100. package/lib/services/model_experiments.d.ts +33 -33
  101. package/lib/services/model_experiments.d.ts.map +1 -1
  102. package/lib/services/model_experiments.js +1 -1
  103. package/lib/services/model_experiments.js.map +1 -1
  104. package/lib/services/model_serving.d.ts +25 -25
  105. package/lib/services/model_serving.d.ts.map +1 -1
  106. package/lib/services/model_serving.js +1 -1
  107. package/lib/services/model_serving.js.map +1 -1
  108. package/lib/services/mongodb_flex.d.ts +142 -137
  109. package/lib/services/mongodb_flex.d.ts.map +1 -1
  110. package/lib/services/mongodb_flex.js +41 -40
  111. package/lib/services/mongodb_flex.js.map +1 -1
  112. package/lib/services/object_storage.d.ts +6 -6
  113. package/lib/services/object_storage.d.ts.map +1 -1
  114. package/lib/services/object_storage.js +37 -36
  115. package/lib/services/object_storage.js.map +1 -1
  116. package/lib/services/observability.d.ts +362 -362
  117. package/lib/services/observability.d.ts.map +1 -1
  118. package/lib/services/observability.js +158 -157
  119. package/lib/services/observability.js.map +1 -1
  120. package/lib/services/opensearch.d.ts +87 -36
  121. package/lib/services/opensearch.d.ts.map +1 -1
  122. package/lib/services/opensearch.js +36 -32
  123. package/lib/services/opensearch.js.map +1 -1
  124. package/lib/services/pim.d.ts +334 -278
  125. package/lib/services/pim.d.ts.map +1 -1
  126. package/lib/services/pim.js +30 -29
  127. package/lib/services/pim.js.map +1 -1
  128. package/lib/services/postgres_flex.d.ts +59 -55
  129. package/lib/services/postgres_flex.d.ts.map +1 -1
  130. package/lib/services/postgres_flex.js +47 -45
  131. package/lib/services/postgres_flex.js.map +1 -1
  132. package/lib/services/pubsub.d.ts +36 -36
  133. package/lib/services/pubsub.d.ts.map +1 -1
  134. package/lib/services/pubsub.js +36 -35
  135. package/lib/services/pubsub.js.map +1 -1
  136. package/lib/services/rabbitmq.d.ts +92 -41
  137. package/lib/services/rabbitmq.d.ts.map +1 -1
  138. package/lib/services/rabbitmq.js +37 -33
  139. package/lib/services/rabbitmq.js.map +1 -1
  140. package/lib/services/registry.d.ts +26 -22
  141. package/lib/services/registry.d.ts.map +1 -1
  142. package/lib/services/registry.js +1 -1
  143. package/lib/services/registry.js.map +1 -1
  144. package/lib/services/resource_manager.d.ts +56 -56
  145. package/lib/services/resource_manager.d.ts.map +1 -1
  146. package/lib/services/resource_manager.js +35 -34
  147. package/lib/services/resource_manager.js.map +1 -1
  148. package/lib/services/run_command.d.ts +42 -42
  149. package/lib/services/run_command.d.ts.map +1 -1
  150. package/lib/services/run_command.js +1 -1
  151. package/lib/services/run_command.js.map +1 -1
  152. package/lib/services/sca.d.ts +349 -213
  153. package/lib/services/sca.d.ts.map +1 -1
  154. package/lib/services/sca.js +32 -23
  155. package/lib/services/sca.js.map +1 -1
  156. package/lib/services/scf.d.ts +24 -24
  157. package/lib/services/scf.d.ts.map +1 -1
  158. package/lib/services/scf.js +39 -38
  159. package/lib/services/scf.js.map +1 -1
  160. package/lib/services/secrets_manager.d.ts +21 -21
  161. package/lib/services/secrets_manager.d.ts.map +1 -1
  162. package/lib/services/secrets_manager.js +41 -40
  163. package/lib/services/secrets_manager.js.map +1 -1
  164. package/lib/services/server_backup.d.ts +31 -31
  165. package/lib/services/server_backup.d.ts.map +1 -1
  166. package/lib/services/server_backup.js +28 -27
  167. package/lib/services/server_backup.js.map +1 -1
  168. package/lib/services/server_update.d.ts +17 -17
  169. package/lib/services/server_update.d.ts.map +1 -1
  170. package/lib/services/server_update.js +1 -1
  171. package/lib/services/server_update.js.map +1 -1
  172. package/lib/services/service_account.d.ts +30 -30
  173. package/lib/services/service_account.d.ts.map +1 -1
  174. package/lib/services/service_account.js +29 -28
  175. package/lib/services/service_account.js.map +1 -1
  176. package/lib/services/service_enablement.d.ts +22 -21
  177. package/lib/services/service_enablement.d.ts.map +1 -1
  178. package/lib/services/service_enablement.js +1 -1
  179. package/lib/services/service_enablement.js.map +1 -1
  180. package/lib/services/sfs.d.ts +151 -141
  181. package/lib/services/sfs.d.ts.map +1 -1
  182. package/lib/services/sfs.js +46 -44
  183. package/lib/services/sfs.js.map +1 -1
  184. package/lib/services/ske.d.ts +121 -110
  185. package/lib/services/ske.d.ts.map +1 -1
  186. package/lib/services/ske.js +25 -24
  187. package/lib/services/ske.js.map +1 -1
  188. package/lib/services/sqlserverflex.d.ts +47 -47
  189. package/lib/services/sqlserverflex.d.ts.map +1 -1
  190. package/lib/services/sqlserverflex.js +45 -44
  191. package/lib/services/sqlserverflex.js.map +1 -1
  192. package/lib/services/stackit_marketplace.d.ts +39 -39
  193. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  194. package/lib/services/stackit_marketplace.js +25 -24
  195. package/lib/services/stackit_marketplace.js.map +1 -1
  196. package/lib/services/telemetry_link.d.ts +80 -38
  197. package/lib/services/telemetry_link.d.ts.map +1 -1
  198. package/lib/services/telemetry_link.js +34 -32
  199. package/lib/services/telemetry_link.js.map +1 -1
  200. package/lib/services/telemetry_router.d.ts +116 -41
  201. package/lib/services/telemetry_router.d.ts.map +1 -1
  202. package/lib/services/telemetry_router.js +31 -27
  203. package/lib/services/telemetry_router.js.map +1 -1
  204. package/lib/services/ufw.d.ts +55 -54
  205. package/lib/services/ufw.d.ts.map +1 -1
  206. package/lib/services/ufw.js +1 -1
  207. package/lib/services/ufw.js.map +1 -1
  208. package/lib/services/valkey.d.ts +94 -43
  209. package/lib/services/valkey.d.ts.map +1 -1
  210. package/lib/services/valkey.js +36 -32
  211. package/lib/services/valkey.js.map +1 -1
  212. package/lib/services/vpn.d.ts +150 -142
  213. package/lib/services/vpn.d.ts.map +1 -1
  214. package/lib/services/vpn.js +42 -41
  215. package/lib/services/vpn.js.map +1 -1
  216. package/lib/services/workflows.d.ts +65 -65
  217. package/lib/services/workflows.d.ts.map +1 -1
  218. package/lib/services/workflows.js +26 -25
  219. package/lib/services/workflows.js.map +1 -1
  220. package/lib/services.lazy/alb.js +1 -1
  221. package/lib/services.lazy/alb_waf.js +1 -1
  222. package/lib/services.lazy/automation.js +4 -1
  223. package/lib/services.lazy/cdn.js +1 -1
  224. package/lib/services.lazy/dns.js +2 -2
  225. package/lib/services.lazy/edge.js +4 -1
  226. package/lib/services.lazy/functions.js +3 -1
  227. package/lib/services.lazy/git.js +2 -2
  228. package/lib/services.lazy/iaas.js +1 -1
  229. package/lib/services.lazy/identity.js +1 -0
  230. package/lib/services.lazy/index.js +2 -2
  231. package/lib/services.lazy/intake.js +1 -1
  232. package/lib/services.lazy/kms.js +1 -1
  233. package/lib/services.lazy/load_balancer.js +1 -1
  234. package/lib/services.lazy/logme.js +2 -2
  235. package/lib/services.lazy/logs.js +1 -1
  236. package/lib/services.lazy/mailout.js +4 -0
  237. package/lib/services.lazy/mariadb.js +2 -2
  238. package/lib/services.lazy/mongodb_flex.js +1 -1
  239. package/lib/services.lazy/object_storage.js +1 -1
  240. package/lib/services.lazy/observability.js +1 -1
  241. package/lib/services.lazy/opensearch.js +2 -2
  242. package/lib/services.lazy/pim.js +1 -1
  243. package/lib/services.lazy/postgres_flex.js +1 -1
  244. package/lib/services.lazy/pubsub.js +1 -1
  245. package/lib/services.lazy/rabbitmq.js +2 -2
  246. package/lib/services.lazy/resource_manager.js +1 -1
  247. package/lib/services.lazy/sca.js +2 -2
  248. package/lib/services.lazy/scf.js +1 -1
  249. package/lib/services.lazy/secrets_manager.js +1 -1
  250. package/lib/services.lazy/server_backup.js +1 -1
  251. package/lib/services.lazy/service_account.js +1 -1
  252. package/lib/services.lazy/sfs.js +2 -2
  253. package/lib/services.lazy/ske.js +1 -1
  254. package/lib/services.lazy/sqlserverflex.js +1 -1
  255. package/lib/services.lazy/stackit_marketplace.js +1 -1
  256. package/lib/services.lazy/telemetry_link.js +1 -1
  257. package/lib/services.lazy/telemetry_router.js +2 -2
  258. package/lib/services.lazy/valkey.js +2 -2
  259. package/lib/services.lazy/vpn.js +1 -1
  260. package/lib/services.lazy/workflows.js +1 -1
  261. package/package.json +6 -5
  262. package/src/credentials.ts +1 -2
  263. package/src/index.ts +3 -3
  264. package/src/pagination.ts +7 -3
  265. package/src/protocol.ts +22 -20
  266. package/src/services/alb.ts +174 -132
  267. package/src/services/alb_waf.ts +96 -51
  268. package/src/services/authorization.ts +50 -15
  269. package/src/services/automation.ts +86 -49
  270. package/src/services/cdn.ts +172 -129
  271. package/src/services/certificates.ts +63 -40
  272. package/src/services/cost.ts +34 -15
  273. package/src/services/dns.ts +552 -269
  274. package/src/services/dremio.ts +187 -118
  275. package/src/services/edge.ts +62 -21
  276. package/src/services/functions.ts +217 -170
  277. package/src/services/git.ts +407 -108
  278. package/src/services/iaas.ts +723 -415
  279. package/src/services/identity.ts +625 -0
  280. package/src/services/index.ts +2 -0
  281. package/src/services/intake.ts +101 -58
  282. package/src/services/kms.ts +76 -13
  283. package/src/services/lb_ip_lists.ts +37 -14
  284. package/src/services/load_balancer.ts +168 -126
  285. package/src/services/logme.ts +345 -122
  286. package/src/services/logs.ts +172 -72
  287. package/src/services/mailout.ts +1277 -0
  288. package/src/services/mariadb.ts +328 -105
  289. package/src/services/model_experiments.ts +66 -33
  290. package/src/services/model_serving.ts +54 -25
  291. package/src/services/mongodb_flex.ts +205 -137
  292. package/src/services/object_storage.ts +61 -6
  293. package/src/services/observability.ts +594 -362
  294. package/src/services/opensearch.ts +337 -114
  295. package/src/services/pim.ts +403 -278
  296. package/src/services/postgres_flex.ts +258 -179
  297. package/src/services/pubsub.ts +85 -36
  298. package/src/services/rabbitmq.ts +348 -125
  299. package/src/services/registry.ts +55 -26
  300. package/src/services/resource_manager.ts +102 -57
  301. package/src/services/run_command.ts +65 -42
  302. package/src/services/sca.ts +769 -371
  303. package/src/services/scf.ts +83 -24
  304. package/src/services/secrets_manager.ts +87 -22
  305. package/src/services/server_backup.ts +76 -31
  306. package/src/services/server_update.ts +54 -17
  307. package/src/services/service_account.ts +75 -30
  308. package/src/services/service_enablement.ts +49 -24
  309. package/src/services/sfs.ts +469 -395
  310. package/src/services/ske.ts +299 -228
  311. package/src/services/sqlserverflex.ts +116 -47
  312. package/src/services/stackit_marketplace.ts +78 -39
  313. package/src/services/telemetry_link.ts +191 -81
  314. package/src/services/telemetry_router.ts +326 -94
  315. package/src/services/ufw.ts +85 -54
  316. package/src/services/valkey.ts +341 -118
  317. package/src/services/vpn.ts +213 -142
  318. package/src/services/workflows.ts +106 -65
@@ -35,88 +35,88 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
35
35
  }
36
36
  export interface CreateAlertConfigReceiverRequestEmailConfigsItem {
37
37
  /** SMTP authentication information. `Additional Validators:` * must be a syntactically valid email address */
38
- authIdentity?: string;
38
+ authIdentity?: string | undefined;
39
39
  /** SMTP authentication information. */
40
- authPassword?: string | Redacted.Redacted<string>;
40
+ authPassword?: string | Redacted.Redacted<string> | undefined;
41
41
  /** SMTP authentication information. */
42
- authUsername?: string;
42
+ authUsername?: string | undefined;
43
43
  /** The sender address. `Additional Validators:` * must be a syntactically valid email address */
44
- from?: string;
44
+ from?: string | undefined;
45
45
  /** Whether to notify about resolved alerts. */
46
- sendResolved?: boolean;
46
+ sendResolved?: boolean | undefined;
47
47
  /** The SMTP host through which emails are sent. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
48
- smarthost?: string;
48
+ smarthost?: string | undefined;
49
49
  /** The email address to send notifications to. `Additional Validators:` * must be a syntactically valid email address */
50
- to?: string;
50
+ to?: string | undefined;
51
51
  }
52
52
  /** Email configurations */
53
53
  export type CreateAlertConfigReceiverRequestEmailConfigsList = Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
54
54
  export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
55
55
  /** The API key to use when talking to the OpsGenie API. `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
56
- apiKey?: string | Redacted.Redacted<string>;
56
+ apiKey?: string | Redacted.Redacted<string> | undefined;
57
57
  /** The host to send OpsGenie API requests to. `Additional Validators:` * must be a syntactically valid url address */
58
- apiUrl?: string;
58
+ apiUrl?: string | undefined;
59
59
  /** Priority level of alert. Possible values are P1, P2, P3, P4, and P5. */
60
- priority?: string;
60
+ priority?: string | undefined;
61
61
  /** Whether to notify about resolved alerts. */
62
- sendResolved?: boolean;
62
+ sendResolved?: boolean | undefined;
63
63
  /** Comma separated list of tags attached to the notifications. */
64
- tags?: string;
64
+ tags?: string | undefined;
65
65
  }
66
66
  /** Configuration for ops genie. */
67
67
  export type CreateAlertConfigReceiverRequestOpsgenieConfigsList = Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
68
68
  export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
69
69
  /** 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. */
70
- googleChat?: boolean;
70
+ googleChat?: boolean | undefined;
71
71
  /** 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. */
72
- msTeams?: boolean;
72
+ msTeams?: boolean | undefined;
73
73
  /** Whether to notify about resolved alerts. */
74
- sendResolved?: boolean;
74
+ sendResolved?: boolean | undefined;
75
75
  /** The endpoint to send HTTP POST requests to. `Additional Validators:` * must be a syntactically valid url address */
76
- url?: string;
76
+ url?: string | undefined;
77
77
  }
78
78
  export type CreateAlertConfigReceiverRequestWebHookConfigsList = Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
79
79
  export interface CreateAlertConfigReceiverRequest {
80
80
  projectId: string;
81
81
  instanceId: string;
82
82
  /** Email configurations */
83
- emailConfigs?: CreateAlertConfigReceiverRequestEmailConfigsList;
83
+ emailConfigs?: CreateAlertConfigReceiverRequestEmailConfigsList | undefined;
84
84
  /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
85
85
  name: string;
86
86
  /** Configuration for ops genie. */
87
- opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList;
88
- webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList;
87
+ opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList | undefined;
88
+ webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList | undefined;
89
89
  }
90
90
  export interface EmailConfig {
91
- authIdentity?: string;
92
- authPassword?: string | Redacted.Redacted<string>;
93
- authUsername?: string;
94
- from?: string;
95
- sendResolved?: boolean;
96
- smarthost?: string;
91
+ authIdentity?: string | undefined;
92
+ authPassword?: string | Redacted.Redacted<string> | undefined;
93
+ authUsername?: string | undefined;
94
+ from?: string | undefined;
95
+ sendResolved?: boolean | undefined;
96
+ smarthost?: string | undefined;
97
97
  to: string;
98
98
  }
99
99
  export type ReceiversEmailConfigsList = Array<EmailConfig>;
100
100
  export interface OpsgenieConfig {
101
- apiKey?: string | Redacted.Redacted<string>;
102
- apiUrl?: string;
103
- priority?: string;
104
- sendResolved?: boolean;
105
- tags?: string;
101
+ apiKey?: string | Redacted.Redacted<string> | undefined;
102
+ apiUrl?: string | undefined;
103
+ priority?: string | undefined;
104
+ sendResolved?: boolean | undefined;
105
+ tags?: string | undefined;
106
106
  }
107
107
  export type ReceiversOpsgenieConfigsList = Array<OpsgenieConfig>;
108
108
  export interface WebHook {
109
- googleChat?: boolean;
110
- msTeams?: boolean;
111
- sendResolved?: boolean;
109
+ googleChat?: boolean | undefined;
110
+ msTeams?: boolean | undefined;
111
+ sendResolved?: boolean | undefined;
112
112
  url: string;
113
113
  }
114
114
  export type ReceiversWebHookConfigsList = Array<WebHook>;
115
115
  export interface Receivers {
116
- emailConfigs?: ReceiversEmailConfigsList;
116
+ emailConfigs?: ReceiversEmailConfigsList | undefined;
117
117
  name: string;
118
- opsgenieConfigs?: ReceiversOpsgenieConfigsList;
119
- webHookConfigs?: ReceiversWebHookConfigsList;
118
+ opsgenieConfigs?: ReceiversOpsgenieConfigsList | undefined;
119
+ webHookConfigs?: ReceiversWebHookConfigsList | undefined;
120
120
  }
121
121
  export type AlertConfigReceiversResponseDataList = Array<Receivers>;
122
122
  export interface AlertConfigReceiversResponse {
@@ -135,24 +135,24 @@ export type CreateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
135
135
  /** As in one level above */
136
136
  export interface CreateAlertConfigRouteRequestRoutesItem {
137
137
  /** Whether an alert should continue matching subsequent sibling nodes. */
138
- continue?: boolean;
139
- groupBy?: CreateAlertConfigRouteRequestRoutesItemGroupByList;
138
+ continue?: boolean | undefined;
139
+ groupBy?: CreateAlertConfigRouteRequestRoutesItemGroupByList | undefined;
140
140
  /** As in one level above */
141
- groupInterval?: string;
141
+ groupInterval?: string | undefined;
142
142
  /** As in one level above */
143
- groupWait?: string;
143
+ groupWait?: string | undefined;
144
144
  /** As in one level above */
145
- match?: unknown;
145
+ match?: unknown | undefined;
146
146
  /** As in one level above */
147
- matchRe?: unknown;
147
+ matchRe?: unknown | undefined;
148
148
  /** As in one level above */
149
- matchers?: CreateAlertConfigRouteRequestRoutesItemMatchersList;
149
+ matchers?: CreateAlertConfigRouteRequestRoutesItemMatchersList | undefined;
150
150
  /** As in one level above */
151
- receiver?: string;
151
+ receiver?: string | undefined;
152
152
  /** As in one level above */
153
- repeatInterval?: string;
153
+ repeatInterval?: string | undefined;
154
154
  /** Another child routes */
155
- routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList;
155
+ routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList | undefined;
156
156
  }
157
157
  /** Zero or more child routes. */
158
158
  export type CreateAlertConfigRouteRequestRoutesList = Array<CreateAlertConfigRouteRequestRoutesItem>;
@@ -160,25 +160,25 @@ export interface CreateAlertConfigRouteRequest {
160
160
  projectId: string;
161
161
  instanceId: string;
162
162
  /** 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. */
163
- continue?: boolean;
163
+ continue?: boolean | undefined;
164
164
  /** 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. */
165
- groupBy?: CreateAlertConfigRouteRequestGroupByList;
165
+ groupBy?: CreateAlertConfigRouteRequestGroupByList | undefined;
166
166
  /** 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 */
167
- groupInterval?: string;
167
+ groupInterval?: string | undefined;
168
168
  /** 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 */
169
- groupWait?: string;
169
+ groupWait?: string | undefined;
170
170
  /** 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_./@&?:- */
171
- match?: unknown;
171
+ match?: unknown | undefined;
172
172
  /** 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 */
173
- matchRe?: unknown;
173
+ matchRe?: unknown | undefined;
174
174
  /** 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 */
175
- matchers?: CreateAlertConfigRouteRequestMatchersList;
175
+ matchers?: CreateAlertConfigRouteRequestMatchersList | undefined;
176
176
  /** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
177
177
  receiver: string;
178
178
  /** 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 */
179
- repeatInterval?: string;
179
+ repeatInterval?: string | undefined;
180
180
  /** Zero or more child routes. */
181
- routes?: CreateAlertConfigRouteRequestRoutesList;
181
+ routes?: CreateAlertConfigRouteRequestRoutesList | undefined;
182
182
  }
183
183
  export type RouteGroupByList = Array<string>;
184
184
  export type RouteMatchMap = {
@@ -201,29 +201,29 @@ export type RouteSerializerRoutesItemMap = {
201
201
  };
202
202
  export type RouteSerializerRoutesList = Array<RouteSerializerRoutesItemMap>;
203
203
  export interface RouteSerializer {
204
- continue?: boolean;
205
- groupBy?: RouteSerializerGroupByList;
206
- groupInterval?: string;
207
- groupWait?: string;
208
- match?: RouteSerializerMatchMap;
209
- matchRe?: RouteSerializerMatchReMap;
210
- matchers?: RouteSerializerMatchersList;
204
+ continue?: boolean | undefined;
205
+ groupBy?: RouteSerializerGroupByList | undefined;
206
+ groupInterval?: string | undefined;
207
+ groupWait?: string | undefined;
208
+ match?: RouteSerializerMatchMap | undefined;
209
+ matchRe?: RouteSerializerMatchReMap | undefined;
210
+ matchers?: RouteSerializerMatchersList | undefined;
211
211
  receiver: string;
212
- repeatInterval?: string;
213
- routes?: RouteSerializerRoutesList;
212
+ repeatInterval?: string | undefined;
213
+ routes?: RouteSerializerRoutesList | undefined;
214
214
  }
215
215
  export type RouteRoutesList = Array<RouteSerializer>;
216
216
  export interface Route {
217
- continue?: boolean;
218
- groupBy?: RouteGroupByList;
219
- groupInterval?: string;
220
- groupWait?: string;
221
- match?: RouteMatchMap;
222
- matchRe?: RouteMatchReMap;
223
- matchers?: RouteMatchersList;
217
+ continue?: boolean | undefined;
218
+ groupBy?: RouteGroupByList | undefined;
219
+ groupInterval?: string | undefined;
220
+ groupWait?: string | undefined;
221
+ match?: RouteMatchMap | undefined;
222
+ matchRe?: RouteMatchReMap | undefined;
223
+ matchers?: RouteMatchersList | undefined;
224
224
  receiver: string;
225
- repeatInterval?: string;
226
- routes?: RouteRoutesList;
225
+ repeatInterval?: string | undefined;
226
+ routes?: RouteRoutesList | undefined;
227
227
  }
228
228
  export interface AlertConfigRouteResponse {
229
229
  data: Route;
@@ -232,17 +232,17 @@ export interface AlertConfigRouteResponse {
232
232
  /** 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. */
233
233
  export interface CreateAlertgroupsRequestRulesItem {
234
234
  /** 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 */
235
- alert?: string;
235
+ alert?: string | undefined;
236
236
  /** 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 */
237
- annotations?: unknown;
237
+ annotations?: unknown | undefined;
238
238
  /** 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. */
239
239
  expr: string;
240
240
  /** 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 */
241
- for?: string;
241
+ for?: string | undefined;
242
242
  /** 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 */
243
- labels?: unknown;
243
+ labels?: unknown | undefined;
244
244
  /** 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 */
245
- record?: string;
245
+ record?: string | undefined;
246
246
  }
247
247
  /** rules for the alert group */
248
248
  export type CreateAlertgroupsRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
@@ -250,7 +250,7 @@ export interface CreateAlertgroupsRequest {
250
250
  projectId: string;
251
251
  instanceId: string;
252
252
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
253
- interval?: string;
253
+ interval?: string | undefined;
254
254
  /** 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- */
255
255
  name: string;
256
256
  /** rules for the alert group */
@@ -263,16 +263,16 @@ export type AlertRuleRecordLabelsMap = {
263
263
  [key: string]: string | undefined;
264
264
  };
265
265
  export interface AlertRuleRecord {
266
- alert?: string;
267
- annotations?: AlertRuleRecordAnnotationsMap;
266
+ alert?: string | undefined;
267
+ annotations?: AlertRuleRecordAnnotationsMap | undefined;
268
268
  expr: string;
269
- for?: string;
270
- labels?: AlertRuleRecordLabelsMap;
271
- record?: string;
269
+ for?: string | undefined;
270
+ labels?: AlertRuleRecordLabelsMap | undefined;
271
+ record?: string | undefined;
272
272
  }
273
273
  export type AlertGroupRulesList = Array<AlertRuleRecord>;
274
274
  export interface AlertGroup {
275
- interval?: string;
275
+ interval?: string | undefined;
276
276
  name: string;
277
277
  rules: AlertGroupRulesList;
278
278
  }
@@ -288,7 +288,7 @@ export interface CreateAlertRecordRequest {
288
288
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
289
289
  expr: string;
290
290
  /** 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 */
291
- labels?: unknown;
291
+ labels?: unknown | undefined;
292
292
  /** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
293
293
  record: string;
294
294
  }
@@ -297,7 +297,7 @@ export type AlertRecordLabelsMap = {
297
297
  };
298
298
  export interface AlertRecord {
299
299
  expr: string;
300
- labels?: AlertRecordLabelsMap;
300
+ labels?: AlertRecordLabelsMap | undefined;
301
301
  record: string;
302
302
  }
303
303
  export type AlertRecordsResponseDataList = Array<AlertRecord>;
@@ -312,13 +312,13 @@ export interface CreateAlertrulesRequest {
312
312
  /** 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- */
313
313
  alert: string;
314
314
  /** 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 */
315
- annotations?: unknown;
315
+ annotations?: unknown | undefined;
316
316
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
317
317
  expr: string;
318
318
  /** 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 */
319
- for?: string;
319
+ for?: string | undefined;
320
320
  /** 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 */
321
- labels?: unknown;
321
+ labels?: unknown | undefined;
322
322
  }
323
323
  export type AlertRuleAnnotationsMap = {
324
324
  [key: string]: string | undefined;
@@ -328,10 +328,10 @@ export type AlertRuleLabelsMap = {
328
328
  };
329
329
  export interface AlertRule {
330
330
  alert: string;
331
- annotations?: AlertRuleAnnotationsMap;
331
+ annotations?: AlertRuleAnnotationsMap | undefined;
332
332
  expr: string;
333
- for?: string;
334
- labels?: AlertRuleLabelsMap;
333
+ for?: string | undefined;
334
+ labels?: AlertRuleLabelsMap | undefined;
335
335
  }
336
336
  export type AlertRulesResponseDataList = Array<AlertRule>;
337
337
  export interface AlertRulesResponse {
@@ -344,7 +344,7 @@ export interface CreateBackupRequest {
344
344
  projectId: string;
345
345
  instanceId: string;
346
346
  /** List of backup targets */
347
- backupTarget?: CreateBackupRequestBackupTargetList;
347
+ backupTarget?: CreateBackupRequestBackupTargetList | undefined;
348
348
  }
349
349
  export interface Message {
350
350
  message: string;
@@ -355,7 +355,7 @@ export interface CreateBackupScheduleRequest {
355
355
  projectId: string;
356
356
  instanceId: string;
357
357
  /** List of backup targets */
358
- backupTarget?: CreateBackupScheduleRequestBackupTargetList;
358
+ backupTarget?: CreateBackupScheduleRequestBackupTargetList | undefined;
359
359
  /** The schedule for how often to create a backup. `Additional Validators:` * must be a valid cronjob format * must run less than hourly */
360
360
  schedule: string;
361
361
  }
@@ -375,7 +375,7 @@ export interface CertCheckChildResponse {
375
375
  }
376
376
  export type CertCheckResponseCertChecksList = Array<CertCheckChildResponse>;
377
377
  export interface CertCheckResponse {
378
- certCheck?: CertCheckChildResponse;
378
+ certCheck?: CertCheckChildResponse | undefined;
379
379
  certChecks: CertCheckResponseCertChecksList;
380
380
  message: string;
381
381
  }
@@ -383,10 +383,10 @@ export interface CreateCredentialsRequest {
383
383
  projectId: string;
384
384
  instanceId: string;
385
385
  /** description */
386
- description?: string;
386
+ description?: string | undefined;
387
387
  }
388
388
  export interface Credentials {
389
- description?: string;
389
+ description?: string | undefined;
390
390
  password: string | Redacted.Redacted<string>;
391
391
  username: string;
392
392
  }
@@ -398,21 +398,21 @@ export interface CreateElasticsearchCheckRequest {
398
398
  projectId: string;
399
399
  instanceId: string;
400
400
  /** password */
401
- password?: string | Redacted.Redacted<string>;
401
+ password?: string | Redacted.Redacted<string> | undefined;
402
402
  /** url to check */
403
403
  server: string;
404
404
  /** username */
405
- username?: string;
405
+ username?: string | undefined;
406
406
  }
407
407
  export interface ElasticsearchCheckChildResponse {
408
408
  id: string;
409
- password?: string | Redacted.Redacted<string>;
409
+ password?: string | Redacted.Redacted<string> | undefined;
410
410
  server: string;
411
- username?: string;
411
+ username?: string | undefined;
412
412
  }
413
413
  export type ElasticsearchCheckResponseElasticsearchChecksList = Array<ElasticsearchCheckChildResponse>;
414
414
  export interface ElasticsearchCheckResponse {
415
- elasticsearchCheck?: ElasticsearchCheckChildResponse;
415
+ elasticsearchCheck?: ElasticsearchCheckChildResponse | undefined;
416
416
  elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList;
417
417
  message: string;
418
418
  }
@@ -428,18 +428,18 @@ export interface HttpCheckChildResponse {
428
428
  }
429
429
  export type HttpCheckResponseHttpChecksList = Array<HttpCheckChildResponse>;
430
430
  export interface HttpCheckResponse {
431
- httpCheck?: HttpCheckChildResponse;
431
+ httpCheck?: HttpCheckChildResponse | undefined;
432
432
  httpChecks: HttpCheckResponseHttpChecksList;
433
433
  message: string;
434
434
  }
435
435
  export interface CreateInstanceRequest {
436
436
  projectId: string;
437
437
  /** 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. */
438
- grafanaAdminEnabled?: boolean;
438
+ grafanaAdminEnabled?: boolean | undefined;
439
439
  /** Name of the service */
440
- name?: string;
440
+ name?: string | undefined;
441
441
  /** Additional parameters */
442
- parameter?: unknown;
442
+ parameter?: unknown | undefined;
443
443
  /** UUID of the plan to create/update */
444
444
  planId: string;
445
445
  }
@@ -451,17 +451,17 @@ export interface CreateInstanceResponse {
451
451
  /** 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. */
452
452
  export interface CreateLogsAlertgroupsRequestRulesItem {
453
453
  /** 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 */
454
- alert?: string;
454
+ alert?: string | undefined;
455
455
  /** 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 */
456
- annotations?: unknown;
456
+ annotations?: unknown | undefined;
457
457
  /** 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. */
458
458
  expr: string;
459
459
  /** 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 */
460
- for?: string;
460
+ for?: string | undefined;
461
461
  /** 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 */
462
- labels?: unknown;
462
+ labels?: unknown | undefined;
463
463
  /** 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 */
464
- record?: string;
464
+ record?: string | undefined;
465
465
  }
466
466
  /** rules for the alert group */
467
467
  export type CreateLogsAlertgroupsRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
@@ -469,7 +469,7 @@ export interface CreateLogsAlertgroupsRequest {
469
469
  projectId: string;
470
470
  instanceId: string;
471
471
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
472
- interval?: string;
472
+ interval?: string | undefined;
473
473
  /** 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- */
474
474
  name: string;
475
475
  /** rules for the alert group */
@@ -488,7 +488,7 @@ export interface MongodbCheckChildResponse {
488
488
  export type MongodbCheckResponseMongodbChecksList = Array<MongodbCheckChildResponse>;
489
489
  export interface MongodbCheckResponse {
490
490
  message: string;
491
- mongodbCheck?: MongodbCheckChildResponse;
491
+ mongodbCheck?: MongodbCheckChildResponse | undefined;
492
492
  mongodbChecks: MongodbCheckResponseMongodbChecksList;
493
493
  }
494
494
  export interface CreateMysqlCheckRequest {
@@ -501,7 +501,7 @@ export type MysqlCheckChildResponse = MongodbCheckChildResponse;
501
501
  export type MysqlCheckResponseMysqlChecksList = Array<MongodbCheckChildResponse>;
502
502
  export interface MysqlCheckResponse {
503
503
  message: string;
504
- mysqlCheck?: MongodbCheckChildResponse;
504
+ mysqlCheck?: MongodbCheckChildResponse | undefined;
505
505
  mysqlChecks: MysqlCheckResponseMysqlChecksList;
506
506
  }
507
507
  export interface CreateNetworkCheckRequest {
@@ -517,7 +517,7 @@ export interface NetworkCheckChildResponse {
517
517
  export type NetworkCheckResponseNetworkChecksList = Array<NetworkCheckChildResponse>;
518
518
  export interface NetworkCheckResponse {
519
519
  message: string;
520
- networkCheck?: NetworkCheckChildResponse;
520
+ networkCheck?: NetworkCheckChildResponse | undefined;
521
521
  networkChecks: NetworkCheckResponseNetworkChecksList;
522
522
  }
523
523
  export interface CreatePingCheckRequest {
@@ -530,7 +530,7 @@ export type PingCheckChildResponse = HttpCheckChildResponse;
530
530
  export type PingCheckResponsePingChecksList = Array<HttpCheckChildResponse>;
531
531
  export interface PingCheckResponse {
532
532
  message: string;
533
- pingCheck?: HttpCheckChildResponse;
533
+ pingCheck?: HttpCheckChildResponse | undefined;
534
534
  pingChecks: PingCheckResponsePingChecksList;
535
535
  }
536
536
  export interface CreatePostgresqlCheckRequest {
@@ -543,54 +543,54 @@ export type PostgresqlCheckChildResponse = NetworkCheckChildResponse;
543
543
  export type PostgresqlCheckResponsePostgresqlChecksList = Array<NetworkCheckChildResponse>;
544
544
  export interface PostgresqlCheckResponse {
545
545
  message: string;
546
- postgresqlCheck?: NetworkCheckChildResponse;
546
+ postgresqlCheck?: NetworkCheckChildResponse | undefined;
547
547
  postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList;
548
548
  }
549
549
  export interface CreateRabbitmqCheckRequest {
550
550
  projectId: string;
551
551
  instanceId: string;
552
552
  /** password */
553
- password?: string | Redacted.Redacted<string>;
553
+ password?: string | Redacted.Redacted<string> | undefined;
554
554
  /** url to check */
555
555
  url: string;
556
556
  /** username */
557
- username?: string;
557
+ username?: string | undefined;
558
558
  }
559
559
  export interface RabbitMQCheckChildResponse {
560
560
  id: string;
561
- password?: string | Redacted.Redacted<string>;
561
+ password?: string | Redacted.Redacted<string> | undefined;
562
562
  url: string;
563
- username?: string;
563
+ username?: string | undefined;
564
564
  }
565
565
  export type RabbitmqCheckResponseRabbitmqChecksList = Array<RabbitMQCheckChildResponse>;
566
566
  export interface RabbitmqCheckResponse {
567
567
  message: string;
568
- rabbitmqCheck?: RabbitMQCheckChildResponse;
568
+ rabbitmqCheck?: RabbitMQCheckChildResponse | undefined;
569
569
  rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList;
570
570
  }
571
571
  export interface CreateRedisCheckRequest {
572
572
  projectId: string;
573
573
  instanceId: string;
574
574
  /** password */
575
- password?: string | Redacted.Redacted<string>;
575
+ password?: string | Redacted.Redacted<string> | undefined;
576
576
  /** url to check */
577
577
  server: string;
578
578
  /** username */
579
- username?: string;
579
+ username?: string | undefined;
580
580
  }
581
581
  export type RedisCheckChildResponse = ElasticsearchCheckChildResponse;
582
582
  export type RedisCheckResponseRedisChecksList = Array<ElasticsearchCheckChildResponse>;
583
583
  export interface RedisCheckResponse {
584
584
  message: string;
585
- redisCheck?: ElasticsearchCheckChildResponse;
585
+ redisCheck?: ElasticsearchCheckChildResponse | undefined;
586
586
  redisChecks: RedisCheckResponseRedisChecksList;
587
587
  }
588
588
  /** 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 */
589
589
  export interface CreateScrapeConfigRequestBasicAuth {
590
590
  /** password */
591
- password?: string | Redacted.Redacted<string>;
591
+ password?: string | Redacted.Redacted<string> | undefined;
592
592
  /** username */
593
- username?: string;
593
+ username?: string | undefined;
594
594
  }
595
595
  /** 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 */
596
596
  export type CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
@@ -599,7 +599,7 @@ export type CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = Array<s
599
599
  /** Configures the scrape request's TLS settings. */
600
600
  export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig {
601
601
  /** Disable validation of the server certificate. */
602
- insecureSkipVerify?: boolean;
602
+ insecureSkipVerify?: boolean | undefined;
603
603
  }
604
604
  /** 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 */
605
605
  export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
@@ -608,9 +608,9 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
608
608
  /** clientSecret */
609
609
  clientSecret: string | Redacted.Redacted<string>;
610
610
  /** The URL to fetch the token from. */
611
- scopes?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList;
611
+ scopes?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList | undefined;
612
612
  /** Configures the scrape request's TLS settings. */
613
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
613
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
614
614
  /** The URL to fetch the token from. */
615
615
  tokenUrl: string;
616
616
  }
@@ -618,13 +618,13 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
618
618
  export type CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
619
619
  export interface CreateScrapeConfigRequestHttpSdConfigsItem {
620
620
  /** 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 */
621
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
621
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
622
622
  /** 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 */
623
- oauth2?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2;
623
+ oauth2?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2 | undefined;
624
624
  /** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
625
- refreshInterval?: string;
625
+ refreshInterval?: string | undefined;
626
626
  /** Configures the scrape request's TLS settings. */
627
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
627
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
628
628
  /** URL from which the targets are fetched. */
629
629
  url: string;
630
630
  }
@@ -636,19 +636,19 @@ export type CreateScrapeConfigRequestMetricsRelabelConfigsItemAction = "replace"
636
636
  export type CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
637
637
  export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
638
638
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
639
- action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
639
+ action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {}) | undefined;
640
640
  /** Modulus to take of the hash of the source label values. */
641
- modulus?: number;
641
+ modulus?: number | undefined;
642
642
  /** Regular expression against which the extracted value is matched. */
643
- regex?: string;
643
+ regex?: string | undefined;
644
644
  /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
645
- replacement?: string;
645
+ replacement?: string | undefined;
646
646
  /** Separator placed between concatenated source label values. */
647
- separator?: string;
647
+ separator?: string | undefined;
648
648
  /** 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. */
649
- sourceLabels?: CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
649
+ sourceLabels?: CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList | undefined;
650
650
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
651
- targetLabel?: string;
651
+ targetLabel?: string | undefined;
652
652
  }
653
653
  /** List of metric relabel configurations */
654
654
  export type CreateScrapeConfigRequestMetricsRelabelConfigsList = Array<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
@@ -663,9 +663,9 @@ export interface CreateScrapeConfigRequestOauth2 {
663
663
  /** clientSecret */
664
664
  clientSecret: string | Redacted.Redacted<string>;
665
665
  /** The URL to fetch the token from. */
666
- scopes?: CreateScrapeConfigRequestOauth2ScopesList;
666
+ scopes?: CreateScrapeConfigRequestOauth2ScopesList | undefined;
667
667
  /** Configures the scrape request's TLS settings. */
668
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
668
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
669
669
  /** The URL to fetch the token from. */
670
670
  tokenUrl: string;
671
671
  }
@@ -675,7 +675,7 @@ export type CreateScrapeConfigRequestScheme = "http" | "https";
675
675
  export type CreateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
676
676
  export interface CreateScrapeConfigRequestStaticConfigsItem {
677
677
  /** 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 */
678
- labels?: unknown;
678
+ labels?: unknown | undefined;
679
679
  /** The targets specified by the static config. */
680
680
  targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList;
681
681
  }
@@ -687,27 +687,27 @@ export interface CreateScrapeConfigRequest {
687
687
  projectId: string;
688
688
  instanceId: string;
689
689
  /** 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 */
690
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
690
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
691
691
  /** 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 */
692
- bearerToken?: string;
692
+ bearerToken?: string | undefined;
693
693
  /** 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. */
694
- honorLabels?: boolean;
694
+ honorLabels?: boolean | undefined;
695
695
  /** 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. */
696
- honorTimeStamps?: boolean;
696
+ honorTimeStamps?: boolean | undefined;
697
697
  /** 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. */
698
- httpSdConfigs?: CreateScrapeConfigRequestHttpSdConfigsList;
698
+ httpSdConfigs?: CreateScrapeConfigRequestHttpSdConfigsList | undefined;
699
699
  /** 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- */
700
700
  jobName: string;
701
701
  /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
702
- metricsPath?: string;
702
+ metricsPath?: string | undefined;
703
703
  /** List of metric relabel configurations */
704
- metricsRelabelConfigs?: CreateScrapeConfigRequestMetricsRelabelConfigsList;
704
+ metricsRelabelConfigs?: CreateScrapeConfigRequestMetricsRelabelConfigsList | undefined;
705
705
  /** 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 */
706
- oauth2?: CreateScrapeConfigRequestOauth2;
706
+ oauth2?: CreateScrapeConfigRequestOauth2 | undefined;
707
707
  /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
708
- params?: unknown;
708
+ params?: unknown | undefined;
709
709
  /** 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 */
710
- sampleLimit?: number;
710
+ sampleLimit?: number | undefined;
711
711
  /** Configures the protocol scheme used for requests. https or http */
712
712
  scheme: CreateScrapeConfigRequestScheme | (string & {});
713
713
  /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
@@ -717,7 +717,7 @@ export interface CreateScrapeConfigRequest {
717
717
  /** A list of scrape configurations. */
718
718
  staticConfigs: CreateScrapeConfigRequestStaticConfigsList;
719
719
  /** Configures the scrape request's TLS settings. */
720
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
720
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
721
721
  }
722
722
  export interface BasicAuth {
723
723
  password: string | Redacted.Redacted<string>;
@@ -725,33 +725,33 @@ export interface BasicAuth {
725
725
  }
726
726
  export type OAuth2ScopesList = Array<string>;
727
727
  export interface TLSConfig {
728
- insecureSkipVerify?: boolean;
728
+ insecureSkipVerify?: boolean | undefined;
729
729
  }
730
730
  export interface OAuth2 {
731
731
  clientId: string;
732
732
  clientSecret: string | Redacted.Redacted<string>;
733
- scopes?: OAuth2ScopesList;
734
- tlsConfig?: TLSConfig;
733
+ scopes?: OAuth2ScopesList | undefined;
734
+ tlsConfig?: TLSConfig | undefined;
735
735
  tokenUrl: string;
736
736
  }
737
737
  export interface HTTPServiceSD {
738
- basicAuth?: BasicAuth;
739
- oauth2?: OAuth2;
740
- refreshInterval?: string;
741
- tlsConfig?: TLSConfig;
738
+ basicAuth?: BasicAuth | undefined;
739
+ oauth2?: OAuth2 | undefined;
740
+ refreshInterval?: string | undefined;
741
+ tlsConfig?: TLSConfig | undefined;
742
742
  url: string;
743
743
  }
744
744
  export type JobHttpSdConfigsList = Array<HTTPServiceSD>;
745
745
  export type MetricsRelabelConfigAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
746
746
  export type MetricsRelabelConfigSourceLabelsList = Array<string>;
747
747
  export interface MetricsRelabelConfig {
748
- action?: MetricsRelabelConfigAction;
749
- modulus?: number;
750
- regex?: string;
751
- replacement?: string;
752
- separator?: string;
748
+ action?: MetricsRelabelConfigAction | undefined;
749
+ modulus?: number | undefined;
750
+ regex?: string | undefined;
751
+ replacement?: string | undefined;
752
+ separator?: string | undefined;
753
753
  sourceLabels: MetricsRelabelConfigSourceLabelsList;
754
- targetLabel?: string;
754
+ targetLabel?: string | undefined;
755
755
  }
756
756
  export type JobMetricsRelabelConfigsList = Array<MetricsRelabelConfig>;
757
757
  export type JobParamsValueList = Array<string>;
@@ -764,27 +764,27 @@ export type StaticConfigsLabelsMap = {
764
764
  };
765
765
  export type StaticConfigsTargetsList = Array<string>;
766
766
  export interface StaticConfigs {
767
- labels?: StaticConfigsLabelsMap;
767
+ labels?: StaticConfigsLabelsMap | undefined;
768
768
  targets: StaticConfigsTargetsList;
769
769
  }
770
770
  export type JobStaticConfigsList = Array<StaticConfigs>;
771
771
  export interface Job {
772
- basicAuth?: BasicAuth;
773
- bearerToken?: string;
774
- honorLabels?: boolean;
775
- honorTimeStamps?: boolean;
776
- httpSdConfigs?: JobHttpSdConfigsList;
772
+ basicAuth?: BasicAuth | undefined;
773
+ bearerToken?: string | undefined;
774
+ honorLabels?: boolean | undefined;
775
+ honorTimeStamps?: boolean | undefined;
776
+ httpSdConfigs?: JobHttpSdConfigsList | undefined;
777
777
  jobName: string;
778
- metricsPath?: string;
779
- metricsRelabelConfigs?: JobMetricsRelabelConfigsList;
780
- oauth2?: OAuth2;
781
- params?: JobParamsMap;
782
- sampleLimit?: number;
783
- scheme?: JobScheme;
778
+ metricsPath?: string | undefined;
779
+ metricsRelabelConfigs?: JobMetricsRelabelConfigsList | undefined;
780
+ oauth2?: OAuth2 | undefined;
781
+ params?: JobParamsMap | undefined;
782
+ sampleLimit?: number | undefined;
783
+ scheme?: JobScheme | undefined;
784
784
  scrapeInterval: string;
785
785
  scrapeTimeout: string;
786
786
  staticConfigs: JobStaticConfigsList;
787
- tlsConfig?: TLSConfig;
787
+ tlsConfig?: TLSConfig | undefined;
788
788
  }
789
789
  export type ScrapeConfigsResponseDataList = Array<Job>;
790
790
  export interface ScrapeConfigsResponse {
@@ -953,14 +953,14 @@ export interface GetAlertConfigsRequest {
953
953
  instanceId: string;
954
954
  }
955
955
  export interface Global {
956
- opsgenieApiKey?: string;
957
- opsgenieApiUrl?: string;
958
- resolveTimeout?: string;
959
- smtpAuthIdentity?: string;
960
- smtpAuthPassword?: string | Redacted.Redacted<string>;
961
- smtpAuthUsername?: string;
962
- smtpFrom?: string;
963
- smtpSmarthost?: string;
956
+ opsgenieApiKey?: string | undefined;
957
+ opsgenieApiUrl?: string | undefined;
958
+ resolveTimeout?: string | undefined;
959
+ smtpAuthIdentity?: string | undefined;
960
+ smtpAuthPassword?: string | Redacted.Redacted<string> | undefined;
961
+ smtpAuthUsername?: string | undefined;
962
+ smtpFrom?: string | undefined;
963
+ smtpSmarthost?: string | undefined;
964
964
  }
965
965
  export type InhibitRulesEqualList = Array<string>;
966
966
  export type InhibitRulesSourceMatchMap = {
@@ -978,19 +978,19 @@ export type InhibitRulesTargetMatchReMap = {
978
978
  };
979
979
  export type InhibitRulesTargetMatchersList = Array<string>;
980
980
  export interface InhibitRules {
981
- equal?: InhibitRulesEqualList;
982
- sourceMatch?: InhibitRulesSourceMatchMap;
983
- sourceMatchRe?: InhibitRulesSourceMatchReMap;
984
- sourceMatchers?: InhibitRulesSourceMatchersList;
985
- targetMatch?: InhibitRulesTargetMatchMap;
986
- targetMatchRe?: InhibitRulesTargetMatchReMap;
987
- targetMatchers?: InhibitRulesTargetMatchersList;
981
+ equal?: InhibitRulesEqualList | undefined;
982
+ sourceMatch?: InhibitRulesSourceMatchMap | undefined;
983
+ sourceMatchRe?: InhibitRulesSourceMatchReMap | undefined;
984
+ sourceMatchers?: InhibitRulesSourceMatchersList | undefined;
985
+ targetMatch?: InhibitRulesTargetMatchMap | undefined;
986
+ targetMatchRe?: InhibitRulesTargetMatchReMap | undefined;
987
+ targetMatchers?: InhibitRulesTargetMatchersList | undefined;
988
988
  }
989
989
  export type AlertInhibitRulesList = Array<InhibitRules>;
990
990
  export type AlertReceiversList = Array<Receivers>;
991
991
  export interface Alert {
992
- global?: Global;
993
- inhibitRules?: AlertInhibitRulesList;
992
+ global?: Global | undefined;
993
+ inhibitRules?: AlertInhibitRulesList | undefined;
994
994
  receivers: AlertReceiversList;
995
995
  route: Route;
996
996
  }
@@ -1036,7 +1036,7 @@ export type GetCredentialsResponseCredentialsInfoMap = {
1036
1036
  [key: string]: string | null | undefined;
1037
1037
  };
1038
1038
  export interface GetCredentialsResponse {
1039
- credentialsInfo?: GetCredentialsResponseCredentialsInfoMap;
1039
+ credentialsInfo?: GetCredentialsResponseCredentialsInfoMap | undefined;
1040
1040
  id: string;
1041
1041
  message: string;
1042
1042
  name: string;
@@ -1056,24 +1056,24 @@ export interface GetGrafanaConfigsRequest {
1056
1056
  instanceId: string;
1057
1057
  }
1058
1058
  export interface GrafanaOauth {
1059
- allowAssignGrafanaAdmin?: boolean;
1059
+ allowAssignGrafanaAdmin?: boolean | undefined;
1060
1060
  apiUrl: string;
1061
1061
  authUrl: string;
1062
1062
  enabled: boolean;
1063
- name?: string;
1063
+ name?: string | undefined;
1064
1064
  oauthClientId: string;
1065
1065
  oauthClientSecret: string;
1066
1066
  roleAttributePath: string;
1067
- roleAttributeStrict?: boolean;
1068
- scopes?: string;
1067
+ roleAttributeStrict?: boolean | undefined;
1068
+ scopes?: string | undefined;
1069
1069
  tokenUrl: string;
1070
- usePkce?: boolean;
1070
+ usePkce?: boolean | undefined;
1071
1071
  }
1072
1072
  export interface GrafanaConfigs {
1073
- genericOauth?: GrafanaOauth;
1073
+ genericOauth?: GrafanaOauth | undefined;
1074
1074
  message: string;
1075
- publicReadAccess?: boolean;
1076
- useStackitSso?: boolean;
1075
+ publicReadAccess?: boolean | undefined;
1076
+ useStackitSso?: boolean | undefined;
1077
1077
  }
1078
1078
  export interface GetInstanceRequest {
1079
1079
  projectId: string;
@@ -1083,9 +1083,9 @@ export interface PlanModel {
1083
1083
  alertMatchers: number;
1084
1084
  alertReceivers: number;
1085
1085
  alertRules: number;
1086
- amount?: number;
1086
+ amount?: number | undefined;
1087
1087
  bucketSize: number;
1088
- description?: string;
1088
+ description?: string | undefined;
1089
1089
  grafanaGlobalDashboards: number;
1090
1090
  grafanaGlobalOrgs: number;
1091
1091
  grafanaGlobalSessions: number;
@@ -1093,7 +1093,7 @@ export interface PlanModel {
1093
1093
  id: string;
1094
1094
  logsAlert: number;
1095
1095
  logsStorage: number;
1096
- name?: string;
1096
+ name?: string | undefined;
1097
1097
  planId: string;
1098
1098
  samplesPerScrape: number;
1099
1099
  targetNumber: number;
@@ -1104,13 +1104,13 @@ export interface InstanceSensitiveData {
1104
1104
  alertingUrl: string;
1105
1105
  cluster: string;
1106
1106
  grafanaAdminEnabled: boolean;
1107
- grafanaAdminPassword?: string | Redacted.Redacted<string>;
1108
- grafanaAdminUser?: string;
1107
+ grafanaAdminPassword?: string | Redacted.Redacted<string> | undefined;
1108
+ grafanaAdminUser?: string | undefined;
1109
1109
  grafanaPublicReadAccess: boolean;
1110
1110
  grafanaUrl: string;
1111
1111
  grafanaUseStackitSso: boolean;
1112
1112
  instance: string;
1113
- jaegerHttpTracesUrl?: string;
1113
+ jaegerHttpTracesUrl?: string | undefined;
1114
1114
  jaegerHttpUrl: string;
1115
1115
  jaegerTracesUrl: string;
1116
1116
  jaegerUiUrl: string;
@@ -1121,7 +1121,7 @@ export interface InstanceSensitiveData {
1121
1121
  metricsRetentionTime5m: number;
1122
1122
  metricsRetentionTimeRaw: number;
1123
1123
  metricsUrl: string;
1124
- name?: string;
1124
+ name?: string | undefined;
1125
1125
  otlpGrpcTracesUrl: string;
1126
1126
  otlpHttpLogsUrl: string;
1127
1127
  otlpHttpTracesUrl: string;
@@ -1137,16 +1137,16 @@ export type GetInstanceResponseParametersMap = {
1137
1137
  export type GetInstanceResponseStatus = "CREATING" | "CREATE_SUCCEEDED" | "CREATE_FAILED" | "DELETING" | "DELETE_SUCCEEDED" | "DELETE_FAILED" | "UPDATING" | "UPDATE_SUCCEEDED" | "UPDATE_FAILED";
1138
1138
  export interface GetInstanceResponse {
1139
1139
  dashboardUrl: string;
1140
- error?: string | null;
1140
+ error?: string | null | undefined;
1141
1141
  id: string;
1142
1142
  instance: InstanceSensitiveData;
1143
- isUpdatable?: boolean;
1143
+ isUpdatable?: boolean | undefined;
1144
1144
  message: string;
1145
- name?: string;
1146
- parameters?: GetInstanceResponseParametersMap;
1145
+ name?: string | undefined;
1146
+ parameters?: GetInstanceResponseParametersMap | undefined;
1147
1147
  planId: string;
1148
1148
  planName: string;
1149
- planSchema?: string;
1149
+ planSchema?: string | undefined;
1150
1150
  serviceName: string;
1151
1151
  status: GetInstanceResponseStatus;
1152
1152
  }
@@ -1242,7 +1242,7 @@ export interface ListBackupsRequest {
1242
1242
  projectId: string;
1243
1243
  instanceId: string;
1244
1244
  /** List of backup targets */
1245
- backupTarget?: ListBackupsRequestBackupTargetList;
1245
+ backupTarget?: ListBackupsRequestBackupTargetList | undefined;
1246
1246
  }
1247
1247
  export type BackupResponseAlertConfigBackupsList = Array<string>;
1248
1248
  export type BackupResponseAlertRulesBackupsList = Array<string>;
@@ -1261,7 +1261,7 @@ export interface ListBackupSchedulesRequest {
1261
1261
  projectId: string;
1262
1262
  instanceId: string;
1263
1263
  /** List of backup targets */
1264
- backupTarget?: ListBackupSchedulesRequestBackupTargetList;
1264
+ backupTarget?: ListBackupSchedulesRequestBackupTargetList | undefined;
1265
1265
  }
1266
1266
  export interface BackupSchedule {
1267
1267
  schedule: string;
@@ -1272,11 +1272,11 @@ export type BackupScheduleResponseAlertRulesBackupSchedulesList = Array<BackupSc
1272
1272
  export type BackupScheduleResponseGrafanaBackupSchedulesList = Array<BackupSchedule>;
1273
1273
  export type BackupScheduleResponseScrapeConfigBackupSchedulesList = Array<BackupSchedule>;
1274
1274
  export interface BackupScheduleResponse {
1275
- alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList;
1276
- alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList;
1277
- grafanaBackupSchedules?: BackupScheduleResponseGrafanaBackupSchedulesList;
1275
+ alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList | undefined;
1276
+ alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList | undefined;
1277
+ grafanaBackupSchedules?: BackupScheduleResponseGrafanaBackupSchedulesList | undefined;
1278
1278
  message: string;
1279
- scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList;
1279
+ scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList | undefined;
1280
1280
  }
1281
1281
  export interface ListCertChecksRequest {
1282
1282
  projectId: string;
@@ -1290,8 +1290,8 @@ export type ServiceKeysListCredentialsInfoMap = {
1290
1290
  [key: string]: string | null | undefined;
1291
1291
  };
1292
1292
  export interface ServiceKeysList {
1293
- credentialsInfo?: ServiceKeysListCredentialsInfoMap;
1294
- description?: string;
1293
+ credentialsInfo?: ServiceKeysListCredentialsInfoMap | undefined;
1294
+ description?: string | undefined;
1295
1295
  id: string;
1296
1296
  name: string;
1297
1297
  }
@@ -1313,10 +1313,10 @@ export interface ListInstancesRequest {
1313
1313
  }
1314
1314
  export type ProjectInstanceFullStatus = "CREATING" | "CREATE_SUCCEEDED" | "CREATE_FAILED" | "DELETING" | "DELETE_SUCCEEDED" | "DELETE_FAILED" | "UPDATING" | "UPDATE_SUCCEEDED" | "UPDATE_FAILED";
1315
1315
  export interface ProjectInstanceFull {
1316
- error?: string | null;
1316
+ error?: string | null | undefined;
1317
1317
  id: string;
1318
1318
  instance: string;
1319
- name?: string;
1319
+ name?: string | undefined;
1320
1320
  planName: string;
1321
1321
  serviceName: string;
1322
1322
  status: ProjectInstanceFullStatus;
@@ -1349,22 +1349,22 @@ export interface Plan {
1349
1349
  alertMatchers: number;
1350
1350
  alertReceivers: number;
1351
1351
  alertRules: number;
1352
- amount?: number;
1352
+ amount?: number | undefined;
1353
1353
  bucketSize: number;
1354
- description?: string;
1354
+ description?: string | undefined;
1355
1355
  grafanaGlobalDashboards: number;
1356
1356
  grafanaGlobalOrgs: number;
1357
1357
  grafanaGlobalSessions: number;
1358
1358
  grafanaGlobalUsers: number;
1359
1359
  id: string;
1360
- isFree?: boolean;
1361
- isPublic?: boolean;
1360
+ isFree?: boolean | undefined;
1361
+ isPublic?: boolean | undefined;
1362
1362
  logsAlert: number;
1363
1363
  logsStorage: number;
1364
- name?: string;
1364
+ name?: string | undefined;
1365
1365
  planId: string;
1366
1366
  samplesPerScrape: number;
1367
- schema?: string;
1367
+ schema?: string | undefined;
1368
1368
  targetNumber: number;
1369
1369
  totalMetricSamples: number;
1370
1370
  tracesStorage: number;
@@ -1419,7 +1419,7 @@ export type PartialUpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlert
1419
1419
  /** 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. */
1420
1420
  export interface PartialUpdateAlertgroupsRequestBodyItem {
1421
1421
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1422
- interval?: string;
1422
+ interval?: string | undefined;
1423
1423
  /** 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- */
1424
1424
  name: string;
1425
1425
  /** rules for the alert group */
@@ -1437,7 +1437,7 @@ export interface PartialUpdateAlertRecordsRequestBodyItem {
1437
1437
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1438
1438
  expr: string;
1439
1439
  /** 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 */
1440
- labels?: unknown;
1440
+ labels?: unknown | undefined;
1441
1441
  /** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
1442
1442
  record: string;
1443
1443
  }
@@ -1454,13 +1454,13 @@ export interface PartialUpdateAlertrulesRequestBodyItem {
1454
1454
  /** 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- */
1455
1455
  alert: string;
1456
1456
  /** 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 */
1457
- annotations?: unknown;
1457
+ annotations?: unknown | undefined;
1458
1458
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1459
1459
  expr: string;
1460
1460
  /** 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 */
1461
- for?: string;
1461
+ for?: string | undefined;
1462
1462
  /** 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 */
1463
- labels?: unknown;
1463
+ labels?: unknown | undefined;
1464
1464
  }
1465
1465
  /** Array of alert rules that should be created or updated */
1466
1466
  export type PartialUpdateAlertrulesRequestBodyList = Array<PartialUpdateAlertrulesRequestBodyItem>;
@@ -1485,9 +1485,9 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth
1485
1485
  /** clientSecret */
1486
1486
  clientSecret: string | Redacted.Redacted<string>;
1487
1487
  /** The URL to fetch the token from. */
1488
- scopes?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList;
1488
+ scopes?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList | undefined;
1489
1489
  /** Configures the scrape request's TLS settings. */
1490
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1490
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1491
1491
  /** The URL to fetch the token from. */
1492
1492
  tokenUrl: string;
1493
1493
  }
@@ -1495,13 +1495,13 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth
1495
1495
  export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1496
1496
  export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem {
1497
1497
  /** 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 */
1498
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
1498
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
1499
1499
  /** 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 */
1500
- oauth2?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2;
1500
+ oauth2?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 | undefined;
1501
1501
  /** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
1502
- refreshInterval?: string;
1502
+ refreshInterval?: string | undefined;
1503
1503
  /** Configures the scrape request's TLS settings. */
1504
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1504
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1505
1505
  /** URL from which the targets are fetched. */
1506
1506
  url: string;
1507
1507
  }
@@ -1513,19 +1513,19 @@ export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAc
1513
1513
  export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
1514
1514
  export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem {
1515
1515
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
1516
- action?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction | (string & {});
1516
+ action?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction | (string & {}) | undefined;
1517
1517
  /** Modulus to take of the hash of the source label values. */
1518
- modulus?: number;
1518
+ modulus?: number | undefined;
1519
1519
  /** Regular expression against which the extracted value is matched. */
1520
- regex?: string;
1520
+ regex?: string | undefined;
1521
1521
  /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
1522
- replacement?: string;
1522
+ replacement?: string | undefined;
1523
1523
  /** Separator placed between concatenated source label values. */
1524
- separator?: string;
1524
+ separator?: string | undefined;
1525
1525
  /** 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. */
1526
- sourceLabels?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList;
1526
+ sourceLabels?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList | undefined;
1527
1527
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
1528
- targetLabel?: string;
1528
+ targetLabel?: string | undefined;
1529
1529
  }
1530
1530
  /** List of metric relabel configurations */
1531
1531
  export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList = Array<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem>;
@@ -1540,9 +1540,9 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemOauth2 {
1540
1540
  /** clientSecret */
1541
1541
  clientSecret: string | Redacted.Redacted<string>;
1542
1542
  /** The URL to fetch the token from. */
1543
- scopes?: PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList;
1543
+ scopes?: PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList | undefined;
1544
1544
  /** Configures the scrape request's TLS settings. */
1545
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1545
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1546
1546
  /** The URL to fetch the token from. */
1547
1547
  tokenUrl: string;
1548
1548
  }
@@ -1552,7 +1552,7 @@ export type PartialUpdateScrapeConfigsRequestBodyItemScheme = "http" | "https";
1552
1552
  export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList = Array<string>;
1553
1553
  export interface PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem {
1554
1554
  /** 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 */
1555
- labels?: unknown;
1555
+ labels?: unknown | undefined;
1556
1556
  /** The targets specified by the static config. */
1557
1557
  targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList;
1558
1558
  }
@@ -1562,27 +1562,27 @@ export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList = Array<P
1562
1562
  export type PartialUpdateScrapeConfigsRequestBodyItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1563
1563
  export interface PartialUpdateScrapeConfigsRequestBodyItem {
1564
1564
  /** 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 */
1565
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
1565
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
1566
1566
  /** 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 */
1567
- bearerToken?: string;
1567
+ bearerToken?: string | undefined;
1568
1568
  /** 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. */
1569
- honorLabels?: boolean;
1569
+ honorLabels?: boolean | undefined;
1570
1570
  /** 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. */
1571
- honorTimeStamps?: boolean;
1571
+ honorTimeStamps?: boolean | undefined;
1572
1572
  /** 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. */
1573
- httpSdConfigs?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList;
1573
+ httpSdConfigs?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList | undefined;
1574
1574
  /** 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- */
1575
1575
  jobName: string;
1576
1576
  /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
1577
- metricsPath?: string;
1577
+ metricsPath?: string | undefined;
1578
1578
  /** List of metric relabel configurations */
1579
- metricsRelabelConfigs?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList;
1579
+ metricsRelabelConfigs?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList | undefined;
1580
1580
  /** 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 */
1581
- oauth2?: PartialUpdateScrapeConfigsRequestBodyItemOauth2;
1581
+ oauth2?: PartialUpdateScrapeConfigsRequestBodyItemOauth2 | undefined;
1582
1582
  /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
1583
- params?: unknown;
1583
+ params?: unknown | undefined;
1584
1584
  /** 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 */
1585
- sampleLimit?: number;
1585
+ sampleLimit?: number | undefined;
1586
1586
  /** Configures the protocol scheme used for requests. https or http */
1587
1587
  scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme | (string & {});
1588
1588
  /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
@@ -1592,7 +1592,7 @@ export interface PartialUpdateScrapeConfigsRequestBodyItem {
1592
1592
  /** A list of scrape configurations. */
1593
1593
  staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList;
1594
1594
  /** Configures the scrape request's TLS settings. */
1595
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1595
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1596
1596
  }
1597
1597
  /** Array of jobs that should be created or updated */
1598
1598
  export type PartialUpdateScrapeConfigsRequestBodyList = Array<PartialUpdateScrapeConfigsRequestBodyItem>;
@@ -1630,12 +1630,12 @@ export interface UpdateAlertConfigReceiverRequest {
1630
1630
  instanceId: string;
1631
1631
  receiver: string;
1632
1632
  /** Email configurations */
1633
- emailConfigs?: UpdateAlertConfigReceiverRequestEmailConfigsList;
1633
+ emailConfigs?: UpdateAlertConfigReceiverRequestEmailConfigsList | undefined;
1634
1634
  /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
1635
1635
  name: string;
1636
1636
  /** Configuration for ops genie. */
1637
- opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList;
1638
- webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList;
1637
+ opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList | undefined;
1638
+ webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList | undefined;
1639
1639
  }
1640
1640
  /** 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. */
1641
1641
  export type UpdateAlertConfigRouteRequestGroupByList = Array<string>;
@@ -1649,24 +1649,24 @@ export type UpdateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
1649
1649
  /** As in one level above */
1650
1650
  export interface UpdateAlertConfigRouteRequestRoutesItem {
1651
1651
  /** Whether an alert should continue matching subsequent sibling nodes. */
1652
- continue?: boolean;
1653
- groupBy?: UpdateAlertConfigRouteRequestRoutesItemGroupByList;
1652
+ continue?: boolean | undefined;
1653
+ groupBy?: UpdateAlertConfigRouteRequestRoutesItemGroupByList | undefined;
1654
1654
  /** As in one level above */
1655
- groupInterval?: string;
1655
+ groupInterval?: string | undefined;
1656
1656
  /** As in one level above */
1657
- groupWait?: string;
1657
+ groupWait?: string | undefined;
1658
1658
  /** As in one level above */
1659
- match?: unknown;
1659
+ match?: unknown | undefined;
1660
1660
  /** As in one level above */
1661
- matchRe?: unknown;
1661
+ matchRe?: unknown | undefined;
1662
1662
  /** As in one level above */
1663
- matchers?: UpdateAlertConfigRouteRequestRoutesItemMatchersList;
1663
+ matchers?: UpdateAlertConfigRouteRequestRoutesItemMatchersList | undefined;
1664
1664
  /** As in one level above */
1665
- receiver?: string;
1665
+ receiver?: string | undefined;
1666
1666
  /** As in one level above */
1667
- repeatInterval?: string;
1667
+ repeatInterval?: string | undefined;
1668
1668
  /** Another child routes */
1669
- routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList;
1669
+ routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList | undefined;
1670
1670
  }
1671
1671
  /** Zero or more child routes. */
1672
1672
  export type UpdateAlertConfigRouteRequestRoutesList = Array<UpdateAlertConfigRouteRequestRoutesItem>;
@@ -1675,57 +1675,57 @@ export interface UpdateAlertConfigRouteRequest {
1675
1675
  instanceId: string;
1676
1676
  receiver: string;
1677
1677
  /** 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. */
1678
- continue?: boolean;
1678
+ continue?: boolean | undefined;
1679
1679
  /** 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. */
1680
- groupBy?: UpdateAlertConfigRouteRequestGroupByList;
1680
+ groupBy?: UpdateAlertConfigRouteRequestGroupByList | undefined;
1681
1681
  /** 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 */
1682
- groupInterval?: string;
1682
+ groupInterval?: string | undefined;
1683
1683
  /** 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 */
1684
- groupWait?: string;
1684
+ groupWait?: string | undefined;
1685
1685
  /** 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_./@&?:- */
1686
- match?: unknown;
1686
+ match?: unknown | undefined;
1687
1687
  /** 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 */
1688
- matchRe?: unknown;
1688
+ matchRe?: unknown | undefined;
1689
1689
  /** 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 */
1690
- matchers?: UpdateAlertConfigRouteRequestMatchersList;
1690
+ matchers?: UpdateAlertConfigRouteRequestMatchersList | undefined;
1691
1691
  /** 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 */
1692
- repeatInterval?: string;
1692
+ repeatInterval?: string | undefined;
1693
1693
  /** Zero or more child routes. */
1694
- routes?: UpdateAlertConfigRouteRequestRoutesList;
1694
+ routes?: UpdateAlertConfigRouteRequestRoutesList | undefined;
1695
1695
  }
1696
1696
  /** 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. */
1697
1697
  export interface UpdateAlertConfigsRequestGlobal {
1698
1698
  /** Opsgenie api key `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
1699
- opsgenieApiKey?: string;
1699
+ opsgenieApiKey?: string | undefined;
1700
1700
  /** Opsgenie api url `Additional Validators:` * must be a syntactically valid url address */
1701
- opsgenieApiUrl?: string;
1701
+ opsgenieApiUrl?: string | undefined;
1702
1702
  /** 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 */
1703
- resolveTimeout?: string;
1703
+ resolveTimeout?: string | undefined;
1704
1704
  /** Auth identity. `Additional Validators:` * must be a syntactically valid email address */
1705
- smtpAuthIdentity?: string;
1705
+ smtpAuthIdentity?: string | undefined;
1706
1706
  /** SMTP Auth using LOGIN and PLAIN. */
1707
- smtpAuthPassword?: string | Redacted.Redacted<string>;
1707
+ smtpAuthPassword?: string | Redacted.Redacted<string> | undefined;
1708
1708
  /** SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. */
1709
- smtpAuthUsername?: string;
1709
+ smtpAuthUsername?: string | undefined;
1710
1710
  /** The default SMTP From header field. `Additional Validators:` * must be a syntactically valid email address */
1711
- smtpFrom?: string;
1711
+ smtpFrom?: string | undefined;
1712
1712
  /** 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_./@&?:- */
1713
- smtpSmarthost?: string;
1713
+ smtpSmarthost?: string | undefined;
1714
1714
  }
1715
1715
  /** 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_./@&?:- */
1716
1716
  export type UpdateAlertConfigsRequestInhibitRulesEqualList = Array<string>;
1717
1717
  /** A list of inhibition rules. */
1718
1718
  export interface UpdateAlertConfigsRequestInhibitRules {
1719
1719
  /** 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_./@&?:- */
1720
- equal?: UpdateAlertConfigsRequestInhibitRulesEqualList;
1720
+ equal?: UpdateAlertConfigsRequestInhibitRulesEqualList | undefined;
1721
1721
  /** 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_./@&?:- */
1722
- sourceMatch?: unknown;
1722
+ sourceMatch?: unknown | undefined;
1723
1723
  /** 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 */
1724
- sourceMatchRe?: unknown;
1724
+ sourceMatchRe?: unknown | undefined;
1725
1725
  /** 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_./@&?:- */
1726
- targetMatch?: unknown;
1726
+ targetMatch?: unknown | undefined;
1727
1727
  /** 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 */
1728
- targetMatchRe?: unknown;
1728
+ targetMatchRe?: unknown | undefined;
1729
1729
  }
1730
1730
  export type UpdateAlertConfigsRequestReceiversItemEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
1731
1731
  /** Email configurations */
@@ -1738,12 +1738,12 @@ export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsList = Array<Cre
1738
1738
  /** Receivers */
1739
1739
  export interface UpdateAlertConfigsRequestReceiversItem {
1740
1740
  /** Email configurations */
1741
- emailConfigs?: UpdateAlertConfigsRequestReceiversItemEmailConfigsList;
1741
+ emailConfigs?: UpdateAlertConfigsRequestReceiversItemEmailConfigsList | undefined;
1742
1742
  /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
1743
1743
  name: string;
1744
1744
  /** Configuration for ops genie. */
1745
- opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList;
1746
- webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList;
1745
+ opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList | undefined;
1746
+ webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList | undefined;
1747
1747
  }
1748
1748
  /** A list of notification receivers. */
1749
1749
  export type UpdateAlertConfigsRequestReceiversList = Array<UpdateAlertConfigsRequestReceiversItem>;
@@ -1757,55 +1757,55 @@ export type UpdateAlertConfigsRequestRouteRoutesItemRoutesList = Array<unknown>;
1757
1757
  /** As in one level above */
1758
1758
  export interface UpdateAlertConfigsRequestRouteRoutesItem {
1759
1759
  /** Whether an alert should continue matching subsequent sibling nodes. */
1760
- continue?: boolean;
1761
- groupBy?: UpdateAlertConfigsRequestRouteRoutesItemGroupByList;
1760
+ continue?: boolean | undefined;
1761
+ groupBy?: UpdateAlertConfigsRequestRouteRoutesItemGroupByList | undefined;
1762
1762
  /** As in one level above */
1763
- groupInterval?: string;
1763
+ groupInterval?: string | undefined;
1764
1764
  /** As in one level above */
1765
- groupWait?: string;
1765
+ groupWait?: string | undefined;
1766
1766
  /** As in one level above */
1767
- match?: unknown;
1767
+ match?: unknown | undefined;
1768
1768
  /** As in one level above */
1769
- matchRe?: unknown;
1769
+ matchRe?: unknown | undefined;
1770
1770
  /** 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 */
1771
- matchers?: UpdateAlertConfigsRequestRouteRoutesItemMatchersList;
1771
+ matchers?: UpdateAlertConfigsRequestRouteRoutesItemMatchersList | undefined;
1772
1772
  /** As in one level above */
1773
- receiver?: string;
1773
+ receiver?: string | undefined;
1774
1774
  /** As in one level above */
1775
- repeatInterval?: string;
1775
+ repeatInterval?: string | undefined;
1776
1776
  /** Another child routes */
1777
- routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList;
1777
+ routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList | undefined;
1778
1778
  }
1779
1779
  /** Zero or more child routes. */
1780
1780
  export type UpdateAlertConfigsRequestRouteRoutesList = Array<UpdateAlertConfigsRequestRouteRoutesItem>;
1781
1781
  /** The root node of the routing tree. */
1782
1782
  export interface UpdateAlertConfigsRequestRoute {
1783
1783
  /** 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. */
1784
- continue?: boolean;
1784
+ continue?: boolean | undefined;
1785
1785
  /** 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. */
1786
- groupBy?: UpdateAlertConfigsRequestRouteGroupByList;
1786
+ groupBy?: UpdateAlertConfigsRequestRouteGroupByList | undefined;
1787
1787
  /** 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 */
1788
- groupInterval?: string;
1788
+ groupInterval?: string | undefined;
1789
1789
  /** 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 */
1790
- groupWait?: string;
1790
+ groupWait?: string | undefined;
1791
1791
  /** 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_./@&?:- */
1792
- match?: unknown;
1792
+ match?: unknown | undefined;
1793
1793
  /** 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 */
1794
- matchRe?: unknown;
1794
+ matchRe?: unknown | undefined;
1795
1795
  /** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
1796
1796
  receiver: string;
1797
1797
  /** 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 */
1798
- repeatInterval?: string;
1798
+ repeatInterval?: string | undefined;
1799
1799
  /** Zero or more child routes. */
1800
- routes?: UpdateAlertConfigsRequestRouteRoutesList;
1800
+ routes?: UpdateAlertConfigsRequestRouteRoutesList | undefined;
1801
1801
  }
1802
1802
  export interface UpdateAlertConfigsRequest {
1803
1803
  projectId: string;
1804
1804
  instanceId: string;
1805
1805
  /** 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. */
1806
- global?: UpdateAlertConfigsRequestGlobal;
1806
+ global?: UpdateAlertConfigsRequestGlobal | undefined;
1807
1807
  /** A list of inhibition rules. */
1808
- inhibitRules?: UpdateAlertConfigsRequestInhibitRules;
1808
+ inhibitRules?: UpdateAlertConfigsRequestInhibitRules | undefined;
1809
1809
  /** A list of notification receivers. */
1810
1810
  receivers: UpdateAlertConfigsRequestReceiversList;
1811
1811
  /** The root node of the routing tree. */
@@ -1824,7 +1824,7 @@ export interface UpdateAlertgroupRequest {
1824
1824
  instanceId: string;
1825
1825
  groupName: string;
1826
1826
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1827
- interval?: string;
1827
+ interval?: string | undefined;
1828
1828
  /** rules for the alert group */
1829
1829
  rules: UpdateAlertgroupRequestRulesList;
1830
1830
  }
@@ -1835,7 +1835,7 @@ export type UpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsR
1835
1835
  /** 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. */
1836
1836
  export interface UpdateAlertgroupsRequestBodyItem {
1837
1837
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1838
- interval?: string;
1838
+ interval?: string | undefined;
1839
1839
  /** 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- */
1840
1840
  name: string;
1841
1841
  /** rules for the alert group */
@@ -1856,7 +1856,7 @@ export interface UpdateAlertRecordRequest {
1856
1856
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1857
1857
  expr: string;
1858
1858
  /** 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 */
1859
- labels?: unknown;
1859
+ labels?: unknown | undefined;
1860
1860
  }
1861
1861
  export interface UpdateAlertruleRequest {
1862
1862
  projectId: string;
@@ -1864,24 +1864,24 @@ export interface UpdateAlertruleRequest {
1864
1864
  groupName: string;
1865
1865
  alertName: string;
1866
1866
  /** 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 */
1867
- annotations?: unknown;
1867
+ annotations?: unknown | undefined;
1868
1868
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1869
1869
  expr: string;
1870
1870
  /** 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 */
1871
- for?: string;
1871
+ for?: string | undefined;
1872
1872
  /** 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 */
1873
- labels?: unknown;
1873
+ labels?: unknown | undefined;
1874
1874
  }
1875
1875
  export interface UpdateCredentialsRemoteWriteConfigRequest {
1876
1876
  projectId: string;
1877
1877
  instanceId: string;
1878
1878
  username: string;
1879
1879
  /** Remote write metric sample limit for credential to push in a single minute. */
1880
- maxLimit?: number;
1880
+ maxLimit?: number | undefined;
1881
1881
  }
1882
1882
  export interface UpdateGrafanaConfigsRequestGenericOauth {
1883
1883
  /** 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. */
1884
- allowAssignGrafanaAdmin?: boolean;
1884
+ allowAssignGrafanaAdmin?: boolean | undefined;
1885
1885
  /** Set api_url to the resource that returns OpenID UserInfo compatible information. */
1886
1886
  apiUrl: string;
1887
1887
  /** Authentication endpoint of idp. */
@@ -1889,7 +1889,7 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
1889
1889
  /** Enable or disable generic oauth login */
1890
1890
  enabled: boolean;
1891
1891
  /** Display name for the oAuth provider */
1892
- name?: string;
1892
+ name?: string | undefined;
1893
1893
  /** Oauth client id for auth endpoint. */
1894
1894
  oauthClientId: string;
1895
1895
  /** Oauth client secret for auth endpoint. */
@@ -1897,34 +1897,34 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
1897
1897
  /** 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' */
1898
1898
  roleAttributePath: string;
1899
1899
  /** 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. */
1900
- roleAttributeStrict?: boolean;
1900
+ roleAttributeStrict?: boolean | undefined;
1901
1901
  /** Space seperated list of scopes of the token */
1902
- scopes?: string;
1902
+ scopes?: string | undefined;
1903
1903
  /** Token endpoint of the idp. */
1904
1904
  tokenUrl: string;
1905
1905
  /** Enable or disable Proof Key for Code Exchange */
1906
- usePkce?: boolean;
1906
+ usePkce?: boolean | undefined;
1907
1907
  }
1908
1908
  export interface UpdateGrafanaConfigsRequest {
1909
1909
  projectId: string;
1910
1910
  instanceId: string;
1911
- genericOauth?: UpdateGrafanaConfigsRequestGenericOauth;
1911
+ genericOauth?: UpdateGrafanaConfigsRequestGenericOauth | undefined;
1912
1912
  /** If it's true, anyone can access the Grafana dashboards without logging in. If it is wrong, a login is required. */
1913
- publicReadAccess?: boolean;
1913
+ publicReadAccess?: boolean | undefined;
1914
1914
  /** If it's true, it overwrites the current genericOauth config and configures STACKIT SSO for this instance. */
1915
- useStackitSso?: boolean;
1915
+ useStackitSso?: boolean | undefined;
1916
1916
  }
1917
1917
  export interface UpdateInstanceRequest {
1918
1918
  projectId: string;
1919
1919
  instanceId: string;
1920
1920
  /** 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. */
1921
- grafanaAdminEnabled?: boolean;
1921
+ grafanaAdminEnabled?: boolean | undefined;
1922
1922
  /** Name of the service */
1923
- name?: string;
1923
+ name?: string | undefined;
1924
1924
  /** Additional parameters */
1925
- parameter?: unknown;
1925
+ parameter?: unknown | undefined;
1926
1926
  /** UUID of the plan to update */
1927
- planId?: string;
1927
+ planId?: string | undefined;
1928
1928
  }
1929
1929
  /** 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. */
1930
1930
  export type UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
@@ -1935,7 +1935,7 @@ export interface UpdateLogsAlertgroupRequest {
1935
1935
  instanceId: string;
1936
1936
  groupName: string;
1937
1937
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1938
- interval?: string;
1938
+ interval?: string | undefined;
1939
1939
  /** rules for the alert group */
1940
1940
  rules: UpdateLogsAlertgroupRequestRulesList;
1941
1941
  }
@@ -1963,19 +1963,19 @@ export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction = "replace"
1963
1963
  export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
1964
1964
  export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
1965
1965
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
1966
- action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
1966
+ action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {}) | undefined;
1967
1967
  /** Modulus to take of the hash of the source label values. */
1968
- modulus?: number;
1968
+ modulus?: number | undefined;
1969
1969
  /** Regular expression against which the extracted value is matched. */
1970
- regex?: string;
1970
+ regex?: string | undefined;
1971
1971
  /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
1972
- replacement?: string;
1972
+ replacement?: string | undefined;
1973
1973
  /** Separator placed between concatenated source label values. */
1974
- separator?: string;
1974
+ separator?: string | undefined;
1975
1975
  /** 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. */
1976
- sourceLabels?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
1976
+ sourceLabels?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList | undefined;
1977
1977
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
1978
- targetLabel?: string;
1978
+ targetLabel?: string | undefined;
1979
1979
  }
1980
1980
  /** List of metric relabel configurations */
1981
1981
  export type UpdateScrapeConfigRequestMetricsRelabelConfigsList = Array<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
@@ -1985,7 +1985,7 @@ export type UpdateScrapeConfigRequestScheme = "http" | "https";
1985
1985
  export type UpdateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
1986
1986
  export interface UpdateScrapeConfigRequestStaticConfigsItem {
1987
1987
  /** 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 */
1988
- labels?: unknown;
1988
+ labels?: unknown | undefined;
1989
1989
  /** The targets specified by the static config. */
1990
1990
  targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList;
1991
1991
  }
@@ -1998,21 +1998,21 @@ export interface UpdateScrapeConfigRequest {
1998
1998
  instanceId: string;
1999
1999
  jobName: string;
2000
2000
  /** 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 */
2001
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
2001
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
2002
2002
  /** 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 */
2003
- bearerToken?: string;
2003
+ bearerToken?: string | undefined;
2004
2004
  /** 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. */
2005
- honorLabels?: boolean;
2005
+ honorLabels?: boolean | undefined;
2006
2006
  /** 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. */
2007
- honorTimeStamps?: boolean;
2007
+ honorTimeStamps?: boolean | undefined;
2008
2008
  /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
2009
2009
  metricsPath: string;
2010
2010
  /** List of metric relabel configurations */
2011
- metricsRelabelConfigs?: UpdateScrapeConfigRequestMetricsRelabelConfigsList;
2011
+ metricsRelabelConfigs?: UpdateScrapeConfigRequestMetricsRelabelConfigsList | undefined;
2012
2012
  /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
2013
- params?: unknown;
2013
+ params?: unknown | undefined;
2014
2014
  /** 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 */
2015
- sampleLimit?: number;
2015
+ sampleLimit?: number | undefined;
2016
2016
  /** Configures the protocol scheme used for requests. https or http */
2017
2017
  scheme: UpdateScrapeConfigRequestScheme | (string & {});
2018
2018
  /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
@@ -2022,7 +2022,7 @@ export interface UpdateScrapeConfigRequest {
2022
2022
  /** A list of scrape configurations. */
2023
2023
  staticConfigs: UpdateScrapeConfigRequestStaticConfigsList;
2024
2024
  /** Configures the scrape request's TLS settings. */
2025
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2025
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
2026
2026
  }
2027
2027
  export interface UpdateTracesConfigsRequest {
2028
2028
  projectId: string;