@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.20

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 (301) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/errors.d.ts +5 -8
  4. package/lib/errors.d.ts.map +1 -1
  5. package/lib/pagination.d.ts.map +1 -1
  6. package/lib/protocol.d.ts +2 -1
  7. package/lib/protocol.d.ts.map +1 -1
  8. package/lib/services/alb.d.ts +134 -132
  9. package/lib/services/alb.d.ts.map +1 -1
  10. package/lib/services/alb.js +24 -24
  11. package/lib/services/alb.js.map +1 -1
  12. package/lib/services/alb_waf.d.ts +51 -51
  13. package/lib/services/alb_waf.d.ts.map +1 -1
  14. package/lib/services/alb_waf.js +29 -29
  15. package/lib/services/alb_waf.js.map +1 -1
  16. package/lib/services/authorization.d.ts +15 -15
  17. package/lib/services/authorization.d.ts.map +1 -1
  18. package/lib/services/authorization.js +1 -1
  19. package/lib/services/authorization.js.map +1 -1
  20. package/lib/services/automation.d.ts +47 -46
  21. package/lib/services/automation.d.ts.map +1 -1
  22. package/lib/services/automation.js +22 -22
  23. package/lib/services/automation.js.map +1 -1
  24. package/lib/services/cdn.d.ts +129 -129
  25. package/lib/services/cdn.d.ts.map +1 -1
  26. package/lib/services/cdn.js +27 -27
  27. package/lib/services/cdn.js.map +1 -1
  28. package/lib/services/certificates.d.ts +40 -40
  29. package/lib/services/certificates.d.ts.map +1 -1
  30. package/lib/services/certificates.js +1 -1
  31. package/lib/services/certificates.js.map +1 -1
  32. package/lib/services/cost.d.ts +15 -15
  33. package/lib/services/cost.d.ts.map +1 -1
  34. package/lib/services/cost.js +1 -1
  35. package/lib/services/cost.js.map +1 -1
  36. package/lib/services/dns.d.ts +218 -161
  37. package/lib/services/dns.d.ts.map +1 -1
  38. package/lib/services/dns.js +40 -39
  39. package/lib/services/dns.js.map +1 -1
  40. package/lib/services/dremio.d.ts +49 -34
  41. package/lib/services/dremio.d.ts.map +1 -1
  42. package/lib/services/dremio.js +1 -1
  43. package/lib/services/dremio.js.map +1 -1
  44. package/lib/services/edge.d.ts +21 -21
  45. package/lib/services/edge.d.ts.map +1 -1
  46. package/lib/services/edge.js +23 -23
  47. package/lib/services/edge.js.map +1 -1
  48. package/lib/services/functions.d.ts +104 -101
  49. package/lib/services/functions.d.ts.map +1 -1
  50. package/lib/services/functions.js +24 -24
  51. package/lib/services/functions.js.map +1 -1
  52. package/lib/services/git.d.ts +120 -29
  53. package/lib/services/git.d.ts.map +1 -1
  54. package/lib/services/git.js +37 -33
  55. package/lib/services/git.js.map +1 -1
  56. package/lib/services/iaas.d.ts +430 -415
  57. package/lib/services/iaas.d.ts.map +1 -1
  58. package/lib/services/iaas.js +179 -179
  59. package/lib/services/iaas.js.map +1 -1
  60. package/lib/services/identity.d.ts +204 -0
  61. package/lib/services/identity.d.ts.map +1 -0
  62. package/lib/services/identity.js +2 -0
  63. package/lib/services/identity.js.map +1 -0
  64. package/lib/services/index.d.ts +2 -0
  65. package/lib/services/index.d.ts.map +1 -1
  66. package/lib/services/index.js +2 -0
  67. package/lib/services/intake.d.ts +58 -58
  68. package/lib/services/intake.d.ts.map +1 -1
  69. package/lib/services/intake.js +25 -25
  70. package/lib/services/intake.js.map +1 -1
  71. package/lib/services/kms.d.ts +13 -13
  72. package/lib/services/kms.d.ts.map +1 -1
  73. package/lib/services/kms.js +37 -37
  74. package/lib/services/kms.js.map +1 -1
  75. package/lib/services/lb_ip_lists.d.ts +14 -14
  76. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  77. package/lib/services/lb_ip_lists.js +1 -1
  78. package/lib/services/lb_ip_lists.js.map +1 -1
  79. package/lib/services/load_balancer.d.ts +128 -126
  80. package/lib/services/load_balancer.d.ts.map +1 -1
  81. package/lib/services/load_balancer.js +25 -25
  82. package/lib/services/load_balancer.js.map +1 -1
  83. package/lib/services/logme.d.ts +96 -45
  84. package/lib/services/logme.d.ts.map +1 -1
  85. package/lib/services/logme.js +34 -31
  86. package/lib/services/logme.js.map +1 -1
  87. package/lib/services/logs.d.ts +78 -24
  88. package/lib/services/logs.d.ts.map +1 -1
  89. package/lib/services/logs.js +34 -33
  90. package/lib/services/logs.js.map +1 -1
  91. package/lib/services/mailout.d.ts +476 -0
  92. package/lib/services/mailout.d.ts.map +1 -0
  93. package/lib/services/mailout.js +33 -0
  94. package/lib/services/mailout.js.map +1 -0
  95. package/lib/services/mariadb.d.ts +81 -30
  96. package/lib/services/mariadb.d.ts.map +1 -1
  97. package/lib/services/mariadb.js +35 -32
  98. package/lib/services/mariadb.js.map +1 -1
  99. package/lib/services/model_experiments.d.ts +33 -33
  100. package/lib/services/model_experiments.d.ts.map +1 -1
  101. package/lib/services/model_experiments.js +1 -1
  102. package/lib/services/model_experiments.js.map +1 -1
  103. package/lib/services/model_serving.d.ts +25 -25
  104. package/lib/services/model_serving.d.ts.map +1 -1
  105. package/lib/services/model_serving.js +1 -1
  106. package/lib/services/model_serving.js.map +1 -1
  107. package/lib/services/mongodb_flex.d.ts +142 -137
  108. package/lib/services/mongodb_flex.d.ts.map +1 -1
  109. package/lib/services/mongodb_flex.js +38 -38
  110. package/lib/services/mongodb_flex.js.map +1 -1
  111. package/lib/services/object_storage.d.ts +6 -6
  112. package/lib/services/object_storage.d.ts.map +1 -1
  113. package/lib/services/object_storage.js +34 -34
  114. package/lib/services/object_storage.js.map +1 -1
  115. package/lib/services/observability.d.ts +362 -362
  116. package/lib/services/observability.d.ts.map +1 -1
  117. package/lib/services/observability.js +155 -155
  118. package/lib/services/observability.js.map +1 -1
  119. package/lib/services/opensearch.d.ts +87 -36
  120. package/lib/services/opensearch.d.ts.map +1 -1
  121. package/lib/services/opensearch.js +35 -32
  122. package/lib/services/opensearch.js.map +1 -1
  123. package/lib/services/pim.d.ts +334 -278
  124. package/lib/services/pim.d.ts.map +1 -1
  125. package/lib/services/pim.js +27 -27
  126. package/lib/services/pim.js.map +1 -1
  127. package/lib/services/postgres_flex.d.ts +59 -55
  128. package/lib/services/postgres_flex.d.ts.map +1 -1
  129. package/lib/services/postgres_flex.js +47 -46
  130. package/lib/services/postgres_flex.js.map +1 -1
  131. package/lib/services/pubsub.d.ts +36 -36
  132. package/lib/services/pubsub.d.ts.map +1 -1
  133. package/lib/services/pubsub.js +33 -33
  134. package/lib/services/pubsub.js.map +1 -1
  135. package/lib/services/rabbitmq.d.ts +92 -41
  136. package/lib/services/rabbitmq.d.ts.map +1 -1
  137. package/lib/services/rabbitmq.js +36 -33
  138. package/lib/services/rabbitmq.js.map +1 -1
  139. package/lib/services/registry.d.ts +26 -22
  140. package/lib/services/registry.d.ts.map +1 -1
  141. package/lib/services/registry.js +1 -1
  142. package/lib/services/registry.js.map +1 -1
  143. package/lib/services/resource_manager.d.ts +56 -56
  144. package/lib/services/resource_manager.d.ts.map +1 -1
  145. package/lib/services/resource_manager.js +32 -32
  146. package/lib/services/resource_manager.js.map +1 -1
  147. package/lib/services/run_command.d.ts +42 -42
  148. package/lib/services/run_command.d.ts.map +1 -1
  149. package/lib/services/run_command.js +1 -1
  150. package/lib/services/run_command.js.map +1 -1
  151. package/lib/services/sca.d.ts +349 -213
  152. package/lib/services/sca.d.ts.map +1 -1
  153. package/lib/services/sca.js +31 -23
  154. package/lib/services/sca.js.map +1 -1
  155. package/lib/services/scf.d.ts +24 -24
  156. package/lib/services/scf.d.ts.map +1 -1
  157. package/lib/services/scf.js +36 -36
  158. package/lib/services/scf.js.map +1 -1
  159. package/lib/services/secrets_manager.d.ts +21 -21
  160. package/lib/services/secrets_manager.d.ts.map +1 -1
  161. package/lib/services/secrets_manager.js +39 -39
  162. package/lib/services/secrets_manager.js.map +1 -1
  163. package/lib/services/server_backup.d.ts +31 -31
  164. package/lib/services/server_backup.d.ts.map +1 -1
  165. package/lib/services/server_backup.js +25 -25
  166. package/lib/services/server_backup.js.map +1 -1
  167. package/lib/services/server_update.d.ts +17 -17
  168. package/lib/services/server_update.d.ts.map +1 -1
  169. package/lib/services/server_update.js +1 -1
  170. package/lib/services/server_update.js.map +1 -1
  171. package/lib/services/service_account.d.ts +30 -30
  172. package/lib/services/service_account.d.ts.map +1 -1
  173. package/lib/services/service_account.js +26 -26
  174. package/lib/services/service_account.js.map +1 -1
  175. package/lib/services/service_enablement.d.ts +22 -21
  176. package/lib/services/service_enablement.d.ts.map +1 -1
  177. package/lib/services/service_enablement.js +1 -1
  178. package/lib/services/service_enablement.js.map +1 -1
  179. package/lib/services/sfs.d.ts +151 -141
  180. package/lib/services/sfs.d.ts.map +1 -1
  181. package/lib/services/sfs.js +46 -45
  182. package/lib/services/sfs.js.map +1 -1
  183. package/lib/services/ske.d.ts +121 -110
  184. package/lib/services/ske.d.ts.map +1 -1
  185. package/lib/services/ske.js +23 -23
  186. package/lib/services/ske.js.map +1 -1
  187. package/lib/services/sqlserverflex.d.ts +47 -47
  188. package/lib/services/sqlserverflex.d.ts.map +1 -1
  189. package/lib/services/sqlserverflex.js +42 -42
  190. package/lib/services/sqlserverflex.js.map +1 -1
  191. package/lib/services/stackit_marketplace.d.ts +39 -39
  192. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  193. package/lib/services/stackit_marketplace.js +22 -22
  194. package/lib/services/stackit_marketplace.js.map +1 -1
  195. package/lib/services/telemetry_link.d.ts +80 -38
  196. package/lib/services/telemetry_link.d.ts.map +1 -1
  197. package/lib/services/telemetry_link.js +34 -33
  198. package/lib/services/telemetry_link.js.map +1 -1
  199. package/lib/services/telemetry_router.d.ts +116 -41
  200. package/lib/services/telemetry_router.d.ts.map +1 -1
  201. package/lib/services/telemetry_router.js +31 -28
  202. package/lib/services/telemetry_router.js.map +1 -1
  203. package/lib/services/ufw.d.ts +55 -54
  204. package/lib/services/ufw.d.ts.map +1 -1
  205. package/lib/services/ufw.js +1 -1
  206. package/lib/services/ufw.js.map +1 -1
  207. package/lib/services/valkey.d.ts +94 -43
  208. package/lib/services/valkey.d.ts.map +1 -1
  209. package/lib/services/valkey.js +35 -32
  210. package/lib/services/valkey.js.map +1 -1
  211. package/lib/services/vpn.d.ts +150 -142
  212. package/lib/services/vpn.d.ts.map +1 -1
  213. package/lib/services/vpn.js +40 -40
  214. package/lib/services/vpn.js.map +1 -1
  215. package/lib/services/workflows.d.ts +65 -65
  216. package/lib/services/workflows.d.ts.map +1 -1
  217. package/lib/services/workflows.js +23 -23
  218. package/lib/services/workflows.js.map +1 -1
  219. package/lib/services.lazy/alb.js +1 -1
  220. package/lib/services.lazy/automation.js +1 -1
  221. package/lib/services.lazy/dns.js +2 -2
  222. package/lib/services.lazy/functions.js +2 -2
  223. package/lib/services.lazy/git.js +2 -2
  224. package/lib/services.lazy/iaas.js +1 -1
  225. package/lib/services.lazy/identity.js +1 -0
  226. package/lib/services.lazy/index.js +2 -2
  227. package/lib/services.lazy/load_balancer.js +1 -1
  228. package/lib/services.lazy/logme.js +2 -2
  229. package/lib/services.lazy/logs.js +1 -1
  230. package/lib/services.lazy/mailout.js +4 -0
  231. package/lib/services.lazy/mariadb.js +2 -2
  232. package/lib/services.lazy/opensearch.js +2 -2
  233. package/lib/services.lazy/pim.js +1 -1
  234. package/lib/services.lazy/postgres_flex.js +1 -1
  235. package/lib/services.lazy/rabbitmq.js +2 -2
  236. package/lib/services.lazy/resource_manager.js +1 -1
  237. package/lib/services.lazy/sca.js +2 -2
  238. package/lib/services.lazy/secrets_manager.js +1 -1
  239. package/lib/services.lazy/sfs.js +2 -2
  240. package/lib/services.lazy/ske.js +1 -1
  241. package/lib/services.lazy/telemetry_link.js +1 -1
  242. package/lib/services.lazy/telemetry_router.js +2 -2
  243. package/lib/services.lazy/valkey.js +2 -2
  244. package/lib/services.lazy/vpn.js +1 -1
  245. package/package.json +5 -5
  246. package/src/errors.ts +5 -5
  247. package/src/pagination.ts +7 -3
  248. package/src/protocol.ts +11 -10
  249. package/src/services/alb.ts +135 -132
  250. package/src/services/alb_waf.ts +51 -51
  251. package/src/services/authorization.ts +15 -15
  252. package/src/services/automation.ts +53 -49
  253. package/src/services/cdn.ts +129 -129
  254. package/src/services/certificates.ts +40 -40
  255. package/src/services/cost.ts +15 -15
  256. package/src/services/dns.ts +497 -269
  257. package/src/services/dremio.ts +156 -118
  258. package/src/services/edge.ts +21 -21
  259. package/src/services/functions.ts +176 -172
  260. package/src/services/git.ts +354 -108
  261. package/src/services/iaas.ts +438 -415
  262. package/src/services/identity.ts +625 -0
  263. package/src/services/index.ts +2 -0
  264. package/src/services/intake.ts +58 -58
  265. package/src/services/kms.ts +13 -13
  266. package/src/services/lb_ip_lists.ts +14 -14
  267. package/src/services/load_balancer.ts +129 -126
  268. package/src/services/logme.ts +294 -122
  269. package/src/services/logs.ts +123 -72
  270. package/src/services/mailout.ts +1277 -0
  271. package/src/services/mariadb.ts +277 -105
  272. package/src/services/model_experiments.ts +33 -33
  273. package/src/services/model_serving.ts +25 -25
  274. package/src/services/mongodb_flex.ts +142 -137
  275. package/src/services/object_storage.ts +6 -6
  276. package/src/services/observability.ts +369 -362
  277. package/src/services/opensearch.ts +286 -114
  278. package/src/services/pim.ts +362 -278
  279. package/src/services/postgres_flex.ts +191 -179
  280. package/src/services/pubsub.ts +36 -36
  281. package/src/services/rabbitmq.ts +297 -125
  282. package/src/services/registry.ts +30 -26
  283. package/src/services/resource_manager.ts +57 -57
  284. package/src/services/run_command.ts +42 -42
  285. package/src/services/sca.ts +732 -371
  286. package/src/services/scf.ts +24 -24
  287. package/src/services/secrets_manager.ts +22 -22
  288. package/src/services/server_backup.ts +31 -31
  289. package/src/services/server_update.ts +17 -17
  290. package/src/services/service_account.ts +32 -30
  291. package/src/services/service_enablement.ts +28 -24
  292. package/src/services/sfs.ts +404 -395
  293. package/src/services/ske.ts +258 -228
  294. package/src/services/sqlserverflex.ts +47 -47
  295. package/src/services/stackit_marketplace.ts +39 -39
  296. package/src/services/telemetry_link.ts +136 -81
  297. package/src/services/telemetry_router.ts +283 -94
  298. package/src/services/ufw.ts +56 -54
  299. package/src/services/valkey.ts +290 -118
  300. package/src/services/vpn.ts +152 -142
  301. package/src/services/workflows.ts +65 -65
