@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Observability",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -42,47 +55,47 @@ export class NotFound
|
|
|
42
55
|
|
|
43
56
|
export interface CreateAlertConfigReceiverRequestEmailConfigsItem {
|
|
44
57
|
/** SMTP authentication information. `Additional Validators:` * must be a syntactically valid email address */
|
|
45
|
-
authIdentity?: string;
|
|
58
|
+
authIdentity?: string | undefined;
|
|
46
59
|
/** SMTP authentication information. */
|
|
47
|
-
authPassword?: string | Redacted.Redacted<string
|
|
60
|
+
authPassword?: string | Redacted.Redacted<string> | undefined;
|
|
48
61
|
/** SMTP authentication information. */
|
|
49
|
-
authUsername?: string;
|
|
62
|
+
authUsername?: string | undefined;
|
|
50
63
|
/** The sender address. `Additional Validators:` * must be a syntactically valid email address */
|
|
51
|
-
from?: string;
|
|
64
|
+
from?: string | undefined;
|
|
52
65
|
/** Whether to notify about resolved alerts. */
|
|
53
|
-
sendResolved?: boolean;
|
|
66
|
+
sendResolved?: boolean | undefined;
|
|
54
67
|
/** The SMTP host through which emails are sent. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
|
|
55
|
-
smarthost?: string;
|
|
68
|
+
smarthost?: string | undefined;
|
|
56
69
|
/** The email address to send notifications to. `Additional Validators:` * must be a syntactically valid email address */
|
|
57
|
-
to?: string;
|
|
70
|
+
to?: string | undefined;
|
|
58
71
|
}
|
|
59
72
|
/** Email configurations */
|
|
60
73
|
export type CreateAlertConfigReceiverRequestEmailConfigsList =
|
|
61
74
|
Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
|
|
62
75
|
export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
|
|
63
76
|
/** The API key to use when talking to the OpsGenie API. `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
|
|
64
|
-
apiKey?: string | Redacted.Redacted<string
|
|
77
|
+
apiKey?: string | Redacted.Redacted<string> | undefined;
|
|
65
78
|
/** The host to send OpsGenie API requests to. `Additional Validators:` * must be a syntactically valid url address */
|
|
66
|
-
apiUrl?: string;
|
|
79
|
+
apiUrl?: string | undefined;
|
|
67
80
|
/** Priority level of alert. Possible values are P1, P2, P3, P4, and P5. */
|
|
68
|
-
priority?: string;
|
|
81
|
+
priority?: string | undefined;
|
|
69
82
|
/** Whether to notify about resolved alerts. */
|
|
70
|
-
sendResolved?: boolean;
|
|
83
|
+
sendResolved?: boolean | undefined;
|
|
71
84
|
/** Comma separated list of tags attached to the notifications. */
|
|
72
|
-
tags?: string;
|
|
85
|
+
tags?: string | undefined;
|
|
73
86
|
}
|
|
74
87
|
/** Configuration for ops genie. */
|
|
75
88
|
export type CreateAlertConfigReceiverRequestOpsgenieConfigsList =
|
|
76
89
|
Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
|
|
77
90
|
export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
|
|
78
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. */
|
|
79
|
-
googleChat?: boolean;
|
|
92
|
+
googleChat?: boolean | undefined;
|
|
80
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. */
|
|
81
|
-
msTeams?: boolean;
|
|
94
|
+
msTeams?: boolean | undefined;
|
|
82
95
|
/** Whether to notify about resolved alerts. */
|
|
83
|
-
sendResolved?: boolean;
|
|
96
|
+
sendResolved?: boolean | undefined;
|
|
84
97
|
/** The endpoint to send HTTP POST requests to. `Additional Validators:` * must be a syntactically valid url address */
|
|
85
|
-
url?: string;
|
|
98
|
+
url?: string | undefined;
|
|
86
99
|
}
|
|
87
100
|
export type CreateAlertConfigReceiverRequestWebHookConfigsList =
|
|
88
101
|
Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
|
|
@@ -90,43 +103,43 @@ export interface CreateAlertConfigReceiverRequest {
|
|
|
90
103
|
projectId: string;
|
|
91
104
|
instanceId: string;
|
|
92
105
|
/** Email configurations */
|
|
93
|
-
emailConfigs?: CreateAlertConfigReceiverRequestEmailConfigsList;
|
|
106
|
+
emailConfigs?: CreateAlertConfigReceiverRequestEmailConfigsList | undefined;
|
|
94
107
|
/** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
|
|
95
108
|
name: string;
|
|
96
109
|
/** Configuration for ops genie. */
|
|
97
|
-
opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList;
|
|
98
|
-
webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList;
|
|
110
|
+
opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList | undefined;
|
|
111
|
+
webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList | undefined;
|
|
99
112
|
}
|
|
100
113
|
export interface EmailConfig {
|
|
101
|
-
authIdentity?: string;
|
|
102
|
-
authPassword?: string | Redacted.Redacted<string
|
|
103
|
-
authUsername?: string;
|
|
104
|
-
from?: string;
|
|
105
|
-
sendResolved?: boolean;
|
|
106
|
-
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;
|
|
107
120
|
to: string;
|
|
108
121
|
}
|
|
109
122
|
export type ReceiversEmailConfigsList = Array<EmailConfig>;
|
|
110
123
|
export interface OpsgenieConfig {
|
|
111
|
-
apiKey?: string | Redacted.Redacted<string
|
|
112
|
-
apiUrl?: string;
|
|
113
|
-
priority?: string;
|
|
114
|
-
sendResolved?: boolean;
|
|
115
|
-
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;
|
|
116
129
|
}
|
|
117
130
|
export type ReceiversOpsgenieConfigsList = Array<OpsgenieConfig>;
|
|
118
131
|
export interface WebHook {
|
|
119
|
-
googleChat?: boolean;
|
|
120
|
-
msTeams?: boolean;
|
|
121
|
-
sendResolved?: boolean;
|
|
132
|
+
googleChat?: boolean | undefined;
|
|
133
|
+
msTeams?: boolean | undefined;
|
|
134
|
+
sendResolved?: boolean | undefined;
|
|
122
135
|
url: string;
|
|
123
136
|
}
|
|
124
137
|
export type ReceiversWebHookConfigsList = Array<WebHook>;
|
|
125
138
|
export interface Receivers {
|
|
126
|
-
emailConfigs?: ReceiversEmailConfigsList;
|
|
139
|
+
emailConfigs?: ReceiversEmailConfigsList | undefined;
|
|
127
140
|
name: string;
|
|
128
|
-
opsgenieConfigs?: ReceiversOpsgenieConfigsList;
|
|
129
|
-
webHookConfigs?: ReceiversWebHookConfigsList;
|
|
141
|
+
opsgenieConfigs?: ReceiversOpsgenieConfigsList | undefined;
|
|
142
|
+
webHookConfigs?: ReceiversWebHookConfigsList | undefined;
|
|
130
143
|
}
|
|
131
144
|
export type AlertConfigReceiversResponseDataList = Array<Receivers>;
|
|
132
145
|
export interface AlertConfigReceiversResponse {
|
|
@@ -145,24 +158,24 @@ export type CreateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
|
|
|
145
158
|
/** As in one level above */
|
|
146
159
|
export interface CreateAlertConfigRouteRequestRoutesItem {
|
|
147
160
|
/** Whether an alert should continue matching subsequent sibling nodes. */
|
|
148
|
-
continue?: boolean;
|
|
149
|
-
groupBy?: CreateAlertConfigRouteRequestRoutesItemGroupByList;
|
|
161
|
+
continue?: boolean | undefined;
|
|
162
|
+
groupBy?: CreateAlertConfigRouteRequestRoutesItemGroupByList | undefined;
|
|
150
163
|
/** As in one level above */
|
|
151
|
-
groupInterval?: string;
|
|
164
|
+
groupInterval?: string | undefined;
|
|
152
165
|
/** As in one level above */
|
|
153
|
-
groupWait?: string;
|
|
166
|
+
groupWait?: string | undefined;
|
|
154
167
|
/** As in one level above */
|
|
155
|
-
match?: unknown;
|
|
168
|
+
match?: unknown | undefined;
|
|
156
169
|
/** As in one level above */
|
|
157
|
-
matchRe?: unknown;
|
|
170
|
+
matchRe?: unknown | undefined;
|
|
158
171
|
/** As in one level above */
|
|
159
|
-
matchers?: CreateAlertConfigRouteRequestRoutesItemMatchersList;
|
|
172
|
+
matchers?: CreateAlertConfigRouteRequestRoutesItemMatchersList | undefined;
|
|
160
173
|
/** As in one level above */
|
|
161
|
-
receiver?: string;
|
|
174
|
+
receiver?: string | undefined;
|
|
162
175
|
/** As in one level above */
|
|
163
|
-
repeatInterval?: string;
|
|
176
|
+
repeatInterval?: string | undefined;
|
|
164
177
|
/** Another child routes */
|
|
165
|
-
routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList;
|
|
178
|
+
routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList | undefined;
|
|
166
179
|
}
|
|
167
180
|
/** Zero or more child routes. */
|
|
168
181
|
export type CreateAlertConfigRouteRequestRoutesList =
|
|
@@ -171,25 +184,25 @@ export interface CreateAlertConfigRouteRequest {
|
|
|
171
184
|
projectId: string;
|
|
172
185
|
instanceId: string;
|
|
173
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. */
|
|
174
|
-
continue?: boolean;
|
|
187
|
+
continue?: boolean | undefined;
|
|
175
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. */
|
|
176
|
-
groupBy?: CreateAlertConfigRouteRequestGroupByList;
|
|
189
|
+
groupBy?: CreateAlertConfigRouteRequestGroupByList | undefined;
|
|
177
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 */
|
|
178
|
-
groupInterval?: string;
|
|
191
|
+
groupInterval?: string | undefined;
|
|
179
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 */
|
|
180
|
-
groupWait?: string;
|
|
193
|
+
groupWait?: string | undefined;
|
|
181
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_./@&?:- */
|
|
182
|
-
match?: unknown;
|
|
195
|
+
match?: unknown | undefined;
|
|
183
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 */
|
|
184
|
-
matchRe?: unknown;
|
|
197
|
+
matchRe?: unknown | undefined;
|
|
185
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 */
|
|
186
|
-
matchers?: CreateAlertConfigRouteRequestMatchersList;
|
|
199
|
+
matchers?: CreateAlertConfigRouteRequestMatchersList | undefined;
|
|
187
200
|
/** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
|
|
188
201
|
receiver: string;
|
|
189
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 */
|
|
190
|
-
repeatInterval?: string;
|
|
203
|
+
repeatInterval?: string | undefined;
|
|
191
204
|
/** Zero or more child routes. */
|
|
192
|
-
routes?: CreateAlertConfigRouteRequestRoutesList;
|
|
205
|
+
routes?: CreateAlertConfigRouteRequestRoutesList | undefined;
|
|
193
206
|
}
|
|
194
207
|
export type RouteGroupByList = Array<string>;
|
|
195
208
|
export type RouteMatchMap = { [key: string]: string | undefined };
|
|
@@ -202,29 +215,29 @@ export type RouteSerializerMatchersList = Array<string>;
|
|
|
202
215
|
export type RouteSerializerRoutesItemMap = { [key: string]: string | null | undefined };
|
|
203
216
|
export type RouteSerializerRoutesList = Array<RouteSerializerRoutesItemMap>;
|
|
204
217
|
export interface RouteSerializer {
|
|
205
|
-
continue?: boolean;
|
|
206
|
-
groupBy?: RouteSerializerGroupByList;
|
|
207
|
-
groupInterval?: string;
|
|
208
|
-
groupWait?: string;
|
|
209
|
-
match?: RouteSerializerMatchMap;
|
|
210
|
-
matchRe?: RouteSerializerMatchReMap;
|
|
211
|
-
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;
|
|
212
225
|
receiver: string;
|
|
213
|
-
repeatInterval?: string;
|
|
214
|
-
routes?: RouteSerializerRoutesList;
|
|
226
|
+
repeatInterval?: string | undefined;
|
|
227
|
+
routes?: RouteSerializerRoutesList | undefined;
|
|
215
228
|
}
|
|
216
229
|
export type RouteRoutesList = Array<RouteSerializer>;
|
|
217
230
|
export interface Route {
|
|
218
|
-
continue?: boolean;
|
|
219
|
-
groupBy?: RouteGroupByList;
|
|
220
|
-
groupInterval?: string;
|
|
221
|
-
groupWait?: string;
|
|
222
|
-
match?: RouteMatchMap;
|
|
223
|
-
matchRe?: RouteMatchReMap;
|
|
224
|
-
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;
|
|
225
238
|
receiver: string;
|
|
226
|
-
repeatInterval?: string;
|
|
227
|
-
routes?: RouteRoutesList;
|
|
239
|
+
repeatInterval?: string | undefined;
|
|
240
|
+
routes?: RouteRoutesList | undefined;
|
|
228
241
|
}
|
|
229
242
|
export interface AlertConfigRouteResponse {
|
|
230
243
|
data: Route;
|
|
@@ -233,17 +246,17 @@ export interface AlertConfigRouteResponse {
|
|
|
233
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. */
|
|
234
247
|
export interface CreateAlertgroupsRequestRulesItem {
|
|
235
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 */
|
|
236
|
-
alert?: string;
|
|
249
|
+
alert?: string | undefined;
|
|
237
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 */
|
|
238
|
-
annotations?: unknown;
|
|
251
|
+
annotations?: unknown | undefined;
|
|
239
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. */
|
|
240
253
|
expr: string;
|
|
241
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 */
|
|
242
|
-
for?: string;
|
|
255
|
+
for?: string | undefined;
|
|
243
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 */
|
|
244
|
-
labels?: unknown;
|
|
257
|
+
labels?: unknown | undefined;
|
|
245
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 */
|
|
246
|
-
record?: string;
|
|
259
|
+
record?: string | undefined;
|
|
247
260
|
}
|
|
248
261
|
/** rules for the alert group */
|
|
249
262
|
export type CreateAlertgroupsRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
|
|
@@ -251,7 +264,7 @@ export interface CreateAlertgroupsRequest {
|
|
|
251
264
|
projectId: string;
|
|
252
265
|
instanceId: string;
|
|
253
266
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
254
|
-
interval?: string;
|
|
267
|
+
interval?: string | undefined;
|
|
255
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- */
|
|
256
269
|
name: string;
|
|
257
270
|
/** rules for the alert group */
|
|
@@ -260,16 +273,16 @@ export interface CreateAlertgroupsRequest {
|
|
|
260
273
|
export type AlertRuleRecordAnnotationsMap = { [key: string]: string | undefined };
|
|
261
274
|
export type AlertRuleRecordLabelsMap = { [key: string]: string | undefined };
|
|
262
275
|
export interface AlertRuleRecord {
|
|
263
|
-
alert?: string;
|
|
264
|
-
annotations?: AlertRuleRecordAnnotationsMap;
|
|
276
|
+
alert?: string | undefined;
|
|
277
|
+
annotations?: AlertRuleRecordAnnotationsMap | undefined;
|
|
265
278
|
expr: string;
|
|
266
|
-
for?: string;
|
|
267
|
-
labels?: AlertRuleRecordLabelsMap;
|
|
268
|
-
record?: string;
|
|
279
|
+
for?: string | undefined;
|
|
280
|
+
labels?: AlertRuleRecordLabelsMap | undefined;
|
|
281
|
+
record?: string | undefined;
|
|
269
282
|
}
|
|
270
283
|
export type AlertGroupRulesList = Array<AlertRuleRecord>;
|
|
271
284
|
export interface AlertGroup {
|
|
272
|
-
interval?: string;
|
|
285
|
+
interval?: string | undefined;
|
|
273
286
|
name: string;
|
|
274
287
|
rules: AlertGroupRulesList;
|
|
275
288
|
}
|
|
@@ -285,14 +298,14 @@ export interface CreateAlertRecordRequest {
|
|
|
285
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. */
|
|
286
299
|
expr: string;
|
|
287
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 */
|
|
288
|
-
labels?: unknown;
|
|
301
|
+
labels?: unknown | undefined;
|
|
289
302
|
/** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
|
|
290
303
|
record: string;
|
|
291
304
|
}
|
|
292
305
|
export type AlertRecordLabelsMap = { [key: string]: string | undefined };
|
|
293
306
|
export interface AlertRecord {
|
|
294
307
|
expr: string;
|
|
295
|
-
labels?: AlertRecordLabelsMap;
|
|
308
|
+
labels?: AlertRecordLabelsMap | undefined;
|
|
296
309
|
record: string;
|
|
297
310
|
}
|
|
298
311
|
export type AlertRecordsResponseDataList = Array<AlertRecord>;
|
|
@@ -307,22 +320,22 @@ export interface CreateAlertrulesRequest {
|
|
|
307
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- */
|
|
308
321
|
alert: string;
|
|
309
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 */
|
|
310
|
-
annotations?: unknown;
|
|
323
|
+
annotations?: unknown | undefined;
|
|
311
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. */
|
|
312
325
|
expr: string;
|
|
313
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 */
|
|
314
|
-
for?: string;
|
|
327
|
+
for?: string | undefined;
|
|
315
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 */
|
|
316
|
-
labels?: unknown;
|
|
329
|
+
labels?: unknown | undefined;
|
|
317
330
|
}
|
|
318
331
|
export type AlertRuleAnnotationsMap = { [key: string]: string | undefined };
|
|
319
332
|
export type AlertRuleLabelsMap = { [key: string]: string | undefined };
|
|
320
333
|
export interface AlertRule {
|
|
321
334
|
alert: string;
|
|
322
|
-
annotations?: AlertRuleAnnotationsMap;
|
|
335
|
+
annotations?: AlertRuleAnnotationsMap | undefined;
|
|
323
336
|
expr: string;
|
|
324
|
-
for?: string;
|
|
325
|
-
labels?: AlertRuleLabelsMap;
|
|
337
|
+
for?: string | undefined;
|
|
338
|
+
labels?: AlertRuleLabelsMap | undefined;
|
|
326
339
|
}
|
|
327
340
|
export type AlertRulesResponseDataList = Array<AlertRule>;
|
|
328
341
|
export interface AlertRulesResponse {
|
|
@@ -341,7 +354,7 @@ export interface CreateBackupRequest {
|
|
|
341
354
|
projectId: string;
|
|
342
355
|
instanceId: string;
|
|
343
356
|
/** List of backup targets */
|
|
344
|
-
backupTarget?: CreateBackupRequestBackupTargetList;
|
|
357
|
+
backupTarget?: CreateBackupRequestBackupTargetList | undefined;
|
|
345
358
|
}
|
|
346
359
|
export interface Message {
|
|
347
360
|
message: string;
|
|
@@ -358,7 +371,7 @@ export interface CreateBackupScheduleRequest {
|
|
|
358
371
|
projectId: string;
|
|
359
372
|
instanceId: string;
|
|
360
373
|
/** List of backup targets */
|
|
361
|
-
backupTarget?: CreateBackupScheduleRequestBackupTargetList;
|
|
374
|
+
backupTarget?: CreateBackupScheduleRequestBackupTargetList | undefined;
|
|
362
375
|
/** The schedule for how often to create a backup. `Additional Validators:` * must be a valid cronjob format * must run less than hourly */
|
|
363
376
|
schedule: string;
|
|
364
377
|
}
|
|
@@ -378,7 +391,7 @@ export interface CertCheckChildResponse {
|
|
|
378
391
|
}
|
|
379
392
|
export type CertCheckResponseCertChecksList = Array<CertCheckChildResponse>;
|
|
380
393
|
export interface CertCheckResponse {
|
|
381
|
-
certCheck?: CertCheckChildResponse;
|
|
394
|
+
certCheck?: CertCheckChildResponse | undefined;
|
|
382
395
|
certChecks: CertCheckResponseCertChecksList;
|
|
383
396
|
message: string;
|
|
384
397
|
}
|
|
@@ -386,10 +399,10 @@ export interface CreateCredentialsRequest {
|
|
|
386
399
|
projectId: string;
|
|
387
400
|
instanceId: string;
|
|
388
401
|
/** description */
|
|
389
|
-
description?: string;
|
|
402
|
+
description?: string | undefined;
|
|
390
403
|
}
|
|
391
404
|
export interface Credentials {
|
|
392
|
-
description?: string;
|
|
405
|
+
description?: string | undefined;
|
|
393
406
|
password: string | Redacted.Redacted<string>;
|
|
394
407
|
username: string;
|
|
395
408
|
}
|
|
@@ -401,22 +414,22 @@ export interface CreateElasticsearchCheckRequest {
|
|
|
401
414
|
projectId: string;
|
|
402
415
|
instanceId: string;
|
|
403
416
|
/** password */
|
|
404
|
-
password?: string | Redacted.Redacted<string
|
|
417
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
405
418
|
/** url to check */
|
|
406
419
|
server: string;
|
|
407
420
|
/** username */
|
|
408
|
-
username?: string;
|
|
421
|
+
username?: string | undefined;
|
|
409
422
|
}
|
|
410
423
|
export interface ElasticsearchCheckChildResponse {
|
|
411
424
|
id: string;
|
|
412
|
-
password?: string | Redacted.Redacted<string
|
|
425
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
413
426
|
server: string;
|
|
414
|
-
username?: string;
|
|
427
|
+
username?: string | undefined;
|
|
415
428
|
}
|
|
416
429
|
export type ElasticsearchCheckResponseElasticsearchChecksList =
|
|
417
430
|
Array<ElasticsearchCheckChildResponse>;
|
|
418
431
|
export interface ElasticsearchCheckResponse {
|
|
419
|
-
elasticsearchCheck?: ElasticsearchCheckChildResponse;
|
|
432
|
+
elasticsearchCheck?: ElasticsearchCheckChildResponse | undefined;
|
|
420
433
|
elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList;
|
|
421
434
|
message: string;
|
|
422
435
|
}
|
|
@@ -432,18 +445,18 @@ export interface HttpCheckChildResponse {
|
|
|
432
445
|
}
|
|
433
446
|
export type HttpCheckResponseHttpChecksList = Array<HttpCheckChildResponse>;
|
|
434
447
|
export interface HttpCheckResponse {
|
|
435
|
-
httpCheck?: HttpCheckChildResponse;
|
|
448
|
+
httpCheck?: HttpCheckChildResponse | undefined;
|
|
436
449
|
httpChecks: HttpCheckResponseHttpChecksList;
|
|
437
450
|
message: string;
|
|
438
451
|
}
|
|
439
452
|
export interface CreateInstanceRequest {
|
|
440
453
|
projectId: string;
|
|
441
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. */
|
|
442
|
-
grafanaAdminEnabled?: boolean;
|
|
455
|
+
grafanaAdminEnabled?: boolean | undefined;
|
|
443
456
|
/** Name of the service */
|
|
444
|
-
name?: string;
|
|
457
|
+
name?: string | undefined;
|
|
445
458
|
/** Additional parameters */
|
|
446
|
-
parameter?: unknown;
|
|
459
|
+
parameter?: unknown | undefined;
|
|
447
460
|
/** UUID of the plan to create/update */
|
|
448
461
|
planId: string;
|
|
449
462
|
}
|
|
@@ -455,17 +468,17 @@ export interface CreateInstanceResponse {
|
|
|
455
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. */
|
|
456
469
|
export interface CreateLogsAlertgroupsRequestRulesItem {
|
|
457
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 */
|
|
458
|
-
alert?: string;
|
|
471
|
+
alert?: string | undefined;
|
|
459
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 */
|
|
460
|
-
annotations?: unknown;
|
|
473
|
+
annotations?: unknown | undefined;
|
|
461
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. */
|
|
462
475
|
expr: string;
|
|
463
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 */
|
|
464
|
-
for?: string;
|
|
477
|
+
for?: string | undefined;
|
|
465
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 */
|
|
466
|
-
labels?: unknown;
|
|
479
|
+
labels?: unknown | undefined;
|
|
467
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 */
|
|
468
|
-
record?: string;
|
|
481
|
+
record?: string | undefined;
|
|
469
482
|
}
|
|
470
483
|
/** rules for the alert group */
|
|
471
484
|
export type CreateLogsAlertgroupsRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
|
|
@@ -473,7 +486,7 @@ export interface CreateLogsAlertgroupsRequest {
|
|
|
473
486
|
projectId: string;
|
|
474
487
|
instanceId: string;
|
|
475
488
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
476
|
-
interval?: string;
|
|
489
|
+
interval?: string | undefined;
|
|
477
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- */
|
|
478
491
|
name: string;
|
|
479
492
|
/** rules for the alert group */
|
|
@@ -492,7 +505,7 @@ export interface MongodbCheckChildResponse {
|
|
|
492
505
|
export type MongodbCheckResponseMongodbChecksList = Array<MongodbCheckChildResponse>;
|
|
493
506
|
export interface MongodbCheckResponse {
|
|
494
507
|
message: string;
|
|
495
|
-
mongodbCheck?: MongodbCheckChildResponse;
|
|
508
|
+
mongodbCheck?: MongodbCheckChildResponse | undefined;
|
|
496
509
|
mongodbChecks: MongodbCheckResponseMongodbChecksList;
|
|
497
510
|
}
|
|
498
511
|
export interface CreateMysqlCheckRequest {
|
|
@@ -505,7 +518,7 @@ export type MysqlCheckChildResponse = MongodbCheckChildResponse;
|
|
|
505
518
|
export type MysqlCheckResponseMysqlChecksList = Array<MongodbCheckChildResponse>;
|
|
506
519
|
export interface MysqlCheckResponse {
|
|
507
520
|
message: string;
|
|
508
|
-
mysqlCheck?: MongodbCheckChildResponse;
|
|
521
|
+
mysqlCheck?: MongodbCheckChildResponse | undefined;
|
|
509
522
|
mysqlChecks: MysqlCheckResponseMysqlChecksList;
|
|
510
523
|
}
|
|
511
524
|
export interface CreateNetworkCheckRequest {
|
|
@@ -521,7 +534,7 @@ export interface NetworkCheckChildResponse {
|
|
|
521
534
|
export type NetworkCheckResponseNetworkChecksList = Array<NetworkCheckChildResponse>;
|
|
522
535
|
export interface NetworkCheckResponse {
|
|
523
536
|
message: string;
|
|
524
|
-
networkCheck?: NetworkCheckChildResponse;
|
|
537
|
+
networkCheck?: NetworkCheckChildResponse | undefined;
|
|
525
538
|
networkChecks: NetworkCheckResponseNetworkChecksList;
|
|
526
539
|
}
|
|
527
540
|
export interface CreatePingCheckRequest {
|
|
@@ -534,7 +547,7 @@ export type PingCheckChildResponse = HttpCheckChildResponse;
|
|
|
534
547
|
export type PingCheckResponsePingChecksList = Array<HttpCheckChildResponse>;
|
|
535
548
|
export interface PingCheckResponse {
|
|
536
549
|
message: string;
|
|
537
|
-
pingCheck?: HttpCheckChildResponse;
|
|
550
|
+
pingCheck?: HttpCheckChildResponse | undefined;
|
|
538
551
|
pingChecks: PingCheckResponsePingChecksList;
|
|
539
552
|
}
|
|
540
553
|
export interface CreatePostgresqlCheckRequest {
|
|
@@ -547,54 +560,54 @@ export type PostgresqlCheckChildResponse = NetworkCheckChildResponse;
|
|
|
547
560
|
export type PostgresqlCheckResponsePostgresqlChecksList = Array<NetworkCheckChildResponse>;
|
|
548
561
|
export interface PostgresqlCheckResponse {
|
|
549
562
|
message: string;
|
|
550
|
-
postgresqlCheck?: NetworkCheckChildResponse;
|
|
563
|
+
postgresqlCheck?: NetworkCheckChildResponse | undefined;
|
|
551
564
|
postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList;
|
|
552
565
|
}
|
|
553
566
|
export interface CreateRabbitmqCheckRequest {
|
|
554
567
|
projectId: string;
|
|
555
568
|
instanceId: string;
|
|
556
569
|
/** password */
|
|
557
|
-
password?: string | Redacted.Redacted<string
|
|
570
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
558
571
|
/** url to check */
|
|
559
572
|
url: string;
|
|
560
573
|
/** username */
|
|
561
|
-
username?: string;
|
|
574
|
+
username?: string | undefined;
|
|
562
575
|
}
|
|
563
576
|
export interface RabbitMQCheckChildResponse {
|
|
564
577
|
id: string;
|
|
565
|
-
password?: string | Redacted.Redacted<string
|
|
578
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
566
579
|
url: string;
|
|
567
|
-
username?: string;
|
|
580
|
+
username?: string | undefined;
|
|
568
581
|
}
|
|
569
582
|
export type RabbitmqCheckResponseRabbitmqChecksList = Array<RabbitMQCheckChildResponse>;
|
|
570
583
|
export interface RabbitmqCheckResponse {
|
|
571
584
|
message: string;
|
|
572
|
-
rabbitmqCheck?: RabbitMQCheckChildResponse;
|
|
585
|
+
rabbitmqCheck?: RabbitMQCheckChildResponse | undefined;
|
|
573
586
|
rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList;
|
|
574
587
|
}
|
|
575
588
|
export interface CreateRedisCheckRequest {
|
|
576
589
|
projectId: string;
|
|
577
590
|
instanceId: string;
|
|
578
591
|
/** password */
|
|
579
|
-
password?: string | Redacted.Redacted<string
|
|
592
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
580
593
|
/** url to check */
|
|
581
594
|
server: string;
|
|
582
595
|
/** username */
|
|
583
|
-
username?: string;
|
|
596
|
+
username?: string | undefined;
|
|
584
597
|
}
|
|
585
598
|
export type RedisCheckChildResponse = ElasticsearchCheckChildResponse;
|
|
586
599
|
export type RedisCheckResponseRedisChecksList = Array<ElasticsearchCheckChildResponse>;
|
|
587
600
|
export interface RedisCheckResponse {
|
|
588
601
|
message: string;
|
|
589
|
-
redisCheck?: ElasticsearchCheckChildResponse;
|
|
602
|
+
redisCheck?: ElasticsearchCheckChildResponse | undefined;
|
|
590
603
|
redisChecks: RedisCheckResponseRedisChecksList;
|
|
591
604
|
}
|
|
592
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 */
|
|
593
606
|
export interface CreateScrapeConfigRequestBasicAuth {
|
|
594
607
|
/** password */
|
|
595
|
-
password?: string | Redacted.Redacted<string
|
|
608
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
596
609
|
/** username */
|
|
597
|
-
username?: string;
|
|
610
|
+
username?: string | undefined;
|
|
598
611
|
}
|
|
599
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 */
|
|
600
613
|
export type CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth =
|
|
@@ -604,7 +617,7 @@ export type CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = Array<s
|
|
|
604
617
|
/** Configures the scrape request's TLS settings. */
|
|
605
618
|
export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig {
|
|
606
619
|
/** Disable validation of the server certificate. */
|
|
607
|
-
insecureSkipVerify?: boolean;
|
|
620
|
+
insecureSkipVerify?: boolean | undefined;
|
|
608
621
|
}
|
|
609
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 */
|
|
610
623
|
export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
|
|
@@ -613,9 +626,9 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
|
|
|
613
626
|
/** clientSecret */
|
|
614
627
|
clientSecret: string | Redacted.Redacted<string>;
|
|
615
628
|
/** The URL to fetch the token from. */
|
|
616
|
-
scopes?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList;
|
|
629
|
+
scopes?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList | undefined;
|
|
617
630
|
/** Configures the scrape request's TLS settings. */
|
|
618
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
631
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
619
632
|
/** The URL to fetch the token from. */
|
|
620
633
|
tokenUrl: string;
|
|
621
634
|
}
|
|
@@ -624,13 +637,13 @@ export type CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig =
|
|
|
624
637
|
CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
625
638
|
export interface CreateScrapeConfigRequestHttpSdConfigsItem {
|
|
626
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 */
|
|
627
|
-
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
640
|
+
basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
|
|
628
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 */
|
|
629
|
-
oauth2?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2;
|
|
642
|
+
oauth2?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2 | undefined;
|
|
630
643
|
/** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
|
|
631
|
-
refreshInterval?: string;
|
|
644
|
+
refreshInterval?: string | undefined;
|
|
632
645
|
/** Configures the scrape request's TLS settings. */
|
|
633
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
646
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
634
647
|
/** URL from which the targets are fetched. */
|
|
635
648
|
url: string;
|
|
636
649
|
}
|
|
@@ -650,19 +663,19 @@ export type CreateScrapeConfigRequestMetricsRelabelConfigsItemAction =
|
|
|
650
663
|
export type CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
|
|
651
664
|
export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
|
|
652
665
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
653
|
-
action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
|
|
666
|
+
action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {}) | undefined;
|
|
654
667
|
/** Modulus to take of the hash of the source label values. */
|
|
655
|
-
modulus?: number;
|
|
668
|
+
modulus?: number | undefined;
|
|
656
669
|
/** Regular expression against which the extracted value is matched. */
|
|
657
|
-
regex?: string;
|
|
670
|
+
regex?: string | undefined;
|
|
658
671
|
/** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
|
|
659
|
-
replacement?: string;
|
|
672
|
+
replacement?: string | undefined;
|
|
660
673
|
/** Separator placed between concatenated source label values. */
|
|
661
|
-
separator?: string;
|
|
674
|
+
separator?: string | undefined;
|
|
662
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. */
|
|
663
|
-
sourceLabels?: CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
|
|
676
|
+
sourceLabels?: CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList | undefined;
|
|
664
677
|
/** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
|
|
665
|
-
targetLabel?: string;
|
|
678
|
+
targetLabel?: string | undefined;
|
|
666
679
|
}
|
|
667
680
|
/** List of metric relabel configurations */
|
|
668
681
|
export type CreateScrapeConfigRequestMetricsRelabelConfigsList =
|
|
@@ -679,9 +692,9 @@ export interface CreateScrapeConfigRequestOauth2 {
|
|
|
679
692
|
/** clientSecret */
|
|
680
693
|
clientSecret: string | Redacted.Redacted<string>;
|
|
681
694
|
/** The URL to fetch the token from. */
|
|
682
|
-
scopes?: CreateScrapeConfigRequestOauth2ScopesList;
|
|
695
|
+
scopes?: CreateScrapeConfigRequestOauth2ScopesList | undefined;
|
|
683
696
|
/** Configures the scrape request's TLS settings. */
|
|
684
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
697
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
685
698
|
/** The URL to fetch the token from. */
|
|
686
699
|
tokenUrl: string;
|
|
687
700
|
}
|
|
@@ -691,7 +704,7 @@ export type CreateScrapeConfigRequestScheme = "http" | "https";
|
|
|
691
704
|
export type CreateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
|
|
692
705
|
export interface CreateScrapeConfigRequestStaticConfigsItem {
|
|
693
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 */
|
|
694
|
-
labels?: unknown;
|
|
707
|
+
labels?: unknown | undefined;
|
|
695
708
|
/** The targets specified by the static config. */
|
|
696
709
|
targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList;
|
|
697
710
|
}
|
|
@@ -705,27 +718,27 @@ export interface CreateScrapeConfigRequest {
|
|
|
705
718
|
projectId: string;
|
|
706
719
|
instanceId: string;
|
|
707
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 */
|
|
708
|
-
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
721
|
+
basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
|
|
709
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 */
|
|
710
|
-
bearerToken?: string;
|
|
723
|
+
bearerToken?: string | undefined;
|
|
711
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. */
|
|
712
|
-
honorLabels?: boolean;
|
|
725
|
+
honorLabels?: boolean | undefined;
|
|
713
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. */
|
|
714
|
-
honorTimeStamps?: boolean;
|
|
727
|
+
honorTimeStamps?: boolean | undefined;
|
|
715
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. */
|
|
716
|
-
httpSdConfigs?: CreateScrapeConfigRequestHttpSdConfigsList;
|
|
729
|
+
httpSdConfigs?: CreateScrapeConfigRequestHttpSdConfigsList | undefined;
|
|
717
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- */
|
|
718
731
|
jobName: string;
|
|
719
732
|
/** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
|
|
720
|
-
metricsPath?: string;
|
|
733
|
+
metricsPath?: string | undefined;
|
|
721
734
|
/** List of metric relabel configurations */
|
|
722
|
-
metricsRelabelConfigs?: CreateScrapeConfigRequestMetricsRelabelConfigsList;
|
|
735
|
+
metricsRelabelConfigs?: CreateScrapeConfigRequestMetricsRelabelConfigsList | undefined;
|
|
723
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 */
|
|
724
|
-
oauth2?: CreateScrapeConfigRequestOauth2;
|
|
737
|
+
oauth2?: CreateScrapeConfigRequestOauth2 | undefined;
|
|
725
738
|
/** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
|
|
726
|
-
params?: unknown;
|
|
739
|
+
params?: unknown | undefined;
|
|
727
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 */
|
|
728
|
-
sampleLimit?: number;
|
|
741
|
+
sampleLimit?: number | undefined;
|
|
729
742
|
/** Configures the protocol scheme used for requests. https or http */
|
|
730
743
|
scheme: CreateScrapeConfigRequestScheme | (string & {});
|
|
731
744
|
/** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
|
|
@@ -735,7 +748,7 @@ export interface CreateScrapeConfigRequest {
|
|
|
735
748
|
/** A list of scrape configurations. */
|
|
736
749
|
staticConfigs: CreateScrapeConfigRequestStaticConfigsList;
|
|
737
750
|
/** Configures the scrape request's TLS settings. */
|
|
738
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
751
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
739
752
|
}
|
|
740
753
|
export interface BasicAuth {
|
|
741
754
|
password: string | Redacted.Redacted<string>;
|
|
@@ -743,20 +756,20 @@ export interface BasicAuth {
|
|
|
743
756
|
}
|
|
744
757
|
export type OAuth2ScopesList = Array<string>;
|
|
745
758
|
export interface TLSConfig {
|
|
746
|
-
insecureSkipVerify?: boolean;
|
|
759
|
+
insecureSkipVerify?: boolean | undefined;
|
|
747
760
|
}
|
|
748
761
|
export interface OAuth2 {
|
|
749
762
|
clientId: string;
|
|
750
763
|
clientSecret: string | Redacted.Redacted<string>;
|
|
751
|
-
scopes?: OAuth2ScopesList;
|
|
752
|
-
tlsConfig?: TLSConfig;
|
|
764
|
+
scopes?: OAuth2ScopesList | undefined;
|
|
765
|
+
tlsConfig?: TLSConfig | undefined;
|
|
753
766
|
tokenUrl: string;
|
|
754
767
|
}
|
|
755
768
|
export interface HTTPServiceSD {
|
|
756
|
-
basicAuth?: BasicAuth;
|
|
757
|
-
oauth2?: OAuth2;
|
|
758
|
-
refreshInterval?: string;
|
|
759
|
-
tlsConfig?: TLSConfig;
|
|
769
|
+
basicAuth?: BasicAuth | undefined;
|
|
770
|
+
oauth2?: OAuth2 | undefined;
|
|
771
|
+
refreshInterval?: string | undefined;
|
|
772
|
+
tlsConfig?: TLSConfig | undefined;
|
|
760
773
|
url: string;
|
|
761
774
|
}
|
|
762
775
|
export type JobHttpSdConfigsList = Array<HTTPServiceSD>;
|
|
@@ -770,13 +783,13 @@ export type MetricsRelabelConfigAction =
|
|
|
770
783
|
| "labelkeep";
|
|
771
784
|
export type MetricsRelabelConfigSourceLabelsList = Array<string>;
|
|
772
785
|
export interface MetricsRelabelConfig {
|
|
773
|
-
action?: MetricsRelabelConfigAction;
|
|
774
|
-
modulus?: number;
|
|
775
|
-
regex?: string;
|
|
776
|
-
replacement?: string;
|
|
777
|
-
separator?: string;
|
|
786
|
+
action?: MetricsRelabelConfigAction | undefined;
|
|
787
|
+
modulus?: number | undefined;
|
|
788
|
+
regex?: string | undefined;
|
|
789
|
+
replacement?: string | undefined;
|
|
790
|
+
separator?: string | undefined;
|
|
778
791
|
sourceLabels: MetricsRelabelConfigSourceLabelsList;
|
|
779
|
-
targetLabel?: string;
|
|
792
|
+
targetLabel?: string | undefined;
|
|
780
793
|
}
|
|
781
794
|
export type JobMetricsRelabelConfigsList = Array<MetricsRelabelConfig>;
|
|
782
795
|
export type JobParamsValueList = Array<string>;
|
|
@@ -785,27 +798,27 @@ export type JobScheme = "http" | "https";
|
|
|
785
798
|
export type StaticConfigsLabelsMap = { [key: string]: string | undefined };
|
|
786
799
|
export type StaticConfigsTargetsList = Array<string>;
|
|
787
800
|
export interface StaticConfigs {
|
|
788
|
-
labels?: StaticConfigsLabelsMap;
|
|
801
|
+
labels?: StaticConfigsLabelsMap | undefined;
|
|
789
802
|
targets: StaticConfigsTargetsList;
|
|
790
803
|
}
|
|
791
804
|
export type JobStaticConfigsList = Array<StaticConfigs>;
|
|
792
805
|
export interface Job {
|
|
793
|
-
basicAuth?: BasicAuth;
|
|
794
|
-
bearerToken?: string;
|
|
795
|
-
honorLabels?: boolean;
|
|
796
|
-
honorTimeStamps?: boolean;
|
|
797
|
-
httpSdConfigs?: JobHttpSdConfigsList;
|
|
806
|
+
basicAuth?: BasicAuth | undefined;
|
|
807
|
+
bearerToken?: string | undefined;
|
|
808
|
+
honorLabels?: boolean | undefined;
|
|
809
|
+
honorTimeStamps?: boolean | undefined;
|
|
810
|
+
httpSdConfigs?: JobHttpSdConfigsList | undefined;
|
|
798
811
|
jobName: string;
|
|
799
|
-
metricsPath?: string;
|
|
800
|
-
metricsRelabelConfigs?: JobMetricsRelabelConfigsList;
|
|
801
|
-
oauth2?: OAuth2;
|
|
802
|
-
params?: JobParamsMap;
|
|
803
|
-
sampleLimit?: number;
|
|
804
|
-
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;
|
|
805
818
|
scrapeInterval: string;
|
|
806
819
|
scrapeTimeout: string;
|
|
807
820
|
staticConfigs: JobStaticConfigsList;
|
|
808
|
-
tlsConfig?: TLSConfig;
|
|
821
|
+
tlsConfig?: TLSConfig | undefined;
|
|
809
822
|
}
|
|
810
823
|
export type ScrapeConfigsResponseDataList = Array<Job>;
|
|
811
824
|
export interface ScrapeConfigsResponse {
|
|
@@ -974,14 +987,14 @@ export interface GetAlertConfigsRequest {
|
|
|
974
987
|
instanceId: string;
|
|
975
988
|
}
|
|
976
989
|
export interface Global {
|
|
977
|
-
opsgenieApiKey?: string;
|
|
978
|
-
opsgenieApiUrl?: string;
|
|
979
|
-
resolveTimeout?: string;
|
|
980
|
-
smtpAuthIdentity?: string;
|
|
981
|
-
smtpAuthPassword?: string | Redacted.Redacted<string
|
|
982
|
-
smtpAuthUsername?: string;
|
|
983
|
-
smtpFrom?: string;
|
|
984
|
-
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;
|
|
985
998
|
}
|
|
986
999
|
export type InhibitRulesEqualList = Array<string>;
|
|
987
1000
|
export type InhibitRulesSourceMatchMap = { [key: string]: string | undefined };
|
|
@@ -991,19 +1004,19 @@ export type InhibitRulesTargetMatchMap = { [key: string]: string | undefined };
|
|
|
991
1004
|
export type InhibitRulesTargetMatchReMap = { [key: string]: string | undefined };
|
|
992
1005
|
export type InhibitRulesTargetMatchersList = Array<string>;
|
|
993
1006
|
export interface InhibitRules {
|
|
994
|
-
equal?: InhibitRulesEqualList;
|
|
995
|
-
sourceMatch?: InhibitRulesSourceMatchMap;
|
|
996
|
-
sourceMatchRe?: InhibitRulesSourceMatchReMap;
|
|
997
|
-
sourceMatchers?: InhibitRulesSourceMatchersList;
|
|
998
|
-
targetMatch?: InhibitRulesTargetMatchMap;
|
|
999
|
-
targetMatchRe?: InhibitRulesTargetMatchReMap;
|
|
1000
|
-
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;
|
|
1001
1014
|
}
|
|
1002
1015
|
export type AlertInhibitRulesList = Array<InhibitRules>;
|
|
1003
1016
|
export type AlertReceiversList = Array<Receivers>;
|
|
1004
1017
|
export interface Alert {
|
|
1005
|
-
global?: Global;
|
|
1006
|
-
inhibitRules?: AlertInhibitRulesList;
|
|
1018
|
+
global?: Global | undefined;
|
|
1019
|
+
inhibitRules?: AlertInhibitRulesList | undefined;
|
|
1007
1020
|
receivers: AlertReceiversList;
|
|
1008
1021
|
route: Route;
|
|
1009
1022
|
}
|
|
@@ -1047,7 +1060,7 @@ export interface GetCredentialsRequest {
|
|
|
1047
1060
|
}
|
|
1048
1061
|
export type GetCredentialsResponseCredentialsInfoMap = { [key: string]: string | null | undefined };
|
|
1049
1062
|
export interface GetCredentialsResponse {
|
|
1050
|
-
credentialsInfo?: GetCredentialsResponseCredentialsInfoMap;
|
|
1063
|
+
credentialsInfo?: GetCredentialsResponseCredentialsInfoMap | undefined;
|
|
1051
1064
|
id: string;
|
|
1052
1065
|
message: string;
|
|
1053
1066
|
name: string;
|
|
@@ -1067,24 +1080,24 @@ export interface GetGrafanaConfigsRequest {
|
|
|
1067
1080
|
instanceId: string;
|
|
1068
1081
|
}
|
|
1069
1082
|
export interface GrafanaOauth {
|
|
1070
|
-
allowAssignGrafanaAdmin?: boolean;
|
|
1083
|
+
allowAssignGrafanaAdmin?: boolean | undefined;
|
|
1071
1084
|
apiUrl: string;
|
|
1072
1085
|
authUrl: string;
|
|
1073
1086
|
enabled: boolean;
|
|
1074
|
-
name?: string;
|
|
1087
|
+
name?: string | undefined;
|
|
1075
1088
|
oauthClientId: string;
|
|
1076
1089
|
oauthClientSecret: string;
|
|
1077
1090
|
roleAttributePath: string;
|
|
1078
|
-
roleAttributeStrict?: boolean;
|
|
1079
|
-
scopes?: string;
|
|
1091
|
+
roleAttributeStrict?: boolean | undefined;
|
|
1092
|
+
scopes?: string | undefined;
|
|
1080
1093
|
tokenUrl: string;
|
|
1081
|
-
usePkce?: boolean;
|
|
1094
|
+
usePkce?: boolean | undefined;
|
|
1082
1095
|
}
|
|
1083
1096
|
export interface GrafanaConfigs {
|
|
1084
|
-
genericOauth?: GrafanaOauth;
|
|
1097
|
+
genericOauth?: GrafanaOauth | undefined;
|
|
1085
1098
|
message: string;
|
|
1086
|
-
publicReadAccess?: boolean;
|
|
1087
|
-
useStackitSso?: boolean;
|
|
1099
|
+
publicReadAccess?: boolean | undefined;
|
|
1100
|
+
useStackitSso?: boolean | undefined;
|
|
1088
1101
|
}
|
|
1089
1102
|
export interface GetInstanceRequest {
|
|
1090
1103
|
projectId: string;
|
|
@@ -1094,9 +1107,9 @@ export interface PlanModel {
|
|
|
1094
1107
|
alertMatchers: number;
|
|
1095
1108
|
alertReceivers: number;
|
|
1096
1109
|
alertRules: number;
|
|
1097
|
-
amount?: number;
|
|
1110
|
+
amount?: number | undefined;
|
|
1098
1111
|
bucketSize: number;
|
|
1099
|
-
description?: string;
|
|
1112
|
+
description?: string | undefined;
|
|
1100
1113
|
grafanaGlobalDashboards: number;
|
|
1101
1114
|
grafanaGlobalOrgs: number;
|
|
1102
1115
|
grafanaGlobalSessions: number;
|
|
@@ -1104,7 +1117,7 @@ export interface PlanModel {
|
|
|
1104
1117
|
id: string;
|
|
1105
1118
|
logsAlert: number;
|
|
1106
1119
|
logsStorage: number;
|
|
1107
|
-
name?: string;
|
|
1120
|
+
name?: string | undefined;
|
|
1108
1121
|
planId: string;
|
|
1109
1122
|
samplesPerScrape: number;
|
|
1110
1123
|
targetNumber: number;
|
|
@@ -1115,13 +1128,13 @@ export interface InstanceSensitiveData {
|
|
|
1115
1128
|
alertingUrl: string;
|
|
1116
1129
|
cluster: string;
|
|
1117
1130
|
grafanaAdminEnabled: boolean;
|
|
1118
|
-
grafanaAdminPassword?: string | Redacted.Redacted<string
|
|
1119
|
-
grafanaAdminUser?: string;
|
|
1131
|
+
grafanaAdminPassword?: string | Redacted.Redacted<string> | undefined;
|
|
1132
|
+
grafanaAdminUser?: string | undefined;
|
|
1120
1133
|
grafanaPublicReadAccess: boolean;
|
|
1121
1134
|
grafanaUrl: string;
|
|
1122
1135
|
grafanaUseStackitSso: boolean;
|
|
1123
1136
|
instance: string;
|
|
1124
|
-
jaegerHttpTracesUrl?: string;
|
|
1137
|
+
jaegerHttpTracesUrl?: string | undefined;
|
|
1125
1138
|
jaegerHttpUrl: string;
|
|
1126
1139
|
jaegerTracesUrl: string;
|
|
1127
1140
|
jaegerUiUrl: string;
|
|
@@ -1132,7 +1145,7 @@ export interface InstanceSensitiveData {
|
|
|
1132
1145
|
metricsRetentionTime5m: number;
|
|
1133
1146
|
metricsRetentionTimeRaw: number;
|
|
1134
1147
|
metricsUrl: string;
|
|
1135
|
-
name?: string;
|
|
1148
|
+
name?: string | undefined;
|
|
1136
1149
|
otlpGrpcTracesUrl: string;
|
|
1137
1150
|
otlpHttpLogsUrl: string;
|
|
1138
1151
|
otlpHttpTracesUrl: string;
|
|
@@ -1155,16 +1168,16 @@ export type GetInstanceResponseStatus =
|
|
|
1155
1168
|
| "UPDATE_FAILED";
|
|
1156
1169
|
export interface GetInstanceResponse {
|
|
1157
1170
|
dashboardUrl: string;
|
|
1158
|
-
error?: string | null;
|
|
1171
|
+
error?: string | null | undefined;
|
|
1159
1172
|
id: string;
|
|
1160
1173
|
instance: InstanceSensitiveData;
|
|
1161
|
-
isUpdatable?: boolean;
|
|
1174
|
+
isUpdatable?: boolean | undefined;
|
|
1162
1175
|
message: string;
|
|
1163
|
-
name?: string;
|
|
1164
|
-
parameters?: GetInstanceResponseParametersMap;
|
|
1176
|
+
name?: string | undefined;
|
|
1177
|
+
parameters?: GetInstanceResponseParametersMap | undefined;
|
|
1165
1178
|
planId: string;
|
|
1166
1179
|
planName: string;
|
|
1167
|
-
planSchema?: string;
|
|
1180
|
+
planSchema?: string | undefined;
|
|
1168
1181
|
serviceName: string;
|
|
1169
1182
|
status: GetInstanceResponseStatus;
|
|
1170
1183
|
}
|
|
@@ -1266,7 +1279,7 @@ export interface ListBackupsRequest {
|
|
|
1266
1279
|
projectId: string;
|
|
1267
1280
|
instanceId: string;
|
|
1268
1281
|
/** List of backup targets */
|
|
1269
|
-
backupTarget?: ListBackupsRequestBackupTargetList;
|
|
1282
|
+
backupTarget?: ListBackupsRequestBackupTargetList | undefined;
|
|
1270
1283
|
}
|
|
1271
1284
|
export type BackupResponseAlertConfigBackupsList = Array<string>;
|
|
1272
1285
|
export type BackupResponseAlertRulesBackupsList = Array<string>;
|
|
@@ -1291,7 +1304,7 @@ export interface ListBackupSchedulesRequest {
|
|
|
1291
1304
|
projectId: string;
|
|
1292
1305
|
instanceId: string;
|
|
1293
1306
|
/** List of backup targets */
|
|
1294
|
-
backupTarget?: ListBackupSchedulesRequestBackupTargetList;
|
|
1307
|
+
backupTarget?: ListBackupSchedulesRequestBackupTargetList | undefined;
|
|
1295
1308
|
}
|
|
1296
1309
|
export interface BackupSchedule {
|
|
1297
1310
|
schedule: string;
|
|
@@ -1302,11 +1315,11 @@ export type BackupScheduleResponseAlertRulesBackupSchedulesList = Array<BackupSc
|
|
|
1302
1315
|
export type BackupScheduleResponseGrafanaBackupSchedulesList = Array<BackupSchedule>;
|
|
1303
1316
|
export type BackupScheduleResponseScrapeConfigBackupSchedulesList = Array<BackupSchedule>;
|
|
1304
1317
|
export interface BackupScheduleResponse {
|
|
1305
|
-
alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList;
|
|
1306
|
-
alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList;
|
|
1307
|
-
grafanaBackupSchedules?: BackupScheduleResponseGrafanaBackupSchedulesList;
|
|
1318
|
+
alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList | undefined;
|
|
1319
|
+
alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList | undefined;
|
|
1320
|
+
grafanaBackupSchedules?: BackupScheduleResponseGrafanaBackupSchedulesList | undefined;
|
|
1308
1321
|
message: string;
|
|
1309
|
-
scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList;
|
|
1322
|
+
scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList | undefined;
|
|
1310
1323
|
}
|
|
1311
1324
|
export interface ListCertChecksRequest {
|
|
1312
1325
|
projectId: string;
|
|
@@ -1318,8 +1331,8 @@ export interface ListCredentialsRequest {
|
|
|
1318
1331
|
}
|
|
1319
1332
|
export type ServiceKeysListCredentialsInfoMap = { [key: string]: string | null | undefined };
|
|
1320
1333
|
export interface ServiceKeysList {
|
|
1321
|
-
credentialsInfo?: ServiceKeysListCredentialsInfoMap;
|
|
1322
|
-
description?: string;
|
|
1334
|
+
credentialsInfo?: ServiceKeysListCredentialsInfoMap | undefined;
|
|
1335
|
+
description?: string | undefined;
|
|
1323
1336
|
id: string;
|
|
1324
1337
|
name: string;
|
|
1325
1338
|
}
|
|
@@ -1350,10 +1363,10 @@ export type ProjectInstanceFullStatus =
|
|
|
1350
1363
|
| "UPDATE_SUCCEEDED"
|
|
1351
1364
|
| "UPDATE_FAILED";
|
|
1352
1365
|
export interface ProjectInstanceFull {
|
|
1353
|
-
error?: string | null;
|
|
1366
|
+
error?: string | null | undefined;
|
|
1354
1367
|
id: string;
|
|
1355
1368
|
instance: string;
|
|
1356
|
-
name?: string;
|
|
1369
|
+
name?: string | undefined;
|
|
1357
1370
|
planName: string;
|
|
1358
1371
|
serviceName: string;
|
|
1359
1372
|
status: ProjectInstanceFullStatus;
|
|
@@ -1386,22 +1399,22 @@ export interface Plan {
|
|
|
1386
1399
|
alertMatchers: number;
|
|
1387
1400
|
alertReceivers: number;
|
|
1388
1401
|
alertRules: number;
|
|
1389
|
-
amount?: number;
|
|
1402
|
+
amount?: number | undefined;
|
|
1390
1403
|
bucketSize: number;
|
|
1391
|
-
description?: string;
|
|
1404
|
+
description?: string | undefined;
|
|
1392
1405
|
grafanaGlobalDashboards: number;
|
|
1393
1406
|
grafanaGlobalOrgs: number;
|
|
1394
1407
|
grafanaGlobalSessions: number;
|
|
1395
1408
|
grafanaGlobalUsers: number;
|
|
1396
1409
|
id: string;
|
|
1397
|
-
isFree?: boolean;
|
|
1398
|
-
isPublic?: boolean;
|
|
1410
|
+
isFree?: boolean | undefined;
|
|
1411
|
+
isPublic?: boolean | undefined;
|
|
1399
1412
|
logsAlert: number;
|
|
1400
1413
|
logsStorage: number;
|
|
1401
|
-
name?: string;
|
|
1414
|
+
name?: string | undefined;
|
|
1402
1415
|
planId: string;
|
|
1403
1416
|
samplesPerScrape: number;
|
|
1404
|
-
schema?: string;
|
|
1417
|
+
schema?: string | undefined;
|
|
1405
1418
|
targetNumber: number;
|
|
1406
1419
|
totalMetricSamples: number;
|
|
1407
1420
|
tracesStorage: number;
|
|
@@ -1457,7 +1470,7 @@ export type PartialUpdateAlertgroupsRequestBodyItemRulesList =
|
|
|
1457
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. */
|
|
1458
1471
|
export interface PartialUpdateAlertgroupsRequestBodyItem {
|
|
1459
1472
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
1460
|
-
interval?: string;
|
|
1473
|
+
interval?: string | undefined;
|
|
1461
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- */
|
|
1462
1475
|
name: string;
|
|
1463
1476
|
/** rules for the alert group */
|
|
@@ -1476,7 +1489,7 @@ export interface PartialUpdateAlertRecordsRequestBodyItem {
|
|
|
1476
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. */
|
|
1477
1490
|
expr: string;
|
|
1478
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 */
|
|
1479
|
-
labels?: unknown;
|
|
1492
|
+
labels?: unknown | undefined;
|
|
1480
1493
|
/** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
|
|
1481
1494
|
record: string;
|
|
1482
1495
|
}
|
|
@@ -1494,13 +1507,13 @@ export interface PartialUpdateAlertrulesRequestBodyItem {
|
|
|
1494
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- */
|
|
1495
1508
|
alert: string;
|
|
1496
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 */
|
|
1497
|
-
annotations?: unknown;
|
|
1510
|
+
annotations?: unknown | undefined;
|
|
1498
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. */
|
|
1499
1512
|
expr: string;
|
|
1500
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 */
|
|
1501
|
-
for?: string;
|
|
1514
|
+
for?: string | undefined;
|
|
1502
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 */
|
|
1503
|
-
labels?: unknown;
|
|
1516
|
+
labels?: unknown | undefined;
|
|
1504
1517
|
}
|
|
1505
1518
|
/** Array of alert rules that should be created or updated */
|
|
1506
1519
|
export type PartialUpdateAlertrulesRequestBodyList = Array<PartialUpdateAlertrulesRequestBodyItem>;
|
|
@@ -1528,9 +1541,9 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth
|
|
|
1528
1541
|
/** clientSecret */
|
|
1529
1542
|
clientSecret: string | Redacted.Redacted<string>;
|
|
1530
1543
|
/** The URL to fetch the token from. */
|
|
1531
|
-
scopes?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList;
|
|
1544
|
+
scopes?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList | undefined;
|
|
1532
1545
|
/** Configures the scrape request's TLS settings. */
|
|
1533
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1546
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
1534
1547
|
/** The URL to fetch the token from. */
|
|
1535
1548
|
tokenUrl: string;
|
|
1536
1549
|
}
|
|
@@ -1539,13 +1552,13 @@ export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig
|
|
|
1539
1552
|
CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1540
1553
|
export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem {
|
|
1541
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 */
|
|
1542
|
-
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
1555
|
+
basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
|
|
1543
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 */
|
|
1544
|
-
oauth2?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2;
|
|
1557
|
+
oauth2?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 | undefined;
|
|
1545
1558
|
/** Refresh interval to re-query the endpoint. E.g. 60s `Additional Validators:` * must be a valid time format* must be >= 60s */
|
|
1546
|
-
refreshInterval?: string;
|
|
1559
|
+
refreshInterval?: string | undefined;
|
|
1547
1560
|
/** Configures the scrape request's TLS settings. */
|
|
1548
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1561
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
1549
1562
|
/** URL from which the targets are fetched. */
|
|
1550
1563
|
url: string;
|
|
1551
1564
|
}
|
|
@@ -1566,19 +1579,24 @@ export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSo
|
|
|
1566
1579
|
Array<string>;
|
|
1567
1580
|
export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem {
|
|
1568
1581
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
1569
|
-
action?:
|
|
1582
|
+
action?:
|
|
1583
|
+
| PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction
|
|
1584
|
+
| (string & {})
|
|
1585
|
+
| undefined;
|
|
1570
1586
|
/** Modulus to take of the hash of the source label values. */
|
|
1571
|
-
modulus?: number;
|
|
1587
|
+
modulus?: number | undefined;
|
|
1572
1588
|
/** Regular expression against which the extracted value is matched. */
|
|
1573
|
-
regex?: string;
|
|
1589
|
+
regex?: string | undefined;
|
|
1574
1590
|
/** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
|
|
1575
|
-
replacement?: string;
|
|
1591
|
+
replacement?: string | undefined;
|
|
1576
1592
|
/** Separator placed between concatenated source label values. */
|
|
1577
|
-
separator?: string;
|
|
1593
|
+
separator?: string | undefined;
|
|
1578
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. */
|
|
1579
|
-
sourceLabels?:
|
|
1595
|
+
sourceLabels?:
|
|
1596
|
+
| PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList
|
|
1597
|
+
| undefined;
|
|
1580
1598
|
/** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
|
|
1581
|
-
targetLabel?: string;
|
|
1599
|
+
targetLabel?: string | undefined;
|
|
1582
1600
|
}
|
|
1583
1601
|
/** List of metric relabel configurations */
|
|
1584
1602
|
export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList =
|
|
@@ -1595,9 +1613,9 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemOauth2 {
|
|
|
1595
1613
|
/** clientSecret */
|
|
1596
1614
|
clientSecret: string | Redacted.Redacted<string>;
|
|
1597
1615
|
/** The URL to fetch the token from. */
|
|
1598
|
-
scopes?: PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList;
|
|
1616
|
+
scopes?: PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList | undefined;
|
|
1599
1617
|
/** Configures the scrape request's TLS settings. */
|
|
1600
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1618
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
1601
1619
|
/** The URL to fetch the token from. */
|
|
1602
1620
|
tokenUrl: string;
|
|
1603
1621
|
}
|
|
@@ -1607,7 +1625,7 @@ export type PartialUpdateScrapeConfigsRequestBodyItemScheme = "http" | "https";
|
|
|
1607
1625
|
export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList = Array<string>;
|
|
1608
1626
|
export interface PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem {
|
|
1609
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 */
|
|
1610
|
-
labels?: unknown;
|
|
1628
|
+
labels?: unknown | undefined;
|
|
1611
1629
|
/** The targets specified by the static config. */
|
|
1612
1630
|
targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList;
|
|
1613
1631
|
}
|
|
@@ -1619,27 +1637,29 @@ export type PartialUpdateScrapeConfigsRequestBodyItemTlsConfig =
|
|
|
1619
1637
|
CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1620
1638
|
export interface PartialUpdateScrapeConfigsRequestBodyItem {
|
|
1621
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 */
|
|
1622
|
-
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
1640
|
+
basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
|
|
1623
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 */
|
|
1624
|
-
bearerToken?: string;
|
|
1642
|
+
bearerToken?: string | undefined;
|
|
1625
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. */
|
|
1626
|
-
honorLabels?: boolean;
|
|
1644
|
+
honorLabels?: boolean | undefined;
|
|
1627
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. */
|
|
1628
|
-
honorTimeStamps?: boolean;
|
|
1646
|
+
honorTimeStamps?: boolean | undefined;
|
|
1629
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. */
|
|
1630
|
-
httpSdConfigs?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList;
|
|
1648
|
+
httpSdConfigs?: PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList | undefined;
|
|
1631
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- */
|
|
1632
1650
|
jobName: string;
|
|
1633
1651
|
/** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
|
|
1634
|
-
metricsPath?: string;
|
|
1652
|
+
metricsPath?: string | undefined;
|
|
1635
1653
|
/** List of metric relabel configurations */
|
|
1636
|
-
metricsRelabelConfigs?:
|
|
1654
|
+
metricsRelabelConfigs?:
|
|
1655
|
+
| PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList
|
|
1656
|
+
| undefined;
|
|
1637
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 */
|
|
1638
|
-
oauth2?: PartialUpdateScrapeConfigsRequestBodyItemOauth2;
|
|
1658
|
+
oauth2?: PartialUpdateScrapeConfigsRequestBodyItemOauth2 | undefined;
|
|
1639
1659
|
/** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
|
|
1640
|
-
params?: unknown;
|
|
1660
|
+
params?: unknown | undefined;
|
|
1641
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 */
|
|
1642
|
-
sampleLimit?: number;
|
|
1662
|
+
sampleLimit?: number | undefined;
|
|
1643
1663
|
/** Configures the protocol scheme used for requests. https or http */
|
|
1644
1664
|
scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme | (string & {});
|
|
1645
1665
|
/** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
|
|
@@ -1649,7 +1669,7 @@ export interface PartialUpdateScrapeConfigsRequestBodyItem {
|
|
|
1649
1669
|
/** A list of scrape configurations. */
|
|
1650
1670
|
staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList;
|
|
1651
1671
|
/** Configures the scrape request's TLS settings. */
|
|
1652
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1672
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
1653
1673
|
}
|
|
1654
1674
|
/** Array of jobs that should be created or updated */
|
|
1655
1675
|
export type PartialUpdateScrapeConfigsRequestBodyList =
|
|
@@ -1698,12 +1718,12 @@ export interface UpdateAlertConfigReceiverRequest {
|
|
|
1698
1718
|
instanceId: string;
|
|
1699
1719
|
receiver: string;
|
|
1700
1720
|
/** Email configurations */
|
|
1701
|
-
emailConfigs?: UpdateAlertConfigReceiverRequestEmailConfigsList;
|
|
1721
|
+
emailConfigs?: UpdateAlertConfigReceiverRequestEmailConfigsList | undefined;
|
|
1702
1722
|
/** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
|
|
1703
1723
|
name: string;
|
|
1704
1724
|
/** Configuration for ops genie. */
|
|
1705
|
-
opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList;
|
|
1706
|
-
webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList;
|
|
1725
|
+
opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList | undefined;
|
|
1726
|
+
webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList | undefined;
|
|
1707
1727
|
}
|
|
1708
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. */
|
|
1709
1729
|
export type UpdateAlertConfigRouteRequestGroupByList = Array<string>;
|
|
@@ -1717,24 +1737,24 @@ export type UpdateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
|
|
|
1717
1737
|
/** As in one level above */
|
|
1718
1738
|
export interface UpdateAlertConfigRouteRequestRoutesItem {
|
|
1719
1739
|
/** Whether an alert should continue matching subsequent sibling nodes. */
|
|
1720
|
-
continue?: boolean;
|
|
1721
|
-
groupBy?: UpdateAlertConfigRouteRequestRoutesItemGroupByList;
|
|
1740
|
+
continue?: boolean | undefined;
|
|
1741
|
+
groupBy?: UpdateAlertConfigRouteRequestRoutesItemGroupByList | undefined;
|
|
1722
1742
|
/** As in one level above */
|
|
1723
|
-
groupInterval?: string;
|
|
1743
|
+
groupInterval?: string | undefined;
|
|
1724
1744
|
/** As in one level above */
|
|
1725
|
-
groupWait?: string;
|
|
1745
|
+
groupWait?: string | undefined;
|
|
1726
1746
|
/** As in one level above */
|
|
1727
|
-
match?: unknown;
|
|
1747
|
+
match?: unknown | undefined;
|
|
1728
1748
|
/** As in one level above */
|
|
1729
|
-
matchRe?: unknown;
|
|
1749
|
+
matchRe?: unknown | undefined;
|
|
1730
1750
|
/** As in one level above */
|
|
1731
|
-
matchers?: UpdateAlertConfigRouteRequestRoutesItemMatchersList;
|
|
1751
|
+
matchers?: UpdateAlertConfigRouteRequestRoutesItemMatchersList | undefined;
|
|
1732
1752
|
/** As in one level above */
|
|
1733
|
-
receiver?: string;
|
|
1753
|
+
receiver?: string | undefined;
|
|
1734
1754
|
/** As in one level above */
|
|
1735
|
-
repeatInterval?: string;
|
|
1755
|
+
repeatInterval?: string | undefined;
|
|
1736
1756
|
/** Another child routes */
|
|
1737
|
-
routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList;
|
|
1757
|
+
routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList | undefined;
|
|
1738
1758
|
}
|
|
1739
1759
|
/** Zero or more child routes. */
|
|
1740
1760
|
export type UpdateAlertConfigRouteRequestRoutesList =
|
|
@@ -1744,57 +1764,57 @@ export interface UpdateAlertConfigRouteRequest {
|
|
|
1744
1764
|
instanceId: string;
|
|
1745
1765
|
receiver: string;
|
|
1746
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. */
|
|
1747
|
-
continue?: boolean;
|
|
1767
|
+
continue?: boolean | undefined;
|
|
1748
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. */
|
|
1749
|
-
groupBy?: UpdateAlertConfigRouteRequestGroupByList;
|
|
1769
|
+
groupBy?: UpdateAlertConfigRouteRequestGroupByList | undefined;
|
|
1750
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 */
|
|
1751
|
-
groupInterval?: string;
|
|
1771
|
+
groupInterval?: string | undefined;
|
|
1752
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 */
|
|
1753
|
-
groupWait?: string;
|
|
1773
|
+
groupWait?: string | undefined;
|
|
1754
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_./@&?:- */
|
|
1755
|
-
match?: unknown;
|
|
1775
|
+
match?: unknown | undefined;
|
|
1756
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 */
|
|
1757
|
-
matchRe?: unknown;
|
|
1777
|
+
matchRe?: unknown | undefined;
|
|
1758
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 */
|
|
1759
|
-
matchers?: UpdateAlertConfigRouteRequestMatchersList;
|
|
1779
|
+
matchers?: UpdateAlertConfigRouteRequestMatchersList | undefined;
|
|
1760
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 */
|
|
1761
|
-
repeatInterval?: string;
|
|
1781
|
+
repeatInterval?: string | undefined;
|
|
1762
1782
|
/** Zero or more child routes. */
|
|
1763
|
-
routes?: UpdateAlertConfigRouteRequestRoutesList;
|
|
1783
|
+
routes?: UpdateAlertConfigRouteRequestRoutesList | undefined;
|
|
1764
1784
|
}
|
|
1765
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. */
|
|
1766
1786
|
export interface UpdateAlertConfigsRequestGlobal {
|
|
1767
1787
|
/** Opsgenie api key `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
|
|
1768
|
-
opsgenieApiKey?: string;
|
|
1788
|
+
opsgenieApiKey?: string | undefined;
|
|
1769
1789
|
/** Opsgenie api url `Additional Validators:` * must be a syntactically valid url address */
|
|
1770
|
-
opsgenieApiUrl?: string;
|
|
1790
|
+
opsgenieApiUrl?: string | undefined;
|
|
1771
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 */
|
|
1772
|
-
resolveTimeout?: string;
|
|
1792
|
+
resolveTimeout?: string | undefined;
|
|
1773
1793
|
/** Auth identity. `Additional Validators:` * must be a syntactically valid email address */
|
|
1774
|
-
smtpAuthIdentity?: string;
|
|
1794
|
+
smtpAuthIdentity?: string | undefined;
|
|
1775
1795
|
/** SMTP Auth using LOGIN and PLAIN. */
|
|
1776
|
-
smtpAuthPassword?: string | Redacted.Redacted<string
|
|
1796
|
+
smtpAuthPassword?: string | Redacted.Redacted<string> | undefined;
|
|
1777
1797
|
/** SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. */
|
|
1778
|
-
smtpAuthUsername?: string;
|
|
1798
|
+
smtpAuthUsername?: string | undefined;
|
|
1779
1799
|
/** The default SMTP From header field. `Additional Validators:` * must be a syntactically valid email address */
|
|
1780
|
-
smtpFrom?: string;
|
|
1800
|
+
smtpFrom?: string | undefined;
|
|
1781
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_./@&?:- */
|
|
1782
|
-
smtpSmarthost?: string;
|
|
1802
|
+
smtpSmarthost?: string | undefined;
|
|
1783
1803
|
}
|
|
1784
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_./@&?:- */
|
|
1785
1805
|
export type UpdateAlertConfigsRequestInhibitRulesEqualList = Array<string>;
|
|
1786
1806
|
/** A list of inhibition rules. */
|
|
1787
1807
|
export interface UpdateAlertConfigsRequestInhibitRules {
|
|
1788
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_./@&?:- */
|
|
1789
|
-
equal?: UpdateAlertConfigsRequestInhibitRulesEqualList;
|
|
1809
|
+
equal?: UpdateAlertConfigsRequestInhibitRulesEqualList | undefined;
|
|
1790
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_./@&?:- */
|
|
1791
|
-
sourceMatch?: unknown;
|
|
1811
|
+
sourceMatch?: unknown | undefined;
|
|
1792
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 */
|
|
1793
|
-
sourceMatchRe?: unknown;
|
|
1813
|
+
sourceMatchRe?: unknown | undefined;
|
|
1794
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_./@&?:- */
|
|
1795
|
-
targetMatch?: unknown;
|
|
1815
|
+
targetMatch?: unknown | undefined;
|
|
1796
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 */
|
|
1797
|
-
targetMatchRe?: unknown;
|
|
1817
|
+
targetMatchRe?: unknown | undefined;
|
|
1798
1818
|
}
|
|
1799
1819
|
export type UpdateAlertConfigsRequestReceiversItemEmailConfigsItem =
|
|
1800
1820
|
CreateAlertConfigReceiverRequestEmailConfigsItem;
|
|
@@ -1813,12 +1833,12 @@ export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsList =
|
|
|
1813
1833
|
/** Receivers */
|
|
1814
1834
|
export interface UpdateAlertConfigsRequestReceiversItem {
|
|
1815
1835
|
/** Email configurations */
|
|
1816
|
-
emailConfigs?: UpdateAlertConfigsRequestReceiversItemEmailConfigsList;
|
|
1836
|
+
emailConfigs?: UpdateAlertConfigsRequestReceiversItemEmailConfigsList | undefined;
|
|
1817
1837
|
/** `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- */
|
|
1818
1838
|
name: string;
|
|
1819
1839
|
/** Configuration for ops genie. */
|
|
1820
|
-
opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList;
|
|
1821
|
-
webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList;
|
|
1840
|
+
opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList | undefined;
|
|
1841
|
+
webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList | undefined;
|
|
1822
1842
|
}
|
|
1823
1843
|
/** A list of notification receivers. */
|
|
1824
1844
|
export type UpdateAlertConfigsRequestReceiversList = Array<UpdateAlertConfigsRequestReceiversItem>;
|
|
@@ -1832,24 +1852,24 @@ export type UpdateAlertConfigsRequestRouteRoutesItemRoutesList = Array<unknown>;
|
|
|
1832
1852
|
/** As in one level above */
|
|
1833
1853
|
export interface UpdateAlertConfigsRequestRouteRoutesItem {
|
|
1834
1854
|
/** Whether an alert should continue matching subsequent sibling nodes. */
|
|
1835
|
-
continue?: boolean;
|
|
1836
|
-
groupBy?: UpdateAlertConfigsRequestRouteRoutesItemGroupByList;
|
|
1855
|
+
continue?: boolean | undefined;
|
|
1856
|
+
groupBy?: UpdateAlertConfigsRequestRouteRoutesItemGroupByList | undefined;
|
|
1837
1857
|
/** As in one level above */
|
|
1838
|
-
groupInterval?: string;
|
|
1858
|
+
groupInterval?: string | undefined;
|
|
1839
1859
|
/** As in one level above */
|
|
1840
|
-
groupWait?: string;
|
|
1860
|
+
groupWait?: string | undefined;
|
|
1841
1861
|
/** As in one level above */
|
|
1842
|
-
match?: unknown;
|
|
1862
|
+
match?: unknown | undefined;
|
|
1843
1863
|
/** As in one level above */
|
|
1844
|
-
matchRe?: unknown;
|
|
1864
|
+
matchRe?: unknown | undefined;
|
|
1845
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 */
|
|
1846
|
-
matchers?: UpdateAlertConfigsRequestRouteRoutesItemMatchersList;
|
|
1866
|
+
matchers?: UpdateAlertConfigsRequestRouteRoutesItemMatchersList | undefined;
|
|
1847
1867
|
/** As in one level above */
|
|
1848
|
-
receiver?: string;
|
|
1868
|
+
receiver?: string | undefined;
|
|
1849
1869
|
/** As in one level above */
|
|
1850
|
-
repeatInterval?: string;
|
|
1870
|
+
repeatInterval?: string | undefined;
|
|
1851
1871
|
/** Another child routes */
|
|
1852
|
-
routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList;
|
|
1872
|
+
routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList | undefined;
|
|
1853
1873
|
}
|
|
1854
1874
|
/** Zero or more child routes. */
|
|
1855
1875
|
export type UpdateAlertConfigsRequestRouteRoutesList =
|
|
@@ -1857,31 +1877,31 @@ export type UpdateAlertConfigsRequestRouteRoutesList =
|
|
|
1857
1877
|
/** The root node of the routing tree. */
|
|
1858
1878
|
export interface UpdateAlertConfigsRequestRoute {
|
|
1859
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. */
|
|
1860
|
-
continue?: boolean;
|
|
1880
|
+
continue?: boolean | undefined;
|
|
1861
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. */
|
|
1862
|
-
groupBy?: UpdateAlertConfigsRequestRouteGroupByList;
|
|
1882
|
+
groupBy?: UpdateAlertConfigsRequestRouteGroupByList | undefined;
|
|
1863
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 */
|
|
1864
|
-
groupInterval?: string;
|
|
1884
|
+
groupInterval?: string | undefined;
|
|
1865
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 */
|
|
1866
|
-
groupWait?: string;
|
|
1886
|
+
groupWait?: string | undefined;
|
|
1867
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_./@&?:- */
|
|
1868
|
-
match?: unknown;
|
|
1888
|
+
match?: unknown | undefined;
|
|
1869
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 */
|
|
1870
|
-
matchRe?: unknown;
|
|
1890
|
+
matchRe?: unknown | undefined;
|
|
1871
1891
|
/** Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers */
|
|
1872
1892
|
receiver: string;
|
|
1873
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 */
|
|
1874
|
-
repeatInterval?: string;
|
|
1894
|
+
repeatInterval?: string | undefined;
|
|
1875
1895
|
/** Zero or more child routes. */
|
|
1876
|
-
routes?: UpdateAlertConfigsRequestRouteRoutesList;
|
|
1896
|
+
routes?: UpdateAlertConfigsRequestRouteRoutesList | undefined;
|
|
1877
1897
|
}
|
|
1878
1898
|
export interface UpdateAlertConfigsRequest {
|
|
1879
1899
|
projectId: string;
|
|
1880
1900
|
instanceId: string;
|
|
1881
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. */
|
|
1882
|
-
global?: UpdateAlertConfigsRequestGlobal;
|
|
1902
|
+
global?: UpdateAlertConfigsRequestGlobal | undefined;
|
|
1883
1903
|
/** A list of inhibition rules. */
|
|
1884
|
-
inhibitRules?: UpdateAlertConfigsRequestInhibitRules;
|
|
1904
|
+
inhibitRules?: UpdateAlertConfigsRequestInhibitRules | undefined;
|
|
1885
1905
|
/** A list of notification receivers. */
|
|
1886
1906
|
receivers: UpdateAlertConfigsRequestReceiversList;
|
|
1887
1907
|
/** The root node of the routing tree. */
|
|
@@ -1900,7 +1920,7 @@ export interface UpdateAlertgroupRequest {
|
|
|
1900
1920
|
instanceId: string;
|
|
1901
1921
|
groupName: string;
|
|
1902
1922
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
1903
|
-
interval?: string;
|
|
1923
|
+
interval?: string | undefined;
|
|
1904
1924
|
/** rules for the alert group */
|
|
1905
1925
|
rules: UpdateAlertgroupRequestRulesList;
|
|
1906
1926
|
}
|
|
@@ -1911,7 +1931,7 @@ export type UpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsR
|
|
|
1911
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. */
|
|
1912
1932
|
export interface UpdateAlertgroupsRequestBodyItem {
|
|
1913
1933
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
1914
|
-
interval?: string;
|
|
1934
|
+
interval?: string | undefined;
|
|
1915
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- */
|
|
1916
1936
|
name: string;
|
|
1917
1937
|
/** rules for the alert group */
|
|
@@ -1932,7 +1952,7 @@ export interface UpdateAlertRecordRequest {
|
|
|
1932
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. */
|
|
1933
1953
|
expr: string;
|
|
1934
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 */
|
|
1935
|
-
labels?: unknown;
|
|
1955
|
+
labels?: unknown | undefined;
|
|
1936
1956
|
}
|
|
1937
1957
|
export interface UpdateAlertruleRequest {
|
|
1938
1958
|
projectId: string;
|
|
@@ -1940,24 +1960,24 @@ export interface UpdateAlertruleRequest {
|
|
|
1940
1960
|
groupName: string;
|
|
1941
1961
|
alertName: string;
|
|
1942
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 */
|
|
1943
|
-
annotations?: unknown;
|
|
1963
|
+
annotations?: unknown | undefined;
|
|
1944
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. */
|
|
1945
1965
|
expr: string;
|
|
1946
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 */
|
|
1947
|
-
for?: string;
|
|
1967
|
+
for?: string | undefined;
|
|
1948
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 */
|
|
1949
|
-
labels?: unknown;
|
|
1969
|
+
labels?: unknown | undefined;
|
|
1950
1970
|
}
|
|
1951
1971
|
export interface UpdateCredentialsRemoteWriteConfigRequest {
|
|
1952
1972
|
projectId: string;
|
|
1953
1973
|
instanceId: string;
|
|
1954
1974
|
username: string;
|
|
1955
1975
|
/** Remote write metric sample limit for credential to push in a single minute. */
|
|
1956
|
-
maxLimit?: number;
|
|
1976
|
+
maxLimit?: number | undefined;
|
|
1957
1977
|
}
|
|
1958
1978
|
export interface UpdateGrafanaConfigsRequestGenericOauth {
|
|
1959
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. */
|
|
1960
|
-
allowAssignGrafanaAdmin?: boolean;
|
|
1980
|
+
allowAssignGrafanaAdmin?: boolean | undefined;
|
|
1961
1981
|
/** Set api_url to the resource that returns OpenID UserInfo compatible information. */
|
|
1962
1982
|
apiUrl: string;
|
|
1963
1983
|
/** Authentication endpoint of idp. */
|
|
@@ -1965,7 +1985,7 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
|
|
|
1965
1985
|
/** Enable or disable generic oauth login */
|
|
1966
1986
|
enabled: boolean;
|
|
1967
1987
|
/** Display name for the oAuth provider */
|
|
1968
|
-
name?: string;
|
|
1988
|
+
name?: string | undefined;
|
|
1969
1989
|
/** Oauth client id for auth endpoint. */
|
|
1970
1990
|
oauthClientId: string;
|
|
1971
1991
|
/** Oauth client secret for auth endpoint. */
|
|
@@ -1973,34 +1993,34 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
|
|
|
1973
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' */
|
|
1974
1994
|
roleAttributePath: string;
|
|
1975
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. */
|
|
1976
|
-
roleAttributeStrict?: boolean;
|
|
1996
|
+
roleAttributeStrict?: boolean | undefined;
|
|
1977
1997
|
/** Space seperated list of scopes of the token */
|
|
1978
|
-
scopes?: string;
|
|
1998
|
+
scopes?: string | undefined;
|
|
1979
1999
|
/** Token endpoint of the idp. */
|
|
1980
2000
|
tokenUrl: string;
|
|
1981
2001
|
/** Enable or disable Proof Key for Code Exchange */
|
|
1982
|
-
usePkce?: boolean;
|
|
2002
|
+
usePkce?: boolean | undefined;
|
|
1983
2003
|
}
|
|
1984
2004
|
export interface UpdateGrafanaConfigsRequest {
|
|
1985
2005
|
projectId: string;
|
|
1986
2006
|
instanceId: string;
|
|
1987
|
-
genericOauth?: UpdateGrafanaConfigsRequestGenericOauth;
|
|
2007
|
+
genericOauth?: UpdateGrafanaConfigsRequestGenericOauth | undefined;
|
|
1988
2008
|
/** If it's true, anyone can access the Grafana dashboards without logging in. If it is wrong, a login is required. */
|
|
1989
|
-
publicReadAccess?: boolean;
|
|
2009
|
+
publicReadAccess?: boolean | undefined;
|
|
1990
2010
|
/** If it's true, it overwrites the current genericOauth config and configures STACKIT SSO for this instance. */
|
|
1991
|
-
useStackitSso?: boolean;
|
|
2011
|
+
useStackitSso?: boolean | undefined;
|
|
1992
2012
|
}
|
|
1993
2013
|
export interface UpdateInstanceRequest {
|
|
1994
2014
|
projectId: string;
|
|
1995
2015
|
instanceId: string;
|
|
1996
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. */
|
|
1997
|
-
grafanaAdminEnabled?: boolean;
|
|
2017
|
+
grafanaAdminEnabled?: boolean | undefined;
|
|
1998
2018
|
/** Name of the service */
|
|
1999
|
-
name?: string;
|
|
2019
|
+
name?: string | undefined;
|
|
2000
2020
|
/** Additional parameters */
|
|
2001
|
-
parameter?: unknown;
|
|
2021
|
+
parameter?: unknown | undefined;
|
|
2002
2022
|
/** UUID of the plan to update */
|
|
2003
|
-
planId?: string;
|
|
2023
|
+
planId?: string | undefined;
|
|
2004
2024
|
}
|
|
2005
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. */
|
|
2006
2026
|
export type UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
|
|
@@ -2011,7 +2031,7 @@ export interface UpdateLogsAlertgroupRequest {
|
|
|
2011
2031
|
instanceId: string;
|
|
2012
2032
|
groupName: string;
|
|
2013
2033
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
2014
|
-
interval?: string;
|
|
2034
|
+
interval?: string | undefined;
|
|
2015
2035
|
/** rules for the alert group */
|
|
2016
2036
|
rules: UpdateLogsAlertgroupRequestRulesList;
|
|
2017
2037
|
}
|
|
@@ -2046,19 +2066,19 @@ export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction =
|
|
|
2046
2066
|
export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
|
|
2047
2067
|
export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
|
|
2048
2068
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
2049
|
-
action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
|
|
2069
|
+
action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {}) | undefined;
|
|
2050
2070
|
/** Modulus to take of the hash of the source label values. */
|
|
2051
|
-
modulus?: number;
|
|
2071
|
+
modulus?: number | undefined;
|
|
2052
2072
|
/** Regular expression against which the extracted value is matched. */
|
|
2053
|
-
regex?: string;
|
|
2073
|
+
regex?: string | undefined;
|
|
2054
2074
|
/** Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. */
|
|
2055
|
-
replacement?: string;
|
|
2075
|
+
replacement?: string | undefined;
|
|
2056
2076
|
/** Separator placed between concatenated source label values. */
|
|
2057
|
-
separator?: string;
|
|
2077
|
+
separator?: string | undefined;
|
|
2058
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. */
|
|
2059
|
-
sourceLabels?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList;
|
|
2079
|
+
sourceLabels?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList | undefined;
|
|
2060
2080
|
/** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
|
|
2061
|
-
targetLabel?: string;
|
|
2081
|
+
targetLabel?: string | undefined;
|
|
2062
2082
|
}
|
|
2063
2083
|
/** List of metric relabel configurations */
|
|
2064
2084
|
export type UpdateScrapeConfigRequestMetricsRelabelConfigsList =
|
|
@@ -2069,7 +2089,7 @@ export type UpdateScrapeConfigRequestScheme = "http" | "https";
|
|
|
2069
2089
|
export type UpdateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
|
|
2070
2090
|
export interface UpdateScrapeConfigRequestStaticConfigsItem {
|
|
2071
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 */
|
|
2072
|
-
labels?: unknown;
|
|
2092
|
+
labels?: unknown | undefined;
|
|
2073
2093
|
/** The targets specified by the static config. */
|
|
2074
2094
|
targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList;
|
|
2075
2095
|
}
|
|
@@ -2084,21 +2104,21 @@ export interface UpdateScrapeConfigRequest {
|
|
|
2084
2104
|
instanceId: string;
|
|
2085
2105
|
jobName: string;
|
|
2086
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 */
|
|
2087
|
-
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
2107
|
+
basicAuth?: CreateScrapeConfigRequestBasicAuth | undefined;
|
|
2088
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 */
|
|
2089
|
-
bearerToken?: string;
|
|
2109
|
+
bearerToken?: string | undefined;
|
|
2090
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. */
|
|
2091
|
-
honorLabels?: boolean;
|
|
2111
|
+
honorLabels?: boolean | undefined;
|
|
2092
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. */
|
|
2093
|
-
honorTimeStamps?: boolean;
|
|
2113
|
+
honorTimeStamps?: boolean | undefined;
|
|
2094
2114
|
/** The HTTP resource path on which to fetch metrics from targets. E.g. /metrics */
|
|
2095
2115
|
metricsPath: string;
|
|
2096
2116
|
/** List of metric relabel configurations */
|
|
2097
|
-
metricsRelabelConfigs?: UpdateScrapeConfigRequestMetricsRelabelConfigsList;
|
|
2117
|
+
metricsRelabelConfigs?: UpdateScrapeConfigRequestMetricsRelabelConfigsList | undefined;
|
|
2098
2118
|
/** Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
|
|
2099
|
-
params?: unknown;
|
|
2119
|
+
params?: unknown | undefined;
|
|
2100
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 */
|
|
2101
|
-
sampleLimit?: number;
|
|
2121
|
+
sampleLimit?: number | undefined;
|
|
2102
2122
|
/** Configures the protocol scheme used for requests. https or http */
|
|
2103
2123
|
scheme: UpdateScrapeConfigRequestScheme | (string & {});
|
|
2104
2124
|
/** How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s */
|
|
@@ -2108,7 +2128,7 @@ export interface UpdateScrapeConfigRequest {
|
|
|
2108
2128
|
/** A list of scrape configurations. */
|
|
2109
2129
|
staticConfigs: UpdateScrapeConfigRequestStaticConfigsList;
|
|
2110
2130
|
/** Configures the scrape request's TLS settings. */
|
|
2111
|
-
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
2131
|
+
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig | undefined;
|
|
2112
2132
|
}
|
|
2113
2133
|
export interface UpdateTracesConfigsRequest {
|
|
2114
2134
|
projectId: string;
|
|
@@ -2129,6 +2149,8 @@ export const createAlertConfigReceiver: API.OperationMethod<
|
|
|
2129
2149
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2130
2150
|
protocol: StackitProtocol,
|
|
2131
2151
|
retry: Retry.Retry,
|
|
2152
|
+
telemetry: TELEMETRY,
|
|
2153
|
+
span: "CreateAlertConfigReceiver",
|
|
2132
2154
|
}));
|
|
2133
2155
|
|
|
2134
2156
|
export type CreateAlertConfigRouteError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2144,6 +2166,8 @@ export const createAlertConfigRoute: API.OperationMethod<
|
|
|
2144
2166
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2145
2167
|
protocol: StackitProtocol,
|
|
2146
2168
|
retry: Retry.Retry,
|
|
2169
|
+
telemetry: TELEMETRY,
|
|
2170
|
+
span: "CreateAlertConfigRoute",
|
|
2147
2171
|
}));
|
|
2148
2172
|
|
|
2149
2173
|
export type CreateAlertgroupsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2159,6 +2183,8 @@ export const createAlertgroups: API.OperationMethod<
|
|
|
2159
2183
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2160
2184
|
protocol: StackitProtocol,
|
|
2161
2185
|
retry: Retry.Retry,
|
|
2186
|
+
telemetry: TELEMETRY,
|
|
2187
|
+
span: "CreateAlertgroups",
|
|
2162
2188
|
}));
|
|
2163
2189
|
|
|
2164
2190
|
export type CreateAlertRecordError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2174,6 +2200,8 @@ export const createAlertRecord: API.OperationMethod<
|
|
|
2174
2200
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2175
2201
|
protocol: StackitProtocol,
|
|
2176
2202
|
retry: Retry.Retry,
|
|
2203
|
+
telemetry: TELEMETRY,
|
|
2204
|
+
span: "CreateAlertRecord",
|
|
2177
2205
|
}));
|
|
2178
2206
|
|
|
2179
2207
|
export type CreateAlertrulesError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2189,6 +2217,8 @@ export const createAlertrules: API.OperationMethod<
|
|
|
2189
2217
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2190
2218
|
protocol: StackitProtocol,
|
|
2191
2219
|
retry: Retry.Retry,
|
|
2220
|
+
telemetry: TELEMETRY,
|
|
2221
|
+
span: "CreateAlertrules",
|
|
2192
2222
|
}));
|
|
2193
2223
|
|
|
2194
2224
|
export type CreateBackupError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2204,6 +2234,8 @@ export const createBackup: API.OperationMethod<
|
|
|
2204
2234
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2205
2235
|
protocol: StackitProtocol,
|
|
2206
2236
|
retry: Retry.Retry,
|
|
2237
|
+
telemetry: TELEMETRY,
|
|
2238
|
+
span: "CreateBackup",
|
|
2207
2239
|
}));
|
|
2208
2240
|
|
|
2209
2241
|
export type CreateBackupScheduleError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2219,6 +2251,8 @@ export const createBackupSchedule: API.OperationMethod<
|
|
|
2219
2251
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2220
2252
|
protocol: StackitProtocol,
|
|
2221
2253
|
retry: Retry.Retry,
|
|
2254
|
+
telemetry: TELEMETRY,
|
|
2255
|
+
span: "CreateBackupSchedule",
|
|
2222
2256
|
}));
|
|
2223
2257
|
|
|
2224
2258
|
export type CreateCertCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2234,6 +2268,8 @@ export const createCertCheck: API.OperationMethod<
|
|
|
2234
2268
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2235
2269
|
protocol: StackitProtocol,
|
|
2236
2270
|
retry: Retry.Retry,
|
|
2271
|
+
telemetry: TELEMETRY,
|
|
2272
|
+
span: "CreateCertCheck",
|
|
2237
2273
|
}));
|
|
2238
2274
|
|
|
2239
2275
|
export type CreateCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2249,6 +2285,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
2249
2285
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2250
2286
|
protocol: StackitProtocol,
|
|
2251
2287
|
retry: Retry.Retry,
|
|
2288
|
+
telemetry: TELEMETRY,
|
|
2289
|
+
span: "CreateCredentials",
|
|
2252
2290
|
}));
|
|
2253
2291
|
|
|
2254
2292
|
export type CreateElasticsearchCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2264,6 +2302,8 @@ export const createElasticsearchCheck: API.OperationMethod<
|
|
|
2264
2302
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2265
2303
|
protocol: StackitProtocol,
|
|
2266
2304
|
retry: Retry.Retry,
|
|
2305
|
+
telemetry: TELEMETRY,
|
|
2306
|
+
span: "CreateElasticsearchCheck",
|
|
2267
2307
|
}));
|
|
2268
2308
|
|
|
2269
2309
|
export type CreateHttpCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2279,6 +2319,8 @@ export const createHttpCheck: API.OperationMethod<
|
|
|
2279
2319
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2280
2320
|
protocol: StackitProtocol,
|
|
2281
2321
|
retry: Retry.Retry,
|
|
2322
|
+
telemetry: TELEMETRY,
|
|
2323
|
+
span: "CreateHttpCheck",
|
|
2282
2324
|
}));
|
|
2283
2325
|
|
|
2284
2326
|
export type CreateInstanceError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2294,6 +2336,8 @@ export const createInstance: API.OperationMethod<
|
|
|
2294
2336
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2295
2337
|
protocol: StackitProtocol,
|
|
2296
2338
|
retry: Retry.Retry,
|
|
2339
|
+
telemetry: TELEMETRY,
|
|
2340
|
+
span: "CreateInstance",
|
|
2297
2341
|
}));
|
|
2298
2342
|
|
|
2299
2343
|
export type CreateLogsAlertgroupsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2309,6 +2353,8 @@ export const createLogsAlertgroups: API.OperationMethod<
|
|
|
2309
2353
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2310
2354
|
protocol: StackitProtocol,
|
|
2311
2355
|
retry: Retry.Retry,
|
|
2356
|
+
telemetry: TELEMETRY,
|
|
2357
|
+
span: "CreateLogsAlertgroups",
|
|
2312
2358
|
}));
|
|
2313
2359
|
|
|
2314
2360
|
export type CreateMongodbCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2324,6 +2370,8 @@ export const createMongodbCheck: API.OperationMethod<
|
|
|
2324
2370
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2325
2371
|
protocol: StackitProtocol,
|
|
2326
2372
|
retry: Retry.Retry,
|
|
2373
|
+
telemetry: TELEMETRY,
|
|
2374
|
+
span: "CreateMongodbCheck",
|
|
2327
2375
|
}));
|
|
2328
2376
|
|
|
2329
2377
|
export type CreateMysqlCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2339,6 +2387,8 @@ export const createMysqlCheck: API.OperationMethod<
|
|
|
2339
2387
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2340
2388
|
protocol: StackitProtocol,
|
|
2341
2389
|
retry: Retry.Retry,
|
|
2390
|
+
telemetry: TELEMETRY,
|
|
2391
|
+
span: "CreateMysqlCheck",
|
|
2342
2392
|
}));
|
|
2343
2393
|
|
|
2344
2394
|
export type CreateNetworkCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2354,6 +2404,8 @@ export const createNetworkCheck: API.OperationMethod<
|
|
|
2354
2404
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2355
2405
|
protocol: StackitProtocol,
|
|
2356
2406
|
retry: Retry.Retry,
|
|
2407
|
+
telemetry: TELEMETRY,
|
|
2408
|
+
span: "CreateNetworkCheck",
|
|
2357
2409
|
}));
|
|
2358
2410
|
|
|
2359
2411
|
export type CreatePingCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2369,6 +2421,8 @@ export const createPingCheck: API.OperationMethod<
|
|
|
2369
2421
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2370
2422
|
protocol: StackitProtocol,
|
|
2371
2423
|
retry: Retry.Retry,
|
|
2424
|
+
telemetry: TELEMETRY,
|
|
2425
|
+
span: "CreatePingCheck",
|
|
2372
2426
|
}));
|
|
2373
2427
|
|
|
2374
2428
|
export type CreatePostgresqlCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2384,6 +2438,8 @@ export const createPostgresqlCheck: API.OperationMethod<
|
|
|
2384
2438
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2385
2439
|
protocol: StackitProtocol,
|
|
2386
2440
|
retry: Retry.Retry,
|
|
2441
|
+
telemetry: TELEMETRY,
|
|
2442
|
+
span: "CreatePostgresqlCheck",
|
|
2387
2443
|
}));
|
|
2388
2444
|
|
|
2389
2445
|
export type CreateRabbitmqCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2399,6 +2455,8 @@ export const createRabbitmqCheck: API.OperationMethod<
|
|
|
2399
2455
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2400
2456
|
protocol: StackitProtocol,
|
|
2401
2457
|
retry: Retry.Retry,
|
|
2458
|
+
telemetry: TELEMETRY,
|
|
2459
|
+
span: "CreateRabbitmqCheck",
|
|
2402
2460
|
}));
|
|
2403
2461
|
|
|
2404
2462
|
export type CreateRedisCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2414,6 +2472,8 @@ export const createRedisCheck: API.OperationMethod<
|
|
|
2414
2472
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2415
2473
|
protocol: StackitProtocol,
|
|
2416
2474
|
retry: Retry.Retry,
|
|
2475
|
+
telemetry: TELEMETRY,
|
|
2476
|
+
span: "CreateRedisCheck",
|
|
2417
2477
|
}));
|
|
2418
2478
|
|
|
2419
2479
|
export type CreateScrapeConfigError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2429,6 +2489,8 @@ export const createScrapeConfig: API.OperationMethod<
|
|
|
2429
2489
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2430
2490
|
protocol: StackitProtocol,
|
|
2431
2491
|
retry: Retry.Retry,
|
|
2492
|
+
telemetry: TELEMETRY,
|
|
2493
|
+
span: "CreateScrapeConfig",
|
|
2432
2494
|
}));
|
|
2433
2495
|
|
|
2434
2496
|
export type DeleteAlertConfigReceiverError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2444,6 +2506,8 @@ export const deleteAlertConfigReceiver: API.OperationMethod<
|
|
|
2444
2506
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2445
2507
|
protocol: StackitProtocol,
|
|
2446
2508
|
retry: Retry.Retry,
|
|
2509
|
+
telemetry: TELEMETRY,
|
|
2510
|
+
span: "DeleteAlertConfigReceiver",
|
|
2447
2511
|
}));
|
|
2448
2512
|
|
|
2449
2513
|
export type DeleteAlertConfigRouteError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2459,6 +2523,8 @@ export const deleteAlertConfigRoute: API.OperationMethod<
|
|
|
2459
2523
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2460
2524
|
protocol: StackitProtocol,
|
|
2461
2525
|
retry: Retry.Retry,
|
|
2526
|
+
telemetry: TELEMETRY,
|
|
2527
|
+
span: "DeleteAlertConfigRoute",
|
|
2462
2528
|
}));
|
|
2463
2529
|
|
|
2464
2530
|
export type DeleteAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -2474,6 +2540,8 @@ export const deleteAlertgroup: API.OperationMethod<
|
|
|
2474
2540
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2475
2541
|
protocol: StackitProtocol,
|
|
2476
2542
|
retry: Retry.Retry,
|
|
2543
|
+
telemetry: TELEMETRY,
|
|
2544
|
+
span: "DeleteAlertgroup",
|
|
2477
2545
|
}));
|
|
2478
2546
|
|
|
2479
2547
|
export type DeleteAlertgroupsError = Forbidden | StackitOpError;
|
|
@@ -2489,6 +2557,8 @@ export const deleteAlertgroups: API.OperationMethod<
|
|
|
2489
2557
|
errors: [Forbidden, UnknownStackitError],
|
|
2490
2558
|
protocol: StackitProtocol,
|
|
2491
2559
|
retry: Retry.Retry,
|
|
2560
|
+
telemetry: TELEMETRY,
|
|
2561
|
+
span: "DeleteAlertgroups",
|
|
2492
2562
|
}));
|
|
2493
2563
|
|
|
2494
2564
|
export type DeleteAlertRecordError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2504,6 +2574,8 @@ export const deleteAlertRecord: API.OperationMethod<
|
|
|
2504
2574
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2505
2575
|
protocol: StackitProtocol,
|
|
2506
2576
|
retry: Retry.Retry,
|
|
2577
|
+
telemetry: TELEMETRY,
|
|
2578
|
+
span: "DeleteAlertRecord",
|
|
2507
2579
|
}));
|
|
2508
2580
|
|
|
2509
2581
|
export type DeleteAlertRecordsError = Forbidden | StackitOpError;
|
|
@@ -2519,6 +2591,8 @@ export const deleteAlertRecords: API.OperationMethod<
|
|
|
2519
2591
|
errors: [Forbidden, UnknownStackitError],
|
|
2520
2592
|
protocol: StackitProtocol,
|
|
2521
2593
|
retry: Retry.Retry,
|
|
2594
|
+
telemetry: TELEMETRY,
|
|
2595
|
+
span: "DeleteAlertRecords",
|
|
2522
2596
|
}));
|
|
2523
2597
|
|
|
2524
2598
|
export type DeleteAlertruleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -2534,6 +2608,8 @@ export const deleteAlertrule: API.OperationMethod<
|
|
|
2534
2608
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2535
2609
|
protocol: StackitProtocol,
|
|
2536
2610
|
retry: Retry.Retry,
|
|
2611
|
+
telemetry: TELEMETRY,
|
|
2612
|
+
span: "DeleteAlertrule",
|
|
2537
2613
|
}));
|
|
2538
2614
|
|
|
2539
2615
|
export type DeleteAlertrulesError = Forbidden | StackitOpError;
|
|
@@ -2549,6 +2625,8 @@ export const deleteAlertrules: API.OperationMethod<
|
|
|
2549
2625
|
errors: [Forbidden, UnknownStackitError],
|
|
2550
2626
|
protocol: StackitProtocol,
|
|
2551
2627
|
retry: Retry.Retry,
|
|
2628
|
+
telemetry: TELEMETRY,
|
|
2629
|
+
span: "DeleteAlertrules",
|
|
2552
2630
|
}));
|
|
2553
2631
|
|
|
2554
2632
|
export type DeleteCertCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2564,6 +2642,8 @@ export const deleteCertCheck: API.OperationMethod<
|
|
|
2564
2642
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2565
2643
|
protocol: StackitProtocol,
|
|
2566
2644
|
retry: Retry.Retry,
|
|
2645
|
+
telemetry: TELEMETRY,
|
|
2646
|
+
span: "DeleteCertCheck",
|
|
2567
2647
|
}));
|
|
2568
2648
|
|
|
2569
2649
|
export type DeleteCredentialsError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2579,6 +2659,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
2579
2659
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2580
2660
|
protocol: StackitProtocol,
|
|
2581
2661
|
retry: Retry.Retry,
|
|
2662
|
+
telemetry: TELEMETRY,
|
|
2663
|
+
span: "DeleteCredentials",
|
|
2582
2664
|
}));
|
|
2583
2665
|
|
|
2584
2666
|
export type DeleteCredentialsRemoteWriteConfigError =
|
|
@@ -2598,6 +2680,8 @@ export const deleteCredentialsRemoteWriteConfig: API.OperationMethod<
|
|
|
2598
2680
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2599
2681
|
protocol: StackitProtocol,
|
|
2600
2682
|
retry: Retry.Retry,
|
|
2683
|
+
telemetry: TELEMETRY,
|
|
2684
|
+
span: "DeleteCredentialsRemoteWriteConfig",
|
|
2601
2685
|
}));
|
|
2602
2686
|
|
|
2603
2687
|
export type DeleteElasticsearchCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2613,6 +2697,8 @@ export const deleteElasticsearchCheck: API.OperationMethod<
|
|
|
2613
2697
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2614
2698
|
protocol: StackitProtocol,
|
|
2615
2699
|
retry: Retry.Retry,
|
|
2700
|
+
telemetry: TELEMETRY,
|
|
2701
|
+
span: "DeleteElasticsearchCheck",
|
|
2616
2702
|
}));
|
|
2617
2703
|
|
|
2618
2704
|
export type DeleteHttpCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2628,6 +2714,8 @@ export const deleteHttpCheck: API.OperationMethod<
|
|
|
2628
2714
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2629
2715
|
protocol: StackitProtocol,
|
|
2630
2716
|
retry: Retry.Retry,
|
|
2717
|
+
telemetry: TELEMETRY,
|
|
2718
|
+
span: "DeleteHttpCheck",
|
|
2631
2719
|
}));
|
|
2632
2720
|
|
|
2633
2721
|
export type DeleteInstanceError = Forbidden | StackitOpError;
|
|
@@ -2643,6 +2731,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
2643
2731
|
errors: [Forbidden, UnknownStackitError],
|
|
2644
2732
|
protocol: StackitProtocol,
|
|
2645
2733
|
retry: Retry.Retry,
|
|
2734
|
+
telemetry: TELEMETRY,
|
|
2735
|
+
span: "DeleteInstance",
|
|
2646
2736
|
}));
|
|
2647
2737
|
|
|
2648
2738
|
export type DeleteLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -2658,6 +2748,8 @@ export const deleteLogsAlertgroup: API.OperationMethod<
|
|
|
2658
2748
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2659
2749
|
protocol: StackitProtocol,
|
|
2660
2750
|
retry: Retry.Retry,
|
|
2751
|
+
telemetry: TELEMETRY,
|
|
2752
|
+
span: "DeleteLogsAlertgroup",
|
|
2661
2753
|
}));
|
|
2662
2754
|
|
|
2663
2755
|
export type DeleteMongodbCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2673,6 +2765,8 @@ export const deleteMongodbCheck: API.OperationMethod<
|
|
|
2673
2765
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2674
2766
|
protocol: StackitProtocol,
|
|
2675
2767
|
retry: Retry.Retry,
|
|
2768
|
+
telemetry: TELEMETRY,
|
|
2769
|
+
span: "DeleteMongodbCheck",
|
|
2676
2770
|
}));
|
|
2677
2771
|
|
|
2678
2772
|
export type DeleteMysqlCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2688,6 +2782,8 @@ export const deleteMysqlCheck: API.OperationMethod<
|
|
|
2688
2782
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2689
2783
|
protocol: StackitProtocol,
|
|
2690
2784
|
retry: Retry.Retry,
|
|
2785
|
+
telemetry: TELEMETRY,
|
|
2786
|
+
span: "DeleteMysqlCheck",
|
|
2691
2787
|
}));
|
|
2692
2788
|
|
|
2693
2789
|
export type DeleteNetworkCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2703,6 +2799,8 @@ export const deleteNetworkCheck: API.OperationMethod<
|
|
|
2703
2799
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2704
2800
|
protocol: StackitProtocol,
|
|
2705
2801
|
retry: Retry.Retry,
|
|
2802
|
+
telemetry: TELEMETRY,
|
|
2803
|
+
span: "DeleteNetworkCheck",
|
|
2706
2804
|
}));
|
|
2707
2805
|
|
|
2708
2806
|
export type DeletePingCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2718,6 +2816,8 @@ export const deletePingCheck: API.OperationMethod<
|
|
|
2718
2816
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2719
2817
|
protocol: StackitProtocol,
|
|
2720
2818
|
retry: Retry.Retry,
|
|
2819
|
+
telemetry: TELEMETRY,
|
|
2820
|
+
span: "DeletePingCheck",
|
|
2721
2821
|
}));
|
|
2722
2822
|
|
|
2723
2823
|
export type DeletePostgresqlCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2733,6 +2833,8 @@ export const deletePostgresqlCheck: API.OperationMethod<
|
|
|
2733
2833
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2734
2834
|
protocol: StackitProtocol,
|
|
2735
2835
|
retry: Retry.Retry,
|
|
2836
|
+
telemetry: TELEMETRY,
|
|
2837
|
+
span: "DeletePostgresqlCheck",
|
|
2736
2838
|
}));
|
|
2737
2839
|
|
|
2738
2840
|
export type DeleteRabbitmqCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2748,6 +2850,8 @@ export const deleteRabbitmqCheck: API.OperationMethod<
|
|
|
2748
2850
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2749
2851
|
protocol: StackitProtocol,
|
|
2750
2852
|
retry: Retry.Retry,
|
|
2853
|
+
telemetry: TELEMETRY,
|
|
2854
|
+
span: "DeleteRabbitmqCheck",
|
|
2751
2855
|
}));
|
|
2752
2856
|
|
|
2753
2857
|
export type DeleteRedisCheckError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -2763,6 +2867,8 @@ export const deleteRedisCheck: API.OperationMethod<
|
|
|
2763
2867
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2764
2868
|
protocol: StackitProtocol,
|
|
2765
2869
|
retry: Retry.Retry,
|
|
2870
|
+
telemetry: TELEMETRY,
|
|
2871
|
+
span: "DeleteRedisCheck",
|
|
2766
2872
|
}));
|
|
2767
2873
|
|
|
2768
2874
|
export type DeleteScrapeConfigError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2778,6 +2884,8 @@ export const deleteScrapeConfig: API.OperationMethod<
|
|
|
2778
2884
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2779
2885
|
protocol: StackitProtocol,
|
|
2780
2886
|
retry: Retry.Retry,
|
|
2887
|
+
telemetry: TELEMETRY,
|
|
2888
|
+
span: "DeleteScrapeConfig",
|
|
2781
2889
|
}));
|
|
2782
2890
|
|
|
2783
2891
|
export type DeleteScrapeConfigsError = Forbidden | StackitOpError;
|
|
@@ -2793,6 +2901,8 @@ export const deleteScrapeConfigs: API.OperationMethod<
|
|
|
2793
2901
|
errors: [Forbidden, UnknownStackitError],
|
|
2794
2902
|
protocol: StackitProtocol,
|
|
2795
2903
|
retry: Retry.Retry,
|
|
2904
|
+
telemetry: TELEMETRY,
|
|
2905
|
+
span: "DeleteScrapeConfigs",
|
|
2796
2906
|
}));
|
|
2797
2907
|
|
|
2798
2908
|
export type GetAlertConfigReceiverError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2808,6 +2918,8 @@ export const getAlertConfigReceiver: API.OperationMethod<
|
|
|
2808
2918
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2809
2919
|
protocol: StackitProtocol,
|
|
2810
2920
|
retry: Retry.Retry,
|
|
2921
|
+
telemetry: TELEMETRY,
|
|
2922
|
+
span: "GetAlertConfigReceiver",
|
|
2811
2923
|
}));
|
|
2812
2924
|
|
|
2813
2925
|
export type GetAlertConfigRouteError = Forbidden | StackitOpError;
|
|
@@ -2823,6 +2935,8 @@ export const getAlertConfigRoute: API.OperationMethod<
|
|
|
2823
2935
|
errors: [Forbidden, UnknownStackitError],
|
|
2824
2936
|
protocol: StackitProtocol,
|
|
2825
2937
|
retry: Retry.Retry,
|
|
2938
|
+
telemetry: TELEMETRY,
|
|
2939
|
+
span: "GetAlertConfigRoute",
|
|
2826
2940
|
}));
|
|
2827
2941
|
|
|
2828
2942
|
export type GetAlertConfigsError = Forbidden | StackitOpError;
|
|
@@ -2838,6 +2952,8 @@ export const getAlertConfigs: API.OperationMethod<
|
|
|
2838
2952
|
errors: [Forbidden, UnknownStackitError],
|
|
2839
2953
|
protocol: StackitProtocol,
|
|
2840
2954
|
retry: Retry.Retry,
|
|
2955
|
+
telemetry: TELEMETRY,
|
|
2956
|
+
span: "GetAlertConfigs",
|
|
2841
2957
|
}));
|
|
2842
2958
|
|
|
2843
2959
|
export type GetAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -2853,6 +2969,8 @@ export const getAlertgroup: API.OperationMethod<
|
|
|
2853
2969
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2854
2970
|
protocol: StackitProtocol,
|
|
2855
2971
|
retry: Retry.Retry,
|
|
2972
|
+
telemetry: TELEMETRY,
|
|
2973
|
+
span: "GetAlertgroup",
|
|
2856
2974
|
}));
|
|
2857
2975
|
|
|
2858
2976
|
export type GetAlertRecordError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -2868,6 +2986,8 @@ export const getAlertRecord: API.OperationMethod<
|
|
|
2868
2986
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2869
2987
|
protocol: StackitProtocol,
|
|
2870
2988
|
retry: Retry.Retry,
|
|
2989
|
+
telemetry: TELEMETRY,
|
|
2990
|
+
span: "GetAlertRecord",
|
|
2871
2991
|
}));
|
|
2872
2992
|
|
|
2873
2993
|
export type GetAlertruleError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2883,6 +3003,8 @@ export const getAlertrule: API.OperationMethod<
|
|
|
2883
3003
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2884
3004
|
protocol: StackitProtocol,
|
|
2885
3005
|
retry: Retry.Retry,
|
|
3006
|
+
telemetry: TELEMETRY,
|
|
3007
|
+
span: "GetAlertrule",
|
|
2886
3008
|
}));
|
|
2887
3009
|
|
|
2888
3010
|
export type GetCredentialsError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2898,6 +3020,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
2898
3020
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2899
3021
|
protocol: StackitProtocol,
|
|
2900
3022
|
retry: Retry.Retry,
|
|
3023
|
+
telemetry: TELEMETRY,
|
|
3024
|
+
span: "GetCredentials",
|
|
2901
3025
|
}));
|
|
2902
3026
|
|
|
2903
3027
|
export type GetCredentialsRemoteWriteConfigError = Forbidden | NotFound | StackitOpError;
|
|
@@ -2913,6 +3037,8 @@ export const getCredentialsRemoteWriteConfig: API.OperationMethod<
|
|
|
2913
3037
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2914
3038
|
protocol: StackitProtocol,
|
|
2915
3039
|
retry: Retry.Retry,
|
|
3040
|
+
telemetry: TELEMETRY,
|
|
3041
|
+
span: "GetCredentialsRemoteWriteConfig",
|
|
2916
3042
|
}));
|
|
2917
3043
|
|
|
2918
3044
|
export type GetGrafanaConfigsError = Forbidden | StackitOpError;
|
|
@@ -2928,6 +3054,8 @@ export const getGrafanaConfigs: API.OperationMethod<
|
|
|
2928
3054
|
errors: [Forbidden, UnknownStackitError],
|
|
2929
3055
|
protocol: StackitProtocol,
|
|
2930
3056
|
retry: Retry.Retry,
|
|
3057
|
+
telemetry: TELEMETRY,
|
|
3058
|
+
span: "GetGrafanaConfigs",
|
|
2931
3059
|
}));
|
|
2932
3060
|
|
|
2933
3061
|
export type GetInstanceError = Forbidden | StackitOpError;
|
|
@@ -2943,6 +3071,8 @@ export const getInstance: API.OperationMethod<
|
|
|
2943
3071
|
errors: [Forbidden, UnknownStackitError],
|
|
2944
3072
|
protocol: StackitProtocol,
|
|
2945
3073
|
retry: Retry.Retry,
|
|
3074
|
+
telemetry: TELEMETRY,
|
|
3075
|
+
span: "GetInstance",
|
|
2946
3076
|
}));
|
|
2947
3077
|
|
|
2948
3078
|
export type GetLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -2958,6 +3088,8 @@ export const getLogsAlertgroup: API.OperationMethod<
|
|
|
2958
3088
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2959
3089
|
protocol: StackitProtocol,
|
|
2960
3090
|
retry: Retry.Retry,
|
|
3091
|
+
telemetry: TELEMETRY,
|
|
3092
|
+
span: "GetLogsAlertgroup",
|
|
2961
3093
|
}));
|
|
2962
3094
|
|
|
2963
3095
|
export type GetLogsConfigsError = Forbidden | StackitOpError;
|
|
@@ -2973,6 +3105,8 @@ export const getLogsConfigs: API.OperationMethod<
|
|
|
2973
3105
|
errors: [Forbidden, UnknownStackitError],
|
|
2974
3106
|
protocol: StackitProtocol,
|
|
2975
3107
|
retry: Retry.Retry,
|
|
3108
|
+
telemetry: TELEMETRY,
|
|
3109
|
+
span: "GetLogsConfigs",
|
|
2976
3110
|
}));
|
|
2977
3111
|
|
|
2978
3112
|
export type GetMetricsStorageRetentionError = Forbidden | StackitOpError;
|
|
@@ -2988,6 +3122,8 @@ export const getMetricsStorageRetention: API.OperationMethod<
|
|
|
2988
3122
|
errors: [Forbidden, UnknownStackitError],
|
|
2989
3123
|
protocol: StackitProtocol,
|
|
2990
3124
|
retry: Retry.Retry,
|
|
3125
|
+
telemetry: TELEMETRY,
|
|
3126
|
+
span: "GetMetricsStorageRetention",
|
|
2991
3127
|
}));
|
|
2992
3128
|
|
|
2993
3129
|
export type GetScrapeConfigError = Forbidden | StackitOpError;
|
|
@@ -3003,6 +3139,8 @@ export const getScrapeConfig: API.OperationMethod<
|
|
|
3003
3139
|
errors: [Forbidden, UnknownStackitError],
|
|
3004
3140
|
protocol: StackitProtocol,
|
|
3005
3141
|
retry: Retry.Retry,
|
|
3142
|
+
telemetry: TELEMETRY,
|
|
3143
|
+
span: "GetScrapeConfig",
|
|
3006
3144
|
}));
|
|
3007
3145
|
|
|
3008
3146
|
export type GetTracesConfigsError = Forbidden | StackitOpError;
|
|
@@ -3018,6 +3156,8 @@ export const getTracesConfigs: API.OperationMethod<
|
|
|
3018
3156
|
errors: [Forbidden, UnknownStackitError],
|
|
3019
3157
|
protocol: StackitProtocol,
|
|
3020
3158
|
retry: Retry.Retry,
|
|
3159
|
+
telemetry: TELEMETRY,
|
|
3160
|
+
span: "GetTracesConfigs",
|
|
3021
3161
|
}));
|
|
3022
3162
|
|
|
3023
3163
|
export type ListACLError = Forbidden | StackitOpError;
|
|
@@ -3033,6 +3173,8 @@ export const listACL: API.OperationMethod<
|
|
|
3033
3173
|
errors: [Forbidden, UnknownStackitError],
|
|
3034
3174
|
protocol: StackitProtocol,
|
|
3035
3175
|
retry: Retry.Retry,
|
|
3176
|
+
telemetry: TELEMETRY,
|
|
3177
|
+
span: "ListACL",
|
|
3036
3178
|
}));
|
|
3037
3179
|
|
|
3038
3180
|
export type ListAlertConfigReceiversError = Forbidden | StackitOpError;
|
|
@@ -3048,6 +3190,8 @@ export const listAlertConfigReceivers: API.OperationMethod<
|
|
|
3048
3190
|
errors: [Forbidden, UnknownStackitError],
|
|
3049
3191
|
protocol: StackitProtocol,
|
|
3050
3192
|
retry: Retry.Retry,
|
|
3193
|
+
telemetry: TELEMETRY,
|
|
3194
|
+
span: "ListAlertConfigReceivers",
|
|
3051
3195
|
}));
|
|
3052
3196
|
|
|
3053
3197
|
export type ListAlertConfigRoutesError = Forbidden | StackitOpError;
|
|
@@ -3063,6 +3207,8 @@ export const listAlertConfigRoutes: API.OperationMethod<
|
|
|
3063
3207
|
errors: [Forbidden, UnknownStackitError],
|
|
3064
3208
|
protocol: StackitProtocol,
|
|
3065
3209
|
retry: Retry.Retry,
|
|
3210
|
+
telemetry: TELEMETRY,
|
|
3211
|
+
span: "ListAlertConfigRoutes",
|
|
3066
3212
|
}));
|
|
3067
3213
|
|
|
3068
3214
|
export type ListAlertgroupsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3078,6 +3224,8 @@ export const listAlertgroups: API.OperationMethod<
|
|
|
3078
3224
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3079
3225
|
protocol: StackitProtocol,
|
|
3080
3226
|
retry: Retry.Retry,
|
|
3227
|
+
telemetry: TELEMETRY,
|
|
3228
|
+
span: "ListAlertgroups",
|
|
3081
3229
|
}));
|
|
3082
3230
|
|
|
3083
3231
|
export type ListAlertRecordsError = Forbidden | StackitOpError;
|
|
@@ -3093,6 +3241,8 @@ export const listAlertRecords: API.OperationMethod<
|
|
|
3093
3241
|
errors: [Forbidden, UnknownStackitError],
|
|
3094
3242
|
protocol: StackitProtocol,
|
|
3095
3243
|
retry: Retry.Retry,
|
|
3244
|
+
telemetry: TELEMETRY,
|
|
3245
|
+
span: "ListAlertRecords",
|
|
3096
3246
|
}));
|
|
3097
3247
|
|
|
3098
3248
|
export type ListAlertrulesError = Forbidden | StackitOpError;
|
|
@@ -3108,6 +3258,8 @@ export const listAlertrules: API.OperationMethod<
|
|
|
3108
3258
|
errors: [Forbidden, UnknownStackitError],
|
|
3109
3259
|
protocol: StackitProtocol,
|
|
3110
3260
|
retry: Retry.Retry,
|
|
3261
|
+
telemetry: TELEMETRY,
|
|
3262
|
+
span: "ListAlertrules",
|
|
3111
3263
|
}));
|
|
3112
3264
|
|
|
3113
3265
|
export type ListBackupRetentionsError = Forbidden | StackitOpError;
|
|
@@ -3123,6 +3275,8 @@ export const listBackupRetentions: API.OperationMethod<
|
|
|
3123
3275
|
errors: [Forbidden, UnknownStackitError],
|
|
3124
3276
|
protocol: StackitProtocol,
|
|
3125
3277
|
retry: Retry.Retry,
|
|
3278
|
+
telemetry: TELEMETRY,
|
|
3279
|
+
span: "ListBackupRetentions",
|
|
3126
3280
|
}));
|
|
3127
3281
|
|
|
3128
3282
|
export type ListBackupsError = Forbidden | StackitOpError;
|
|
@@ -3138,6 +3292,8 @@ export const listBackups: API.OperationMethod<
|
|
|
3138
3292
|
errors: [Forbidden, UnknownStackitError],
|
|
3139
3293
|
protocol: StackitProtocol,
|
|
3140
3294
|
retry: Retry.Retry,
|
|
3295
|
+
telemetry: TELEMETRY,
|
|
3296
|
+
span: "ListBackups",
|
|
3141
3297
|
}));
|
|
3142
3298
|
|
|
3143
3299
|
export type ListBackupSchedulesError = Forbidden | StackitOpError;
|
|
@@ -3153,6 +3309,8 @@ export const listBackupSchedules: API.OperationMethod<
|
|
|
3153
3309
|
errors: [Forbidden, UnknownStackitError],
|
|
3154
3310
|
protocol: StackitProtocol,
|
|
3155
3311
|
retry: Retry.Retry,
|
|
3312
|
+
telemetry: TELEMETRY,
|
|
3313
|
+
span: "ListBackupSchedules",
|
|
3156
3314
|
}));
|
|
3157
3315
|
|
|
3158
3316
|
export type ListCertChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3168,6 +3326,8 @@ export const listCertChecks: API.OperationMethod<
|
|
|
3168
3326
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3169
3327
|
protocol: StackitProtocol,
|
|
3170
3328
|
retry: Retry.Retry,
|
|
3329
|
+
telemetry: TELEMETRY,
|
|
3330
|
+
span: "ListCertChecks",
|
|
3171
3331
|
}));
|
|
3172
3332
|
|
|
3173
3333
|
export type ListCredentialsError = Forbidden | StackitOpError;
|
|
@@ -3183,6 +3343,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
3183
3343
|
errors: [Forbidden, UnknownStackitError],
|
|
3184
3344
|
protocol: StackitProtocol,
|
|
3185
3345
|
retry: Retry.Retry,
|
|
3346
|
+
telemetry: TELEMETRY,
|
|
3347
|
+
span: "ListCredentials",
|
|
3186
3348
|
}));
|
|
3187
3349
|
|
|
3188
3350
|
export type ListElasticsearchChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3198,6 +3360,8 @@ export const listElasticsearchChecks: API.OperationMethod<
|
|
|
3198
3360
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3199
3361
|
protocol: StackitProtocol,
|
|
3200
3362
|
retry: Retry.Retry,
|
|
3363
|
+
telemetry: TELEMETRY,
|
|
3364
|
+
span: "ListElasticsearchChecks",
|
|
3201
3365
|
}));
|
|
3202
3366
|
|
|
3203
3367
|
export type ListHttpChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3213,6 +3377,8 @@ export const listHttpChecks: API.OperationMethod<
|
|
|
3213
3377
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3214
3378
|
protocol: StackitProtocol,
|
|
3215
3379
|
retry: Retry.Retry,
|
|
3380
|
+
telemetry: TELEMETRY,
|
|
3381
|
+
span: "ListHttpChecks",
|
|
3216
3382
|
}));
|
|
3217
3383
|
|
|
3218
3384
|
export type ListInstancesError = Forbidden | StackitOpError;
|
|
@@ -3228,6 +3394,8 @@ export const listInstances: API.OperationMethod<
|
|
|
3228
3394
|
errors: [Forbidden, UnknownStackitError],
|
|
3229
3395
|
protocol: StackitProtocol,
|
|
3230
3396
|
retry: Retry.Retry,
|
|
3397
|
+
telemetry: TELEMETRY,
|
|
3398
|
+
span: "ListInstances",
|
|
3231
3399
|
}));
|
|
3232
3400
|
|
|
3233
3401
|
export type ListLogsAlertgroupsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3243,6 +3411,8 @@ export const listLogsAlertgroups: API.OperationMethod<
|
|
|
3243
3411
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3244
3412
|
protocol: StackitProtocol,
|
|
3245
3413
|
retry: Retry.Retry,
|
|
3414
|
+
telemetry: TELEMETRY,
|
|
3415
|
+
span: "ListLogsAlertgroups",
|
|
3246
3416
|
}));
|
|
3247
3417
|
|
|
3248
3418
|
export type ListMongodbChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3258,6 +3428,8 @@ export const listMongodbChecks: API.OperationMethod<
|
|
|
3258
3428
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3259
3429
|
protocol: StackitProtocol,
|
|
3260
3430
|
retry: Retry.Retry,
|
|
3431
|
+
telemetry: TELEMETRY,
|
|
3432
|
+
span: "ListMongodbChecks",
|
|
3261
3433
|
}));
|
|
3262
3434
|
|
|
3263
3435
|
export type ListMysqlChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3273,6 +3445,8 @@ export const listMysqlChecks: API.OperationMethod<
|
|
|
3273
3445
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3274
3446
|
protocol: StackitProtocol,
|
|
3275
3447
|
retry: Retry.Retry,
|
|
3448
|
+
telemetry: TELEMETRY,
|
|
3449
|
+
span: "ListMysqlChecks",
|
|
3276
3450
|
}));
|
|
3277
3451
|
|
|
3278
3452
|
export type ListNetworkChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3288,6 +3462,8 @@ export const listNetworkChecks: API.OperationMethod<
|
|
|
3288
3462
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3289
3463
|
protocol: StackitProtocol,
|
|
3290
3464
|
retry: Retry.Retry,
|
|
3465
|
+
telemetry: TELEMETRY,
|
|
3466
|
+
span: "ListNetworkChecks",
|
|
3291
3467
|
}));
|
|
3292
3468
|
|
|
3293
3469
|
export type ListOfferingsError = Forbidden | StackitOpError;
|
|
@@ -3303,6 +3479,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
3303
3479
|
errors: [Forbidden, UnknownStackitError],
|
|
3304
3480
|
protocol: StackitProtocol,
|
|
3305
3481
|
retry: Retry.Retry,
|
|
3482
|
+
telemetry: TELEMETRY,
|
|
3483
|
+
span: "ListOfferings",
|
|
3306
3484
|
}));
|
|
3307
3485
|
|
|
3308
3486
|
export type ListPingChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3318,6 +3496,8 @@ export const listPingChecks: API.OperationMethod<
|
|
|
3318
3496
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3319
3497
|
protocol: StackitProtocol,
|
|
3320
3498
|
retry: Retry.Retry,
|
|
3499
|
+
telemetry: TELEMETRY,
|
|
3500
|
+
span: "ListPingChecks",
|
|
3321
3501
|
}));
|
|
3322
3502
|
|
|
3323
3503
|
export type ListPlansError = Forbidden | StackitOpError;
|
|
@@ -3333,6 +3513,8 @@ export const listPlans: API.OperationMethod<
|
|
|
3333
3513
|
errors: [Forbidden, UnknownStackitError],
|
|
3334
3514
|
protocol: StackitProtocol,
|
|
3335
3515
|
retry: Retry.Retry,
|
|
3516
|
+
telemetry: TELEMETRY,
|
|
3517
|
+
span: "ListPlans",
|
|
3336
3518
|
}));
|
|
3337
3519
|
|
|
3338
3520
|
export type ListPostgresqlChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3348,6 +3530,8 @@ export const listPostgresqlChecks: API.OperationMethod<
|
|
|
3348
3530
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3349
3531
|
protocol: StackitProtocol,
|
|
3350
3532
|
retry: Retry.Retry,
|
|
3533
|
+
telemetry: TELEMETRY,
|
|
3534
|
+
span: "ListPostgresqlChecks",
|
|
3351
3535
|
}));
|
|
3352
3536
|
|
|
3353
3537
|
export type ListRabbitmqChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3363,6 +3547,8 @@ export const listRabbitmqChecks: API.OperationMethod<
|
|
|
3363
3547
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3364
3548
|
protocol: StackitProtocol,
|
|
3365
3549
|
retry: Retry.Retry,
|
|
3550
|
+
telemetry: TELEMETRY,
|
|
3551
|
+
span: "ListRabbitmqChecks",
|
|
3366
3552
|
}));
|
|
3367
3553
|
|
|
3368
3554
|
export type ListRedisChecksError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3378,6 +3564,8 @@ export const listRedisChecks: API.OperationMethod<
|
|
|
3378
3564
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3379
3565
|
protocol: StackitProtocol,
|
|
3380
3566
|
retry: Retry.Retry,
|
|
3567
|
+
telemetry: TELEMETRY,
|
|
3568
|
+
span: "ListRedisChecks",
|
|
3381
3569
|
}));
|
|
3382
3570
|
|
|
3383
3571
|
export type ListScrapeConfigsError = Forbidden | StackitOpError;
|
|
@@ -3393,6 +3581,8 @@ export const listScrapeConfigs: API.OperationMethod<
|
|
|
3393
3581
|
errors: [Forbidden, UnknownStackitError],
|
|
3394
3582
|
protocol: StackitProtocol,
|
|
3395
3583
|
retry: Retry.Retry,
|
|
3584
|
+
telemetry: TELEMETRY,
|
|
3585
|
+
span: "ListScrapeConfigs",
|
|
3396
3586
|
}));
|
|
3397
3587
|
|
|
3398
3588
|
export type PartialUpdateAlertgroupsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3408,6 +3598,8 @@ export const partialUpdateAlertgroups: API.OperationMethod<
|
|
|
3408
3598
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3409
3599
|
protocol: StackitProtocol,
|
|
3410
3600
|
retry: Retry.Retry,
|
|
3601
|
+
telemetry: TELEMETRY,
|
|
3602
|
+
span: "PartialUpdateAlertgroups",
|
|
3411
3603
|
}));
|
|
3412
3604
|
|
|
3413
3605
|
export type PartialUpdateAlertRecordsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3423,6 +3615,8 @@ export const partialUpdateAlertRecords: API.OperationMethod<
|
|
|
3423
3615
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3424
3616
|
protocol: StackitProtocol,
|
|
3425
3617
|
retry: Retry.Retry,
|
|
3618
|
+
telemetry: TELEMETRY,
|
|
3619
|
+
span: "PartialUpdateAlertRecords",
|
|
3426
3620
|
}));
|
|
3427
3621
|
|
|
3428
3622
|
export type PartialUpdateAlertrulesError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3438,6 +3632,8 @@ export const partialUpdateAlertrules: API.OperationMethod<
|
|
|
3438
3632
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3439
3633
|
protocol: StackitProtocol,
|
|
3440
3634
|
retry: Retry.Retry,
|
|
3635
|
+
telemetry: TELEMETRY,
|
|
3636
|
+
span: "PartialUpdateAlertrules",
|
|
3441
3637
|
}));
|
|
3442
3638
|
|
|
3443
3639
|
export type PartialUpdateScrapeConfigsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3453,6 +3649,8 @@ export const partialUpdateScrapeConfigs: API.OperationMethod<
|
|
|
3453
3649
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3454
3650
|
protocol: StackitProtocol,
|
|
3455
3651
|
retry: Retry.Retry,
|
|
3652
|
+
telemetry: TELEMETRY,
|
|
3653
|
+
span: "PartialUpdateScrapeConfigs",
|
|
3456
3654
|
}));
|
|
3457
3655
|
|
|
3458
3656
|
export type RestoreBackupError = Forbidden | NotFound | StackitOpError;
|
|
@@ -3468,6 +3666,8 @@ export const restoreBackup: API.OperationMethod<
|
|
|
3468
3666
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
3469
3667
|
protocol: StackitProtocol,
|
|
3470
3668
|
retry: Retry.Retry,
|
|
3669
|
+
telemetry: TELEMETRY,
|
|
3670
|
+
span: "RestoreBackup",
|
|
3471
3671
|
}));
|
|
3472
3672
|
|
|
3473
3673
|
export type UpdateACLError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3483,6 +3683,8 @@ export const updateACL: API.OperationMethod<
|
|
|
3483
3683
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3484
3684
|
protocol: StackitProtocol,
|
|
3485
3685
|
retry: Retry.Retry,
|
|
3686
|
+
telemetry: TELEMETRY,
|
|
3687
|
+
span: "UpdateACL",
|
|
3486
3688
|
}));
|
|
3487
3689
|
|
|
3488
3690
|
export type UpdateAlertConfigReceiverError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -3498,6 +3700,8 @@ export const updateAlertConfigReceiver: API.OperationMethod<
|
|
|
3498
3700
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3499
3701
|
protocol: StackitProtocol,
|
|
3500
3702
|
retry: Retry.Retry,
|
|
3703
|
+
telemetry: TELEMETRY,
|
|
3704
|
+
span: "UpdateAlertConfigReceiver",
|
|
3501
3705
|
}));
|
|
3502
3706
|
|
|
3503
3707
|
export type UpdateAlertConfigRouteError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -3513,6 +3717,8 @@ export const updateAlertConfigRoute: API.OperationMethod<
|
|
|
3513
3717
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3514
3718
|
protocol: StackitProtocol,
|
|
3515
3719
|
retry: Retry.Retry,
|
|
3720
|
+
telemetry: TELEMETRY,
|
|
3721
|
+
span: "UpdateAlertConfigRoute",
|
|
3516
3722
|
}));
|
|
3517
3723
|
|
|
3518
3724
|
export type UpdateAlertConfigsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3528,6 +3734,8 @@ export const updateAlertConfigs: API.OperationMethod<
|
|
|
3528
3734
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3529
3735
|
protocol: StackitProtocol,
|
|
3530
3736
|
retry: Retry.Retry,
|
|
3737
|
+
telemetry: TELEMETRY,
|
|
3738
|
+
span: "UpdateAlertConfigs",
|
|
3531
3739
|
}));
|
|
3532
3740
|
|
|
3533
3741
|
export type UpdateAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -3543,6 +3751,8 @@ export const updateAlertgroup: API.OperationMethod<
|
|
|
3543
3751
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3544
3752
|
protocol: StackitProtocol,
|
|
3545
3753
|
retry: Retry.Retry,
|
|
3754
|
+
telemetry: TELEMETRY,
|
|
3755
|
+
span: "UpdateAlertgroup",
|
|
3546
3756
|
}));
|
|
3547
3757
|
|
|
3548
3758
|
export type UpdateAlertgroupsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3558,6 +3768,8 @@ export const updateAlertgroups: API.OperationMethod<
|
|
|
3558
3768
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3559
3769
|
protocol: StackitProtocol,
|
|
3560
3770
|
retry: Retry.Retry,
|
|
3771
|
+
telemetry: TELEMETRY,
|
|
3772
|
+
span: "UpdateAlertgroups",
|
|
3561
3773
|
}));
|
|
3562
3774
|
|
|
3563
3775
|
export type UpdateAlertRecordError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -3573,6 +3785,8 @@ export const updateAlertRecord: API.OperationMethod<
|
|
|
3573
3785
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3574
3786
|
protocol: StackitProtocol,
|
|
3575
3787
|
retry: Retry.Retry,
|
|
3788
|
+
telemetry: TELEMETRY,
|
|
3789
|
+
span: "UpdateAlertRecord",
|
|
3576
3790
|
}));
|
|
3577
3791
|
|
|
3578
3792
|
export type UpdateAlertruleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -3588,6 +3802,8 @@ export const updateAlertrule: API.OperationMethod<
|
|
|
3588
3802
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3589
3803
|
protocol: StackitProtocol,
|
|
3590
3804
|
retry: Retry.Retry,
|
|
3805
|
+
telemetry: TELEMETRY,
|
|
3806
|
+
span: "UpdateAlertrule",
|
|
3591
3807
|
}));
|
|
3592
3808
|
|
|
3593
3809
|
export type UpdateCredentialsRemoteWriteConfigError =
|
|
@@ -3607,6 +3823,8 @@ export const updateCredentialsRemoteWriteConfig: API.OperationMethod<
|
|
|
3607
3823
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3608
3824
|
protocol: StackitProtocol,
|
|
3609
3825
|
retry: Retry.Retry,
|
|
3826
|
+
telemetry: TELEMETRY,
|
|
3827
|
+
span: "UpdateCredentialsRemoteWriteConfig",
|
|
3610
3828
|
}));
|
|
3611
3829
|
|
|
3612
3830
|
export type UpdateGrafanaConfigsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3622,6 +3840,8 @@ export const updateGrafanaConfigs: API.OperationMethod<
|
|
|
3622
3840
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3623
3841
|
protocol: StackitProtocol,
|
|
3624
3842
|
retry: Retry.Retry,
|
|
3843
|
+
telemetry: TELEMETRY,
|
|
3844
|
+
span: "UpdateGrafanaConfigs",
|
|
3625
3845
|
}));
|
|
3626
3846
|
|
|
3627
3847
|
export type UpdateInstanceError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3637,6 +3857,8 @@ export const updateInstance: API.OperationMethod<
|
|
|
3637
3857
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3638
3858
|
protocol: StackitProtocol,
|
|
3639
3859
|
retry: Retry.Retry,
|
|
3860
|
+
telemetry: TELEMETRY,
|
|
3861
|
+
span: "UpdateInstance",
|
|
3640
3862
|
}));
|
|
3641
3863
|
|
|
3642
3864
|
export type UpdateLogsAlertgroupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -3652,6 +3874,8 @@ export const updateLogsAlertgroup: API.OperationMethod<
|
|
|
3652
3874
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3653
3875
|
protocol: StackitProtocol,
|
|
3654
3876
|
retry: Retry.Retry,
|
|
3877
|
+
telemetry: TELEMETRY,
|
|
3878
|
+
span: "UpdateLogsAlertgroup",
|
|
3655
3879
|
}));
|
|
3656
3880
|
|
|
3657
3881
|
export type UpdateLogsConfigsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3667,6 +3891,8 @@ export const updateLogsConfigs: API.OperationMethod<
|
|
|
3667
3891
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3668
3892
|
protocol: StackitProtocol,
|
|
3669
3893
|
retry: Retry.Retry,
|
|
3894
|
+
telemetry: TELEMETRY,
|
|
3895
|
+
span: "UpdateLogsConfigs",
|
|
3670
3896
|
}));
|
|
3671
3897
|
|
|
3672
3898
|
export type UpdateMetricsStorageRetentionError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3682,6 +3908,8 @@ export const updateMetricsStorageRetention: API.OperationMethod<
|
|
|
3682
3908
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3683
3909
|
protocol: StackitProtocol,
|
|
3684
3910
|
retry: Retry.Retry,
|
|
3911
|
+
telemetry: TELEMETRY,
|
|
3912
|
+
span: "UpdateMetricsStorageRetention",
|
|
3685
3913
|
}));
|
|
3686
3914
|
|
|
3687
3915
|
export type UpdateScrapeConfigError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -3697,6 +3925,8 @@ export const updateScrapeConfig: API.OperationMethod<
|
|
|
3697
3925
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3698
3926
|
protocol: StackitProtocol,
|
|
3699
3927
|
retry: Retry.Retry,
|
|
3928
|
+
telemetry: TELEMETRY,
|
|
3929
|
+
span: "UpdateScrapeConfig",
|
|
3700
3930
|
}));
|
|
3701
3931
|
|
|
3702
3932
|
export type UpdateTracesConfigsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -3712,6 +3942,8 @@ export const updateTracesConfigs: API.OperationMethod<
|
|
|
3712
3942
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3713
3943
|
protocol: StackitProtocol,
|
|
3714
3944
|
retry: Retry.Retry,
|
|
3945
|
+
telemetry: TELEMETRY,
|
|
3946
|
+
span: "UpdateTracesConfigs",
|
|
3715
3947
|
}));
|
|
3716
3948
|
|
|
3717
3949
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|