@@ -55,47 +55,47 @@ export class NotFound
55
55
 
56
56
  export interface CreateAlertConfigReceiverRequestEmailConfigsItem {
57
57
  /** SMTP authentication information. `Additional Validators:` * must be a syntactically valid email address */
58
- authIdentity?: string;
58
+ authIdentity?: string | undefined;
59
59
  /** SMTP authentication information. */
60
- authPassword?: string | Redacted.Redacted<string>;
60
+ authPassword?: string | Redacted.Redacted<string> | undefined;
61
61
  /** SMTP authentication information. */
62
- authUsername?: string;
62
+ authUsername?: string | undefined;
63
63
  /** The sender address. `Additional Validators:` * must be a syntactically valid email address */
64
- from?: string;
64
+ from?: string | undefined;
65
65
  /** Whether to notify about resolved alerts. */
66
- sendResolved?: boolean;
66
+ sendResolved?: boolean | undefined;
67
67
  /** The SMTP host through which emails are sent. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
68
- smarthost?: string;
68
+ smarthost?: string | undefined;
69
69
  /** The email address to send notifications to. `Additional Validators:` * must be a syntactically valid email address */
70
- to?: string;
70
+ to?: string | undefined;
71
71
  }
72
72
  /** Email configurations */
73
73
  export type CreateAlertConfigReceiverRequestEmailConfigsList =
74
74
  Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
75
75
  export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
76
76
  /** The API key to use when talking to the OpsGenie API. `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
77
- apiKey?: string | Redacted.Redacted<string>;
77
+ apiKey?: string | Redacted.Redacted<string> | undefined;
78
78
  /** The host to send OpsGenie API requests to. `Additional Validators:` * must be a syntactically valid url address */
79
- apiUrl?: string;
79
+ apiUrl?: string | undefined;
80
80
  /** Priority level of alert. Possible values are P1, P2, P3, P4, and P5. */
81
- priority?: string;
81
+ priority?: string | undefined;
82
82
  /** Whether to notify about resolved alerts. */
83
- sendResolved?: boolean;
83
+ sendResolved?: boolean | undefined;
84
84
  /** Comma separated list of tags attached to the notifications. */
85
- tags?: string;
85
+ tags?: string | undefined;
86
86
  }
87
87
  /** Configuration for ops genie. */
88
88
  export type CreateAlertConfigReceiverRequestOpsgenieConfigsList =
89
89
  Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
90
90
  export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
91
91
  /** 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. */
92
- googleChat?: boolean;
92
+ googleChat?: boolean | undefined;
93
93
  /** 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. */
94
- msTeams?: boolean;
94
+ msTeams?: boolean | undefined;
95
95
  /** Whether to notify about resolved alerts. */
96
- sendResolved?: boolean;
96
+ sendResolved?: boolean | undefined;
97
97
  /** The endpoint to send HTTP POST requests to. `Additional Validators:` * must be a syntactically valid url address */
98
- url?: string;
98
+ url?: string | undefined;
99
99
  }
100
100
  export type CreateAlertConfigReceiverRequestWebHookConfigsList =
101
101
  Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
@@ -103,43 +103,43 @@ export interface CreateAlertConfigReceiverRequest {
103
103
  projectId: string;
104
104
  instanceId: string;
105
105
  /** Email configurations */
106
- emailConfigs?: CreateAlertConfigReceiverRequestEmailConfigsList;
106
+ emailConfigs?: CreateAlertConfigReceiverRequestEmailConfigsList | undefined;
107
107
  /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
108
108
  name: string;
109
109
  /** Configuration for ops genie. */
110
- opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList;
111
- webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList;
110
+ opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList | undefined;
111
+ webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList | undefined;
112
112
  }
113
113
  export interface EmailConfig {
114
- authIdentity?: string;
115
- authPassword?: string | Redacted.Redacted<string>;
116
- authUsername?: string;
117
- from?: string;
118
- sendResolved?: boolean;
119
- smarthost?: string;
114
+ authIdentity?: string | undefined;
115
+ authPassword?: string | Redacted.Redacted<string> | undefined;
116
+ authUsername?: string | undefined;
117
+ from?: string | undefined;
118
+ sendResolved?: boolean | undefined;
119
+ smarthost?: string | undefined;
120
120
  to: string;
121
121
  }
122
122
  export type ReceiversEmailConfigsList = Array<EmailConfig>;
123
123
  export interface OpsgenieConfig {
124
- apiKey?: string | Redacted.Redacted<string>;
125
- apiUrl?: string;
126
- priority?: string;
127
- sendResolved?: boolean;
128
- tags?: string;
124
+ apiKey?: string | Redacted.Redacted<string> | undefined;
125
+ apiUrl?: string | undefined;
126
+ priority?: string | undefined;
127
+ sendResolved?: boolean | undefined;
128
+ tags?: string | undefined;
129
129
  }
130
130
  export type ReceiversOpsgenieConfigsList = Array<OpsgenieConfig>;
131
131
  export interface WebHook {
132
- googleChat?: boolean;
133
- msTeams?: boolean;
134
- sendResolved?: boolean;
132
+ googleChat?: boolean | undefined;
133
+ msTeams?: boolean | undefined;
134
+ sendResolved?: boolean | undefined;
135
135
  url: string;
136
136
  }
137
137
  export type ReceiversWebHookConfigsList = Array<WebHook>;
138
138
  export interface Receivers {
139
- emailConfigs?: ReceiversEmailConfigsList;
139
+ emailConfigs?: ReceiversEmailConfigsList | undefined;
140
140
  name: string;
141
- opsgenieConfigs?: ReceiversOpsgenieConfigsList;
142
- webHookConfigs?: ReceiversWebHookConfigsList;
141
+ opsgenieConfigs?: ReceiversOpsgenieConfigsList | undefined;
142
+ webHookConfigs?: ReceiversWebHookConfigsList | undefined;
143
143
  }
144
144
  export type AlertConfigReceiversResponseDataList = Array<Receivers>;
145
145
  export interface AlertConfigReceiversResponse {
@@ -158,24 +158,24 @@ export type CreateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
158
158
  /** As in one level above */
159
159
  export interface CreateAlertConfigRouteRequestRoutesItem {
160
160
  /** Whether an alert should continue matching subsequent sibling nodes. */
161
- continue?: boolean;
162
- groupBy?: CreateAlertConfigRouteRequestRoutesItemGroupByList;
161
+ continue?: boolean | undefined;
162
+ groupBy?: CreateAlertConfigRouteRequestRoutesItemGroupByList | undefined;
163
163
  /** As in one level above */
164
- groupInterval?: string;
164
+ groupInterval?: string | undefined;
165
165
  /** As in one level above */
166
- groupWait?: string;
166
+ groupWait?: string | undefined;
167
167
  /** As in one level above */
168
- match?: unknown;
168
+ match?: unknown | undefined;
169
169
  /** As in one level above */
170
- matchRe?: unknown;
170
+ matchRe?: unknown | undefined;
171
171
  /** As in one level above */
172
- matchers?: CreateAlertConfigRouteRequestRoutesItemMatchersList;
172
+ matchers?: CreateAlertConfigRouteRequestRoutesItemMatchersList | undefined;
173
173
  /** As in one level above */
174
- receiver?: string;
174
+ receiver?: string | undefined;
175
175
  /** As in one level above */
176
- repeatInterval?: string;
176
+ repeatInterval?: string | undefined;
177
177
  /** Another child routes */
178
- routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList;
178
+ routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList | undefined;
179
179
  }
180
180
  /** Zero or more child routes. */
181
181
  export type CreateAlertConfigRouteRequestRoutesList =
@@ -184,25 +184,25 @@ export interface CreateAlertConfigRouteRequest {
184
184
  projectId: string;
185
185
  instanceId: string;
186
186
  /** 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. */
187
- continue?: boolean;
187
+ continue?: boolean | undefined;
188
188
  /** 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. */
189
- groupBy?: CreateAlertConfigRouteRequestGroupByList;
189
+ groupBy?: CreateAlertConfigRouteRequestGroupByList | undefined;
190
190
  /** 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 */
191
- groupInterval?: string;
191
+ groupInterval?: string | undefined;
192
192
  /** 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 */
193
- groupWait?: string;
193
+ groupWait?: string | undefined;
194
194
  /** 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_./@&?:- */
195
- match?: unknown;
195
+ match?: unknown | undefined;
196
196
  /** 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 */
197
- matchRe?: unknown;
197
+ matchRe?: unknown | undefined;
198
198
  /** 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 */
199
- matchers?: CreateAlertConfigRouteRequestMatchersList;
199
+ matchers?: CreateAlertConfigRouteRequestMatchersList | undefined;
200
200
  /** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
201
201
  receiver: string;
202
202
  /** 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 */
203
- repeatInterval?: string;
203
+ repeatInterval?: string | undefined;
204
204
  /** Zero or more child routes. */
205
- routes?: CreateAlertConfigRouteRequestRoutesList;
205
+ routes?: CreateAlertConfigRouteRequestRoutesList | undefined;
206
206
  }
207
207
  export type RouteGroupByList = Array<string>;
208
208
  export type RouteMatchMap = { [key: string]: string | undefined };
@@ -215,29 +215,29 @@ export type RouteSerializerMatchersList = Array<string>;
215
215
  export type RouteSerializerRoutesItemMap = { [key: string]: string | null | undefined };
216
216
  export type RouteSerializerRoutesList = Array<RouteSerializerRoutesItemMap>;
217
217
  export interface RouteSerializer {
218
- continue?: boolean;
219
- groupBy?: RouteSerializerGroupByList;
220
- groupInterval?: string;
221
- groupWait?: string;
222
- match?: RouteSerializerMatchMap;
223
- matchRe?: RouteSerializerMatchReMap;
224
- matchers?: RouteSerializerMatchersList;
218
+ continue?: boolean | undefined;
219
+ groupBy?: RouteSerializerGroupByList | undefined;
220
+ groupInterval?: string | undefined;
221
+ groupWait?: string | undefined;
222
+ match?: RouteSerializerMatchMap | undefined;
223
+ matchRe?: RouteSerializerMatchReMap | undefined;
224
+ matchers?: RouteSerializerMatchersList | undefined;
225
225
  receiver: string;
226
- repeatInterval?: string;
227
- routes?: RouteSerializerRoutesList;
226
+ repeatInterval?: string | undefined;
227
+ routes?: RouteSerializerRoutesList | undefined;
228
228
  }
229
229
  export type RouteRoutesList = Array<RouteSerializer>;
230
230
  export interface Route {
231
- continue?: boolean;
232
- groupBy?: RouteGroupByList;
233
- groupInterval?: string;
234
- groupWait?: string;
235
- match?: RouteMatchMap;
236
- matchRe?: RouteMatchReMap;
237
- matchers?: RouteMatchersList;
231
+ continue?: boolean | undefined;
232
+ groupBy?: RouteGroupByList | undefined;
233
+ groupInterval?: string | undefined;
234
+ groupWait?: string | undefined;
235
+ match?: RouteMatchMap | undefined;
236
+ matchRe?: RouteMatchReMap | undefined;
237
+ matchers?: RouteMatchersList | undefined;
238
238
  receiver: string;
239
- repeatInterval?: string;
240
- routes?: RouteRoutesList;
239
+ repeatInterval?: string | undefined;
240
+ routes?: RouteRoutesList | undefined;
241
241
  }
242
242
  export interface AlertConfigRouteResponse {
243
243
  data: Route;
@@ -246,17 +246,17 @@ export interface AlertConfigRouteResponse {
246
246
  /** 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. */
247
247
  export interface CreateAlertgroupsRequestRulesItem {
248
248
  /** 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 */
249
- alert?: string;
249
+ alert?: string | undefined;
250
250
  /** 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 */
251
- annotations?: unknown;
251
+ annotations?: unknown | undefined;
252
252
  /** 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. */
253
253
  expr: string;
254
254
  /** 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 */
255
- for?: string;
255
+ for?: string | undefined;
256
256
  /** 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 */
257
- labels?: unknown;
257
+ labels?: unknown | undefined;
258
258
  /** 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 */
259
- record?: string;
259
+ record?: string | undefined;
260
260
  }
261
261
  /** rules for the alert group */
262
262
  export type CreateAlertgroupsRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
@@ -264,7 +264,7 @@ export interface CreateAlertgroupsRequest {
264
264
  projectId: string;
265
265
  instanceId: string;
266
266
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
267
- interval?: string;
267
+ interval?: string | undefined;
268
268
  /** 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- */
269
269
  name: string;
270
270
  /** rules for the alert group */
@@ -273,16 +273,16 @@ export interface CreateAlertgroupsRequest {
273
273
  export type AlertRuleRecordAnnotationsMap = { [key: string]: string | undefined };
274
274
  export type AlertRuleRecordLabelsMap = { [key: string]: string | undefined };
275
275
  export interface AlertRuleRecord {
276
- alert?: string;
277
- annotations?: AlertRuleRecordAnnotationsMap;
276
+ alert?: string | undefined;
277
+ annotations?: AlertRuleRecordAnnotationsMap | undefined;
278
278
  expr: string;
279
- for?: string;
280
- labels?: AlertRuleRecordLabelsMap;
281
- record?: string;
279
+ for?: string | undefined;
280
+ labels?: AlertRuleRecordLabelsMap | undefined;
281
+ record?: string | undefined;
282
282
  }
283
283
  export type AlertGroupRulesList = Array<AlertRuleRecord>;
284
284
  export interface AlertGroup {
285
- interval?: string;
285
+ interval?: string | undefined;
286
286
  name: string;
287
287
  rules: AlertGroupRulesList;
288
288
  }
@@ -298,14 +298,14 @@ export interface CreateAlertRecordRequest {
298
298
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
299
299
  expr: string;
300
300
  /** 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 */
301
- labels?: unknown;
301
+ labels?: unknown | undefined;
302
302
  /** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
303
303
  record: string;
304
304
  }
305
305
  export type AlertRecordLabelsMap = { [key: string]: string | undefined };
306
306
  export interface AlertRecord {
307
307
  expr: string;
308
- labels?: AlertRecordLabelsMap;
308
+ labels?: AlertRecordLabelsMap | undefined;
309
309
  record: string;
310
310
  }
311
311
  export type AlertRecordsResponseDataList = Array<AlertRecord>;
@@ -320,22 +320,22 @@ export interface CreateAlertrulesRequest {
320
320
  /** 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- */
321
321
  alert: string;
322
322
  /** 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 */
323
- annotations?: unknown;
323
+ annotations?: unknown | undefined;
324
324
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
325
325
  expr: string;
326
326
  /** 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 */
327
- for?: string;
327
+ for?: string | undefined;
328
328
  /** 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 */
329
- labels?: unknown;
329
+ labels?: unknown | undefined;
330
330
  }
331
331
  export type AlertRuleAnnotationsMap = { [key: string]: string | undefined };
332
332
  export type AlertRuleLabelsMap = { [key: string]: string | undefined };
333
333
  export interface AlertRule {
334
334
  alert: string;
335
- annotations?: AlertRuleAnnotationsMap;
335
+ annotations?: AlertRuleAnnotationsMap | undefined;
336
336
  expr: string;
337
- for?: string;
338
- labels?: AlertRuleLabelsMap;
337
+ for?: string | undefined;
338
+ labels?: AlertRuleLabelsMap | undefined;
339
339
  }
340
340
  export type AlertRulesResponseDataList = Array<AlertRule>;
341
341
  export interface AlertRulesResponse {
@@ -354,7 +354,7 @@ export interface CreateBackupRequest {
354
354
  projectId: string;
355
355
  instanceId: string;
356
356
  /** List of backup targets */
357
- backupTarget?: CreateBackupRequestBackupTargetList;
357
+ backupTarget?: CreateBackupRequestBackupTargetList | undefined;
358
358
  }
359
359
  export interface Message {
360
360
  message: string;
@@ -371,7 +371,7 @@ export interface CreateBackupScheduleRequest {
371
371
  projectId: string;
372
372
  instanceId: string;
373
373
  /** List of backup targets */
374
- backupTarget?: CreateBackupScheduleRequestBackupTargetList;
374
+ backupTarget?: CreateBackupScheduleRequestBackupTargetList | undefined;
375
375
  /** The schedule for how often to create a backup. `Additional Validators:` * must be a valid cronjob format * must run less than hourly */
376
376
  schedule: string;
377
377
  }
@@ -391,7 +391,7 @@ export interface CertCheckChildResponse {
391
391
  }
392
392
  export type CertCheckResponseCertChecksList = Array<CertCheckChildResponse>;
393
393
  export interface CertCheckResponse {
394
- certCheck?: CertCheckChildResponse;
394
+ certCheck?: CertCheckChildResponse | undefined;
395
395
  certChecks: CertCheckResponseCertChecksList;
396
396
  message: string;
397
397
  }
@@ -399,10 +399,10 @@ export interface CreateCredentialsRequest {
399
399
  projectId: string;
400
400
  instanceId: string;
401
401
  /** description */
402
- description?: string;
402
+ description?: string | undefined;
403
403
  }
404
404
  export interface Credentials {
405
- description?: string;
405
+ description?: string | undefined;
406
406
  password: string | Redacted.Redacted<string>;
407
407
  username: string;
408
408
  }
@@ -414,22 +414,22 @@ export interface CreateElasticsearchCheckRequest {
414
414
  projectId: string;
415
415
  instanceId: string;
416
416
  /** password */
417
- password?: string | Redacted.Redacted<string>;
417
+ password?: string | Redacted.Redacted<string> | undefined;
418
418
  /** url to check */
419
419
  server: string;
420
420
  /** username */
421
- username?: string;
421
+ username?: string | undefined;
422
422
  }
423
423
  export interface ElasticsearchCheckChildResponse {
424
424
  id: string;
425
- password?: string | Redacted.Redacted<string>;
425
+ password?: string | Redacted.Redacted<string> | undefined;
426
426
  server: string;
427
- username?: string;
427
+ username?: string | undefined;
428
428
  }
429
429
  export type ElasticsearchCheckResponseElasticsearchChecksList =
430
430
  Array<ElasticsearchCheckChildResponse>;
431
431
  export interface ElasticsearchCheckResponse {
432
- elasticsearchCheck?: ElasticsearchCheckChildResponse;
432
+ elasticsearchCheck?: ElasticsearchCheckChildResponse | undefined;
433
433
  elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList;
434
434
  message: string;
435
435
  }
@@ -445,18 +445,18 @@ export interface HttpCheckChildResponse {
445
445
  }
446
446
  export type HttpCheckResponseHttpChecksList = Array<HttpCheckChildResponse>;
447
447
  export interface HttpCheckResponse {
448
- httpCheck?: HttpCheckChildResponse;
448
+ httpCheck?: HttpCheckChildResponse | undefined;
449
449
  httpChecks: HttpCheckResponseHttpChecksList;
450
450
  message: string;
451
451
  }
452
452
  export interface CreateInstanceRequest {
453
453
  projectId: string;
454
454
  /** 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. */
455
- grafanaAdminEnabled?: boolean;
455
+ grafanaAdminEnabled?: boolean | undefined;
456
456
  /** Name of the service */
457
- name?: string;
457
+ name?: string | undefined;
458
458
  /** Additional parameters */
459
- parameter?: unknown;
459
+ parameter?: unknown | undefined;
460
460
  /** UUID of the plan to create/update */
461
461
  planId: string;
462
462
  }
@@ -468,17 +468,17 @@ export interface CreateInstanceResponse {
468
468
  /** 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. */
469
469
  export interface CreateLogsAlertgroupsRequestRulesItem {
470
470
  /** 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 */
471
- alert?: string;
471
+ alert?: string | undefined;
472
472
  /** 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 */
473
- annotations?: unknown;
473
+ annotations?: unknown | undefined;
474
474
  /** 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. */
475
475
  expr: string;
476
476
  /** 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 */
477
- for?: string;
477
+ for?: string | undefined;
478
478
  /** 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 */
479
- labels?: unknown;
479
+ labels?: unknown | undefined;
480
480
  /** 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 */
481
- record?: string;
481
+ record?: string | undefined;
482
482
  }
483
483
  /** rules for the alert group */
484
484
  export type CreateLogsAlertgroupsRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
@@ -486,7 +486,7 @@ export interface CreateLogsAlertgroupsRequest {
486
486
  projectId: string;
487
487
  instanceId: string;
488
488
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
489
- interval?: string;
489
+ interval?: string | undefined;
490
490
  /** 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- */
491
491
  name: string;
492
492
  /** rules for the alert group */
@@ -505,7 +505,7 @@ export interface MongodbCheckChildResponse {
505
505
  export type MongodbCheckResponseMongodbChecksList = Array<MongodbCheckChildResponse>;
506
506
  export interface MongodbCheckResponse {
507
507
  message: string;
508
- mongodbCheck?: MongodbCheckChildResponse;
508
+ mongodbCheck?: MongodbCheckChildResponse | undefined;
509
509
  mongodbChecks: MongodbCheckResponseMongodbChecksList;
510
510
  }
511
511
  export interface CreateMysqlCheckRequest {
@@ -518,7 +518,7 @@ export type MysqlCheckChildResponse = MongodbCheckChildResponse;
518
518
  export type MysqlCheckResponseMysqlChecksList = Array<MongodbCheckChildResponse>;
519
519
  export interface MysqlCheckResponse {
520
520
  message: string;
521
- mysqlCheck?: MongodbCheckChildResponse;
521
+ mysqlCheck?: MongodbCheckChildResponse | undefined;
522
522
  mysqlChecks: MysqlCheckResponseMysqlChecksList;
523
523
  }
524
524
  export interface CreateNetworkCheckRequest {
@@ -534,7 +534,7 @@ export interface NetworkCheckChildResponse {
534
534
  export type NetworkCheckResponseNetworkChecksList = Array<NetworkCheckChildResponse>;
535
535
  export interface NetworkCheckResponse {
536
536
  message: string;
537
- networkCheck?: NetworkCheckChildResponse;
537
+ networkCheck?: NetworkCheckChildResponse | undefined;
538
538
  networkChecks: NetworkCheckResponseNetworkChecksList;
539
539
  }
540
540
  export interface CreatePingCheckRequest {
@@ -547,7 +547,7 @@ export type PingCheckChildResponse = HttpCheckChildResponse;
547
547
  export type PingCheckResponsePingChecksList = Array<HttpCheckChildResponse>;
548
548
  export interface PingCheckResponse {
549
549
  message: string;
550
- pingCheck?: HttpCheckChildResponse;
550
+ pingCheck?: HttpCheckChildResponse | undefined;
551
551
  pingChecks: PingCheckResponsePingChecksList;
552
552
  }
553
553
  export interface CreatePostgresqlCheckRequest {
@@ -560,54 +560,54 @@ export type PostgresqlCheckChildResponse = NetworkCheckChildResponse;
560
560
  export type PostgresqlCheckResponsePostgresqlChecksList = Array<NetworkCheckChildResponse>;
561
561
  export interface PostgresqlCheckResponse {
562
562
  message: string;
563
- postgresqlCheck?: NetworkCheckChildResponse;
563
+ postgresqlCheck?: NetworkCheckChildResponse | undefined;
564
564
  postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList;
565
565
  }
566
566
  export interface CreateRabbitmqCheckRequest {
567
567
  projectId: string;
568
568
  instanceId: string;
569
569
  /** password */
570
- password?: string | Redacted.Redacted<string>;
570
+ password?: string | Redacted.Redacted<string> | undefined;
571
571
  /** url to check */
572
572
  url: string;
573
573
  /** username */
574
- username?: string;
574
+ username?: string | undefined;
575
575
  }
576
576
  export interface RabbitMQCheckChildResponse {
577
577
  id: string;
578
- password?: string | Redacted.Redacted<string>;
578
+ password?: string | Redacted.Redacted<string> | undefined;
579
579
  url: string;
580
- username?: string;
580
+ username?: string | undefined;
581
581
  }
582
582
  export type RabbitmqCheckResponseRabbitmqChecksList = Array<RabbitMQCheckChildResponse>;
583
583
  export interface RabbitmqCheckResponse {
584
584
  message: string;
585
- rabbitmqCheck?: RabbitMQCheckChildResponse;
585
+ rabbitmqCheck?: RabbitMQCheckChildResponse | undefined;
586
586
  rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList;
587
587
  }
588
588
  export interface CreateRedisCheckRequest {
589
589
  projectId: string;
590
590
  instanceId: string;
591
591
  /** password */
592
- password?: string | Redacted.Redacted<string>;
592
+ password?: string | Redacted.Redacted<string> | undefined;
593
593
  /** url to check */
594
594
  server: string;
595
595
  /** username */
596
- username?: string;
596
+ username?: string | undefined;
597
597
  }
598
598
  export type RedisCheckChildResponse = ElasticsearchCheckChildResponse;
599
599
  export type RedisCheckResponseRedisChecksList = Array<ElasticsearchCheckChildResponse>;
600
600
  export interface RedisCheckResponse {
601
601
  message: string;
602
- redisCheck?: ElasticsearchCheckChildResponse;
602
+ redisCheck?: ElasticsearchCheckChildResponse | undefined;
603
603
  redisChecks: RedisCheckResponseRedisChecksList;
604
604
  }
605
605
  /** 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 */
606
606
  export interface CreateScrapeConfigRequestBasicAuth {
607
607
  /** password */
608
- password?: string | Redacted.Redacted<string>;
608
+ password?: string | Redacted.Redacted<string> | undefined;
609
609
  /** username */
610
- username?: string;
610
+ username?: string | undefined;
611
611
  }
612
612
  /** 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 */
613
613
  export type CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth =
@@ -617,7 +617,7 @@ export type CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = Array<s
617
617
  /** Configures the scrape request's TLS settings. */
618
618
  export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig {
619
619
  /** Disable validation of the server certificate. */
620
- insecureSkipVerify?: boolean;
620
+ insecureSkipVerify?: boolean | undefined;
621
621
  }
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
623
  export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
@@ -626,9 +626,9 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
626
626
  /** clientSecret */
627
627
  clientSecret: string | Redacted.Redacted<string>;
628
628
  /** The URL to fetch the token from. */
629
- scopes?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList;
629
+ scopes?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList | undefined;
630
630
  /** Configures the scrape request's TLS settings. */
631
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
631
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
632
632
  /** The URL to fetch the token from. */
633
633
  tokenUrl: string;
634
634
  }
@@ -637,13 +637,13 @@ export type CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig =
637
637
  CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
638
638
  export interface CreateScrapeConfigRequestHttpSdConfigsItem {
639
639
  /** 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 */
640
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
640
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
641
641
  /** 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 */
642
- oauth2?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2;
642
+ oauth2?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2 | undefined;
643
643
  /** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
644
- refreshInterval?: string;
644
+ refreshInterval?: string | undefined;
645
645
  /** Configures the scrape request's TLS settings. */
646
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
646
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
647
647
  /** URL from which the targets are fetched. */
648
648
  url: string;
649
649
  }
@@ -663,19 +663,19 @@ export type CreateScrapeConfigRequestMetricsRelabelConfigsItemAction =
663
663
  export type CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
664
664
  export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
665
665
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
666
- action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
666
+ action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {}) | undefined;
667
667
  /** Modulus to take of the hash of the source label values. */
668
- modulus?: number;
668
+ modulus?: number | undefined;
669
669
  /** Regular expression against which the extracted value is matched. */
670
- regex?: string;
670
+ regex?: string | undefined;
671
671
  /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
672
- replacement?: string;
672
+ replacement?: string | undefined;
673
673
  /** Separator placed between concatenated source label values. */
674
- separator?: string;
674
+ separator?: string | undefined;
675
675
  /** 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. */
676
- sourceLabels?: CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
676
+ sourceLabels?: CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList | undefined;
677
677
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
678
- targetLabel?: string;
678
+ targetLabel?: string | undefined;
679
679
  }
680
680
  /** List of metric relabel configurations */
681
681
  export type CreateScrapeConfigRequestMetricsRelabelConfigsList =
@@ -692,9 +692,9 @@ export interface CreateScrapeConfigRequestOauth2 {
692
692
  /** clientSecret */
693
693
  clientSecret: string | Redacted.Redacted<string>;
694
694
  /** The URL to fetch the token from. */
695
- scopes?: CreateScrapeConfigRequestOauth2ScopesList;
695
+ scopes?: CreateScrapeConfigRequestOauth2ScopesList | undefined;
696
696
  /** Configures the scrape request's TLS settings. */
697
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
697
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
698
698
  /** The URL to fetch the token from. */
699
699
  tokenUrl: string;
700
700
  }
@@ -704,7 +704,7 @@ export type CreateScrapeConfigRequestScheme = "http" | "https";
704
704
  export type CreateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
705
705
  export interface CreateScrapeConfigRequestStaticConfigsItem {
706
706
  /** 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 */
707
- labels?: unknown;
707
+ labels?: unknown | undefined;
708
708
  /** The targets specified by the static config. */
709
709
  targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList;
710
710
  }
@@ -718,27 +718,27 @@ export interface CreateScrapeConfigRequest {
718
718
  projectId: string;
719
719
  instanceId: string;
720
720
  /** 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 */
721
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
721
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
722
722
  /** 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 */
723
- bearerToken?: string;
723
+ bearerToken?: string | undefined;
724
724
  /** 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. */
725
- honorLabels?: boolean;
725
+ honorLabels?: boolean | undefined;
726
726
  /** 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. */
727
- honorTimeStamps?: boolean;
727
+ honorTimeStamps?: boolean | undefined;
728
728
  /** 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. */
729
- httpSdConfigs?: CreateScrapeConfigRequestHttpSdConfigsList;
729
+ httpSdConfigs?: CreateScrapeConfigRequestHttpSdConfigsList | undefined;
730
730
  /** 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- */
731
731
  jobName: string;
732
732
  /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
733
- metricsPath?: string;
733
+ metricsPath?: string | undefined;
734
734
  /** List of metric relabel configurations */
735
- metricsRelabelConfigs?: CreateScrapeConfigRequestMetricsRelabelConfigsList;
735
+ metricsRelabelConfigs?: CreateScrapeConfigRequestMetricsRelabelConfigsList | undefined;
736
736
  /** 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 */
737
- oauth2?: CreateScrapeConfigRequestOauth2;
737
+ oauth2?: CreateScrapeConfigRequestOauth2 | undefined;
738
738
  /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
739
- params?: unknown;
739
+ params?: unknown | undefined;
740
740
  /** 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 */
741
- sampleLimit?: number;
741
+ sampleLimit?: number | undefined;
742
742
  /** Configures the protocol scheme used for requests. https or http */
743
743
  scheme: CreateScrapeConfigRequestScheme | (string & {});
744
744
  /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
@@ -748,7 +748,7 @@ export interface CreateScrapeConfigRequest {
748
748
  /** A list of scrape configurations. */
749
749
  staticConfigs: CreateScrapeConfigRequestStaticConfigsList;
750
750
  /** Configures the scrape request's TLS settings. */
751
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
751
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
752
752
  }
753
753
  export interface BasicAuth {
754
754
  password: string | Redacted.Redacted<string>;
@@ -756,20 +756,20 @@ export interface BasicAuth {
756
756
  }
757
757
  export type OAuth2ScopesList = Array<string>;
758
758
  export interface TLSConfig {
759
- insecureSkipVerify?: boolean;
759
+ insecureSkipVerify?: boolean | undefined;
760
760
  }
761
761
  export interface OAuth2 {
762
762
  clientId: string;
763
763
  clientSecret: string | Redacted.Redacted<string>;
764
- scopes?: OAuth2ScopesList;
765
- tlsConfig?: TLSConfig;
764
+ scopes?: OAuth2ScopesList | undefined;
765
+ tlsConfig?: TLSConfig | undefined;
766
766
  tokenUrl: string;
767
767
  }
768
768
  export interface HTTPServiceSD {
769
- basicAuth?: BasicAuth;
770
- oauth2?: OAuth2;
771
- refreshInterval?: string;
772
- tlsConfig?: TLSConfig;
769
+ basicAuth?: BasicAuth | undefined;
770
+ oauth2?: OAuth2 | undefined;
771
+ refreshInterval?: string | undefined;
772
+ tlsConfig?: TLSConfig | undefined;
773
773
  url: string;
774
774
  }
775
775
  export type JobHttpSdConfigsList = Array<HTTPServiceSD>;
@@ -783,13 +783,13 @@ export type MetricsRelabelConfigAction =
783
783
  | "labelkeep";
784
784
  export type MetricsRelabelConfigSourceLabelsList = Array<string>;
785
785
  export interface MetricsRelabelConfig {
786
- action?: MetricsRelabelConfigAction;
787
- modulus?: number;
788
- regex?: string;
789
- replacement?: string;
790
- separator?: string;
786
+ action?: MetricsRelabelConfigAction | undefined;
787
+ modulus?: number | undefined;
788
+ regex?: string | undefined;
789
+ replacement?: string | undefined;
790
+ separator?: string | undefined;
791
791
  sourceLabels: MetricsRelabelConfigSourceLabelsList;
792
- targetLabel?: string;
792
+ targetLabel?: string | undefined;
793
793
  }
794
794
  export type JobMetricsRelabelConfigsList = Array<MetricsRelabelConfig>;
795
795
  export type JobParamsValueList = Array<string>;
@@ -798,27 +798,27 @@ export type JobScheme = "http" | "https";
798
798
  export type StaticConfigsLabelsMap = { [key: string]: string | undefined };
799
799
  export type StaticConfigsTargetsList = Array<string>;
800
800
  export interface StaticConfigs {
801
- labels?: StaticConfigsLabelsMap;
801
+ labels?: StaticConfigsLabelsMap | undefined;
802
802
  targets: StaticConfigsTargetsList;
803
803
  }
804
804
  export type JobStaticConfigsList = Array<StaticConfigs>;
805
805
  export interface Job {
806
- basicAuth?: BasicAuth;
807
- bearerToken?: string;
808
- honorLabels?: boolean;
809
- honorTimeStamps?: boolean;
810
- httpSdConfigs?: JobHttpSdConfigsList;
806
+ basicAuth?: BasicAuth | undefined;
807
+ bearerToken?: string | undefined;
808
+ honorLabels?: boolean | undefined;
809
+ honorTimeStamps?: boolean | undefined;
810
+ httpSdConfigs?: JobHttpSdConfigsList | undefined;
811
811
  jobName: string;
812
- metricsPath?: string;
813
- metricsRelabelConfigs?: JobMetricsRelabelConfigsList;
814
- oauth2?: OAuth2;
815
- params?: JobParamsMap;
816
- sampleLimit?: number;
817
- scheme?: JobScheme;
812
+ metricsPath?: string | undefined;
813
+ metricsRelabelConfigs?: JobMetricsRelabelConfigsList | undefined;
814
+ oauth2?: OAuth2 | undefined;
815
+ params?: JobParamsMap | undefined;
816
+ sampleLimit?: number | undefined;
817
+ scheme?: JobScheme | undefined;
818
818
  scrapeInterval: string;
819
819
  scrapeTimeout: string;
820
820
  staticConfigs: JobStaticConfigsList;
821
- tlsConfig?: TLSConfig;
821
+ tlsConfig?: TLSConfig | undefined;
822
822
  }
823
823
  export type ScrapeConfigsResponseDataList = Array<Job>;
824
824
  export interface ScrapeConfigsResponse {
@@ -987,14 +987,14 @@ export interface GetAlertConfigsRequest {
987
987
  instanceId: string;
988
988
  }
989
989
  export interface Global {
990
- opsgenieApiKey?: string;
991
- opsgenieApiUrl?: string;
992
- resolveTimeout?: string;
993
- smtpAuthIdentity?: string;
994
- smtpAuthPassword?: string | Redacted.Redacted<string>;
995
- smtpAuthUsername?: string;
996
- smtpFrom?: string;
997
- smtpSmarthost?: string;
990
+ opsgenieApiKey?: string | undefined;
991
+ opsgenieApiUrl?: string | undefined;
992
+ resolveTimeout?: string | undefined;
993
+ smtpAuthIdentity?: string | undefined;
994
+ smtpAuthPassword?: string | Redacted.Redacted<string> | undefined;
995
+ smtpAuthUsername?: string | undefined;
996
+ smtpFrom?: string | undefined;
997
+ smtpSmarthost?: string | undefined;
998
998
  }
999
999
  export type InhibitRulesEqualList = Array<string>;
1000
1000
  export type InhibitRulesSourceMatchMap = { [key: string]: string | undefined };
@@ -1004,19 +1004,19 @@ export type InhibitRulesTargetMatchMap = { [key: string]: string | undefined };
1004
1004
  export type InhibitRulesTargetMatchReMap = { [key: string]: string | undefined };
1005
1005
  export type InhibitRulesTargetMatchersList = Array<string>;
1006
1006
  export interface InhibitRules {
1007
- equal?: InhibitRulesEqualList;
1008
- sourceMatch?: InhibitRulesSourceMatchMap;
1009
- sourceMatchRe?: InhibitRulesSourceMatchReMap;
1010
- sourceMatchers?: InhibitRulesSourceMatchersList;
1011
- targetMatch?: InhibitRulesTargetMatchMap;
1012
- targetMatchRe?: InhibitRulesTargetMatchReMap;
1013
- targetMatchers?: InhibitRulesTargetMatchersList;
1007
+ equal?: InhibitRulesEqualList | undefined;
1008
+ sourceMatch?: InhibitRulesSourceMatchMap | undefined;
1009
+ sourceMatchRe?: InhibitRulesSourceMatchReMap | undefined;
1010
+ sourceMatchers?: InhibitRulesSourceMatchersList | undefined;
1011
+ targetMatch?: InhibitRulesTargetMatchMap | undefined;
1012
+ targetMatchRe?: InhibitRulesTargetMatchReMap | undefined;
1013
+ targetMatchers?: InhibitRulesTargetMatchersList | undefined;
1014
1014
  }
1015
1015
  export type AlertInhibitRulesList = Array<InhibitRules>;
1016
1016
  export type AlertReceiversList = Array<Receivers>;
1017
1017
  export interface Alert {
1018
- global?: Global;
1019
- inhibitRules?: AlertInhibitRulesList;
1018
+ global?: Global | undefined;
1019
+ inhibitRules?: AlertInhibitRulesList | undefined;
1020
1020
  receivers: AlertReceiversList;
1021
1021
  route: Route;
1022
1022
  }
@@ -1060,7 +1060,7 @@ export interface GetCredentialsRequest {
1060
1060
  }
1061
1061
  export type GetCredentialsResponseCredentialsInfoMap = { [key: string]: string | null | undefined };
1062
1062
  export interface GetCredentialsResponse {
1063
- credentialsInfo?: GetCredentialsResponseCredentialsInfoMap;
1063
+ credentialsInfo?: GetCredentialsResponseCredentialsInfoMap | undefined;
1064
1064
  id: string;
1065
1065
  message: string;
1066
1066
  name: string;
@@ -1080,24 +1080,24 @@ export interface GetGrafanaConfigsRequest {
1080
1080
  instanceId: string;
1081
1081
  }
1082
1082
  export interface GrafanaOauth {
1083
- allowAssignGrafanaAdmin?: boolean;
1083
+ allowAssignGrafanaAdmin?: boolean | undefined;
1084
1084
  apiUrl: string;
1085
1085
  authUrl: string;
1086
1086
  enabled: boolean;
1087
- name?: string;
1087
+ name?: string | undefined;
1088
1088
  oauthClientId: string;
1089
1089
  oauthClientSecret: string;
1090
1090
  roleAttributePath: string;
1091
- roleAttributeStrict?: boolean;
1092
- scopes?: string;
1091
+ roleAttributeStrict?: boolean | undefined;
1092
+ scopes?: string | undefined;
1093
1093
  tokenUrl: string;
1094
- usePkce?: boolean;
1094
+ usePkce?: boolean | undefined;
1095
1095
  }
1096
1096
  export interface GrafanaConfigs {
1097
- genericOauth?: GrafanaOauth;
1097
+ genericOauth?: GrafanaOauth | undefined;
1098
1098
  message: string;
1099
- publicReadAccess?: boolean;
1100
- useStackitSso?: boolean;
1099
+ publicReadAccess?: boolean | undefined;
1100
+ useStackitSso?: boolean | undefined;
1101
1101
  }
1102
1102
  export interface GetInstanceRequest {
1103
1103
  projectId: string;
@@ -1107,9 +1107,9 @@ export interface PlanModel {
1107
1107
  alertMatchers: number;
1108
1108
  alertReceivers: number;
1109
1109
  alertRules: number;
1110
- amount?: number;
1110
+ amount?: number | undefined;
1111
1111
  bucketSize: number;
1112
- description?: string;
1112
+ description?: string | undefined;
1113
1113
  grafanaGlobalDashboards: number;
1114
1114
  grafanaGlobalOrgs: number;
1115
1115
  grafanaGlobalSessions: number;
@@ -1117,7 +1117,7 @@ export interface PlanModel {
1117
1117
  id: string;
1118
1118
  logsAlert: number;
1119
1119
  logsStorage: number;
1120
- name?: string;
1120
+ name?: string | undefined;
1121
1121
  planId: string;
1122
1122
  samplesPerScrape: number;
1123
1123
  targetNumber: number;
@@ -1128,13 +1128,13 @@ export interface InstanceSensitiveData {
1128
1128
  alertingUrl: string;
1129
1129
  cluster: string;
1130
1130
  grafanaAdminEnabled: boolean;
1131
- grafanaAdminPassword?: string | Redacted.Redacted<string>;
1132
- grafanaAdminUser?: string;
1131
+ grafanaAdminPassword?: string | Redacted.Redacted<string> | undefined;
1132
+ grafanaAdminUser?: string | undefined;
1133
1133
  grafanaPublicReadAccess: boolean;
1134
1134
  grafanaUrl: string;
1135
1135
  grafanaUseStackitSso: boolean;
1136
1136
  instance: string;
1137
- jaegerHttpTracesUrl?: string;
1137
+ jaegerHttpTracesUrl?: string | undefined;
1138
1138
  jaegerHttpUrl: string;
1139
1139
  jaegerTracesUrl: string;
1140
1140
  jaegerUiUrl: string;
@@ -1145,7 +1145,7 @@ export interface InstanceSensitiveData {
1145
1145
  metricsRetentionTime5m: number;
1146
1146
  metricsRetentionTimeRaw: number;
1147
1147
  metricsUrl: string;
1148
- name?: string;
1148
+ name?: string | undefined;
1149
1149
  otlpGrpcTracesUrl: string;
1150
1150
  otlpHttpLogsUrl: string;
1151
1151
  otlpHttpTracesUrl: string;
@@ -1168,16 +1168,16 @@ export type GetInstanceResponseStatus =
1168
1168
  | "UPDATE_FAILED";
1169
1169
  export interface GetInstanceResponse {
1170
1170
  dashboardUrl: string;
1171
- error?: string | null;
1171
+ error?: string | null | undefined;
1172
1172
  id: string;
1173
1173
  instance: InstanceSensitiveData;
1174
- isUpdatable?: boolean;
1174
+ isUpdatable?: boolean | undefined;
1175
1175
  message: string;
1176
- name?: string;
1177
- parameters?: GetInstanceResponseParametersMap;
1176
+ name?: string | undefined;
1177
+ parameters?: GetInstanceResponseParametersMap | undefined;
1178
1178
  planId: string;
1179
1179
  planName: string;
1180
- planSchema?: string;
1180
+ planSchema?: string | undefined;
1181
1181
  serviceName: string;
1182
1182
  status: GetInstanceResponseStatus;
1183
1183
  }
@@ -1279,7 +1279,7 @@ export interface ListBackupsRequest {
1279
1279
  projectId: string;
1280
1280
  instanceId: string;
1281
1281
  /** List of backup targets */
1282
- backupTarget?: ListBackupsRequestBackupTargetList;
1282
+ backupTarget?: ListBackupsRequestBackupTargetList | undefined;
1283
1283
  }
1284
1284
  export type BackupResponseAlertConfigBackupsList = Array<string>;
1285
1285
  export type BackupResponseAlertRulesBackupsList = Array<string>;
@@ -1304,7 +1304,7 @@ export interface ListBackupSchedulesRequest {
1304
1304
  projectId: string;
1305
1305
  instanceId: string;
1306
1306
  /** List of backup targets */
1307
- backupTarget?: ListBackupSchedulesRequestBackupTargetList;
1307
+ backupTarget?: ListBackupSchedulesRequestBackupTargetList | undefined;
1308
1308
  }
1309
1309
  export interface BackupSchedule {
1310
1310
  schedule: string;
@@ -1315,11 +1315,11 @@ export type BackupScheduleResponseAlertRulesBackupSchedulesList = Array<BackupSc
1315
1315
  export type BackupScheduleResponseGrafanaBackupSchedulesList = Array<BackupSchedule>;
1316
1316
  export type BackupScheduleResponseScrapeConfigBackupSchedulesList = Array<BackupSchedule>;
1317
1317
  export interface BackupScheduleResponse {
1318
- alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList;
1319
- alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList;
1320
- grafanaBackupSchedules?: BackupScheduleResponseGrafanaBackupSchedulesList;
1318
+ alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList | undefined;
1319
+ alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList | undefined;
1320
+ grafanaBackupSchedules?: BackupScheduleResponseGrafanaBackupSchedulesList | undefined;
1321
1321
  message: string;
1322
- scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList;
1322
+ scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList | undefined;
1323
1323
  }
1324
1324
  export interface ListCertChecksRequest {
1325
1325
  projectId: string;
@@ -1331,8 +1331,8 @@ export interface ListCredentialsRequest {
1331
1331
  }
1332
1332
  export type ServiceKeysListCredentialsInfoMap = { [key: string]: string | null | undefined };
1333
1333
  export interface ServiceKeysList {
1334
- credentialsInfo?: ServiceKeysListCredentialsInfoMap;
1335
- description?: string;
1334
+ credentialsInfo?: ServiceKeysListCredentialsInfoMap | undefined;
1335
+ description?: string | undefined;
1336
1336
  id: string;
1337
1337
  name: string;
1338
1338
  }
@@ -1363,10 +1363,10 @@ export type ProjectInstanceFullStatus =
1363
1363
  | "UPDATE_SUCCEEDED"
1364
1364
  | "UPDATE_FAILED";
1365
1365
  export interface ProjectInstanceFull {
1366
- error?: string | null;
1366
+ error?: string | null | undefined;
1367
1367
  id: string;
1368
1368
  instance: string;
1369
- name?: string;
1369
+ name?: string | undefined;
1370
1370
  planName: string;
1371
1371
  serviceName: string;
1372
1372
  status: ProjectInstanceFullStatus;
@@ -1399,22 +1399,22 @@ export interface Plan {
1399
1399
  alertMatchers: number;
1400
1400
  alertReceivers: number;
1401
1401
  alertRules: number;
1402
- amount?: number;
1402
+ amount?: number | undefined;
1403
1403
  bucketSize: number;
1404
- description?: string;
1404
+ description?: string | undefined;
1405
1405
  grafanaGlobalDashboards: number;
1406
1406
  grafanaGlobalOrgs: number;
1407
1407
  grafanaGlobalSessions: number;
1408
1408
  grafanaGlobalUsers: number;
1409
1409
  id: string;
1410
- isFree?: boolean;
1411
- isPublic?: boolean;
1410
+ isFree?: boolean | undefined;
1411
+ isPublic?: boolean | undefined;
1412
1412
  logsAlert: number;
1413
1413
  logsStorage: number;
1414
- name?: string;
1414
+ name?: string | undefined;
1415
1415
  planId: string;
1416
1416
  samplesPerScrape: number;
1417
- schema?: string;
1417
+ schema?: string | undefined;
1418
1418
  targetNumber: number;
1419
1419
  totalMetricSamples: number;
1420
1420
  tracesStorage: number;
@@ -1470,7 +1470,7 @@ export type PartialUpdateAlertgroupsRequestBodyItemRulesList =
1470
1470
  /** 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. */
1471
1471
  export interface PartialUpdateAlertgroupsRequestBodyItem {
1472
1472
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1473
- interval?: string;
1473
+ interval?: string | undefined;
1474
1474
  /** 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- */
1475
1475
  name: string;
1476
1476
  /** rules for the alert group */
@@ -1489,7 +1489,7 @@ export interface PartialUpdateAlertRecordsRequestBodyItem {
1489
1489
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1490
1490
  expr: string;
1491
1491
  /** 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 */
1492
- labels?: unknown;
1492
+ labels?: unknown | undefined;
1493
1493
  /** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
1494
1494
  record: string;
1495
1495
  }
@@ -1507,13 +1507,13 @@ export interface PartialUpdateAlertrulesRequestBodyItem {
1507
1507
  /** 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- */
1508
1508
  alert: string;
1509
1509
  /** 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 */
1510
- annotations?: unknown;
1510
+ annotations?: unknown | undefined;
1511
1511
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1512
1512
  expr: string;
1513
1513
  /** 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 */
1514
- for?: string;
1514
+ for?: string | undefined;
1515
1515
  /** 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 */
1516
- labels?: unknown;
1516
+ labels?: unknown | undefined;
1517
1517
  }
1518
1518
  /** Array of alert rules that should be created or updated */
1519
1519
  export type PartialUpdateAlertrulesRequestBodyList = Array<PartialUpdateAlertrulesRequestBodyItem>;
@@ -1541,9 +1541,9 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth
1541
1541
  /** clientSecret */
1542
1542
  clientSecret: string | Redacted.Redacted<string>;
1543
1543
  /** The URL to fetch the token from. */
1544
- scopes?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList;
1544
+ scopes?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList | undefined;
1545
1545
  /** Configures the scrape request's TLS settings. */
1546
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1546
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1547
1547
  /** The URL to fetch the token from. */
1548
1548
  tokenUrl: string;
1549
1549
  }
@@ -1552,13 +1552,13 @@ export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig
1552
1552
  CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1553
1553
  export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem {
1554
1554
  /** 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 */
1555
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
1555
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
1556
1556
  /** 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 */
1557
- oauth2?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2;
1557
+ oauth2?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 | undefined;
1558
1558
  /** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
1559
- refreshInterval?: string;
1559
+ refreshInterval?: string | undefined;
1560
1560
  /** Configures the scrape request's TLS settings. */
1561
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1561
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1562
1562
  /** URL from which the targets are fetched. */
1563
1563
  url: string;
1564
1564
  }
@@ -1579,19 +1579,24 @@ export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSo
1579
1579
  Array<string>;
1580
1580
  export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem {
1581
1581
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
1582
- action?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction | (string & {});
1582
+ action?:
1583
+ | PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction
1584
+ | (string & {})
1585
+ | undefined;
1583
1586
  /** Modulus to take of the hash of the source label values. */
1584
- modulus?: number;
1587
+ modulus?: number | undefined;
1585
1588
  /** Regular expression against which the extracted value is matched. */
1586
- regex?: string;
1589
+ regex?: string | undefined;
1587
1590
  /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
1588
- replacement?: string;
1591
+ replacement?: string | undefined;
1589
1592
  /** Separator placed between concatenated source label values. */
1590
- separator?: string;
1593
+ separator?: string | undefined;
1591
1594
  /** 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. */
1592
- sourceLabels?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList;
1595
+ sourceLabels?:
1596
+ | PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList
1597
+ | undefined;
1593
1598
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
1594
- targetLabel?: string;
1599
+ targetLabel?: string | undefined;
1595
1600
  }
1596
1601
  /** List of metric relabel configurations */
1597
1602
  export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList =
@@ -1608,9 +1613,9 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemOauth2 {
1608
1613
  /** clientSecret */
1609
1614
  clientSecret: string | Redacted.Redacted<string>;
1610
1615
  /** The URL to fetch the token from. */
1611
- scopes?: PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList;
1616
+ scopes?: PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList | undefined;
1612
1617
  /** Configures the scrape request's TLS settings. */
1613
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1618
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1614
1619
  /** The URL to fetch the token from. */
1615
1620
  tokenUrl: string;
1616
1621
  }
@@ -1620,7 +1625,7 @@ export type PartialUpdateScrapeConfigsRequestBodyItemScheme = "http" | "https";
1620
1625
  export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList = Array<string>;
1621
1626
  export interface PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem {
1622
1627
  /** 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 */
1623
- labels?: unknown;
1628
+ labels?: unknown | undefined;
1624
1629
  /** The targets specified by the static config. */
1625
1630
  targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList;
1626
1631
  }
@@ -1632,27 +1637,29 @@ export type PartialUpdateScrapeConfigsRequestBodyItemTlsConfig =
1632
1637
  CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1633
1638
  export interface PartialUpdateScrapeConfigsRequestBodyItem {
1634
1639
  /** 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 */
1635
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
1640
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
1636
1641
  /** 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 */
1637
- bearerToken?: string;
1642
+ bearerToken?: string | undefined;
1638
1643
  /** 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. */
1639
- honorLabels?: boolean;
1644
+ honorLabels?: boolean | undefined;
1640
1645
  /** 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. */
1641
- honorTimeStamps?: boolean;
1646
+ honorTimeStamps?: boolean | undefined;
1642
1647
  /** 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. */
1643
- httpSdConfigs?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList;
1648
+ httpSdConfigs?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList | undefined;
1644
1649
  /** 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- */
1645
1650
  jobName: string;
1646
1651
  /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
1647
- metricsPath?: string;
1652
+ metricsPath?: string | undefined;
1648
1653
  /** List of metric relabel configurations */
1649
- metricsRelabelConfigs?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList;
1654
+ metricsRelabelConfigs?:
1655
+ | PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList
1656
+ | undefined;
1650
1657
  /** 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 */
1651
- oauth2?: PartialUpdateScrapeConfigsRequestBodyItemOauth2;
1658
+ oauth2?: PartialUpdateScrapeConfigsRequestBodyItemOauth2 | undefined;
1652
1659
  /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
1653
- params?: unknown;
1660
+ params?: unknown | undefined;
1654
1661
  /** 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 */
1655
- sampleLimit?: number;
1662
+ sampleLimit?: number | undefined;
1656
1663
  /** Configures the protocol scheme used for requests. https or http */
1657
1664
  scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme | (string & {});
1658
1665
  /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
@@ -1662,7 +1669,7 @@ export interface PartialUpdateScrapeConfigsRequestBodyItem {
1662
1669
  /** A list of scrape configurations. */
1663
1670
  staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList;
1664
1671
  /** Configures the scrape request's TLS settings. */
1665
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
1672
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
1666
1673
  }
1667
1674
  /** Array of jobs that should be created or updated */
1668
1675
  export type PartialUpdateScrapeConfigsRequestBodyList =
@@ -1711,12 +1718,12 @@ export interface UpdateAlertConfigReceiverRequest {
1711
1718
  instanceId: string;
1712
1719
  receiver: string;
1713
1720
  /** Email configurations */
1714
- emailConfigs?: UpdateAlertConfigReceiverRequestEmailConfigsList;
1721
+ emailConfigs?: UpdateAlertConfigReceiverRequestEmailConfigsList | undefined;
1715
1722
  /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
1716
1723
  name: string;
1717
1724
  /** Configuration for ops genie. */
1718
- opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList;
1719
- webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList;
1725
+ opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList | undefined;
1726
+ webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList | undefined;
1720
1727
  }
1721
1728
  /** 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. */
1722
1729
  export type UpdateAlertConfigRouteRequestGroupByList = Array<string>;
@@ -1730,24 +1737,24 @@ export type UpdateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
1730
1737
  /** As in one level above */
1731
1738
  export interface UpdateAlertConfigRouteRequestRoutesItem {
1732
1739
  /** Whether an alert should continue matching subsequent sibling nodes. */
1733
- continue?: boolean;
1734
- groupBy?: UpdateAlertConfigRouteRequestRoutesItemGroupByList;
1740
+ continue?: boolean | undefined;
1741
+ groupBy?: UpdateAlertConfigRouteRequestRoutesItemGroupByList | undefined;
1735
1742
  /** As in one level above */
1736
- groupInterval?: string;
1743
+ groupInterval?: string | undefined;
1737
1744
  /** As in one level above */
1738
- groupWait?: string;
1745
+ groupWait?: string | undefined;
1739
1746
  /** As in one level above */
1740
- match?: unknown;
1747
+ match?: unknown | undefined;
1741
1748
  /** As in one level above */
1742
- matchRe?: unknown;
1749
+ matchRe?: unknown | undefined;
1743
1750
  /** As in one level above */
1744
- matchers?: UpdateAlertConfigRouteRequestRoutesItemMatchersList;
1751
+ matchers?: UpdateAlertConfigRouteRequestRoutesItemMatchersList | undefined;
1745
1752
  /** As in one level above */
1746
- receiver?: string;
1753
+ receiver?: string | undefined;
1747
1754
  /** As in one level above */
1748
- repeatInterval?: string;
1755
+ repeatInterval?: string | undefined;
1749
1756
  /** Another child routes */
1750
- routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList;
1757
+ routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList | undefined;
1751
1758
  }
1752
1759
  /** Zero or more child routes. */
1753
1760
  export type UpdateAlertConfigRouteRequestRoutesList =
@@ -1757,57 +1764,57 @@ export interface UpdateAlertConfigRouteRequest {
1757
1764
  instanceId: string;
1758
1765
  receiver: string;
1759
1766
  /** 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. */
1760
- continue?: boolean;
1767
+ continue?: boolean | undefined;
1761
1768
  /** 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. */
1762
- groupBy?: UpdateAlertConfigRouteRequestGroupByList;
1769
+ groupBy?: UpdateAlertConfigRouteRequestGroupByList | undefined;
1763
1770
  /** 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 */
1764
- groupInterval?: string;
1771
+ groupInterval?: string | undefined;
1765
1772
  /** 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 */
1766
- groupWait?: string;
1773
+ groupWait?: string | undefined;
1767
1774
  /** 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_./@&?:- */
1768
- match?: unknown;
1775
+ match?: unknown | undefined;
1769
1776
  /** 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 */
1770
- matchRe?: unknown;
1777
+ matchRe?: unknown | undefined;
1771
1778
  /** 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 */
1772
- matchers?: UpdateAlertConfigRouteRequestMatchersList;
1779
+ matchers?: UpdateAlertConfigRouteRequestMatchersList | undefined;
1773
1780
  /** 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 */
1774
- repeatInterval?: string;
1781
+ repeatInterval?: string | undefined;
1775
1782
  /** Zero or more child routes. */
1776
- routes?: UpdateAlertConfigRouteRequestRoutesList;
1783
+ routes?: UpdateAlertConfigRouteRequestRoutesList | undefined;
1777
1784
  }
1778
1785
  /** 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. */
1779
1786
  export interface UpdateAlertConfigsRequestGlobal {
1780
1787
  /** Opsgenie api key `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
1781
- opsgenieApiKey?: string;
1788
+ opsgenieApiKey?: string | undefined;
1782
1789
  /** Opsgenie api url `Additional Validators:` * must be a syntactically valid url address */
1783
- opsgenieApiUrl?: string;
1790
+ opsgenieApiUrl?: string | undefined;
1784
1791
  /** 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 */
1785
- resolveTimeout?: string;
1792
+ resolveTimeout?: string | undefined;
1786
1793
  /** Auth identity. `Additional Validators:` * must be a syntactically valid email address */
1787
- smtpAuthIdentity?: string;
1794
+ smtpAuthIdentity?: string | undefined;
1788
1795
  /** SMTP Auth using LOGIN and PLAIN. */
1789
- smtpAuthPassword?: string | Redacted.Redacted<string>;
1796
+ smtpAuthPassword?: string | Redacted.Redacted<string> | undefined;
1790
1797
  /** SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. */
1791
- smtpAuthUsername?: string;
1798
+ smtpAuthUsername?: string | undefined;
1792
1799
  /** The default SMTP From header field. `Additional Validators:` * must be a syntactically valid email address */
1793
- smtpFrom?: string;
1800
+ smtpFrom?: string | undefined;
1794
1801
  /** 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_./@&?:- */
1795
- smtpSmarthost?: string;
1802
+ smtpSmarthost?: string | undefined;
1796
1803
  }
1797
1804
  /** 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_./@&?:- */
1798
1805
  export type UpdateAlertConfigsRequestInhibitRulesEqualList = Array<string>;
1799
1806
  /** A list of inhibition rules. */
1800
1807
  export interface UpdateAlertConfigsRequestInhibitRules {
1801
1808
  /** 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_./@&?:- */
1802
- equal?: UpdateAlertConfigsRequestInhibitRulesEqualList;
1809
+ equal?: UpdateAlertConfigsRequestInhibitRulesEqualList | undefined;
1803
1810
  /** 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_./@&?:- */
1804
- sourceMatch?: unknown;
1811
+ sourceMatch?: unknown | undefined;
1805
1812
  /** 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 */
1806
- sourceMatchRe?: unknown;
1813
+ sourceMatchRe?: unknown | undefined;
1807
1814
  /** 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_./@&?:- */
1808
- targetMatch?: unknown;
1815
+ targetMatch?: unknown | undefined;
1809
1816
  /** 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 */
1810
- targetMatchRe?: unknown;
1817
+ targetMatchRe?: unknown | undefined;
1811
1818
  }
1812
1819
  export type UpdateAlertConfigsRequestReceiversItemEmailConfigsItem =
1813
1820
  CreateAlertConfigReceiverRequestEmailConfigsItem;
@@ -1826,12 +1833,12 @@ export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsList =
1826
1833
  /** Receivers */
1827
1834
  export interface UpdateAlertConfigsRequestReceiversItem {
1828
1835
  /** Email configurations */
1829
- emailConfigs?: UpdateAlertConfigsRequestReceiversItemEmailConfigsList;
1836
+ emailConfigs?: UpdateAlertConfigsRequestReceiversItemEmailConfigsList | undefined;
1830
1837
  /** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
1831
1838
  name: string;
1832
1839
  /** Configuration for ops genie. */
1833
- opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList;
1834
- webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList;
1840
+ opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList | undefined;
1841
+ webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList | undefined;
1835
1842
  }
1836
1843
  /** A list of notification receivers. */
1837
1844
  export type UpdateAlertConfigsRequestReceiversList = Array<UpdateAlertConfigsRequestReceiversItem>;
@@ -1845,24 +1852,24 @@ export type UpdateAlertConfigsRequestRouteRoutesItemRoutesList = Array<unknown>;
1845
1852
  /** As in one level above */
1846
1853
  export interface UpdateAlertConfigsRequestRouteRoutesItem {
1847
1854
  /** Whether an alert should continue matching subsequent sibling nodes. */
1848
- continue?: boolean;
1849
- groupBy?: UpdateAlertConfigsRequestRouteRoutesItemGroupByList;
1855
+ continue?: boolean | undefined;
1856
+ groupBy?: UpdateAlertConfigsRequestRouteRoutesItemGroupByList | undefined;
1850
1857
  /** As in one level above */
1851
- groupInterval?: string;
1858
+ groupInterval?: string | undefined;
1852
1859
  /** As in one level above */
1853
- groupWait?: string;
1860
+ groupWait?: string | undefined;
1854
1861
  /** As in one level above */
1855
- match?: unknown;
1862
+ match?: unknown | undefined;
1856
1863
  /** As in one level above */
1857
- matchRe?: unknown;
1864
+ matchRe?: unknown | undefined;
1858
1865
  /** 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 */
1859
- matchers?: UpdateAlertConfigsRequestRouteRoutesItemMatchersList;
1866
+ matchers?: UpdateAlertConfigsRequestRouteRoutesItemMatchersList | undefined;
1860
1867
  /** As in one level above */
1861
- receiver?: string;
1868
+ receiver?: string | undefined;
1862
1869
  /** As in one level above */
1863
- repeatInterval?: string;
1870
+ repeatInterval?: string | undefined;
1864
1871
  /** Another child routes */
1865
- routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList;
1872
+ routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList | undefined;
1866
1873
  }
1867
1874
  /** Zero or more child routes. */
1868
1875
  export type UpdateAlertConfigsRequestRouteRoutesList =
@@ -1870,31 +1877,31 @@ export type UpdateAlertConfigsRequestRouteRoutesList =
1870
1877
  /** The root node of the routing tree. */
1871
1878
  export interface UpdateAlertConfigsRequestRoute {
1872
1879
  /** 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. */
1873
- continue?: boolean;
1880
+ continue?: boolean | undefined;
1874
1881
  /** 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. */
1875
- groupBy?: UpdateAlertConfigsRequestRouteGroupByList;
1882
+ groupBy?: UpdateAlertConfigsRequestRouteGroupByList | undefined;
1876
1883
  /** 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 */
1877
- groupInterval?: string;
1884
+ groupInterval?: string | undefined;
1878
1885
  /** 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 */
1879
- groupWait?: string;
1886
+ groupWait?: string | undefined;
1880
1887
  /** 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_./@&?:- */
1881
- match?: unknown;
1888
+ match?: unknown | undefined;
1882
1889
  /** 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 */
1883
- matchRe?: unknown;
1890
+ matchRe?: unknown | undefined;
1884
1891
  /** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
1885
1892
  receiver: string;
1886
1893
  /** 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 */
1887
- repeatInterval?: string;
1894
+ repeatInterval?: string | undefined;
1888
1895
  /** Zero or more child routes. */
1889
- routes?: UpdateAlertConfigsRequestRouteRoutesList;
1896
+ routes?: UpdateAlertConfigsRequestRouteRoutesList | undefined;
1890
1897
  }
1891
1898
  export interface UpdateAlertConfigsRequest {
1892
1899
  projectId: string;
1893
1900
  instanceId: string;
1894
1901
  /** 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. */
1895
- global?: UpdateAlertConfigsRequestGlobal;
1902
+ global?: UpdateAlertConfigsRequestGlobal | undefined;
1896
1903
  /** A list of inhibition rules. */
1897
- inhibitRules?: UpdateAlertConfigsRequestInhibitRules;
1904
+ inhibitRules?: UpdateAlertConfigsRequestInhibitRules | undefined;
1898
1905
  /** A list of notification receivers. */
1899
1906
  receivers: UpdateAlertConfigsRequestReceiversList;
1900
1907
  /** The root node of the routing tree. */
@@ -1913,7 +1920,7 @@ export interface UpdateAlertgroupRequest {
1913
1920
  instanceId: string;
1914
1921
  groupName: string;
1915
1922
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1916
- interval?: string;
1923
+ interval?: string | undefined;
1917
1924
  /** rules for the alert group */
1918
1925
  rules: UpdateAlertgroupRequestRulesList;
1919
1926
  }
@@ -1924,7 +1931,7 @@ export type UpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsR
1924
1931
  /** 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. */
1925
1932
  export interface UpdateAlertgroupsRequestBodyItem {
1926
1933
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
1927
- interval?: string;
1934
+ interval?: string | undefined;
1928
1935
  /** 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- */
1929
1936
  name: string;
1930
1937
  /** rules for the alert group */
@@ -1945,7 +1952,7 @@ export interface UpdateAlertRecordRequest {
1945
1952
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1946
1953
  expr: string;
1947
1954
  /** 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 */
1948
- labels?: unknown;
1955
+ labels?: unknown | undefined;
1949
1956
  }
1950
1957
  export interface UpdateAlertruleRequest {
1951
1958
  projectId: string;
@@ -1953,24 +1960,24 @@ export interface UpdateAlertruleRequest {
1953
1960
  groupName: string;
1954
1961
  alertName: string;
1955
1962
  /** 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 */
1956
- annotations?: unknown;
1963
+ annotations?: unknown | undefined;
1957
1964
  /** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
1958
1965
  expr: string;
1959
1966
  /** 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 */
1960
- for?: string;
1967
+ for?: string | undefined;
1961
1968
  /** 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 */
1962
- labels?: unknown;
1969
+ labels?: unknown | undefined;
1963
1970
  }
1964
1971
  export interface UpdateCredentialsRemoteWriteConfigRequest {
1965
1972
  projectId: string;
1966
1973
  instanceId: string;
1967
1974
  username: string;
1968
1975
  /** Remote write metric sample limit for credential to push in a single minute. */
1969
- maxLimit?: number;
1976
+ maxLimit?: number | undefined;
1970
1977
  }
1971
1978
  export interface UpdateGrafanaConfigsRequestGenericOauth {
1972
1979
  /** 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. */
1973
- allowAssignGrafanaAdmin?: boolean;
1980
+ allowAssignGrafanaAdmin?: boolean | undefined;
1974
1981
  /** Set api_url to the resource that returns OpenID UserInfo compatible information. */
1975
1982
  apiUrl: string;
1976
1983
  /** Authentication endpoint of idp. */
@@ -1978,7 +1985,7 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
1978
1985
  /** Enable or disable generic oauth login */
1979
1986
  enabled: boolean;
1980
1987
  /** Display name for the oAuth provider */
1981
- name?: string;
1988
+ name?: string | undefined;
1982
1989
  /** Oauth client id for auth endpoint. */
1983
1990
  oauthClientId: string;
1984
1991
  /** Oauth client secret for auth endpoint. */
@@ -1986,34 +1993,34 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
1986
1993
  /** 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' */
1987
1994
  roleAttributePath: string;
1988
1995
  /** 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. */
1989
- roleAttributeStrict?: boolean;
1996
+ roleAttributeStrict?: boolean | undefined;
1990
1997
  /** Space seperated list of scopes of the token */
1991
- scopes?: string;
1998
+ scopes?: string | undefined;
1992
1999
  /** Token endpoint of the idp. */
1993
2000
  tokenUrl: string;
1994
2001
  /** Enable or disable Proof Key for Code Exchange */
1995
- usePkce?: boolean;
2002
+ usePkce?: boolean | undefined;
1996
2003
  }
1997
2004
  export interface UpdateGrafanaConfigsRequest {
1998
2005
  projectId: string;
1999
2006
  instanceId: string;
2000
- genericOauth?: UpdateGrafanaConfigsRequestGenericOauth;
2007
+ genericOauth?: UpdateGrafanaConfigsRequestGenericOauth | undefined;
2001
2008
  /** If it's true, anyone can access the Grafana dashboards without logging in. If it is wrong, a login is required. */
2002
- publicReadAccess?: boolean;
2009
+ publicReadAccess?: boolean | undefined;
2003
2010
  /** If it's true, it overwrites the current genericOauth config and configures STACKIT SSO for this instance. */
2004
- useStackitSso?: boolean;
2011
+ useStackitSso?: boolean | undefined;
2005
2012
  }
2006
2013
  export interface UpdateInstanceRequest {
2007
2014
  projectId: string;
2008
2015
  instanceId: string;
2009
2016
  /** 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. */
2010
- grafanaAdminEnabled?: boolean;
2017
+ grafanaAdminEnabled?: boolean | undefined;
2011
2018
  /** Name of the service */
2012
- name?: string;
2019
+ name?: string | undefined;
2013
2020
  /** Additional parameters */
2014
- parameter?: unknown;
2021
+ parameter?: unknown | undefined;
2015
2022
  /** UUID of the plan to update */
2016
- planId?: string;
2023
+ planId?: string | undefined;
2017
2024
  }
2018
2025
  /** 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. */
2019
2026
  export type UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
@@ -2024,7 +2031,7 @@ export interface UpdateLogsAlertgroupRequest {
2024
2031
  instanceId: string;
2025
2032
  groupName: string;
2026
2033
  /** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
2027
- interval?: string;
2034
+ interval?: string | undefined;
2028
2035
  /** rules for the alert group */
2029
2036
  rules: UpdateLogsAlertgroupRequestRulesList;
2030
2037
  }
@@ -2059,19 +2066,19 @@ export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction =
2059
2066
  export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
2060
2067
  export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
2061
2068
  /** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
2062
- action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
2069
+ action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {}) | undefined;
2063
2070
  /** Modulus to take of the hash of the source label values. */
2064
- modulus?: number;
2071
+ modulus?: number | undefined;
2065
2072
  /** Regular expression against which the extracted value is matched. */
2066
- regex?: string;
2073
+ regex?: string | undefined;
2067
2074
  /** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
2068
- replacement?: string;
2075
+ replacement?: string | undefined;
2069
2076
  /** Separator placed between concatenated source label values. */
2070
- separator?: string;
2077
+ separator?: string | undefined;
2071
2078
  /** 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. */
2072
- sourceLabels?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
2079
+ sourceLabels?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList | undefined;
2073
2080
  /** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
2074
- targetLabel?: string;
2081
+ targetLabel?: string | undefined;
2075
2082
  }
2076
2083
  /** List of metric relabel configurations */
2077
2084
  export type UpdateScrapeConfigRequestMetricsRelabelConfigsList =
@@ -2082,7 +2089,7 @@ export type UpdateScrapeConfigRequestScheme = "http" | "https";
2082
2089
  export type UpdateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
2083
2090
  export interface UpdateScrapeConfigRequestStaticConfigsItem {
2084
2091
  /** 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 */
2085
- labels?: unknown;
2092
+ labels?: unknown | undefined;
2086
2093
  /** The targets specified by the static config. */
2087
2094
  targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList;
2088
2095
  }
@@ -2097,21 +2104,21 @@ export interface UpdateScrapeConfigRequest {
2097
2104
  instanceId: string;
2098
2105
  jobName: string;
2099
2106
  /** 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 */
2100
- basicAuth?: CreateScrapeConfigRequestBasicAuth;
2107
+ basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
2101
2108
  /** 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 */
2102
- bearerToken?: string;
2109
+ bearerToken?: string | undefined;
2103
2110
  /** 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. */
2104
- honorLabels?: boolean;
2111
+ honorLabels?: boolean | undefined;
2105
2112
  /** 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. */
2106
- honorTimeStamps?: boolean;
2113
+ honorTimeStamps?: boolean | undefined;
2107
2114
  /** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
2108
2115
  metricsPath: string;
2109
2116
  /** List of metric relabel configurations */
2110
- metricsRelabelConfigs?: UpdateScrapeConfigRequestMetricsRelabelConfigsList;
2117
+ metricsRelabelConfigs?: UpdateScrapeConfigRequestMetricsRelabelConfigsList | undefined;
2111
2118
  /** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
2112
- params?: unknown;
2119
+ params?: unknown | undefined;
2113
2120
  /** 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 */
2114
- sampleLimit?: number;
2121
+ sampleLimit?: number | undefined;
2115
2122
  /** Configures the protocol scheme used for requests. https or http */
2116
2123
  scheme: UpdateScrapeConfigRequestScheme | (string & {});
2117
2124
  /** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
@@ -2121,7 +2128,7 @@ export interface UpdateScrapeConfigRequest {
2121
2128
  /** A list of scrape configurations. */
2122
2129
  staticConfigs: UpdateScrapeConfigRequestStaticConfigsList;
2123
2130
  /** Configures the scrape request's TLS settings. */
2124
- tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
2131
+ tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
2125
2132
  }
2126
2133
  export interface UpdateTracesConfigsRequest {
2127
2134
  projectId: string;