@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.16
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/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +32 -28
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +22 -22
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +15 -15
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +31 -29
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +24 -23
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +73 -502
- package/lib/services/alb_waf.d.ts +9 -82
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +84 -510
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +67 -314
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +58 -353
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +81 -896
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +45 -171
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +39 -169
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +98 -714
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +56 -307
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +66 -347
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +64 -393
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +87 -510
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +409 -3532
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +74 -465
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +95 -650
- package/lib/services/lb_ip_lists.d.ts +9 -25
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +45 -146
- package/lib/services/load_balancer.d.ts +10 -81
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +76 -486
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +82 -564
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +84 -465
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +84 -541
- package/lib/services/model_experiments.d.ts +9 -48
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +66 -325
- package/lib/services/model_serving.d.ts +7 -47
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +55 -277
- package/lib/services/mongodb_flex.d.ts +8 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +102 -793
- package/lib/services/object_storage.d.ts +12 -59
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +93 -528
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +375 -3148
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +85 -553
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +81 -726
- package/lib/services/postgres_flex.d.ts +14 -136
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +114 -841
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +92 -507
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +88 -564
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +49 -189
- package/lib/services/resource_manager.d.ts +9 -61
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +92 -462
- package/lib/services/run_command.d.ts +5 -28
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +38 -176
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +63 -435
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +99 -660
- package/lib/services/secrets_manager.d.ts +8 -61
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +99 -601
- package/lib/services/server_backup.d.ts +7 -50
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +70 -444
- package/lib/services/server_update.d.ts +7 -35
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +58 -342
- package/lib/services/service_account.d.ts +10 -68
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +75 -495
- package/lib/services/service_enablement.d.ts +7 -29
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +40 -147
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +117 -782
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +67 -549
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +112 -925
- package/lib/services/stackit_marketplace.d.ts +9 -38
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +64 -369
- package/lib/services/telemetry_link.d.ts +8 -61
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +81 -522
- package/lib/services/telemetry_router.d.ts +8 -72
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +73 -474
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +55 -269
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +85 -557
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +105 -920
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +67 -497
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +10 -10
- package/package.json +13 -9
- package/src/credentials.ts +21 -18
- package/src/errors.ts +10 -14
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +12 -9
- package/src/retry.ts +6 -4
- package/src/services/alb.ts +599 -655
- package/src/services/alb_waf.ts +597 -637
- package/src/services/authorization.ts +400 -383
- package/src/services/automation.ts +422 -405
- package/src/services/cdn.ts +817 -1375
- package/src/services/certificates.ts +209 -190
- package/src/services/cost.ts +100 -207
- package/src/services/dns.ts +793 -833
- package/src/services/dremio.ts +356 -349
- package/src/services/edge.ts +406 -366
- package/src/services/functions.ts +465 -463
- package/src/services/git.ts +602 -547
- package/src/services/iaas.ts +3931 -3821
- package/src/services/intake.ts +521 -549
- package/src/services/kms.ts +715 -692
- package/src/services/lb_ip_lists.ts +173 -152
- package/src/services/load_balancer.ts +576 -619
- package/src/services/logme.ts +696 -641
- package/src/services/logs.ts +510 -493
- package/src/services/mariadb.ts +671 -604
- package/src/services/model_experiments.ts +343 -356
- package/src/services/model_serving.ts +337 -328
- package/src/services/mongodb_flex.ts +955 -1007
- package/src/services/object_storage.ts +614 -557
- package/src/services/observability.ts +3469 -3866
- package/src/services/opensearch.ts +679 -628
- package/src/services/pim.ts +672 -909
- package/src/services/postgres_flex.ts +966 -986
- package/src/services/pubsub.ts +524 -546
- package/src/services/rabbitmq.ts +693 -654
- package/src/services/registry.ts +227 -194
- package/src/services/resource_manager.ts +520 -517
- package/src/services/run_command.ts +219 -211
- package/src/services/sca.ts +543 -570
- package/src/services/scf.ts +790 -716
- package/src/services/secrets_manager.ts +707 -622
- package/src/services/server_backup.ts +490 -475
- package/src/services/server_update.ts +353 -356
- package/src/services/service_account.ts +515 -553
- package/src/services/service_enablement.ts +162 -166
- package/src/services/sfs.ts +879 -958
- package/src/services/ske.ts +694 -769
- package/src/services/sqlserverflex.ts +1042 -1117
- package/src/services/stackit_marketplace.ts +377 -372
- package/src/services/telemetry_link.ts +530 -531
- package/src/services/telemetry_router.ts +509 -534
- package/src/services/ufw.ts +305 -307
- package/src/services/valkey.ts +684 -629
- package/src/services/vpn.ts +935 -1195
- package/src/services/workflows.ts +426 -586
- package/src/traits.ts +1 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -181
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/alb.js.map +0 -1
- package/lib/services/alb_waf.js.map +0 -1
- package/lib/services/authorization.js.map +0 -1
- package/lib/services/automation.js.map +0 -1
- package/lib/services/cdn.js.map +0 -1
- package/lib/services/certificates.js.map +0 -1
- package/lib/services/cost.js.map +0 -1
- package/lib/services/dns.js.map +0 -1
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.js.map +0 -1
- package/lib/services/iaas.js.map +0 -1
- package/lib/services/intake.js.map +0 -1
- package/lib/services/kms.js.map +0 -1
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/load_balancer.js.map +0 -1
- package/lib/services/logme.js.map +0 -1
- package/lib/services/logs.js.map +0 -1
- package/lib/services/mariadb.js.map +0 -1
- package/lib/services/model_experiments.js.map +0 -1
- package/lib/services/model_serving.js.map +0 -1
- package/lib/services/mongodb_flex.js.map +0 -1
- package/lib/services/object_storage.js.map +0 -1
- package/lib/services/observability.js.map +0 -1
- package/lib/services/opensearch.js.map +0 -1
- package/lib/services/pim.js.map +0 -1
- package/lib/services/postgres_flex.js.map +0 -1
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/rabbitmq.js.map +0 -1
- package/lib/services/registry.js.map +0 -1
- package/lib/services/resource_manager.js.map +0 -1
- package/lib/services/run_command.js.map +0 -1
- package/lib/services/sca.js.map +0 -1
- package/lib/services/scf.js.map +0 -1
- package/lib/services/secrets_manager.js.map +0 -1
- package/lib/services/server_backup.js.map +0 -1
- package/lib/services/server_update.js.map +0 -1
- package/lib/services/service_account.js.map +0 -1
- package/lib/services/service_enablement.js.map +0 -1
- package/lib/services/sfs.js.map +0 -1
- package/lib/services/ske.js.map +0 -1
- package/lib/services/sqlserverflex.js.map +0 -1
- package/lib/services/stackit_marketplace.js.map +0 -1
- package/lib/services/telemetry_link.js.map +0 -1
- package/lib/services/telemetry_router.js.map +0 -1
- package/lib/services/ufw.js.map +0 -1
- package/lib/services/valkey.js.map +0 -1
- package/lib/services/vpn.js.map +0 -1
- package/lib/services/workflows.js.map +0 -1
- package/src/protocol.test.ts +0 -304
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
-
import * as Redacted from "effect/Redacted";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
|
+
import type * as Redacted from "effect/Redacted";
|
|
4
4
|
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
5
5
|
export type { StackitOpError, StackitOpContext };
|
|
6
|
-
declare const BadRequest_base: S.
|
|
6
|
+
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
7
7
|
readonly code: any;
|
|
8
8
|
readonly message: any;
|
|
9
|
-
}
|
|
9
|
+
}> & (new (...args: any[]) => {
|
|
10
10
|
"@distilled.cloud/error/categories": {
|
|
11
11
|
BadRequestError: true;
|
|
12
12
|
};
|
|
13
13
|
});
|
|
14
14
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
15
15
|
}
|
|
16
|
-
declare const Forbidden_base: S.
|
|
16
|
+
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
17
17
|
readonly code: any;
|
|
18
18
|
readonly message: any;
|
|
19
|
-
}
|
|
19
|
+
}> & (new (...args: any[]) => {
|
|
20
20
|
"@distilled.cloud/error/categories": {
|
|
21
21
|
AuthError: true;
|
|
22
22
|
};
|
|
23
23
|
});
|
|
24
24
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
25
25
|
}
|
|
26
|
-
declare const NotFound_base: S.
|
|
26
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
27
27
|
readonly code: any;
|
|
28
28
|
readonly message: any;
|
|
29
|
-
}
|
|
29
|
+
}> & (new (...args: any[]) => {
|
|
30
30
|
"@distilled.cloud/error/categories": {
|
|
31
31
|
BadRequestError: true;
|
|
32
32
|
};
|
|
@@ -49,10 +49,8 @@ export interface CreateAlertConfigReceiverRequestEmailConfigsItem {
|
|
|
49
49
|
/** The email address to send notifications to. `Additional Validators:` * must be a syntactically valid email address */
|
|
50
50
|
to?: string;
|
|
51
51
|
}
|
|
52
|
-
export declare const CreateAlertConfigReceiverRequestEmailConfigsItem: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
|
|
53
52
|
/** Email configurations */
|
|
54
53
|
export type CreateAlertConfigReceiverRequestEmailConfigsList = Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
|
|
55
|
-
export declare const CreateAlertConfigReceiverRequestEmailConfigsList: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsList>;
|
|
56
54
|
export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
|
|
57
55
|
/** The API key to use when talking to the OpsGenie API. `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
|
|
58
56
|
apiKey?: string | Redacted.Redacted<string>;
|
|
@@ -65,10 +63,8 @@ export interface CreateAlertConfigReceiverRequestOpsgenieConfigsItem {
|
|
|
65
63
|
/** Comma separated list of tags attached to the notifications. */
|
|
66
64
|
tags?: string;
|
|
67
65
|
}
|
|
68
|
-
export declare const CreateAlertConfigReceiverRequestOpsgenieConfigsItem: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
|
|
69
66
|
/** Configuration for ops genie. */
|
|
70
67
|
export type CreateAlertConfigReceiverRequestOpsgenieConfigsList = Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
|
|
71
|
-
export declare const CreateAlertConfigReceiverRequestOpsgenieConfigsList: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsList>;
|
|
72
68
|
export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
|
|
73
69
|
/** Google Chat webhooks require special handling. If you set this property to true, it is treated as such. `Additional Validators:` * When set to true, msTeams must be false. */
|
|
74
70
|
googleChat?: boolean;
|
|
@@ -79,9 +75,7 @@ export interface CreateAlertConfigReceiverRequestWebHookConfigsItem {
|
|
|
79
75
|
/** The endpoint to send HTTP POST requests to. `Additional Validators:` * must be a syntactically valid url address */
|
|
80
76
|
url?: string;
|
|
81
77
|
}
|
|
82
|
-
export declare const CreateAlertConfigReceiverRequestWebHookConfigsItem: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
|
|
83
78
|
export type CreateAlertConfigReceiverRequestWebHookConfigsList = Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
|
|
84
|
-
export declare const CreateAlertConfigReceiverRequestWebHookConfigsList: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsList>;
|
|
85
79
|
export interface CreateAlertConfigReceiverRequest {
|
|
86
80
|
projectId: string;
|
|
87
81
|
instanceId: string;
|
|
@@ -93,7 +87,6 @@ export interface CreateAlertConfigReceiverRequest {
|
|
|
93
87
|
opsgenieConfigs?: CreateAlertConfigReceiverRequestOpsgenieConfigsList;
|
|
94
88
|
webHookConfigs?: CreateAlertConfigReceiverRequestWebHookConfigsList;
|
|
95
89
|
}
|
|
96
|
-
export declare const CreateAlertConfigReceiverRequest: S.Schema<CreateAlertConfigReceiverRequest>;
|
|
97
90
|
export interface EmailConfig {
|
|
98
91
|
authIdentity?: string;
|
|
99
92
|
authPassword?: string | Redacted.Redacted<string>;
|
|
@@ -103,9 +96,7 @@ export interface EmailConfig {
|
|
|
103
96
|
smarthost?: string;
|
|
104
97
|
to: string;
|
|
105
98
|
}
|
|
106
|
-
export declare const EmailConfig: S.Schema<EmailConfig>;
|
|
107
99
|
export type ReceiversEmailConfigsList = Array<EmailConfig>;
|
|
108
|
-
export declare const ReceiversEmailConfigsList: S.Schema<ReceiversEmailConfigsList>;
|
|
109
100
|
export interface OpsgenieConfig {
|
|
110
101
|
apiKey?: string | Redacted.Redacted<string>;
|
|
111
102
|
apiUrl?: string;
|
|
@@ -113,46 +104,34 @@ export interface OpsgenieConfig {
|
|
|
113
104
|
sendResolved?: boolean;
|
|
114
105
|
tags?: string;
|
|
115
106
|
}
|
|
116
|
-
export declare const OpsgenieConfig: S.Schema<OpsgenieConfig>;
|
|
117
107
|
export type ReceiversOpsgenieConfigsList = Array<OpsgenieConfig>;
|
|
118
|
-
export declare const ReceiversOpsgenieConfigsList: S.Schema<ReceiversOpsgenieConfigsList>;
|
|
119
108
|
export interface WebHook {
|
|
120
109
|
googleChat?: boolean;
|
|
121
110
|
msTeams?: boolean;
|
|
122
111
|
sendResolved?: boolean;
|
|
123
112
|
url: string;
|
|
124
113
|
}
|
|
125
|
-
export declare const WebHook: S.Schema<WebHook>;
|
|
126
114
|
export type ReceiversWebHookConfigsList = Array<WebHook>;
|
|
127
|
-
export declare const ReceiversWebHookConfigsList: S.Schema<ReceiversWebHookConfigsList>;
|
|
128
115
|
export interface Receivers {
|
|
129
116
|
emailConfigs?: ReceiversEmailConfigsList;
|
|
130
117
|
name: string;
|
|
131
118
|
opsgenieConfigs?: ReceiversOpsgenieConfigsList;
|
|
132
119
|
webHookConfigs?: ReceiversWebHookConfigsList;
|
|
133
120
|
}
|
|
134
|
-
export declare const Receivers: S.Schema<Receivers>;
|
|
135
121
|
export type AlertConfigReceiversResponseDataList = Array<Receivers>;
|
|
136
|
-
export declare const AlertConfigReceiversResponseDataList: S.Schema<AlertConfigReceiversResponseDataList>;
|
|
137
122
|
export interface AlertConfigReceiversResponse {
|
|
138
123
|
data: AlertConfigReceiversResponseDataList;
|
|
139
124
|
message: string;
|
|
140
125
|
}
|
|
141
|
-
export declare const AlertConfigReceiversResponse: S.Schema<AlertConfigReceiversResponse>;
|
|
142
126
|
/** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
|
|
143
127
|
export type CreateAlertConfigRouteRequestGroupByList = Array<string>;
|
|
144
|
-
export declare const CreateAlertConfigRouteRequestGroupByList: S.Schema<CreateAlertConfigRouteRequestGroupByList>;
|
|
145
128
|
/** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
|
|
146
129
|
export type CreateAlertConfigRouteRequestMatchersList = Array<string>;
|
|
147
|
-
export declare const CreateAlertConfigRouteRequestMatchersList: S.Schema<CreateAlertConfigRouteRequestMatchersList>;
|
|
148
130
|
export type CreateAlertConfigRouteRequestRoutesItemGroupByList = Array<string>;
|
|
149
|
-
export declare const CreateAlertConfigRouteRequestRoutesItemGroupByList: S.Schema<CreateAlertConfigRouteRequestRoutesItemGroupByList>;
|
|
150
131
|
/** As in one level above */
|
|
151
132
|
export type CreateAlertConfigRouteRequestRoutesItemMatchersList = Array<string>;
|
|
152
|
-
export declare const CreateAlertConfigRouteRequestRoutesItemMatchersList: S.Schema<CreateAlertConfigRouteRequestRoutesItemMatchersList>;
|
|
153
133
|
/** Another child routes */
|
|
154
134
|
export type CreateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
|
|
155
|
-
export declare const CreateAlertConfigRouteRequestRoutesItemRoutesList: S.Schema<CreateAlertConfigRouteRequestRoutesItemRoutesList>;
|
|
156
135
|
/** As in one level above */
|
|
157
136
|
export interface CreateAlertConfigRouteRequestRoutesItem {
|
|
158
137
|
/** Whether an alert should continue matching subsequent sibling nodes. */
|
|
@@ -175,10 +154,8 @@ export interface CreateAlertConfigRouteRequestRoutesItem {
|
|
|
175
154
|
/** Another child routes */
|
|
176
155
|
routes?: CreateAlertConfigRouteRequestRoutesItemRoutesList;
|
|
177
156
|
}
|
|
178
|
-
export declare const CreateAlertConfigRouteRequestRoutesItem: S.Schema<CreateAlertConfigRouteRequestRoutesItem>;
|
|
179
157
|
/** Zero or more child routes. */
|
|
180
158
|
export type CreateAlertConfigRouteRequestRoutesList = Array<CreateAlertConfigRouteRequestRoutesItem>;
|
|
181
|
-
export declare const CreateAlertConfigRouteRequestRoutesList: S.Schema<CreateAlertConfigRouteRequestRoutesList>;
|
|
182
159
|
export interface CreateAlertConfigRouteRequest {
|
|
183
160
|
projectId: string;
|
|
184
161
|
instanceId: string;
|
|
@@ -203,37 +180,26 @@ export interface CreateAlertConfigRouteRequest {
|
|
|
203
180
|
/** Zero or more child routes. */
|
|
204
181
|
routes?: CreateAlertConfigRouteRequestRoutesList;
|
|
205
182
|
}
|
|
206
|
-
export declare const CreateAlertConfigRouteRequest: S.Schema<CreateAlertConfigRouteRequest>;
|
|
207
183
|
export type RouteGroupByList = Array<string>;
|
|
208
|
-
export declare const RouteGroupByList: S.Schema<RouteGroupByList>;
|
|
209
184
|
export type RouteMatchMap = {
|
|
210
185
|
[key: string]: string | undefined;
|
|
211
186
|
};
|
|
212
|
-
export declare const RouteMatchMap: S.Schema<RouteMatchMap>;
|
|
213
187
|
export type RouteMatchReMap = {
|
|
214
188
|
[key: string]: string | undefined;
|
|
215
189
|
};
|
|
216
|
-
export declare const RouteMatchReMap: S.Schema<RouteMatchReMap>;
|
|
217
190
|
export type RouteMatchersList = Array<string>;
|
|
218
|
-
export declare const RouteMatchersList: S.Schema<RouteMatchersList>;
|
|
219
191
|
export type RouteSerializerGroupByList = Array<string>;
|
|
220
|
-
export declare const RouteSerializerGroupByList: S.Schema<RouteSerializerGroupByList>;
|
|
221
192
|
export type RouteSerializerMatchMap = {
|
|
222
193
|
[key: string]: string | undefined;
|
|
223
194
|
};
|
|
224
|
-
export declare const RouteSerializerMatchMap: S.Schema<RouteSerializerMatchMap>;
|
|
225
195
|
export type RouteSerializerMatchReMap = {
|
|
226
196
|
[key: string]: string | undefined;
|
|
227
197
|
};
|
|
228
|
-
export declare const RouteSerializerMatchReMap: S.Schema<RouteSerializerMatchReMap>;
|
|
229
198
|
export type RouteSerializerMatchersList = Array<string>;
|
|
230
|
-
export declare const RouteSerializerMatchersList: S.Schema<RouteSerializerMatchersList>;
|
|
231
199
|
export type RouteSerializerRoutesItemMap = {
|
|
232
200
|
[key: string]: string | null | undefined;
|
|
233
201
|
};
|
|
234
|
-
export declare const RouteSerializerRoutesItemMap: S.Schema<RouteSerializerRoutesItemMap>;
|
|
235
202
|
export type RouteSerializerRoutesList = Array<RouteSerializerRoutesItemMap>;
|
|
236
|
-
export declare const RouteSerializerRoutesList: S.Schema<RouteSerializerRoutesList>;
|
|
237
203
|
export interface RouteSerializer {
|
|
238
204
|
continue?: boolean;
|
|
239
205
|
groupBy?: RouteSerializerGroupByList;
|
|
@@ -246,9 +212,7 @@ export interface RouteSerializer {
|
|
|
246
212
|
repeatInterval?: string;
|
|
247
213
|
routes?: RouteSerializerRoutesList;
|
|
248
214
|
}
|
|
249
|
-
export declare const RouteSerializer: S.Schema<RouteSerializer>;
|
|
250
215
|
export type RouteRoutesList = Array<RouteSerializer>;
|
|
251
|
-
export declare const RouteRoutesList: S.Schema<RouteRoutesList>;
|
|
252
216
|
export interface Route {
|
|
253
217
|
continue?: boolean;
|
|
254
218
|
groupBy?: RouteGroupByList;
|
|
@@ -261,12 +225,10 @@ export interface Route {
|
|
|
261
225
|
repeatInterval?: string;
|
|
262
226
|
routes?: RouteRoutesList;
|
|
263
227
|
}
|
|
264
|
-
export declare const Route: S.Schema<Route>;
|
|
265
228
|
export interface AlertConfigRouteResponse {
|
|
266
229
|
data: Route;
|
|
267
230
|
message: string;
|
|
268
231
|
}
|
|
269
|
-
export declare const AlertConfigRouteResponse: S.Schema<AlertConfigRouteResponse>;
|
|
270
232
|
/** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
271
233
|
export interface CreateAlertgroupsRequestRulesItem {
|
|
272
234
|
/** The name of the alert. When this attribute is used, an Alerting Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- * required when 'record' is not used in this rule, otherwise not allowed */
|
|
@@ -282,10 +244,8 @@ export interface CreateAlertgroupsRequestRulesItem {
|
|
|
282
244
|
/** The name of the metric. When this attribute is used, an Recording Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9:_ * required when 'alert' is not used in this rule, otherwise not allowed */
|
|
283
245
|
record?: string;
|
|
284
246
|
}
|
|
285
|
-
export declare const CreateAlertgroupsRequestRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
|
|
286
247
|
/** rules for the alert group */
|
|
287
248
|
export type CreateAlertgroupsRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
|
|
288
|
-
export declare const CreateAlertgroupsRequestRulesList: S.Schema<CreateAlertgroupsRequestRulesList>;
|
|
289
249
|
export interface CreateAlertgroupsRequest {
|
|
290
250
|
projectId: string;
|
|
291
251
|
instanceId: string;
|
|
@@ -296,15 +256,12 @@ export interface CreateAlertgroupsRequest {
|
|
|
296
256
|
/** rules for the alert group */
|
|
297
257
|
rules: CreateAlertgroupsRequestRulesList;
|
|
298
258
|
}
|
|
299
|
-
export declare const CreateAlertgroupsRequest: S.Schema<CreateAlertgroupsRequest>;
|
|
300
259
|
export type AlertRuleRecordAnnotationsMap = {
|
|
301
260
|
[key: string]: string | undefined;
|
|
302
261
|
};
|
|
303
|
-
export declare const AlertRuleRecordAnnotationsMap: S.Schema<AlertRuleRecordAnnotationsMap>;
|
|
304
262
|
export type AlertRuleRecordLabelsMap = {
|
|
305
263
|
[key: string]: string | undefined;
|
|
306
264
|
};
|
|
307
|
-
export declare const AlertRuleRecordLabelsMap: S.Schema<AlertRuleRecordLabelsMap>;
|
|
308
265
|
export interface AlertRuleRecord {
|
|
309
266
|
alert?: string;
|
|
310
267
|
annotations?: AlertRuleRecordAnnotationsMap;
|
|
@@ -313,22 +270,17 @@ export interface AlertRuleRecord {
|
|
|
313
270
|
labels?: AlertRuleRecordLabelsMap;
|
|
314
271
|
record?: string;
|
|
315
272
|
}
|
|
316
|
-
export declare const AlertRuleRecord: S.Schema<AlertRuleRecord>;
|
|
317
273
|
export type AlertGroupRulesList = Array<AlertRuleRecord>;
|
|
318
|
-
export declare const AlertGroupRulesList: S.Schema<AlertGroupRulesList>;
|
|
319
274
|
export interface AlertGroup {
|
|
320
275
|
interval?: string;
|
|
321
276
|
name: string;
|
|
322
277
|
rules: AlertGroupRulesList;
|
|
323
278
|
}
|
|
324
|
-
export declare const AlertGroup: S.Schema<AlertGroup>;
|
|
325
279
|
export type AlertGroupsResponseDataList = Array<AlertGroup>;
|
|
326
|
-
export declare const AlertGroupsResponseDataList: S.Schema<AlertGroupsResponseDataList>;
|
|
327
280
|
export interface AlertGroupsResponse {
|
|
328
281
|
data: AlertGroupsResponseDataList;
|
|
329
282
|
message: string;
|
|
330
283
|
}
|
|
331
|
-
export declare const AlertGroupsResponse: S.Schema<AlertGroupsResponse>;
|
|
332
284
|
export interface CreateAlertRecordRequest {
|
|
333
285
|
projectId: string;
|
|
334
286
|
instanceId: string;
|
|
@@ -340,24 +292,19 @@ export interface CreateAlertRecordRequest {
|
|
|
340
292
|
/** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
|
|
341
293
|
record: string;
|
|
342
294
|
}
|
|
343
|
-
export declare const CreateAlertRecordRequest: S.Schema<CreateAlertRecordRequest>;
|
|
344
295
|
export type AlertRecordLabelsMap = {
|
|
345
296
|
[key: string]: string | undefined;
|
|
346
297
|
};
|
|
347
|
-
export declare const AlertRecordLabelsMap: S.Schema<AlertRecordLabelsMap>;
|
|
348
298
|
export interface AlertRecord {
|
|
349
299
|
expr: string;
|
|
350
300
|
labels?: AlertRecordLabelsMap;
|
|
351
301
|
record: string;
|
|
352
302
|
}
|
|
353
|
-
export declare const AlertRecord: S.Schema<AlertRecord>;
|
|
354
303
|
export type AlertRecordsResponseDataList = Array<AlertRecord>;
|
|
355
|
-
export declare const AlertRecordsResponseDataList: S.Schema<AlertRecordsResponseDataList>;
|
|
356
304
|
export interface AlertRecordsResponse {
|
|
357
305
|
data: AlertRecordsResponseDataList;
|
|
358
306
|
message: string;
|
|
359
307
|
}
|
|
360
|
-
export declare const AlertRecordsResponse: S.Schema<AlertRecordsResponse>;
|
|
361
308
|
export interface CreateAlertrulesRequest {
|
|
362
309
|
projectId: string;
|
|
363
310
|
instanceId: string;
|
|
@@ -373,15 +320,12 @@ export interface CreateAlertrulesRequest {
|
|
|
373
320
|
/** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
|
|
374
321
|
labels?: unknown;
|
|
375
322
|
}
|
|
376
|
-
export declare const CreateAlertrulesRequest: S.Schema<CreateAlertrulesRequest>;
|
|
377
323
|
export type AlertRuleAnnotationsMap = {
|
|
378
324
|
[key: string]: string | undefined;
|
|
379
325
|
};
|
|
380
|
-
export declare const AlertRuleAnnotationsMap: S.Schema<AlertRuleAnnotationsMap>;
|
|
381
326
|
export type AlertRuleLabelsMap = {
|
|
382
327
|
[key: string]: string | undefined;
|
|
383
328
|
};
|
|
384
|
-
export declare const AlertRuleLabelsMap: S.Schema<AlertRuleLabelsMap>;
|
|
385
329
|
export interface AlertRule {
|
|
386
330
|
alert: string;
|
|
387
331
|
annotations?: AlertRuleAnnotationsMap;
|
|
@@ -389,33 +333,24 @@ export interface AlertRule {
|
|
|
389
333
|
for?: string;
|
|
390
334
|
labels?: AlertRuleLabelsMap;
|
|
391
335
|
}
|
|
392
|
-
export declare const AlertRule: S.Schema<AlertRule>;
|
|
393
336
|
export type AlertRulesResponseDataList = Array<AlertRule>;
|
|
394
|
-
export declare const AlertRulesResponseDataList: S.Schema<AlertRulesResponseDataList>;
|
|
395
337
|
export interface AlertRulesResponse {
|
|
396
338
|
data: AlertRulesResponseDataList;
|
|
397
339
|
message: string;
|
|
398
340
|
}
|
|
399
|
-
export declare const AlertRulesResponse: S.Schema<AlertRulesResponse>;
|
|
400
341
|
export type CreateBackupRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
|
|
401
|
-
export declare const CreateBackupRequestBackupTargetItem: any;
|
|
402
342
|
export type CreateBackupRequestBackupTargetList = Array<CreateBackupRequestBackupTargetItem | (string & {})>;
|
|
403
|
-
export declare const CreateBackupRequestBackupTargetList: S.Schema<CreateBackupRequestBackupTargetList>;
|
|
404
343
|
export interface CreateBackupRequest {
|
|
405
344
|
projectId: string;
|
|
406
345
|
instanceId: string;
|
|
407
346
|
/** List of backup targets */
|
|
408
347
|
backupTarget?: CreateBackupRequestBackupTargetList;
|
|
409
348
|
}
|
|
410
|
-
export declare const CreateBackupRequest: S.Schema<CreateBackupRequest>;
|
|
411
349
|
export interface Message {
|
|
412
350
|
message: string;
|
|
413
351
|
}
|
|
414
|
-
export declare const Message: S.Schema<Message>;
|
|
415
352
|
export type CreateBackupScheduleRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
|
|
416
|
-
export declare const CreateBackupScheduleRequestBackupTargetItem: any;
|
|
417
353
|
export type CreateBackupScheduleRequestBackupTargetList = Array<CreateBackupScheduleRequestBackupTargetItem | (string & {})>;
|
|
418
|
-
export declare const CreateBackupScheduleRequestBackupTargetList: S.Schema<CreateBackupScheduleRequestBackupTargetList>;
|
|
419
354
|
export interface CreateBackupScheduleRequest {
|
|
420
355
|
projectId: string;
|
|
421
356
|
instanceId: string;
|
|
@@ -424,50 +359,41 @@ export interface CreateBackupScheduleRequest {
|
|
|
424
359
|
/** The schedule for how often to create a backup. `Additional Validators:` * must be a valid cronjob format * must run less than hourly */
|
|
425
360
|
schedule: string;
|
|
426
361
|
}
|
|
427
|
-
export declare const CreateBackupScheduleRequest: S.Schema<CreateBackupScheduleRequest>;
|
|
428
362
|
export interface BackupSchedulePostResponse {
|
|
429
363
|
message: string;
|
|
430
364
|
schedule: string;
|
|
431
365
|
}
|
|
432
|
-
export declare const BackupSchedulePostResponse: S.Schema<BackupSchedulePostResponse>;
|
|
433
366
|
export interface CreateCertCheckRequest {
|
|
434
367
|
projectId: string;
|
|
435
368
|
instanceId: string;
|
|
436
369
|
/** cert to check */
|
|
437
370
|
source: string;
|
|
438
371
|
}
|
|
439
|
-
export declare const CreateCertCheckRequest: S.Schema<CreateCertCheckRequest>;
|
|
440
372
|
export interface CertCheckChildResponse {
|
|
441
373
|
id: string;
|
|
442
374
|
source: string;
|
|
443
375
|
}
|
|
444
|
-
export declare const CertCheckChildResponse: S.Schema<CertCheckChildResponse>;
|
|
445
376
|
export type CertCheckResponseCertChecksList = Array<CertCheckChildResponse>;
|
|
446
|
-
export declare const CertCheckResponseCertChecksList: S.Schema<CertCheckResponseCertChecksList>;
|
|
447
377
|
export interface CertCheckResponse {
|
|
448
378
|
certCheck?: CertCheckChildResponse;
|
|
449
379
|
certChecks: CertCheckResponseCertChecksList;
|
|
450
380
|
message: string;
|
|
451
381
|
}
|
|
452
|
-
export declare const CertCheckResponse: S.Schema<CertCheckResponse>;
|
|
453
382
|
export interface CreateCredentialsRequest {
|
|
454
383
|
projectId: string;
|
|
455
384
|
instanceId: string;
|
|
456
385
|
/** description */
|
|
457
386
|
description?: string;
|
|
458
387
|
}
|
|
459
|
-
export declare const CreateCredentialsRequest: S.Schema<CreateCredentialsRequest>;
|
|
460
388
|
export interface Credentials {
|
|
461
389
|
description?: string;
|
|
462
390
|
password: string | Redacted.Redacted<string>;
|
|
463
391
|
username: string;
|
|
464
392
|
}
|
|
465
|
-
export declare const Credentials: S.Schema<Credentials>;
|
|
466
393
|
export interface CreateCredentialsResponse {
|
|
467
394
|
credentials: Credentials;
|
|
468
395
|
message: string;
|
|
469
396
|
}
|
|
470
|
-
export declare const CreateCredentialsResponse: S.Schema<CreateCredentialsResponse>;
|
|
471
397
|
export interface CreateElasticsearchCheckRequest {
|
|
472
398
|
projectId: string;
|
|
473
399
|
instanceId: string;
|
|
@@ -478,42 +404,34 @@ export interface CreateElasticsearchCheckRequest {
|
|
|
478
404
|
/** username */
|
|
479
405
|
username?: string;
|
|
480
406
|
}
|
|
481
|
-
export declare const CreateElasticsearchCheckRequest: S.Schema<CreateElasticsearchCheckRequest>;
|
|
482
407
|
export interface ElasticsearchCheckChildResponse {
|
|
483
408
|
id: string;
|
|
484
409
|
password?: string | Redacted.Redacted<string>;
|
|
485
410
|
server: string;
|
|
486
411
|
username?: string;
|
|
487
412
|
}
|
|
488
|
-
export declare const ElasticsearchCheckChildResponse: S.Schema<ElasticsearchCheckChildResponse>;
|
|
489
413
|
export type ElasticsearchCheckResponseElasticsearchChecksList = Array<ElasticsearchCheckChildResponse>;
|
|
490
|
-
export declare const ElasticsearchCheckResponseElasticsearchChecksList: S.Schema<ElasticsearchCheckResponseElasticsearchChecksList>;
|
|
491
414
|
export interface ElasticsearchCheckResponse {
|
|
492
415
|
elasticsearchCheck?: ElasticsearchCheckChildResponse;
|
|
493
416
|
elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList;
|
|
494
417
|
message: string;
|
|
495
418
|
}
|
|
496
|
-
export declare const ElasticsearchCheckResponse: S.Schema<ElasticsearchCheckResponse>;
|
|
497
419
|
export interface CreateHttpCheckRequest {
|
|
498
420
|
projectId: string;
|
|
499
421
|
instanceId: string;
|
|
500
422
|
/** url to check */
|
|
501
423
|
url: string;
|
|
502
424
|
}
|
|
503
|
-
export declare const CreateHttpCheckRequest: S.Schema<CreateHttpCheckRequest>;
|
|
504
425
|
export interface HttpCheckChildResponse {
|
|
505
426
|
id: string;
|
|
506
427
|
url: string;
|
|
507
428
|
}
|
|
508
|
-
export declare const HttpCheckChildResponse: S.Schema<HttpCheckChildResponse>;
|
|
509
429
|
export type HttpCheckResponseHttpChecksList = Array<HttpCheckChildResponse>;
|
|
510
|
-
export declare const HttpCheckResponseHttpChecksList: S.Schema<HttpCheckResponseHttpChecksList>;
|
|
511
430
|
export interface HttpCheckResponse {
|
|
512
431
|
httpCheck?: HttpCheckChildResponse;
|
|
513
432
|
httpChecks: HttpCheckResponseHttpChecksList;
|
|
514
433
|
message: string;
|
|
515
434
|
}
|
|
516
|
-
export declare const HttpCheckResponse: S.Schema<HttpCheckResponse>;
|
|
517
435
|
export interface CreateInstanceRequest {
|
|
518
436
|
projectId: string;
|
|
519
437
|
/** If true, a default Grafana server admin user is created. It's recommended to set this to false and use STACKIT SSO (`Owner` or `Observability Grafana Server Admin` role) instead. It is still possible to manually create a new Grafana admin user via the Grafana UI later. */
|
|
@@ -525,13 +443,11 @@ export interface CreateInstanceRequest {
|
|
|
525
443
|
/** UUID of the plan to create/update */
|
|
526
444
|
planId: string;
|
|
527
445
|
}
|
|
528
|
-
export declare const CreateInstanceRequest: S.Schema<CreateInstanceRequest>;
|
|
529
446
|
export interface CreateInstanceResponse {
|
|
530
447
|
dashboardUrl: string;
|
|
531
448
|
instanceId: string;
|
|
532
449
|
message: string;
|
|
533
450
|
}
|
|
534
|
-
export declare const CreateInstanceResponse: S.Schema<CreateInstanceResponse>;
|
|
535
451
|
/** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
536
452
|
export interface CreateLogsAlertgroupsRequestRulesItem {
|
|
537
453
|
/** The name of the alert. When this attribute is used, an Alerting Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- * required when 'record' is not used in this rule, otherwise not allowed */
|
|
@@ -547,10 +463,8 @@ export interface CreateLogsAlertgroupsRequestRulesItem {
|
|
|
547
463
|
/** The name of the metric. When this attribute is used, an Recording Rule will be created. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9:_ * required when 'alert' is not used in this rule, otherwise not allowed */
|
|
548
464
|
record?: string;
|
|
549
465
|
}
|
|
550
|
-
export declare const CreateLogsAlertgroupsRequestRulesItem: S.Schema<CreateLogsAlertgroupsRequestRulesItem>;
|
|
551
466
|
/** rules for the alert group */
|
|
552
467
|
export type CreateLogsAlertgroupsRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
|
|
553
|
-
export declare const CreateLogsAlertgroupsRequestRulesList: S.Schema<CreateLogsAlertgroupsRequestRulesList>;
|
|
554
468
|
export interface CreateLogsAlertgroupsRequest {
|
|
555
469
|
projectId: string;
|
|
556
470
|
instanceId: string;
|
|
@@ -561,98 +475,77 @@ export interface CreateLogsAlertgroupsRequest {
|
|
|
561
475
|
/** rules for the alert group */
|
|
562
476
|
rules: CreateLogsAlertgroupsRequestRulesList;
|
|
563
477
|
}
|
|
564
|
-
export declare const CreateLogsAlertgroupsRequest: S.Schema<CreateLogsAlertgroupsRequest>;
|
|
565
478
|
export interface CreateMongodbCheckRequest {
|
|
566
479
|
projectId: string;
|
|
567
480
|
instanceId: string;
|
|
568
481
|
/** url to check */
|
|
569
482
|
server: string;
|
|
570
483
|
}
|
|
571
|
-
export declare const CreateMongodbCheckRequest: S.Schema<CreateMongodbCheckRequest>;
|
|
572
484
|
export interface MongodbCheckChildResponse {
|
|
573
485
|
id: string;
|
|
574
486
|
server: string;
|
|
575
487
|
}
|
|
576
|
-
export declare const MongodbCheckChildResponse: S.Schema<MongodbCheckChildResponse>;
|
|
577
488
|
export type MongodbCheckResponseMongodbChecksList = Array<MongodbCheckChildResponse>;
|
|
578
|
-
export declare const MongodbCheckResponseMongodbChecksList: S.Schema<MongodbCheckResponseMongodbChecksList>;
|
|
579
489
|
export interface MongodbCheckResponse {
|
|
580
490
|
message: string;
|
|
581
491
|
mongodbCheck?: MongodbCheckChildResponse;
|
|
582
492
|
mongodbChecks: MongodbCheckResponseMongodbChecksList;
|
|
583
493
|
}
|
|
584
|
-
export declare const MongodbCheckResponse: S.Schema<MongodbCheckResponse>;
|
|
585
494
|
export interface CreateMysqlCheckRequest {
|
|
586
495
|
projectId: string;
|
|
587
496
|
instanceId: string;
|
|
588
497
|
/** url to check */
|
|
589
498
|
server: string;
|
|
590
499
|
}
|
|
591
|
-
export declare const CreateMysqlCheckRequest: S.Schema<CreateMysqlCheckRequest>;
|
|
592
500
|
export type MysqlCheckChildResponse = MongodbCheckChildResponse;
|
|
593
|
-
export declare const MysqlCheckChildResponse: S.Schema<MongodbCheckChildResponse>;
|
|
594
501
|
export type MysqlCheckResponseMysqlChecksList = Array<MongodbCheckChildResponse>;
|
|
595
|
-
export declare const MysqlCheckResponseMysqlChecksList: S.Schema<MysqlCheckResponseMysqlChecksList>;
|
|
596
502
|
export interface MysqlCheckResponse {
|
|
597
503
|
message: string;
|
|
598
504
|
mysqlCheck?: MongodbCheckChildResponse;
|
|
599
505
|
mysqlChecks: MysqlCheckResponseMysqlChecksList;
|
|
600
506
|
}
|
|
601
|
-
export declare const MysqlCheckResponse: S.Schema<MysqlCheckResponse>;
|
|
602
507
|
export interface CreateNetworkCheckRequest {
|
|
603
508
|
projectId: string;
|
|
604
509
|
instanceId: string;
|
|
605
510
|
/** network to check */
|
|
606
511
|
address: string;
|
|
607
512
|
}
|
|
608
|
-
export declare const CreateNetworkCheckRequest: S.Schema<CreateNetworkCheckRequest>;
|
|
609
513
|
export interface NetworkCheckChildResponse {
|
|
610
514
|
address: string;
|
|
611
515
|
id: string;
|
|
612
516
|
}
|
|
613
|
-
export declare const NetworkCheckChildResponse: S.Schema<NetworkCheckChildResponse>;
|
|
614
517
|
export type NetworkCheckResponseNetworkChecksList = Array<NetworkCheckChildResponse>;
|
|
615
|
-
export declare const NetworkCheckResponseNetworkChecksList: S.Schema<NetworkCheckResponseNetworkChecksList>;
|
|
616
518
|
export interface NetworkCheckResponse {
|
|
617
519
|
message: string;
|
|
618
520
|
networkCheck?: NetworkCheckChildResponse;
|
|
619
521
|
networkChecks: NetworkCheckResponseNetworkChecksList;
|
|
620
522
|
}
|
|
621
|
-
export declare const NetworkCheckResponse: S.Schema<NetworkCheckResponse>;
|
|
622
523
|
export interface CreatePingCheckRequest {
|
|
623
524
|
projectId: string;
|
|
624
525
|
instanceId: string;
|
|
625
526
|
/** domain to check */
|
|
626
527
|
url: string;
|
|
627
528
|
}
|
|
628
|
-
export declare const CreatePingCheckRequest: S.Schema<CreatePingCheckRequest>;
|
|
629
529
|
export type PingCheckChildResponse = HttpCheckChildResponse;
|
|
630
|
-
export declare const PingCheckChildResponse: S.Schema<HttpCheckChildResponse>;
|
|
631
530
|
export type PingCheckResponsePingChecksList = Array<HttpCheckChildResponse>;
|
|
632
|
-
export declare const PingCheckResponsePingChecksList: S.Schema<PingCheckResponsePingChecksList>;
|
|
633
531
|
export interface PingCheckResponse {
|
|
634
532
|
message: string;
|
|
635
533
|
pingCheck?: HttpCheckChildResponse;
|
|
636
534
|
pingChecks: PingCheckResponsePingChecksList;
|
|
637
535
|
}
|
|
638
|
-
export declare const PingCheckResponse: S.Schema<PingCheckResponse>;
|
|
639
536
|
export interface CreatePostgresqlCheckRequest {
|
|
640
537
|
projectId: string;
|
|
641
538
|
instanceId: string;
|
|
642
539
|
/** url to check */
|
|
643
540
|
address: string;
|
|
644
541
|
}
|
|
645
|
-
export declare const CreatePostgresqlCheckRequest: S.Schema<CreatePostgresqlCheckRequest>;
|
|
646
542
|
export type PostgresqlCheckChildResponse = NetworkCheckChildResponse;
|
|
647
|
-
export declare const PostgresqlCheckChildResponse: S.Schema<NetworkCheckChildResponse>;
|
|
648
543
|
export type PostgresqlCheckResponsePostgresqlChecksList = Array<NetworkCheckChildResponse>;
|
|
649
|
-
export declare const PostgresqlCheckResponsePostgresqlChecksList: S.Schema<PostgresqlCheckResponsePostgresqlChecksList>;
|
|
650
544
|
export interface PostgresqlCheckResponse {
|
|
651
545
|
message: string;
|
|
652
546
|
postgresqlCheck?: NetworkCheckChildResponse;
|
|
653
547
|
postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList;
|
|
654
548
|
}
|
|
655
|
-
export declare const PostgresqlCheckResponse: S.Schema<PostgresqlCheckResponse>;
|
|
656
549
|
export interface CreateRabbitmqCheckRequest {
|
|
657
550
|
projectId: string;
|
|
658
551
|
instanceId: string;
|
|
@@ -663,22 +556,18 @@ export interface CreateRabbitmqCheckRequest {
|
|
|
663
556
|
/** username */
|
|
664
557
|
username?: string;
|
|
665
558
|
}
|
|
666
|
-
export declare const CreateRabbitmqCheckRequest: S.Schema<CreateRabbitmqCheckRequest>;
|
|
667
559
|
export interface RabbitMQCheckChildResponse {
|
|
668
560
|
id: string;
|
|
669
561
|
password?: string | Redacted.Redacted<string>;
|
|
670
562
|
url: string;
|
|
671
563
|
username?: string;
|
|
672
564
|
}
|
|
673
|
-
export declare const RabbitMQCheckChildResponse: S.Schema<RabbitMQCheckChildResponse>;
|
|
674
565
|
export type RabbitmqCheckResponseRabbitmqChecksList = Array<RabbitMQCheckChildResponse>;
|
|
675
|
-
export declare const RabbitmqCheckResponseRabbitmqChecksList: S.Schema<RabbitmqCheckResponseRabbitmqChecksList>;
|
|
676
566
|
export interface RabbitmqCheckResponse {
|
|
677
567
|
message: string;
|
|
678
568
|
rabbitmqCheck?: RabbitMQCheckChildResponse;
|
|
679
569
|
rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList;
|
|
680
570
|
}
|
|
681
|
-
export declare const RabbitmqCheckResponse: S.Schema<RabbitmqCheckResponse>;
|
|
682
571
|
export interface CreateRedisCheckRequest {
|
|
683
572
|
projectId: string;
|
|
684
573
|
instanceId: string;
|
|
@@ -689,17 +578,13 @@ export interface CreateRedisCheckRequest {
|
|
|
689
578
|
/** username */
|
|
690
579
|
username?: string;
|
|
691
580
|
}
|
|
692
|
-
export declare const CreateRedisCheckRequest: S.Schema<CreateRedisCheckRequest>;
|
|
693
581
|
export type RedisCheckChildResponse = ElasticsearchCheckChildResponse;
|
|
694
|
-
export declare const RedisCheckChildResponse: S.Schema<ElasticsearchCheckChildResponse>;
|
|
695
582
|
export type RedisCheckResponseRedisChecksList = Array<ElasticsearchCheckChildResponse>;
|
|
696
|
-
export declare const RedisCheckResponseRedisChecksList: S.Schema<RedisCheckResponseRedisChecksList>;
|
|
697
583
|
export interface RedisCheckResponse {
|
|
698
584
|
message: string;
|
|
699
585
|
redisCheck?: ElasticsearchCheckChildResponse;
|
|
700
586
|
redisChecks: RedisCheckResponseRedisChecksList;
|
|
701
587
|
}
|
|
702
|
-
export declare const RedisCheckResponse: S.Schema<RedisCheckResponse>;
|
|
703
588
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
704
589
|
export interface CreateScrapeConfigRequestBasicAuth {
|
|
705
590
|
/** password */
|
|
@@ -707,19 +592,15 @@ export interface CreateScrapeConfigRequestBasicAuth {
|
|
|
707
592
|
/** username */
|
|
708
593
|
username?: string;
|
|
709
594
|
}
|
|
710
|
-
export declare const CreateScrapeConfigRequestBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
|
|
711
595
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
712
596
|
export type CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
713
|
-
export declare const CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
|
|
714
597
|
/** The URL to fetch the token from. */
|
|
715
598
|
export type CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = Array<string>;
|
|
716
|
-
export declare const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList>;
|
|
717
599
|
/** Configures the scrape request's TLS settings. */
|
|
718
600
|
export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig {
|
|
719
601
|
/** Disable validation of the server certificate. */
|
|
720
602
|
insecureSkipVerify?: boolean;
|
|
721
603
|
}
|
|
722
|
-
export declare const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
723
604
|
/** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
|
|
724
605
|
export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
|
|
725
606
|
/** clientId */
|
|
@@ -733,10 +614,8 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItemOauth2 {
|
|
|
733
614
|
/** The URL to fetch the token from. */
|
|
734
615
|
tokenUrl: string;
|
|
735
616
|
}
|
|
736
|
-
export declare const CreateScrapeConfigRequestHttpSdConfigsItemOauth2: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2>;
|
|
737
617
|
/** Configures the scrape request's TLS settings. */
|
|
738
618
|
export type CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
739
|
-
export declare const CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
740
619
|
export interface CreateScrapeConfigRequestHttpSdConfigsItem {
|
|
741
620
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
742
621
|
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
@@ -749,16 +628,12 @@ export interface CreateScrapeConfigRequestHttpSdConfigsItem {
|
|
|
749
628
|
/** URL from which the targets are fetched. */
|
|
750
629
|
url: string;
|
|
751
630
|
}
|
|
752
|
-
export declare const CreateScrapeConfigRequestHttpSdConfigsItem: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItem>;
|
|
753
631
|
/** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
|
|
754
632
|
export type CreateScrapeConfigRequestHttpSdConfigsList = Array<CreateScrapeConfigRequestHttpSdConfigsItem>;
|
|
755
|
-
export declare const CreateScrapeConfigRequestHttpSdConfigsList: S.Schema<CreateScrapeConfigRequestHttpSdConfigsList>;
|
|
756
633
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
757
634
|
export type CreateScrapeConfigRequestMetricsRelabelConfigsItemAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
|
|
758
|
-
export declare const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction: any;
|
|
759
635
|
/** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
|
|
760
636
|
export type CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
|
|
761
|
-
export declare const CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList: S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList>;
|
|
762
637
|
export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
|
|
763
638
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
764
639
|
action?: CreateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
|
|
@@ -775,16 +650,12 @@ export interface CreateScrapeConfigRequestMetricsRelabelConfigsItem {
|
|
|
775
650
|
/** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
|
|
776
651
|
targetLabel?: string;
|
|
777
652
|
}
|
|
778
|
-
export declare const CreateScrapeConfigRequestMetricsRelabelConfigsItem: S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
|
|
779
653
|
/** List of metric relabel configurations */
|
|
780
654
|
export type CreateScrapeConfigRequestMetricsRelabelConfigsList = Array<CreateScrapeConfigRequestMetricsRelabelConfigsItem>;
|
|
781
|
-
export declare const CreateScrapeConfigRequestMetricsRelabelConfigsList: S.Schema<CreateScrapeConfigRequestMetricsRelabelConfigsList>;
|
|
782
655
|
/** The URL to fetch the token from. */
|
|
783
656
|
export type CreateScrapeConfigRequestOauth2ScopesList = Array<string>;
|
|
784
|
-
export declare const CreateScrapeConfigRequestOauth2ScopesList: S.Schema<CreateScrapeConfigRequestOauth2ScopesList>;
|
|
785
657
|
/** Configures the scrape request's TLS settings. */
|
|
786
658
|
export type CreateScrapeConfigRequestOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
787
|
-
export declare const CreateScrapeConfigRequestOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
788
659
|
/** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
|
|
789
660
|
export interface CreateScrapeConfigRequestOauth2 {
|
|
790
661
|
/** clientId */
|
|
@@ -798,26 +669,20 @@ export interface CreateScrapeConfigRequestOauth2 {
|
|
|
798
669
|
/** The URL to fetch the token from. */
|
|
799
670
|
tokenUrl: string;
|
|
800
671
|
}
|
|
801
|
-
export declare const CreateScrapeConfigRequestOauth2: S.Schema<CreateScrapeConfigRequestOauth2>;
|
|
802
672
|
/** Configures the protocol scheme used for requests. https or http */
|
|
803
673
|
export type CreateScrapeConfigRequestScheme = "http" | "https";
|
|
804
|
-
export declare const CreateScrapeConfigRequestScheme: any;
|
|
805
674
|
/** The targets specified by the static config. */
|
|
806
675
|
export type CreateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
|
|
807
|
-
export declare const CreateScrapeConfigRequestStaticConfigsItemTargetsList: S.Schema<CreateScrapeConfigRequestStaticConfigsItemTargetsList>;
|
|
808
676
|
export interface CreateScrapeConfigRequestStaticConfigsItem {
|
|
809
677
|
/** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
|
|
810
678
|
labels?: unknown;
|
|
811
679
|
/** The targets specified by the static config. */
|
|
812
680
|
targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList;
|
|
813
681
|
}
|
|
814
|
-
export declare const CreateScrapeConfigRequestStaticConfigsItem: S.Schema<CreateScrapeConfigRequestStaticConfigsItem>;
|
|
815
682
|
/** A list of scrape configurations. */
|
|
816
683
|
export type CreateScrapeConfigRequestStaticConfigsList = Array<CreateScrapeConfigRequestStaticConfigsItem>;
|
|
817
|
-
export declare const CreateScrapeConfigRequestStaticConfigsList: S.Schema<CreateScrapeConfigRequestStaticConfigsList>;
|
|
818
684
|
/** Configures the scrape request's TLS settings. */
|
|
819
685
|
export type CreateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
820
|
-
export declare const CreateScrapeConfigRequestTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
821
686
|
export interface CreateScrapeConfigRequest {
|
|
822
687
|
projectId: string;
|
|
823
688
|
instanceId: string;
|
|
@@ -854,18 +719,14 @@ export interface CreateScrapeConfigRequest {
|
|
|
854
719
|
/** Configures the scrape request's TLS settings. */
|
|
855
720
|
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
856
721
|
}
|
|
857
|
-
export declare const CreateScrapeConfigRequest: S.Schema<CreateScrapeConfigRequest>;
|
|
858
722
|
export interface BasicAuth {
|
|
859
723
|
password: string | Redacted.Redacted<string>;
|
|
860
724
|
username: string;
|
|
861
725
|
}
|
|
862
|
-
export declare const BasicAuth: S.Schema<BasicAuth>;
|
|
863
726
|
export type OAuth2ScopesList = Array<string>;
|
|
864
|
-
export declare const OAuth2ScopesList: S.Schema<OAuth2ScopesList>;
|
|
865
727
|
export interface TLSConfig {
|
|
866
728
|
insecureSkipVerify?: boolean;
|
|
867
729
|
}
|
|
868
|
-
export declare const TLSConfig: S.Schema<TLSConfig>;
|
|
869
730
|
export interface OAuth2 {
|
|
870
731
|
clientId: string;
|
|
871
732
|
clientSecret: string | Redacted.Redacted<string>;
|
|
@@ -873,7 +734,6 @@ export interface OAuth2 {
|
|
|
873
734
|
tlsConfig?: TLSConfig;
|
|
874
735
|
tokenUrl: string;
|
|
875
736
|
}
|
|
876
|
-
export declare const OAuth2: S.Schema<OAuth2>;
|
|
877
737
|
export interface HTTPServiceSD {
|
|
878
738
|
basicAuth?: BasicAuth;
|
|
879
739
|
oauth2?: OAuth2;
|
|
@@ -881,13 +741,9 @@ export interface HTTPServiceSD {
|
|
|
881
741
|
tlsConfig?: TLSConfig;
|
|
882
742
|
url: string;
|
|
883
743
|
}
|
|
884
|
-
export declare const HTTPServiceSD: S.Schema<HTTPServiceSD>;
|
|
885
744
|
export type JobHttpSdConfigsList = Array<HTTPServiceSD>;
|
|
886
|
-
export declare const JobHttpSdConfigsList: S.Schema<JobHttpSdConfigsList>;
|
|
887
745
|
export type MetricsRelabelConfigAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
|
|
888
|
-
export declare const MetricsRelabelConfigAction: any;
|
|
889
746
|
export type MetricsRelabelConfigSourceLabelsList = Array<string>;
|
|
890
|
-
export declare const MetricsRelabelConfigSourceLabelsList: S.Schema<MetricsRelabelConfigSourceLabelsList>;
|
|
891
747
|
export interface MetricsRelabelConfig {
|
|
892
748
|
action?: MetricsRelabelConfigAction;
|
|
893
749
|
modulus?: number;
|
|
@@ -897,30 +753,21 @@ export interface MetricsRelabelConfig {
|
|
|
897
753
|
sourceLabels: MetricsRelabelConfigSourceLabelsList;
|
|
898
754
|
targetLabel?: string;
|
|
899
755
|
}
|
|
900
|
-
export declare const MetricsRelabelConfig: S.Schema<MetricsRelabelConfig>;
|
|
901
756
|
export type JobMetricsRelabelConfigsList = Array<MetricsRelabelConfig>;
|
|
902
|
-
export declare const JobMetricsRelabelConfigsList: S.Schema<JobMetricsRelabelConfigsList>;
|
|
903
757
|
export type JobParamsValueList = Array<string>;
|
|
904
|
-
export declare const JobParamsValueList: S.Schema<JobParamsValueList>;
|
|
905
758
|
export type JobParamsMap = {
|
|
906
759
|
[key: string]: JobParamsValueList | undefined;
|
|
907
760
|
};
|
|
908
|
-
export declare const JobParamsMap: S.Schema<JobParamsMap>;
|
|
909
761
|
export type JobScheme = "http" | "https";
|
|
910
|
-
export declare const JobScheme: any;
|
|
911
762
|
export type StaticConfigsLabelsMap = {
|
|
912
763
|
[key: string]: string | undefined;
|
|
913
764
|
};
|
|
914
|
-
export declare const StaticConfigsLabelsMap: S.Schema<StaticConfigsLabelsMap>;
|
|
915
765
|
export type StaticConfigsTargetsList = Array<string>;
|
|
916
|
-
export declare const StaticConfigsTargetsList: S.Schema<StaticConfigsTargetsList>;
|
|
917
766
|
export interface StaticConfigs {
|
|
918
767
|
labels?: StaticConfigsLabelsMap;
|
|
919
768
|
targets: StaticConfigsTargetsList;
|
|
920
769
|
}
|
|
921
|
-
export declare const StaticConfigs: S.Schema<StaticConfigs>;
|
|
922
770
|
export type JobStaticConfigsList = Array<StaticConfigs>;
|
|
923
|
-
export declare const JobStaticConfigsList: S.Schema<JobStaticConfigsList>;
|
|
924
771
|
export interface Job {
|
|
925
772
|
basicAuth?: BasicAuth;
|
|
926
773
|
bearerToken?: string;
|
|
@@ -939,50 +786,40 @@ export interface Job {
|
|
|
939
786
|
staticConfigs: JobStaticConfigsList;
|
|
940
787
|
tlsConfig?: TLSConfig;
|
|
941
788
|
}
|
|
942
|
-
export declare const Job: S.Schema<Job>;
|
|
943
789
|
export type ScrapeConfigsResponseDataList = Array<Job>;
|
|
944
|
-
export declare const ScrapeConfigsResponseDataList: S.Schema<ScrapeConfigsResponseDataList>;
|
|
945
790
|
export interface ScrapeConfigsResponse {
|
|
946
791
|
data: ScrapeConfigsResponseDataList;
|
|
947
792
|
message: string;
|
|
948
793
|
}
|
|
949
|
-
export declare const ScrapeConfigsResponse: S.Schema<ScrapeConfigsResponse>;
|
|
950
794
|
export interface DeleteAlertConfigReceiverRequest {
|
|
951
795
|
projectId: string;
|
|
952
796
|
instanceId: string;
|
|
953
797
|
receiver: string;
|
|
954
798
|
}
|
|
955
|
-
export declare const DeleteAlertConfigReceiverRequest: S.Schema<DeleteAlertConfigReceiverRequest>;
|
|
956
799
|
export interface DeleteAlertConfigRouteRequest {
|
|
957
800
|
projectId: string;
|
|
958
801
|
instanceId: string;
|
|
959
802
|
receiver: string;
|
|
960
803
|
}
|
|
961
|
-
export declare const DeleteAlertConfigRouteRequest: S.Schema<DeleteAlertConfigRouteRequest>;
|
|
962
804
|
export interface DeleteAlertgroupRequest {
|
|
963
805
|
projectId: string;
|
|
964
806
|
instanceId: string;
|
|
965
807
|
groupName: string;
|
|
966
808
|
}
|
|
967
|
-
export declare const DeleteAlertgroupRequest: S.Schema<DeleteAlertgroupRequest>;
|
|
968
809
|
export type DeleteAlertgroupsRequestGroupNameList = Array<string>;
|
|
969
|
-
export declare const DeleteAlertgroupsRequestGroupNameList: S.Schema<DeleteAlertgroupsRequestGroupNameList>;
|
|
970
810
|
export interface DeleteAlertgroupsRequest {
|
|
971
811
|
projectId: string;
|
|
972
812
|
instanceId: string;
|
|
973
813
|
/** Name of the groups that should be deleted */
|
|
974
814
|
groupName: DeleteAlertgroupsRequestGroupNameList;
|
|
975
815
|
}
|
|
976
|
-
export declare const DeleteAlertgroupsRequest: S.Schema<DeleteAlertgroupsRequest>;
|
|
977
816
|
export interface DeleteAlertRecordRequest {
|
|
978
817
|
projectId: string;
|
|
979
818
|
instanceId: string;
|
|
980
819
|
groupName: string;
|
|
981
820
|
alertRecord: string;
|
|
982
821
|
}
|
|
983
|
-
export declare const DeleteAlertRecordRequest: S.Schema<DeleteAlertRecordRequest>;
|
|
984
822
|
export type DeleteAlertRecordsRequestAlertRecordList = Array<string>;
|
|
985
|
-
export declare const DeleteAlertRecordsRequestAlertRecordList: S.Schema<DeleteAlertRecordsRequestAlertRecordList>;
|
|
986
823
|
export interface DeleteAlertRecordsRequest {
|
|
987
824
|
projectId: string;
|
|
988
825
|
instanceId: string;
|
|
@@ -990,16 +827,13 @@ export interface DeleteAlertRecordsRequest {
|
|
|
990
827
|
/** Name of the records that should be deleted */
|
|
991
828
|
alertRecord: DeleteAlertRecordsRequestAlertRecordList;
|
|
992
829
|
}
|
|
993
|
-
export declare const DeleteAlertRecordsRequest: S.Schema<DeleteAlertRecordsRequest>;
|
|
994
830
|
export interface DeleteAlertruleRequest {
|
|
995
831
|
projectId: string;
|
|
996
832
|
instanceId: string;
|
|
997
833
|
groupName: string;
|
|
998
834
|
alertName: string;
|
|
999
835
|
}
|
|
1000
|
-
export declare const DeleteAlertruleRequest: S.Schema<DeleteAlertruleRequest>;
|
|
1001
836
|
export type DeleteAlertrulesRequestAlertNameList = Array<string>;
|
|
1002
|
-
export declare const DeleteAlertrulesRequestAlertNameList: S.Schema<DeleteAlertrulesRequestAlertNameList>;
|
|
1003
837
|
export interface DeleteAlertrulesRequest {
|
|
1004
838
|
projectId: string;
|
|
1005
839
|
instanceId: string;
|
|
@@ -1007,143 +841,117 @@ export interface DeleteAlertrulesRequest {
|
|
|
1007
841
|
/** Name of the alert rules that should be deleted */
|
|
1008
842
|
alertName: DeleteAlertrulesRequestAlertNameList;
|
|
1009
843
|
}
|
|
1010
|
-
export declare const DeleteAlertrulesRequest: S.Schema<DeleteAlertrulesRequest>;
|
|
1011
844
|
export interface DeleteCertCheckRequest {
|
|
1012
845
|
projectId: string;
|
|
1013
846
|
instanceId: string;
|
|
1014
847
|
id: string;
|
|
1015
848
|
}
|
|
1016
|
-
export declare const DeleteCertCheckRequest: S.Schema<DeleteCertCheckRequest>;
|
|
1017
849
|
export interface DeleteCredentialsRequest {
|
|
1018
850
|
projectId: string;
|
|
1019
851
|
instanceId: string;
|
|
1020
852
|
username: string;
|
|
1021
853
|
}
|
|
1022
|
-
export declare const DeleteCredentialsRequest: S.Schema<DeleteCredentialsRequest>;
|
|
1023
854
|
export interface DeleteCredentialsRemoteWriteConfigRequest {
|
|
1024
855
|
projectId: string;
|
|
1025
856
|
instanceId: string;
|
|
1026
857
|
username: string;
|
|
1027
858
|
}
|
|
1028
|
-
export declare const DeleteCredentialsRemoteWriteConfigRequest: S.Schema<DeleteCredentialsRemoteWriteConfigRequest>;
|
|
1029
859
|
export interface CredentialsRemoteWriteDeleteResponse {
|
|
1030
860
|
maxLimit: number;
|
|
1031
861
|
message: string;
|
|
1032
862
|
}
|
|
1033
|
-
export declare const CredentialsRemoteWriteDeleteResponse: S.Schema<CredentialsRemoteWriteDeleteResponse>;
|
|
1034
863
|
export interface DeleteElasticsearchCheckRequest {
|
|
1035
864
|
projectId: string;
|
|
1036
865
|
instanceId: string;
|
|
1037
866
|
id: string;
|
|
1038
867
|
}
|
|
1039
|
-
export declare const DeleteElasticsearchCheckRequest: S.Schema<DeleteElasticsearchCheckRequest>;
|
|
1040
868
|
export interface DeleteHttpCheckRequest {
|
|
1041
869
|
projectId: string;
|
|
1042
870
|
instanceId: string;
|
|
1043
871
|
id: string;
|
|
1044
872
|
}
|
|
1045
|
-
export declare const DeleteHttpCheckRequest: S.Schema<DeleteHttpCheckRequest>;
|
|
1046
873
|
export interface DeleteInstanceRequest {
|
|
1047
874
|
projectId: string;
|
|
1048
875
|
instanceId: string;
|
|
1049
876
|
}
|
|
1050
|
-
export declare const DeleteInstanceRequest: S.Schema<DeleteInstanceRequest>;
|
|
1051
877
|
export interface InstanceResponse {
|
|
1052
878
|
message: string;
|
|
1053
879
|
}
|
|
1054
|
-
export declare const InstanceResponse: S.Schema<InstanceResponse>;
|
|
1055
880
|
export interface DeleteLogsAlertgroupRequest {
|
|
1056
881
|
projectId: string;
|
|
1057
882
|
instanceId: string;
|
|
1058
883
|
groupName: string;
|
|
1059
884
|
}
|
|
1060
|
-
export declare const DeleteLogsAlertgroupRequest: S.Schema<DeleteLogsAlertgroupRequest>;
|
|
1061
885
|
export interface DeleteMongodbCheckRequest {
|
|
1062
886
|
projectId: string;
|
|
1063
887
|
instanceId: string;
|
|
1064
888
|
id: string;
|
|
1065
889
|
}
|
|
1066
|
-
export declare const DeleteMongodbCheckRequest: S.Schema<DeleteMongodbCheckRequest>;
|
|
1067
890
|
export interface DeleteMysqlCheckRequest {
|
|
1068
891
|
projectId: string;
|
|
1069
892
|
instanceId: string;
|
|
1070
893
|
id: string;
|
|
1071
894
|
}
|
|
1072
|
-
export declare const DeleteMysqlCheckRequest: S.Schema<DeleteMysqlCheckRequest>;
|
|
1073
895
|
export interface DeleteNetworkCheckRequest {
|
|
1074
896
|
projectId: string;
|
|
1075
897
|
instanceId: string;
|
|
1076
898
|
id: string;
|
|
1077
899
|
}
|
|
1078
|
-
export declare const DeleteNetworkCheckRequest: S.Schema<DeleteNetworkCheckRequest>;
|
|
1079
900
|
export interface DeletePingCheckRequest {
|
|
1080
901
|
projectId: string;
|
|
1081
902
|
instanceId: string;
|
|
1082
903
|
id: string;
|
|
1083
904
|
}
|
|
1084
|
-
export declare const DeletePingCheckRequest: S.Schema<DeletePingCheckRequest>;
|
|
1085
905
|
export interface DeletePostgresqlCheckRequest {
|
|
1086
906
|
projectId: string;
|
|
1087
907
|
instanceId: string;
|
|
1088
908
|
id: string;
|
|
1089
909
|
}
|
|
1090
|
-
export declare const DeletePostgresqlCheckRequest: S.Schema<DeletePostgresqlCheckRequest>;
|
|
1091
910
|
export interface DeleteRabbitmqCheckRequest {
|
|
1092
911
|
projectId: string;
|
|
1093
912
|
instanceId: string;
|
|
1094
913
|
id: string;
|
|
1095
914
|
}
|
|
1096
|
-
export declare const DeleteRabbitmqCheckRequest: S.Schema<DeleteRabbitmqCheckRequest>;
|
|
1097
915
|
export interface DeleteRedisCheckRequest {
|
|
1098
916
|
projectId: string;
|
|
1099
917
|
instanceId: string;
|
|
1100
918
|
id: string;
|
|
1101
919
|
}
|
|
1102
|
-
export declare const DeleteRedisCheckRequest: S.Schema<DeleteRedisCheckRequest>;
|
|
1103
920
|
export interface DeleteScrapeConfigRequest {
|
|
1104
921
|
projectId: string;
|
|
1105
922
|
instanceId: string;
|
|
1106
923
|
jobName: string;
|
|
1107
924
|
}
|
|
1108
|
-
export declare const DeleteScrapeConfigRequest: S.Schema<DeleteScrapeConfigRequest>;
|
|
1109
925
|
export type DeleteScrapeConfigResponseDataList = Array<Job>;
|
|
1110
|
-
export declare const DeleteScrapeConfigResponseDataList: S.Schema<DeleteScrapeConfigResponseDataList>;
|
|
1111
926
|
export interface DeleteScrapeConfigResponse {
|
|
1112
927
|
data: DeleteScrapeConfigResponseDataList;
|
|
1113
928
|
message: string;
|
|
1114
929
|
}
|
|
1115
|
-
export declare const DeleteScrapeConfigResponse: S.Schema<DeleteScrapeConfigResponse>;
|
|
1116
930
|
export type DeleteScrapeConfigsRequestJobNameList = Array<string>;
|
|
1117
|
-
export declare const DeleteScrapeConfigsRequestJobNameList: S.Schema<DeleteScrapeConfigsRequestJobNameList>;
|
|
1118
931
|
export interface DeleteScrapeConfigsRequest {
|
|
1119
932
|
projectId: string;
|
|
1120
933
|
instanceId: string;
|
|
1121
934
|
/** Name of the jobs that should be deleted */
|
|
1122
935
|
jobName: DeleteScrapeConfigsRequestJobNameList;
|
|
1123
936
|
}
|
|
1124
|
-
export declare const DeleteScrapeConfigsRequest: S.Schema<DeleteScrapeConfigsRequest>;
|
|
1125
937
|
export interface GetAlertConfigReceiverRequest {
|
|
1126
938
|
projectId: string;
|
|
1127
939
|
instanceId: string;
|
|
1128
940
|
receiver: string;
|
|
1129
941
|
}
|
|
1130
|
-
export declare const GetAlertConfigReceiverRequest: S.Schema<GetAlertConfigReceiverRequest>;
|
|
1131
942
|
export interface Receiver {
|
|
1132
943
|
data: Receivers;
|
|
1133
944
|
message: string;
|
|
1134
945
|
}
|
|
1135
|
-
export declare const Receiver: S.Schema<Receiver>;
|
|
1136
946
|
export interface GetAlertConfigRouteRequest {
|
|
1137
947
|
projectId: string;
|
|
1138
948
|
instanceId: string;
|
|
1139
949
|
receiver: string;
|
|
1140
950
|
}
|
|
1141
|
-
export declare const GetAlertConfigRouteRequest: S.Schema<GetAlertConfigRouteRequest>;
|
|
1142
951
|
export interface GetAlertConfigsRequest {
|
|
1143
952
|
projectId: string;
|
|
1144
953
|
instanceId: string;
|
|
1145
954
|
}
|
|
1146
|
-
export declare const GetAlertConfigsRequest: S.Schema<GetAlertConfigsRequest>;
|
|
1147
955
|
export interface Global {
|
|
1148
956
|
opsgenieApiKey?: string;
|
|
1149
957
|
opsgenieApiUrl?: string;
|
|
@@ -1154,29 +962,21 @@ export interface Global {
|
|
|
1154
962
|
smtpFrom?: string;
|
|
1155
963
|
smtpSmarthost?: string;
|
|
1156
964
|
}
|
|
1157
|
-
export declare const Global: S.Schema<Global>;
|
|
1158
965
|
export type InhibitRulesEqualList = Array<string>;
|
|
1159
|
-
export declare const InhibitRulesEqualList: S.Schema<InhibitRulesEqualList>;
|
|
1160
966
|
export type InhibitRulesSourceMatchMap = {
|
|
1161
967
|
[key: string]: string | undefined;
|
|
1162
968
|
};
|
|
1163
|
-
export declare const InhibitRulesSourceMatchMap: S.Schema<InhibitRulesSourceMatchMap>;
|
|
1164
969
|
export type InhibitRulesSourceMatchReMap = {
|
|
1165
970
|
[key: string]: string | undefined;
|
|
1166
971
|
};
|
|
1167
|
-
export declare const InhibitRulesSourceMatchReMap: S.Schema<InhibitRulesSourceMatchReMap>;
|
|
1168
972
|
export type InhibitRulesSourceMatchersList = Array<string>;
|
|
1169
|
-
export declare const InhibitRulesSourceMatchersList: S.Schema<InhibitRulesSourceMatchersList>;
|
|
1170
973
|
export type InhibitRulesTargetMatchMap = {
|
|
1171
974
|
[key: string]: string | undefined;
|
|
1172
975
|
};
|
|
1173
|
-
export declare const InhibitRulesTargetMatchMap: S.Schema<InhibitRulesTargetMatchMap>;
|
|
1174
976
|
export type InhibitRulesTargetMatchReMap = {
|
|
1175
977
|
[key: string]: string | undefined;
|
|
1176
978
|
};
|
|
1177
|
-
export declare const InhibitRulesTargetMatchReMap: S.Schema<InhibitRulesTargetMatchReMap>;
|
|
1178
979
|
export type InhibitRulesTargetMatchersList = Array<string>;
|
|
1179
|
-
export declare const InhibitRulesTargetMatchersList: S.Schema<InhibitRulesTargetMatchersList>;
|
|
1180
980
|
export interface InhibitRules {
|
|
1181
981
|
equal?: InhibitRulesEqualList;
|
|
1182
982
|
sourceMatch?: InhibitRulesSourceMatchMap;
|
|
@@ -1186,92 +986,75 @@ export interface InhibitRules {
|
|
|
1186
986
|
targetMatchRe?: InhibitRulesTargetMatchReMap;
|
|
1187
987
|
targetMatchers?: InhibitRulesTargetMatchersList;
|
|
1188
988
|
}
|
|
1189
|
-
export declare const InhibitRules: S.Schema<InhibitRules>;
|
|
1190
989
|
export type AlertInhibitRulesList = Array<InhibitRules>;
|
|
1191
|
-
export declare const AlertInhibitRulesList: S.Schema<AlertInhibitRulesList>;
|
|
1192
990
|
export type AlertReceiversList = Array<Receivers>;
|
|
1193
|
-
export declare const AlertReceiversList: S.Schema<AlertReceiversList>;
|
|
1194
991
|
export interface Alert {
|
|
1195
992
|
global?: Global;
|
|
1196
993
|
inhibitRules?: AlertInhibitRulesList;
|
|
1197
994
|
receivers: AlertReceiversList;
|
|
1198
995
|
route: Route;
|
|
1199
996
|
}
|
|
1200
|
-
export declare const Alert: S.Schema<Alert>;
|
|
1201
997
|
export interface GetAlertConfigsResponse {
|
|
1202
998
|
data: Alert;
|
|
1203
999
|
message: string;
|
|
1204
1000
|
}
|
|
1205
|
-
export declare const GetAlertConfigsResponse: S.Schema<GetAlertConfigsResponse>;
|
|
1206
1001
|
export interface GetAlertgroupRequest {
|
|
1207
1002
|
projectId: string;
|
|
1208
1003
|
instanceId: string;
|
|
1209
1004
|
groupName: string;
|
|
1210
1005
|
}
|
|
1211
|
-
export declare const GetAlertgroupRequest: S.Schema<GetAlertgroupRequest>;
|
|
1212
1006
|
export interface AlertGroupResponse {
|
|
1213
1007
|
data: AlertGroup;
|
|
1214
1008
|
message: string;
|
|
1215
1009
|
}
|
|
1216
|
-
export declare const AlertGroupResponse: S.Schema<AlertGroupResponse>;
|
|
1217
1010
|
export interface GetAlertRecordRequest {
|
|
1218
1011
|
projectId: string;
|
|
1219
1012
|
instanceId: string;
|
|
1220
1013
|
groupName: string;
|
|
1221
1014
|
alertRecord: string;
|
|
1222
1015
|
}
|
|
1223
|
-
export declare const GetAlertRecordRequest: S.Schema<GetAlertRecordRequest>;
|
|
1224
1016
|
export interface AlertRecordResponse {
|
|
1225
1017
|
data: AlertRecord;
|
|
1226
1018
|
message: string;
|
|
1227
1019
|
}
|
|
1228
|
-
export declare const AlertRecordResponse: S.Schema<AlertRecordResponse>;
|
|
1229
1020
|
export interface GetAlertruleRequest {
|
|
1230
1021
|
projectId: string;
|
|
1231
1022
|
instanceId: string;
|
|
1232
1023
|
groupName: string;
|
|
1233
1024
|
alertName: string;
|
|
1234
1025
|
}
|
|
1235
|
-
export declare const GetAlertruleRequest: S.Schema<GetAlertruleRequest>;
|
|
1236
1026
|
export interface AlertRuleResponse {
|
|
1237
1027
|
data: AlertRule;
|
|
1238
1028
|
message: string;
|
|
1239
1029
|
}
|
|
1240
|
-
export declare const AlertRuleResponse: S.Schema<AlertRuleResponse>;
|
|
1241
1030
|
export interface GetCredentialsRequest {
|
|
1242
1031
|
projectId: string;
|
|
1243
1032
|
instanceId: string;
|
|
1244
1033
|
username: string;
|
|
1245
1034
|
}
|
|
1246
|
-
export declare const GetCredentialsRequest: S.Schema<GetCredentialsRequest>;
|
|
1247
1035
|
export type GetCredentialsResponseCredentialsInfoMap = {
|
|
1248
1036
|
[key: string]: string | null | undefined;
|
|
1249
1037
|
};
|
|
1250
|
-
export declare const GetCredentialsResponseCredentialsInfoMap: S.Schema<GetCredentialsResponseCredentialsInfoMap>;
|
|
1251
1038
|
export interface GetCredentialsResponse {
|
|
1252
1039
|
credentialsInfo?: GetCredentialsResponseCredentialsInfoMap;
|
|
1253
1040
|
id: string;
|
|
1254
1041
|
message: string;
|
|
1255
1042
|
name: string;
|
|
1256
1043
|
}
|
|
1257
|
-
export declare const GetCredentialsResponse: S.Schema<GetCredentialsResponse>;
|
|
1258
1044
|
export interface GetCredentialsRemoteWriteConfigRequest {
|
|
1259
1045
|
projectId: string;
|
|
1260
1046
|
instanceId: string;
|
|
1261
1047
|
username: string;
|
|
1262
1048
|
}
|
|
1263
|
-
export declare const GetCredentialsRemoteWriteConfigRequest: S.Schema<GetCredentialsRemoteWriteConfigRequest>;
|
|
1264
1049
|
export interface CredentialsRemoteWriteConfig {
|
|
1265
1050
|
credentialsMaxLimit: number;
|
|
1266
1051
|
maxLimit: number;
|
|
1267
1052
|
message: string;
|
|
1268
1053
|
}
|
|
1269
|
-
export declare const CredentialsRemoteWriteConfig: S.Schema<CredentialsRemoteWriteConfig>;
|
|
1270
1054
|
export interface GetGrafanaConfigsRequest {
|
|
1271
1055
|
projectId: string;
|
|
1272
1056
|
instanceId: string;
|
|
1273
1057
|
}
|
|
1274
|
-
export declare const GetGrafanaConfigsRequest: S.Schema<GetGrafanaConfigsRequest>;
|
|
1275
1058
|
export interface GrafanaOauth {
|
|
1276
1059
|
allowAssignGrafanaAdmin?: boolean;
|
|
1277
1060
|
apiUrl: string;
|
|
@@ -1286,19 +1069,16 @@ export interface GrafanaOauth {
|
|
|
1286
1069
|
tokenUrl: string;
|
|
1287
1070
|
usePkce?: boolean;
|
|
1288
1071
|
}
|
|
1289
|
-
export declare const GrafanaOauth: S.Schema<GrafanaOauth>;
|
|
1290
1072
|
export interface GrafanaConfigs {
|
|
1291
1073
|
genericOauth?: GrafanaOauth;
|
|
1292
1074
|
message: string;
|
|
1293
1075
|
publicReadAccess?: boolean;
|
|
1294
1076
|
useStackitSso?: boolean;
|
|
1295
1077
|
}
|
|
1296
|
-
export declare const GrafanaConfigs: S.Schema<GrafanaConfigs>;
|
|
1297
1078
|
export interface GetInstanceRequest {
|
|
1298
1079
|
projectId: string;
|
|
1299
1080
|
instanceId: string;
|
|
1300
1081
|
}
|
|
1301
|
-
export declare const GetInstanceRequest: S.Schema<GetInstanceRequest>;
|
|
1302
1082
|
export interface PlanModel {
|
|
1303
1083
|
alertMatchers: number;
|
|
1304
1084
|
alertReceivers: number;
|
|
@@ -1320,7 +1100,6 @@ export interface PlanModel {
|
|
|
1320
1100
|
totalMetricSamples: number;
|
|
1321
1101
|
tracesStorage: number;
|
|
1322
1102
|
}
|
|
1323
|
-
export declare const PlanModel: S.Schema<PlanModel>;
|
|
1324
1103
|
export interface InstanceSensitiveData {
|
|
1325
1104
|
alertingUrl: string;
|
|
1326
1105
|
cluster: string;
|
|
@@ -1352,13 +1131,10 @@ export interface InstanceSensitiveData {
|
|
|
1352
1131
|
targetsUrl: string;
|
|
1353
1132
|
zipkinSpansUrl: string;
|
|
1354
1133
|
}
|
|
1355
|
-
export declare const InstanceSensitiveData: S.Schema<InstanceSensitiveData>;
|
|
1356
1134
|
export type GetInstanceResponseParametersMap = {
|
|
1357
1135
|
[key: string]: string | null | undefined;
|
|
1358
1136
|
};
|
|
1359
|
-
export declare const GetInstanceResponseParametersMap: S.Schema<GetInstanceResponseParametersMap>;
|
|
1360
1137
|
export type GetInstanceResponseStatus = "CREATING" | "CREATE_SUCCEEDED" | "CREATE_FAILED" | "DELETING" | "DELETE_SUCCEEDED" | "DELETE_FAILED" | "UPDATING" | "UPDATE_SUCCEEDED" | "UPDATE_FAILED";
|
|
1361
|
-
export declare const GetInstanceResponseStatus: any;
|
|
1362
1138
|
export interface GetInstanceResponse {
|
|
1363
1139
|
dashboardUrl: string;
|
|
1364
1140
|
error?: string | null;
|
|
@@ -1374,106 +1150,85 @@ export interface GetInstanceResponse {
|
|
|
1374
1150
|
serviceName: string;
|
|
1375
1151
|
status: GetInstanceResponseStatus;
|
|
1376
1152
|
}
|
|
1377
|
-
export declare const GetInstanceResponse: S.Schema<GetInstanceResponse>;
|
|
1378
1153
|
export interface GetLogsAlertgroupRequest {
|
|
1379
1154
|
projectId: string;
|
|
1380
1155
|
instanceId: string;
|
|
1381
1156
|
groupName: string;
|
|
1382
1157
|
}
|
|
1383
|
-
export declare const GetLogsAlertgroupRequest: S.Schema<GetLogsAlertgroupRequest>;
|
|
1384
1158
|
export interface GetLogsConfigsRequest {
|
|
1385
1159
|
projectId: string;
|
|
1386
1160
|
instanceId: string;
|
|
1387
1161
|
}
|
|
1388
|
-
export declare const GetLogsConfigsRequest: S.Schema<GetLogsConfigsRequest>;
|
|
1389
1162
|
export interface LogsConfig {
|
|
1390
1163
|
retention: string;
|
|
1391
1164
|
}
|
|
1392
|
-
export declare const LogsConfig: S.Schema<LogsConfig>;
|
|
1393
1165
|
export interface LogsConfigResponse {
|
|
1394
1166
|
config: LogsConfig;
|
|
1395
1167
|
message: string;
|
|
1396
1168
|
}
|
|
1397
|
-
export declare const LogsConfigResponse: S.Schema<LogsConfigResponse>;
|
|
1398
1169
|
export interface GetMetricsStorageRetentionRequest {
|
|
1399
1170
|
projectId: string;
|
|
1400
1171
|
instanceId: string;
|
|
1401
1172
|
}
|
|
1402
|
-
export declare const GetMetricsStorageRetentionRequest: S.Schema<GetMetricsStorageRetentionRequest>;
|
|
1403
1173
|
export interface GetMetricsStorageRetentionResponse {
|
|
1404
1174
|
message: string;
|
|
1405
1175
|
metricsRetentionTime1h: string;
|
|
1406
1176
|
metricsRetentionTime5m: string;
|
|
1407
1177
|
metricsRetentionTimeRaw: string;
|
|
1408
1178
|
}
|
|
1409
|
-
export declare const GetMetricsStorageRetentionResponse: S.Schema<GetMetricsStorageRetentionResponse>;
|
|
1410
1179
|
export interface GetScrapeConfigRequest {
|
|
1411
1180
|
projectId: string;
|
|
1412
1181
|
instanceId: string;
|
|
1413
1182
|
jobName: string;
|
|
1414
1183
|
}
|
|
1415
|
-
export declare const GetScrapeConfigRequest: S.Schema<GetScrapeConfigRequest>;
|
|
1416
1184
|
export interface GetScrapeConfigResponse {
|
|
1417
1185
|
data: Job;
|
|
1418
1186
|
message: string;
|
|
1419
1187
|
}
|
|
1420
|
-
export declare const GetScrapeConfigResponse: S.Schema<GetScrapeConfigResponse>;
|
|
1421
1188
|
export interface GetTracesConfigsRequest {
|
|
1422
1189
|
projectId: string;
|
|
1423
1190
|
instanceId: string;
|
|
1424
1191
|
}
|
|
1425
|
-
export declare const GetTracesConfigsRequest: S.Schema<GetTracesConfigsRequest>;
|
|
1426
1192
|
export type TraceConfig = LogsConfig;
|
|
1427
|
-
export declare const TraceConfig: S.Schema<LogsConfig>;
|
|
1428
1193
|
export interface TracesConfigResponse {
|
|
1429
1194
|
config: LogsConfig;
|
|
1430
1195
|
message: string;
|
|
1431
1196
|
}
|
|
1432
|
-
export declare const TracesConfigResponse: S.Schema<TracesConfigResponse>;
|
|
1433
1197
|
export interface ListACLRequest {
|
|
1434
1198
|
projectId: string;
|
|
1435
1199
|
instanceId: string;
|
|
1436
1200
|
}
|
|
1437
|
-
export declare const ListACLRequest: S.Schema<ListACLRequest>;
|
|
1438
1201
|
export type ListACLResponseAclList = Array<string>;
|
|
1439
|
-
export declare const ListACLResponseAclList: S.Schema<ListACLResponseAclList>;
|
|
1440
1202
|
export interface ListACLResponse {
|
|
1441
1203
|
acl: ListACLResponseAclList;
|
|
1442
1204
|
message: string;
|
|
1443
1205
|
}
|
|
1444
|
-
export declare const ListACLResponse: S.Schema<ListACLResponse>;
|
|
1445
1206
|
export interface ListAlertConfigReceiversRequest {
|
|
1446
1207
|
projectId: string;
|
|
1447
1208
|
instanceId: string;
|
|
1448
1209
|
}
|
|
1449
|
-
export declare const ListAlertConfigReceiversRequest: S.Schema<ListAlertConfigReceiversRequest>;
|
|
1450
1210
|
export interface ListAlertConfigRoutesRequest {
|
|
1451
1211
|
projectId: string;
|
|
1452
1212
|
instanceId: string;
|
|
1453
1213
|
}
|
|
1454
|
-
export declare const ListAlertConfigRoutesRequest: S.Schema<ListAlertConfigRoutesRequest>;
|
|
1455
1214
|
export interface ListAlertgroupsRequest {
|
|
1456
1215
|
projectId: string;
|
|
1457
1216
|
instanceId: string;
|
|
1458
1217
|
}
|
|
1459
|
-
export declare const ListAlertgroupsRequest: S.Schema<ListAlertgroupsRequest>;
|
|
1460
1218
|
export interface ListAlertRecordsRequest {
|
|
1461
1219
|
projectId: string;
|
|
1462
1220
|
instanceId: string;
|
|
1463
1221
|
groupName: string;
|
|
1464
1222
|
}
|
|
1465
|
-
export declare const ListAlertRecordsRequest: S.Schema<ListAlertRecordsRequest>;
|
|
1466
1223
|
export interface ListAlertrulesRequest {
|
|
1467
1224
|
projectId: string;
|
|
1468
1225
|
instanceId: string;
|
|
1469
1226
|
groupName: string;
|
|
1470
1227
|
}
|
|
1471
|
-
export declare const ListAlertrulesRequest: S.Schema<ListAlertrulesRequest>;
|
|
1472
1228
|
export interface ListBackupRetentionsRequest {
|
|
1473
1229
|
projectId: string;
|
|
1474
1230
|
instanceId: string;
|
|
1475
1231
|
}
|
|
1476
|
-
export declare const ListBackupRetentionsRequest: S.Schema<ListBackupRetentionsRequest>;
|
|
1477
1232
|
export interface BackupRetentionResponse {
|
|
1478
1233
|
alertConfigBackupRetention: string;
|
|
1479
1234
|
alertRulesBackupRetention: string;
|
|
@@ -1481,26 +1236,18 @@ export interface BackupRetentionResponse {
|
|
|
1481
1236
|
message: string;
|
|
1482
1237
|
scrapeConfigBackupRetention: string;
|
|
1483
1238
|
}
|
|
1484
|
-
export declare const BackupRetentionResponse: S.Schema<BackupRetentionResponse>;
|
|
1485
1239
|
export type ListBackupsRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
|
|
1486
|
-
export declare const ListBackupsRequestBackupTargetItem: any;
|
|
1487
1240
|
export type ListBackupsRequestBackupTargetList = Array<ListBackupsRequestBackupTargetItem | (string & {})>;
|
|
1488
|
-
export declare const ListBackupsRequestBackupTargetList: S.Schema<ListBackupsRequestBackupTargetList>;
|
|
1489
1241
|
export interface ListBackupsRequest {
|
|
1490
1242
|
projectId: string;
|
|
1491
1243
|
instanceId: string;
|
|
1492
1244
|
/** List of backup targets */
|
|
1493
1245
|
backupTarget?: ListBackupsRequestBackupTargetList;
|
|
1494
1246
|
}
|
|
1495
|
-
export declare const ListBackupsRequest: S.Schema<ListBackupsRequest>;
|
|
1496
1247
|
export type BackupResponseAlertConfigBackupsList = Array<string>;
|
|
1497
|
-
export declare const BackupResponseAlertConfigBackupsList: S.Schema<BackupResponseAlertConfigBackupsList>;
|
|
1498
1248
|
export type BackupResponseAlertRulesBackupsList = Array<string>;
|
|
1499
|
-
export declare const BackupResponseAlertRulesBackupsList: S.Schema<BackupResponseAlertRulesBackupsList>;
|
|
1500
1249
|
export type BackupResponseGrafanaBackupsList = Array<string>;
|
|
1501
|
-
export declare const BackupResponseGrafanaBackupsList: S.Schema<BackupResponseGrafanaBackupsList>;
|
|
1502
1250
|
export type BackupResponseScrapeConfigBackupsList = Array<string>;
|
|
1503
|
-
export declare const BackupResponseScrapeConfigBackupsList: S.Schema<BackupResponseScrapeConfigBackupsList>;
|
|
1504
1251
|
export interface BackupResponse {
|
|
1505
1252
|
alertConfigBackups: BackupResponseAlertConfigBackupsList;
|
|
1506
1253
|
alertRulesBackups: BackupResponseAlertRulesBackupsList;
|
|
@@ -1508,31 +1255,22 @@ export interface BackupResponse {
|
|
|
1508
1255
|
message: string;
|
|
1509
1256
|
scrapeConfigBackups: BackupResponseScrapeConfigBackupsList;
|
|
1510
1257
|
}
|
|
1511
|
-
export declare const BackupResponse: S.Schema<BackupResponse>;
|
|
1512
1258
|
export type ListBackupSchedulesRequestBackupTargetItem = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
|
|
1513
|
-
export declare const ListBackupSchedulesRequestBackupTargetItem: any;
|
|
1514
1259
|
export type ListBackupSchedulesRequestBackupTargetList = Array<ListBackupSchedulesRequestBackupTargetItem | (string & {})>;
|
|
1515
|
-
export declare const ListBackupSchedulesRequestBackupTargetList: S.Schema<ListBackupSchedulesRequestBackupTargetList>;
|
|
1516
1260
|
export interface ListBackupSchedulesRequest {
|
|
1517
1261
|
projectId: string;
|
|
1518
1262
|
instanceId: string;
|
|
1519
1263
|
/** List of backup targets */
|
|
1520
1264
|
backupTarget?: ListBackupSchedulesRequestBackupTargetList;
|
|
1521
1265
|
}
|
|
1522
|
-
export declare const ListBackupSchedulesRequest: S.Schema<ListBackupSchedulesRequest>;
|
|
1523
1266
|
export interface BackupSchedule {
|
|
1524
1267
|
schedule: string;
|
|
1525
1268
|
scheduleId: string;
|
|
1526
1269
|
}
|
|
1527
|
-
export declare const BackupSchedule: S.Schema<BackupSchedule>;
|
|
1528
1270
|
export type BackupScheduleResponseAlertConfigBackupSchedulesList = Array<BackupSchedule>;
|
|
1529
|
-
export declare const BackupScheduleResponseAlertConfigBackupSchedulesList: S.Schema<BackupScheduleResponseAlertConfigBackupSchedulesList>;
|
|
1530
1271
|
export type BackupScheduleResponseAlertRulesBackupSchedulesList = Array<BackupSchedule>;
|
|
1531
|
-
export declare const BackupScheduleResponseAlertRulesBackupSchedulesList: S.Schema<BackupScheduleResponseAlertRulesBackupSchedulesList>;
|
|
1532
1272
|
export type BackupScheduleResponseGrafanaBackupSchedulesList = Array<BackupSchedule>;
|
|
1533
|
-
export declare const BackupScheduleResponseGrafanaBackupSchedulesList: S.Schema<BackupScheduleResponseGrafanaBackupSchedulesList>;
|
|
1534
1273
|
export type BackupScheduleResponseScrapeConfigBackupSchedulesList = Array<BackupSchedule>;
|
|
1535
|
-
export declare const BackupScheduleResponseScrapeConfigBackupSchedulesList: S.Schema<BackupScheduleResponseScrapeConfigBackupSchedulesList>;
|
|
1536
1274
|
export interface BackupScheduleResponse {
|
|
1537
1275
|
alertConfigBackupSchedules?: BackupScheduleResponseAlertConfigBackupSchedulesList;
|
|
1538
1276
|
alertRulesBackupSchedules?: BackupScheduleResponseAlertRulesBackupSchedulesList;
|
|
@@ -1540,51 +1278,40 @@ export interface BackupScheduleResponse {
|
|
|
1540
1278
|
message: string;
|
|
1541
1279
|
scrapeConfigBackupSchedules?: BackupScheduleResponseScrapeConfigBackupSchedulesList;
|
|
1542
1280
|
}
|
|
1543
|
-
export declare const BackupScheduleResponse: S.Schema<BackupScheduleResponse>;
|
|
1544
1281
|
export interface ListCertChecksRequest {
|
|
1545
1282
|
projectId: string;
|
|
1546
1283
|
instanceId: string;
|
|
1547
1284
|
}
|
|
1548
|
-
export declare const ListCertChecksRequest: S.Schema<ListCertChecksRequest>;
|
|
1549
1285
|
export interface ListCredentialsRequest {
|
|
1550
1286
|
projectId: string;
|
|
1551
1287
|
instanceId: string;
|
|
1552
1288
|
}
|
|
1553
|
-
export declare const ListCredentialsRequest: S.Schema<ListCredentialsRequest>;
|
|
1554
1289
|
export type ServiceKeysListCredentialsInfoMap = {
|
|
1555
1290
|
[key: string]: string | null | undefined;
|
|
1556
1291
|
};
|
|
1557
|
-
export declare const ServiceKeysListCredentialsInfoMap: S.Schema<ServiceKeysListCredentialsInfoMap>;
|
|
1558
1292
|
export interface ServiceKeysList {
|
|
1559
1293
|
credentialsInfo?: ServiceKeysListCredentialsInfoMap;
|
|
1560
1294
|
description?: string;
|
|
1561
1295
|
id: string;
|
|
1562
1296
|
name: string;
|
|
1563
1297
|
}
|
|
1564
|
-
export declare const ServiceKeysList: S.Schema<ServiceKeysList>;
|
|
1565
1298
|
export type ListCredentialsResponseCredentialsList = Array<ServiceKeysList>;
|
|
1566
|
-
export declare const ListCredentialsResponseCredentialsList: S.Schema<ListCredentialsResponseCredentialsList>;
|
|
1567
1299
|
export interface ListCredentialsResponse {
|
|
1568
1300
|
credentials: ListCredentialsResponseCredentialsList;
|
|
1569
1301
|
message: string;
|
|
1570
1302
|
}
|
|
1571
|
-
export declare const ListCredentialsResponse: S.Schema<ListCredentialsResponse>;
|
|
1572
1303
|
export interface ListElasticsearchChecksRequest {
|
|
1573
1304
|
projectId: string;
|
|
1574
1305
|
instanceId: string;
|
|
1575
1306
|
}
|
|
1576
|
-
export declare const ListElasticsearchChecksRequest: S.Schema<ListElasticsearchChecksRequest>;
|
|
1577
1307
|
export interface ListHttpChecksRequest {
|
|
1578
1308
|
projectId: string;
|
|
1579
1309
|
instanceId: string;
|
|
1580
1310
|
}
|
|
1581
|
-
export declare const ListHttpChecksRequest: S.Schema<ListHttpChecksRequest>;
|
|
1582
1311
|
export interface ListInstancesRequest {
|
|
1583
1312
|
projectId: string;
|
|
1584
1313
|
}
|
|
1585
|
-
export declare const ListInstancesRequest: S.Schema<ListInstancesRequest>;
|
|
1586
1314
|
export type ProjectInstanceFullStatus = "CREATING" | "CREATE_SUCCEEDED" | "CREATE_FAILED" | "DELETING" | "DELETE_SUCCEEDED" | "DELETE_FAILED" | "UPDATING" | "UPDATE_SUCCEEDED" | "UPDATE_FAILED";
|
|
1587
|
-
export declare const ProjectInstanceFullStatus: any;
|
|
1588
1315
|
export interface ProjectInstanceFull {
|
|
1589
1316
|
error?: string | null;
|
|
1590
1317
|
id: string;
|
|
@@ -1594,38 +1321,30 @@ export interface ProjectInstanceFull {
|
|
|
1594
1321
|
serviceName: string;
|
|
1595
1322
|
status: ProjectInstanceFullStatus;
|
|
1596
1323
|
}
|
|
1597
|
-
export declare const ProjectInstanceFull: S.Schema<ProjectInstanceFull>;
|
|
1598
1324
|
export type ListInstancesResponseInstancesList = Array<ProjectInstanceFull>;
|
|
1599
|
-
export declare const ListInstancesResponseInstancesList: S.Schema<ListInstancesResponseInstancesList>;
|
|
1600
1325
|
export interface ListInstancesResponse {
|
|
1601
1326
|
instances: ListInstancesResponseInstancesList;
|
|
1602
1327
|
message: string;
|
|
1603
1328
|
}
|
|
1604
|
-
export declare const ListInstancesResponse: S.Schema<ListInstancesResponse>;
|
|
1605
1329
|
export interface ListLogsAlertgroupsRequest {
|
|
1606
1330
|
projectId: string;
|
|
1607
1331
|
instanceId: string;
|
|
1608
1332
|
}
|
|
1609
|
-
export declare const ListLogsAlertgroupsRequest: S.Schema<ListLogsAlertgroupsRequest>;
|
|
1610
1333
|
export interface ListMongodbChecksRequest {
|
|
1611
1334
|
projectId: string;
|
|
1612
1335
|
instanceId: string;
|
|
1613
1336
|
}
|
|
1614
|
-
export declare const ListMongodbChecksRequest: S.Schema<ListMongodbChecksRequest>;
|
|
1615
1337
|
export interface ListMysqlChecksRequest {
|
|
1616
1338
|
projectId: string;
|
|
1617
1339
|
instanceId: string;
|
|
1618
1340
|
}
|
|
1619
|
-
export declare const ListMysqlChecksRequest: S.Schema<ListMysqlChecksRequest>;
|
|
1620
1341
|
export interface ListNetworkChecksRequest {
|
|
1621
1342
|
projectId: string;
|
|
1622
1343
|
instanceId: string;
|
|
1623
1344
|
}
|
|
1624
|
-
export declare const ListNetworkChecksRequest: S.Schema<ListNetworkChecksRequest>;
|
|
1625
1345
|
export interface ListOfferingsRequest {
|
|
1626
1346
|
projectId: string;
|
|
1627
1347
|
}
|
|
1628
|
-
export declare const ListOfferingsRequest: S.Schema<ListOfferingsRequest>;
|
|
1629
1348
|
export interface Plan {
|
|
1630
1349
|
alertMatchers: number;
|
|
1631
1350
|
alertReceivers: number;
|
|
@@ -1650,11 +1369,8 @@ export interface Plan {
|
|
|
1650
1369
|
totalMetricSamples: number;
|
|
1651
1370
|
tracesStorage: number;
|
|
1652
1371
|
}
|
|
1653
|
-
export declare const Plan: S.Schema<Plan>;
|
|
1654
1372
|
export type OfferingsPlansList = Array<Plan>;
|
|
1655
|
-
export declare const OfferingsPlansList: S.Schema<OfferingsPlansList>;
|
|
1656
1373
|
export type OfferingsTagsList = Array<string>;
|
|
1657
|
-
export declare const OfferingsTagsList: S.Schema<OfferingsTagsList>;
|
|
1658
1374
|
export interface Offerings {
|
|
1659
1375
|
description: string;
|
|
1660
1376
|
documentationUrl: string;
|
|
@@ -1663,56 +1379,43 @@ export interface Offerings {
|
|
|
1663
1379
|
plans: OfferingsPlansList;
|
|
1664
1380
|
tags: OfferingsTagsList;
|
|
1665
1381
|
}
|
|
1666
|
-
export declare const Offerings: S.Schema<Offerings>;
|
|
1667
1382
|
export interface ListPingChecksRequest {
|
|
1668
1383
|
projectId: string;
|
|
1669
1384
|
instanceId: string;
|
|
1670
1385
|
}
|
|
1671
|
-
export declare const ListPingChecksRequest: S.Schema<ListPingChecksRequest>;
|
|
1672
1386
|
export interface ListPlansRequest {
|
|
1673
1387
|
projectId: string;
|
|
1674
1388
|
}
|
|
1675
|
-
export declare const ListPlansRequest: S.Schema<ListPlansRequest>;
|
|
1676
1389
|
export type PlansResponsePlansList = Array<Plan>;
|
|
1677
|
-
export declare const PlansResponsePlansList: S.Schema<PlansResponsePlansList>;
|
|
1678
1390
|
export interface PlansResponse {
|
|
1679
1391
|
message: string;
|
|
1680
1392
|
plans: PlansResponsePlansList;
|
|
1681
1393
|
}
|
|
1682
|
-
export declare const PlansResponse: S.Schema<PlansResponse>;
|
|
1683
1394
|
export interface ListPostgresqlChecksRequest {
|
|
1684
1395
|
projectId: string;
|
|
1685
1396
|
instanceId: string;
|
|
1686
1397
|
}
|
|
1687
|
-
export declare const ListPostgresqlChecksRequest: S.Schema<ListPostgresqlChecksRequest>;
|
|
1688
1398
|
export interface ListRabbitmqChecksRequest {
|
|
1689
1399
|
projectId: string;
|
|
1690
1400
|
instanceId: string;
|
|
1691
1401
|
}
|
|
1692
|
-
export declare const ListRabbitmqChecksRequest: S.Schema<ListRabbitmqChecksRequest>;
|
|
1693
1402
|
export interface ListRedisChecksRequest {
|
|
1694
1403
|
projectId: string;
|
|
1695
1404
|
instanceId: string;
|
|
1696
1405
|
}
|
|
1697
|
-
export declare const ListRedisChecksRequest: S.Schema<ListRedisChecksRequest>;
|
|
1698
1406
|
export interface ListScrapeConfigsRequest {
|
|
1699
1407
|
projectId: string;
|
|
1700
1408
|
instanceId: string;
|
|
1701
1409
|
}
|
|
1702
|
-
export declare const ListScrapeConfigsRequest: S.Schema<ListScrapeConfigsRequest>;
|
|
1703
1410
|
export type ListScrapeConfigsResponseDataList = Array<Job>;
|
|
1704
|
-
export declare const ListScrapeConfigsResponseDataList: S.Schema<ListScrapeConfigsResponseDataList>;
|
|
1705
1411
|
export interface ListScrapeConfigsResponse {
|
|
1706
1412
|
data: ListScrapeConfigsResponseDataList;
|
|
1707
1413
|
message: string;
|
|
1708
1414
|
}
|
|
1709
|
-
export declare const ListScrapeConfigsResponse: S.Schema<ListScrapeConfigsResponse>;
|
|
1710
1415
|
/** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
1711
1416
|
export type PartialUpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
1712
|
-
export declare const PartialUpdateAlertgroupsRequestBodyItemRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
|
|
1713
1417
|
/** rules for the alert group */
|
|
1714
1418
|
export type PartialUpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsRequestRulesItem>;
|
|
1715
|
-
export declare const PartialUpdateAlertgroupsRequestBodyItemRulesList: S.Schema<PartialUpdateAlertgroupsRequestBodyItemRulesList>;
|
|
1716
1419
|
/** Alert group that should be created or updated. `Additional Validators:` * total config should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
1717
1420
|
export interface PartialUpdateAlertgroupsRequestBodyItem {
|
|
1718
1421
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
@@ -1722,16 +1425,13 @@ export interface PartialUpdateAlertgroupsRequestBodyItem {
|
|
|
1722
1425
|
/** rules for the alert group */
|
|
1723
1426
|
rules: PartialUpdateAlertgroupsRequestBodyItemRulesList;
|
|
1724
1427
|
}
|
|
1725
|
-
export declare const PartialUpdateAlertgroupsRequestBodyItem: S.Schema<PartialUpdateAlertgroupsRequestBodyItem>;
|
|
1726
1428
|
/** Array of alert groups that should be created or updated */
|
|
1727
1429
|
export type PartialUpdateAlertgroupsRequestBodyList = Array<PartialUpdateAlertgroupsRequestBodyItem>;
|
|
1728
|
-
export declare const PartialUpdateAlertgroupsRequestBodyList: S.Schema<PartialUpdateAlertgroupsRequestBodyList>;
|
|
1729
1430
|
export interface PartialUpdateAlertgroupsRequest {
|
|
1730
1431
|
projectId: string;
|
|
1731
1432
|
instanceId: string;
|
|
1732
1433
|
body: PartialUpdateAlertgroupsRequestBodyList;
|
|
1733
1434
|
}
|
|
1734
|
-
export declare const PartialUpdateAlertgroupsRequest: S.Schema<PartialUpdateAlertgroupsRequest>;
|
|
1735
1435
|
/** Record. `Additional Validators:` * total config (all alert groups/rules/records) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
1736
1436
|
export interface PartialUpdateAlertRecordsRequestBodyItem {
|
|
1737
1437
|
/** The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. */
|
|
@@ -1741,17 +1441,14 @@ export interface PartialUpdateAlertRecordsRequestBodyItem {
|
|
|
1741
1441
|
/** The name of the record. `Additional Validators:` * is the identifier and so unique in the group */
|
|
1742
1442
|
record: string;
|
|
1743
1443
|
}
|
|
1744
|
-
export declare const PartialUpdateAlertRecordsRequestBodyItem: S.Schema<PartialUpdateAlertRecordsRequestBodyItem>;
|
|
1745
1444
|
/** Array of records that should be created or updated */
|
|
1746
1445
|
export type PartialUpdateAlertRecordsRequestBodyList = Array<PartialUpdateAlertRecordsRequestBodyItem>;
|
|
1747
|
-
export declare const PartialUpdateAlertRecordsRequestBodyList: S.Schema<PartialUpdateAlertRecordsRequestBodyList>;
|
|
1748
1446
|
export interface PartialUpdateAlertRecordsRequest {
|
|
1749
1447
|
projectId: string;
|
|
1750
1448
|
instanceId: string;
|
|
1751
1449
|
groupName: string;
|
|
1752
1450
|
body: PartialUpdateAlertRecordsRequestBodyList;
|
|
1753
1451
|
}
|
|
1754
|
-
export declare const PartialUpdateAlertRecordsRequest: S.Schema<PartialUpdateAlertRecordsRequest>;
|
|
1755
1452
|
/** Alert rule. `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
1756
1453
|
export interface PartialUpdateAlertrulesRequestBodyItem {
|
|
1757
1454
|
/** The name of the alert. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- */
|
|
@@ -1765,29 +1462,22 @@ export interface PartialUpdateAlertrulesRequestBodyItem {
|
|
|
1765
1462
|
/** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
|
|
1766
1463
|
labels?: unknown;
|
|
1767
1464
|
}
|
|
1768
|
-
export declare const PartialUpdateAlertrulesRequestBodyItem: S.Schema<PartialUpdateAlertrulesRequestBodyItem>;
|
|
1769
1465
|
/** Array of alert rules that should be created or updated */
|
|
1770
1466
|
export type PartialUpdateAlertrulesRequestBodyList = Array<PartialUpdateAlertrulesRequestBodyItem>;
|
|
1771
|
-
export declare const PartialUpdateAlertrulesRequestBodyList: S.Schema<PartialUpdateAlertrulesRequestBodyList>;
|
|
1772
1467
|
export interface PartialUpdateAlertrulesRequest {
|
|
1773
1468
|
projectId: string;
|
|
1774
1469
|
instanceId: string;
|
|
1775
1470
|
groupName: string;
|
|
1776
1471
|
body: PartialUpdateAlertrulesRequestBodyList;
|
|
1777
1472
|
}
|
|
1778
|
-
export declare const PartialUpdateAlertrulesRequest: S.Schema<PartialUpdateAlertrulesRequest>;
|
|
1779
1473
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
1780
1474
|
export type PartialUpdateScrapeConfigsRequestBodyItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
1781
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
|
|
1782
1475
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
1783
1476
|
export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
1784
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
|
|
1785
1477
|
/** The URL to fetch the token from. */
|
|
1786
1478
|
export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList = Array<string>;
|
|
1787
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList>;
|
|
1788
1479
|
/** Configures the scrape request's TLS settings. */
|
|
1789
1480
|
export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1790
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
1791
1481
|
/** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
|
|
1792
1482
|
export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 {
|
|
1793
1483
|
/** clientId */
|
|
@@ -1801,10 +1491,8 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth
|
|
|
1801
1491
|
/** The URL to fetch the token from. */
|
|
1802
1492
|
tokenUrl: string;
|
|
1803
1493
|
}
|
|
1804
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2>;
|
|
1805
1494
|
/** Configures the scrape request's TLS settings. */
|
|
1806
1495
|
export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1807
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
1808
1496
|
export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem {
|
|
1809
1497
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
1810
1498
|
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
@@ -1817,16 +1505,12 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem {
|
|
|
1817
1505
|
/** URL from which the targets are fetched. */
|
|
1818
1506
|
url: string;
|
|
1819
1507
|
}
|
|
1820
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem>;
|
|
1821
1508
|
/** HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms. */
|
|
1822
1509
|
export type PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList = Array<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem>;
|
|
1823
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList>;
|
|
1824
1510
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
1825
1511
|
export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
|
|
1826
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction: any;
|
|
1827
1512
|
/** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
|
|
1828
1513
|
export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
|
|
1829
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList>;
|
|
1830
1514
|
export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem {
|
|
1831
1515
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
1832
1516
|
action?: PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction | (string & {});
|
|
@@ -1843,16 +1527,12 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsI
|
|
|
1843
1527
|
/** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
|
|
1844
1528
|
targetLabel?: string;
|
|
1845
1529
|
}
|
|
1846
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem>;
|
|
1847
1530
|
/** List of metric relabel configurations */
|
|
1848
1531
|
export type PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList = Array<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem>;
|
|
1849
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList>;
|
|
1850
1532
|
/** The URL to fetch the token from. */
|
|
1851
1533
|
export type PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList = Array<string>;
|
|
1852
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList>;
|
|
1853
1534
|
/** Configures the scrape request's TLS settings. */
|
|
1854
1535
|
export type PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1855
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
1856
1536
|
/** OAuth 2.0 authentication using the client credentials grant type. Prometheus fetches an access token from the specified endpoint with the given client access and secret keys. `Additional Validators:` * if oauth2 is in the body no other authentication method should be in the body */
|
|
1857
1537
|
export interface PartialUpdateScrapeConfigsRequestBodyItemOauth2 {
|
|
1858
1538
|
/** clientId */
|
|
@@ -1866,26 +1546,20 @@ export interface PartialUpdateScrapeConfigsRequestBodyItemOauth2 {
|
|
|
1866
1546
|
/** The URL to fetch the token from. */
|
|
1867
1547
|
tokenUrl: string;
|
|
1868
1548
|
}
|
|
1869
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemOauth2: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemOauth2>;
|
|
1870
1549
|
/** Configures the protocol scheme used for requests. https or http */
|
|
1871
1550
|
export type PartialUpdateScrapeConfigsRequestBodyItemScheme = "http" | "https";
|
|
1872
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemScheme: any;
|
|
1873
1551
|
/** The targets specified by the static config. */
|
|
1874
1552
|
export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList = Array<string>;
|
|
1875
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList>;
|
|
1876
1553
|
export interface PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem {
|
|
1877
1554
|
/** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters */
|
|
1878
1555
|
labels?: unknown;
|
|
1879
1556
|
/** The targets specified by the static config. */
|
|
1880
1557
|
targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList;
|
|
1881
1558
|
}
|
|
1882
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem>;
|
|
1883
1559
|
/** A list of scrape configurations. */
|
|
1884
1560
|
export type PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList = Array<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem>;
|
|
1885
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList: S.Schema<PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList>;
|
|
1886
1561
|
/** Configures the scrape request's TLS settings. */
|
|
1887
1562
|
export type PartialUpdateScrapeConfigsRequestBodyItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1888
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItemTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
1889
1563
|
export interface PartialUpdateScrapeConfigsRequestBodyItem {
|
|
1890
1564
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
1891
1565
|
basicAuth?: CreateScrapeConfigRequestBasicAuth;
|
|
@@ -1920,18 +1594,14 @@ export interface PartialUpdateScrapeConfigsRequestBodyItem {
|
|
|
1920
1594
|
/** Configures the scrape request's TLS settings. */
|
|
1921
1595
|
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1922
1596
|
}
|
|
1923
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyItem: S.Schema<PartialUpdateScrapeConfigsRequestBodyItem>;
|
|
1924
1597
|
/** Array of jobs that should be created or updated */
|
|
1925
1598
|
export type PartialUpdateScrapeConfigsRequestBodyList = Array<PartialUpdateScrapeConfigsRequestBodyItem>;
|
|
1926
|
-
export declare const PartialUpdateScrapeConfigsRequestBodyList: S.Schema<PartialUpdateScrapeConfigsRequestBodyList>;
|
|
1927
1599
|
export interface PartialUpdateScrapeConfigsRequest {
|
|
1928
1600
|
projectId: string;
|
|
1929
1601
|
instanceId: string;
|
|
1930
1602
|
body: PartialUpdateScrapeConfigsRequestBodyList;
|
|
1931
1603
|
}
|
|
1932
|
-
export declare const PartialUpdateScrapeConfigsRequest: S.Schema<PartialUpdateScrapeConfigsRequest>;
|
|
1933
1604
|
export type RestoreBackupRequestRestoreTarget = "alertConfig" | "alertRules" | "scrapeConfig" | "grafana";
|
|
1934
|
-
export declare const RestoreBackupRequestRestoreTarget: any;
|
|
1935
1605
|
export interface RestoreBackupRequest {
|
|
1936
1606
|
projectId: string;
|
|
1937
1607
|
instanceId: string;
|
|
@@ -1939,31 +1609,22 @@ export interface RestoreBackupRequest {
|
|
|
1939
1609
|
/** List of restore targets */
|
|
1940
1610
|
restoreTarget: RestoreBackupRequestRestoreTarget | (string & {});
|
|
1941
1611
|
}
|
|
1942
|
-
export declare const RestoreBackupRequest: S.Schema<RestoreBackupRequest>;
|
|
1943
1612
|
/** list of cidr */
|
|
1944
1613
|
export type UpdateACLRequestAclList = Array<string>;
|
|
1945
|
-
export declare const UpdateACLRequestAclList: S.Schema<UpdateACLRequestAclList>;
|
|
1946
1614
|
export interface UpdateACLRequest {
|
|
1947
1615
|
projectId: string;
|
|
1948
1616
|
instanceId: string;
|
|
1949
1617
|
/** list of cidr */
|
|
1950
1618
|
acl: UpdateACLRequestAclList;
|
|
1951
1619
|
}
|
|
1952
|
-
export declare const UpdateACLRequest: S.Schema<UpdateACLRequest>;
|
|
1953
1620
|
export type UpdateAlertConfigReceiverRequestEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
|
|
1954
|
-
export declare const UpdateAlertConfigReceiverRequestEmailConfigsItem: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
|
|
1955
1621
|
/** Email configurations */
|
|
1956
1622
|
export type UpdateAlertConfigReceiverRequestEmailConfigsList = Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
|
|
1957
|
-
export declare const UpdateAlertConfigReceiverRequestEmailConfigsList: S.Schema<UpdateAlertConfigReceiverRequestEmailConfigsList>;
|
|
1958
1623
|
export type UpdateAlertConfigReceiverRequestOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
|
|
1959
|
-
export declare const UpdateAlertConfigReceiverRequestOpsgenieConfigsItem: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
|
|
1960
1624
|
/** Configuration for ops genie. */
|
|
1961
1625
|
export type UpdateAlertConfigReceiverRequestOpsgenieConfigsList = Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
|
|
1962
|
-
export declare const UpdateAlertConfigReceiverRequestOpsgenieConfigsList: S.Schema<UpdateAlertConfigReceiverRequestOpsgenieConfigsList>;
|
|
1963
1626
|
export type UpdateAlertConfigReceiverRequestWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
|
|
1964
|
-
export declare const UpdateAlertConfigReceiverRequestWebHookConfigsItem: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
|
|
1965
1627
|
export type UpdateAlertConfigReceiverRequestWebHookConfigsList = Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
|
|
1966
|
-
export declare const UpdateAlertConfigReceiverRequestWebHookConfigsList: S.Schema<UpdateAlertConfigReceiverRequestWebHookConfigsList>;
|
|
1967
1628
|
export interface UpdateAlertConfigReceiverRequest {
|
|
1968
1629
|
projectId: string;
|
|
1969
1630
|
instanceId: string;
|
|
@@ -1976,21 +1637,15 @@ export interface UpdateAlertConfigReceiverRequest {
|
|
|
1976
1637
|
opsgenieConfigs?: UpdateAlertConfigReceiverRequestOpsgenieConfigsList;
|
|
1977
1638
|
webHookConfigs?: UpdateAlertConfigReceiverRequestWebHookConfigsList;
|
|
1978
1639
|
}
|
|
1979
|
-
export declare const UpdateAlertConfigReceiverRequest: S.Schema<UpdateAlertConfigReceiverRequest>;
|
|
1980
1640
|
/** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
|
|
1981
1641
|
export type UpdateAlertConfigRouteRequestGroupByList = Array<string>;
|
|
1982
|
-
export declare const UpdateAlertConfigRouteRequestGroupByList: S.Schema<UpdateAlertConfigRouteRequestGroupByList>;
|
|
1983
1642
|
/** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
|
|
1984
1643
|
export type UpdateAlertConfigRouteRequestMatchersList = Array<string>;
|
|
1985
|
-
export declare const UpdateAlertConfigRouteRequestMatchersList: S.Schema<UpdateAlertConfigRouteRequestMatchersList>;
|
|
1986
1644
|
export type UpdateAlertConfigRouteRequestRoutesItemGroupByList = Array<string>;
|
|
1987
|
-
export declare const UpdateAlertConfigRouteRequestRoutesItemGroupByList: S.Schema<UpdateAlertConfigRouteRequestRoutesItemGroupByList>;
|
|
1988
1645
|
/** As in one level above */
|
|
1989
1646
|
export type UpdateAlertConfigRouteRequestRoutesItemMatchersList = Array<string>;
|
|
1990
|
-
export declare const UpdateAlertConfigRouteRequestRoutesItemMatchersList: S.Schema<UpdateAlertConfigRouteRequestRoutesItemMatchersList>;
|
|
1991
1647
|
/** Another child routes */
|
|
1992
1648
|
export type UpdateAlertConfigRouteRequestRoutesItemRoutesList = Array<unknown>;
|
|
1993
|
-
export declare const UpdateAlertConfigRouteRequestRoutesItemRoutesList: S.Schema<UpdateAlertConfigRouteRequestRoutesItemRoutesList>;
|
|
1994
1649
|
/** As in one level above */
|
|
1995
1650
|
export interface UpdateAlertConfigRouteRequestRoutesItem {
|
|
1996
1651
|
/** Whether an alert should continue matching subsequent sibling nodes. */
|
|
@@ -2013,10 +1668,8 @@ export interface UpdateAlertConfigRouteRequestRoutesItem {
|
|
|
2013
1668
|
/** Another child routes */
|
|
2014
1669
|
routes?: UpdateAlertConfigRouteRequestRoutesItemRoutesList;
|
|
2015
1670
|
}
|
|
2016
|
-
export declare const UpdateAlertConfigRouteRequestRoutesItem: S.Schema<UpdateAlertConfigRouteRequestRoutesItem>;
|
|
2017
1671
|
/** Zero or more child routes. */
|
|
2018
1672
|
export type UpdateAlertConfigRouteRequestRoutesList = Array<UpdateAlertConfigRouteRequestRoutesItem>;
|
|
2019
|
-
export declare const UpdateAlertConfigRouteRequestRoutesList: S.Schema<UpdateAlertConfigRouteRequestRoutesList>;
|
|
2020
1673
|
export interface UpdateAlertConfigRouteRequest {
|
|
2021
1674
|
projectId: string;
|
|
2022
1675
|
instanceId: string;
|
|
@@ -2040,7 +1693,6 @@ export interface UpdateAlertConfigRouteRequest {
|
|
|
2040
1693
|
/** Zero or more child routes. */
|
|
2041
1694
|
routes?: UpdateAlertConfigRouteRequestRoutesList;
|
|
2042
1695
|
}
|
|
2043
|
-
export declare const UpdateAlertConfigRouteRequest: S.Schema<UpdateAlertConfigRouteRequest>;
|
|
2044
1696
|
/** Global config. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. */
|
|
2045
1697
|
export interface UpdateAlertConfigsRequestGlobal {
|
|
2046
1698
|
/** Opsgenie api key `Additional Validators:` * should only include the characters: a-zA-Z0-9- */
|
|
@@ -2060,10 +1712,8 @@ export interface UpdateAlertConfigsRequestGlobal {
|
|
|
2060
1712
|
/** The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). Example: smtp.example.org:587 `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
|
|
2061
1713
|
smtpSmarthost?: string;
|
|
2062
1714
|
}
|
|
2063
|
-
export declare const UpdateAlertConfigsRequestGlobal: S.Schema<UpdateAlertConfigsRequestGlobal>;
|
|
2064
1715
|
/** Labels that must have an equal value in the source and target alert for the inhibition to take effect. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
|
|
2065
1716
|
export type UpdateAlertConfigsRequestInhibitRulesEqualList = Array<string>;
|
|
2066
|
-
export declare const UpdateAlertConfigsRequestInhibitRulesEqualList: S.Schema<UpdateAlertConfigsRequestInhibitRulesEqualList>;
|
|
2067
1717
|
/** A list of inhibition rules. */
|
|
2068
1718
|
export interface UpdateAlertConfigsRequestInhibitRules {
|
|
2069
1719
|
/** Labels that must have an equal value in the source and target alert for the inhibition to take effect. `Additional Validators:` * should only include the characters: a-zA-Z0-9_./@&?:- */
|
|
@@ -2077,21 +1727,14 @@ export interface UpdateAlertConfigsRequestInhibitRules {
|
|
|
2077
1727
|
/** map of key:value. Matchers that have to be fulfilled in the alerts to be muted. Regex. `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters */
|
|
2078
1728
|
targetMatchRe?: unknown;
|
|
2079
1729
|
}
|
|
2080
|
-
export declare const UpdateAlertConfigsRequestInhibitRules: S.Schema<UpdateAlertConfigsRequestInhibitRules>;
|
|
2081
1730
|
export type UpdateAlertConfigsRequestReceiversItemEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
|
|
2082
|
-
export declare const UpdateAlertConfigsRequestReceiversItemEmailConfigsItem: S.Schema<CreateAlertConfigReceiverRequestEmailConfigsItem>;
|
|
2083
1731
|
/** Email configurations */
|
|
2084
1732
|
export type UpdateAlertConfigsRequestReceiversItemEmailConfigsList = Array<CreateAlertConfigReceiverRequestEmailConfigsItem>;
|
|
2085
|
-
export declare const UpdateAlertConfigsRequestReceiversItemEmailConfigsList: S.Schema<UpdateAlertConfigsRequestReceiversItemEmailConfigsList>;
|
|
2086
1733
|
export type UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
|
|
2087
|
-
export declare const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem: S.Schema<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
|
|
2088
1734
|
/** Configuration for ops genie. */
|
|
2089
1735
|
export type UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList = Array<CreateAlertConfigReceiverRequestOpsgenieConfigsItem>;
|
|
2090
|
-
export declare const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList: S.Schema<UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList>;
|
|
2091
1736
|
export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
|
|
2092
|
-
export declare const UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem: S.Schema<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
|
|
2093
1737
|
export type UpdateAlertConfigsRequestReceiversItemWebHookConfigsList = Array<CreateAlertConfigReceiverRequestWebHookConfigsItem>;
|
|
2094
|
-
export declare const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList: S.Schema<UpdateAlertConfigsRequestReceiversItemWebHookConfigsList>;
|
|
2095
1738
|
/** Receivers */
|
|
2096
1739
|
export interface UpdateAlertConfigsRequestReceiversItem {
|
|
2097
1740
|
/** Email configurations */
|
|
@@ -2102,21 +1745,15 @@ export interface UpdateAlertConfigsRequestReceiversItem {
|
|
|
2102
1745
|
opsgenieConfigs?: UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList;
|
|
2103
1746
|
webHookConfigs?: UpdateAlertConfigsRequestReceiversItemWebHookConfigsList;
|
|
2104
1747
|
}
|
|
2105
|
-
export declare const UpdateAlertConfigsRequestReceiversItem: S.Schema<UpdateAlertConfigsRequestReceiversItem>;
|
|
2106
1748
|
/** A list of notification receivers. */
|
|
2107
1749
|
export type UpdateAlertConfigsRequestReceiversList = Array<UpdateAlertConfigsRequestReceiversItem>;
|
|
2108
|
-
export declare const UpdateAlertConfigsRequestReceiversList: S.Schema<UpdateAlertConfigsRequestReceiversList>;
|
|
2109
1750
|
/** The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */
|
|
2110
1751
|
export type UpdateAlertConfigsRequestRouteGroupByList = Array<string>;
|
|
2111
|
-
export declare const UpdateAlertConfigsRequestRouteGroupByList: S.Schema<UpdateAlertConfigsRequestRouteGroupByList>;
|
|
2112
1752
|
export type UpdateAlertConfigsRequestRouteRoutesItemGroupByList = Array<string>;
|
|
2113
|
-
export declare const UpdateAlertConfigsRequestRouteRoutesItemGroupByList: S.Schema<UpdateAlertConfigsRequestRouteRoutesItemGroupByList>;
|
|
2114
1753
|
/** A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. The syntax of a matcher consists of three tokens: * A valid Prometheus label name. * One of =, !=, =~, or !~. = means equals, != means that the strings are not equal, =~ is used for equality of regex expressions and !~ is used for un-equality of regex expressions. They have the same meaning as known from PromQL selectors. * A UTF-8 string, which may be enclosed in double quotes. Before or after each token, there may be any amount of whitespace. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
|
|
2115
1754
|
export type UpdateAlertConfigsRequestRouteRoutesItemMatchersList = Array<string>;
|
|
2116
|
-
export declare const UpdateAlertConfigsRequestRouteRoutesItemMatchersList: S.Schema<UpdateAlertConfigsRequestRouteRoutesItemMatchersList>;
|
|
2117
1755
|
/** Another child routes */
|
|
2118
1756
|
export type UpdateAlertConfigsRequestRouteRoutesItemRoutesList = Array<unknown>;
|
|
2119
|
-
export declare const UpdateAlertConfigsRequestRouteRoutesItemRoutesList: S.Schema<UpdateAlertConfigsRequestRouteRoutesItemRoutesList>;
|
|
2120
1757
|
/** As in one level above */
|
|
2121
1758
|
export interface UpdateAlertConfigsRequestRouteRoutesItem {
|
|
2122
1759
|
/** Whether an alert should continue matching subsequent sibling nodes. */
|
|
@@ -2139,10 +1776,8 @@ export interface UpdateAlertConfigsRequestRouteRoutesItem {
|
|
|
2139
1776
|
/** Another child routes */
|
|
2140
1777
|
routes?: UpdateAlertConfigsRequestRouteRoutesItemRoutesList;
|
|
2141
1778
|
}
|
|
2142
|
-
export declare const UpdateAlertConfigsRequestRouteRoutesItem: S.Schema<UpdateAlertConfigsRequestRouteRoutesItem>;
|
|
2143
1779
|
/** Zero or more child routes. */
|
|
2144
1780
|
export type UpdateAlertConfigsRequestRouteRoutesList = Array<UpdateAlertConfigsRequestRouteRoutesItem>;
|
|
2145
|
-
export declare const UpdateAlertConfigsRequestRouteRoutesList: S.Schema<UpdateAlertConfigsRequestRouteRoutesList>;
|
|
2146
1781
|
/** The root node of the routing tree. */
|
|
2147
1782
|
export interface UpdateAlertConfigsRequestRoute {
|
|
2148
1783
|
/** The continue parameter cannot be set to true on the root route because there are no subsequent sibling nodes to match. It must always be false. */
|
|
@@ -2164,7 +1799,6 @@ export interface UpdateAlertConfigsRequestRoute {
|
|
|
2164
1799
|
/** Zero or more child routes. */
|
|
2165
1800
|
routes?: UpdateAlertConfigsRequestRouteRoutesList;
|
|
2166
1801
|
}
|
|
2167
|
-
export declare const UpdateAlertConfigsRequestRoute: S.Schema<UpdateAlertConfigsRequestRoute>;
|
|
2168
1802
|
export interface UpdateAlertConfigsRequest {
|
|
2169
1803
|
projectId: string;
|
|
2170
1804
|
instanceId: string;
|
|
@@ -2177,18 +1811,14 @@ export interface UpdateAlertConfigsRequest {
|
|
|
2177
1811
|
/** The root node of the routing tree. */
|
|
2178
1812
|
route: UpdateAlertConfigsRequestRoute;
|
|
2179
1813
|
}
|
|
2180
|
-
export declare const UpdateAlertConfigsRequest: S.Schema<UpdateAlertConfigsRequest>;
|
|
2181
1814
|
export interface UpdateAlertConfigsResponse {
|
|
2182
1815
|
data: Alert;
|
|
2183
1816
|
message: string;
|
|
2184
1817
|
}
|
|
2185
|
-
export declare const UpdateAlertConfigsResponse: S.Schema<UpdateAlertConfigsResponse>;
|
|
2186
1818
|
/** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
2187
1819
|
export type UpdateAlertgroupRequestRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
2188
|
-
export declare const UpdateAlertgroupRequestRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
|
|
2189
1820
|
/** rules for the alert group */
|
|
2190
1821
|
export type UpdateAlertgroupRequestRulesList = Array<CreateAlertgroupsRequestRulesItem>;
|
|
2191
|
-
export declare const UpdateAlertgroupRequestRulesList: S.Schema<UpdateAlertgroupRequestRulesList>;
|
|
2192
1822
|
export interface UpdateAlertgroupRequest {
|
|
2193
1823
|
projectId: string;
|
|
2194
1824
|
instanceId: string;
|
|
@@ -2198,13 +1828,10 @@ export interface UpdateAlertgroupRequest {
|
|
|
2198
1828
|
/** rules for the alert group */
|
|
2199
1829
|
rules: UpdateAlertgroupRequestRulesList;
|
|
2200
1830
|
}
|
|
2201
|
-
export declare const UpdateAlertgroupRequest: S.Schema<UpdateAlertgroupRequest>;
|
|
2202
1831
|
/** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
2203
1832
|
export type UpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
2204
|
-
export declare const UpdateAlertgroupsRequestBodyItemRulesItem: S.Schema<CreateAlertgroupsRequestRulesItem>;
|
|
2205
1833
|
/** rules for the alert group */
|
|
2206
1834
|
export type UpdateAlertgroupsRequestBodyItemRulesList = Array<CreateAlertgroupsRequestRulesItem>;
|
|
2207
|
-
export declare const UpdateAlertgroupsRequestBodyItemRulesList: S.Schema<UpdateAlertgroupsRequestBodyItemRulesList>;
|
|
2208
1835
|
/** Alert group that should be created or updated. `Additional Validators:` * total config should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
2209
1836
|
export interface UpdateAlertgroupsRequestBodyItem {
|
|
2210
1837
|
/** How often rules in the group are evaluated. `Additional Validators:` * must be a valid time string * should be >=60s */
|
|
@@ -2214,16 +1841,13 @@ export interface UpdateAlertgroupsRequestBodyItem {
|
|
|
2214
1841
|
/** rules for the alert group */
|
|
2215
1842
|
rules: UpdateAlertgroupsRequestBodyItemRulesList;
|
|
2216
1843
|
}
|
|
2217
|
-
export declare const UpdateAlertgroupsRequestBodyItem: S.Schema<UpdateAlertgroupsRequestBodyItem>;
|
|
2218
1844
|
/** Array of alert groups that should be set. It will override all existing alert groups. */
|
|
2219
1845
|
export type UpdateAlertgroupsRequestBodyList = Array<UpdateAlertgroupsRequestBodyItem>;
|
|
2220
|
-
export declare const UpdateAlertgroupsRequestBodyList: S.Schema<UpdateAlertgroupsRequestBodyList>;
|
|
2221
1846
|
export interface UpdateAlertgroupsRequest {
|
|
2222
1847
|
projectId: string;
|
|
2223
1848
|
instanceId: string;
|
|
2224
1849
|
body: UpdateAlertgroupsRequestBodyList;
|
|
2225
1850
|
}
|
|
2226
|
-
export declare const UpdateAlertgroupsRequest: S.Schema<UpdateAlertgroupsRequest>;
|
|
2227
1851
|
export interface UpdateAlertRecordRequest {
|
|
2228
1852
|
projectId: string;
|
|
2229
1853
|
instanceId: string;
|
|
@@ -2234,7 +1858,6 @@ export interface UpdateAlertRecordRequest {
|
|
|
2234
1858
|
/** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
|
|
2235
1859
|
labels?: unknown;
|
|
2236
1860
|
}
|
|
2237
|
-
export declare const UpdateAlertRecordRequest: S.Schema<UpdateAlertRecordRequest>;
|
|
2238
1861
|
export interface UpdateAlertruleRequest {
|
|
2239
1862
|
projectId: string;
|
|
2240
1863
|
instanceId: string;
|
|
@@ -2249,7 +1872,6 @@ export interface UpdateAlertruleRequest {
|
|
|
2249
1872
|
/** map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
|
|
2250
1873
|
labels?: unknown;
|
|
2251
1874
|
}
|
|
2252
|
-
export declare const UpdateAlertruleRequest: S.Schema<UpdateAlertruleRequest>;
|
|
2253
1875
|
export interface UpdateCredentialsRemoteWriteConfigRequest {
|
|
2254
1876
|
projectId: string;
|
|
2255
1877
|
instanceId: string;
|
|
@@ -2257,7 +1879,6 @@ export interface UpdateCredentialsRemoteWriteConfigRequest {
|
|
|
2257
1879
|
/** Remote write metric sample limit for credential to push in a single minute. */
|
|
2258
1880
|
maxLimit?: number;
|
|
2259
1881
|
}
|
|
2260
|
-
export declare const UpdateCredentialsRemoteWriteConfigRequest: S.Schema<UpdateCredentialsRemoteWriteConfigRequest>;
|
|
2261
1882
|
export interface UpdateGrafanaConfigsRequestGenericOauth {
|
|
2262
1883
|
/** Set to true to enable automatic sync of the Grafana server administrator role. If this option is set to true and the result of evaluating role_attribute_path for a user is GrafanaAdmin, Grafana grants the user the server administrator privileges and organization administrator role. If this option is set to false and the result of evaluating role_attribute_path for a user is GrafanaAdmin, Grafana grants the user only organization administrator role. */
|
|
2263
1884
|
allowAssignGrafanaAdmin?: boolean;
|
|
@@ -2284,7 +1905,6 @@ export interface UpdateGrafanaConfigsRequestGenericOauth {
|
|
|
2284
1905
|
/** Enable or disable Proof Key for Code Exchange */
|
|
2285
1906
|
usePkce?: boolean;
|
|
2286
1907
|
}
|
|
2287
|
-
export declare const UpdateGrafanaConfigsRequestGenericOauth: S.Schema<UpdateGrafanaConfigsRequestGenericOauth>;
|
|
2288
1908
|
export interface UpdateGrafanaConfigsRequest {
|
|
2289
1909
|
projectId: string;
|
|
2290
1910
|
instanceId: string;
|
|
@@ -2294,7 +1914,6 @@ export interface UpdateGrafanaConfigsRequest {
|
|
|
2294
1914
|
/** If it's true, it overwrites the current genericOauth config and configures STACKIT SSO for this instance. */
|
|
2295
1915
|
useStackitSso?: boolean;
|
|
2296
1916
|
}
|
|
2297
|
-
export declare const UpdateGrafanaConfigsRequest: S.Schema<UpdateGrafanaConfigsRequest>;
|
|
2298
1917
|
export interface UpdateInstanceRequest {
|
|
2299
1918
|
projectId: string;
|
|
2300
1919
|
instanceId: string;
|
|
@@ -2307,13 +1926,10 @@ export interface UpdateInstanceRequest {
|
|
|
2307
1926
|
/** UUID of the plan to update */
|
|
2308
1927
|
planId?: string;
|
|
2309
1928
|
}
|
|
2310
|
-
export declare const UpdateInstanceRequest: S.Schema<UpdateInstanceRequest>;
|
|
2311
1929
|
/** Rule definition. Must be either an Alerting Rule (using 'alert') or a Recording Rule (using 'record'). `Additional Validators:` * total config (all alert groups/rules) should not be bigger than 500000 characters as string since this the limitation of prometheus. */
|
|
2312
1930
|
export type UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
|
|
2313
|
-
export declare const UpdateLogsAlertgroupRequestRulesItem: S.Schema<CreateLogsAlertgroupsRequestRulesItem>;
|
|
2314
1931
|
/** rules for the alert group */
|
|
2315
1932
|
export type UpdateLogsAlertgroupRequestRulesList = Array<CreateLogsAlertgroupsRequestRulesItem>;
|
|
2316
|
-
export declare const UpdateLogsAlertgroupRequestRulesList: S.Schema<UpdateLogsAlertgroupRequestRulesList>;
|
|
2317
1933
|
export interface UpdateLogsAlertgroupRequest {
|
|
2318
1934
|
projectId: string;
|
|
2319
1935
|
instanceId: string;
|
|
@@ -2323,14 +1939,12 @@ export interface UpdateLogsAlertgroupRequest {
|
|
|
2323
1939
|
/** rules for the alert group */
|
|
2324
1940
|
rules: UpdateLogsAlertgroupRequestRulesList;
|
|
2325
1941
|
}
|
|
2326
|
-
export declare const UpdateLogsAlertgroupRequest: S.Schema<UpdateLogsAlertgroupRequest>;
|
|
2327
1942
|
export interface UpdateLogsConfigsRequest {
|
|
2328
1943
|
projectId: string;
|
|
2329
1944
|
instanceId: string;
|
|
2330
1945
|
/** How long to keep the logs `Additional Validators:` * Should be a valid time string * Should not be longer than 30 days */
|
|
2331
1946
|
retention: string;
|
|
2332
1947
|
}
|
|
2333
|
-
export declare const UpdateLogsConfigsRequest: S.Schema<UpdateLogsConfigsRequest>;
|
|
2334
1948
|
export interface UpdateMetricsStorageRetentionRequest {
|
|
2335
1949
|
projectId: string;
|
|
2336
1950
|
instanceId: string;
|
|
@@ -2341,16 +1955,12 @@ export interface UpdateMetricsStorageRetentionRequest {
|
|
|
2341
1955
|
/** Retention time of longtime storage of raw data. After that time the raw data will be deleted permanently. All raw resolution metrics that are older than 40 hours are downsampled at a 5m resolution. The default value is 90 days. `Additional Validators:` * Should be a valid time string (e.g. '90d'). * Should be between '2d' and '780d'. * Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will be automatically adjusted in the backend to the recommended range of '2d' to '780d'. */
|
|
2342
1956
|
metricsRetentionTimeRaw: string;
|
|
2343
1957
|
}
|
|
2344
|
-
export declare const UpdateMetricsStorageRetentionRequest: S.Schema<UpdateMetricsStorageRetentionRequest>;
|
|
2345
1958
|
/** Sets the 'Authorization' header on every scrape request with the configured username and password. `Additional Validators:` * if basicAuth is in the body no other authentication method should be in the body */
|
|
2346
1959
|
export type UpdateScrapeConfigRequestBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
2347
|
-
export declare const UpdateScrapeConfigRequestBasicAuth: S.Schema<CreateScrapeConfigRequestBasicAuth>;
|
|
2348
1960
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
2349
1961
|
export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction = "replace" | "keep" | "drop" | "hashmod" | "labelmap" | "labeldrop" | "labelkeep";
|
|
2350
|
-
export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction: any;
|
|
2351
1962
|
/** The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions. */
|
|
2352
1963
|
export type UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList = Array<string>;
|
|
2353
|
-
export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList: S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList>;
|
|
2354
1964
|
export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
|
|
2355
1965
|
/** Action to perform based on regex matching. `Additional Validators:` * if action is replace, targetLabel needs to be in body */
|
|
2356
1966
|
action?: UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction | (string & {});
|
|
@@ -2367,29 +1977,22 @@ export interface UpdateScrapeConfigRequestMetricsRelabelConfigsItem {
|
|
|
2367
1977
|
/** Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available. */
|
|
2368
1978
|
targetLabel?: string;
|
|
2369
1979
|
}
|
|
2370
|
-
export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsItem: S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
|
|
2371
1980
|
/** List of metric relabel configurations */
|
|
2372
1981
|
export type UpdateScrapeConfigRequestMetricsRelabelConfigsList = Array<UpdateScrapeConfigRequestMetricsRelabelConfigsItem>;
|
|
2373
|
-
export declare const UpdateScrapeConfigRequestMetricsRelabelConfigsList: S.Schema<UpdateScrapeConfigRequestMetricsRelabelConfigsList>;
|
|
2374
1982
|
/** Configures the protocol scheme used for requests. https or http */
|
|
2375
1983
|
export type UpdateScrapeConfigRequestScheme = "http" | "https";
|
|
2376
|
-
export declare const UpdateScrapeConfigRequestScheme: any;
|
|
2377
1984
|
/** The targets specified by the static config. */
|
|
2378
1985
|
export type UpdateScrapeConfigRequestStaticConfigsItemTargetsList = Array<string>;
|
|
2379
|
-
export declare const UpdateScrapeConfigRequestStaticConfigsItemTargetsList: S.Schema<UpdateScrapeConfigRequestStaticConfigsItemTargetsList>;
|
|
2380
1986
|
export interface UpdateScrapeConfigRequestStaticConfigsItem {
|
|
2381
1987
|
/** Labels assigned to all metrics scraped from the targets. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters */
|
|
2382
1988
|
labels?: unknown;
|
|
2383
1989
|
/** The targets specified by the static config. */
|
|
2384
1990
|
targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList;
|
|
2385
1991
|
}
|
|
2386
|
-
export declare const UpdateScrapeConfigRequestStaticConfigsItem: S.Schema<UpdateScrapeConfigRequestStaticConfigsItem>;
|
|
2387
1992
|
/** A list of scrape configurations. */
|
|
2388
1993
|
export type UpdateScrapeConfigRequestStaticConfigsList = Array<UpdateScrapeConfigRequestStaticConfigsItem>;
|
|
2389
|
-
export declare const UpdateScrapeConfigRequestStaticConfigsList: S.Schema<UpdateScrapeConfigRequestStaticConfigsList>;
|
|
2390
1994
|
/** Configures the scrape request's TLS settings. */
|
|
2391
1995
|
export type UpdateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
2392
|
-
export declare const UpdateScrapeConfigRequestTlsConfig: S.Schema<CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig>;
|
|
2393
1996
|
export interface UpdateScrapeConfigRequest {
|
|
2394
1997
|
projectId: string;
|
|
2395
1998
|
instanceId: string;
|
|
@@ -2421,14 +2024,12 @@ export interface UpdateScrapeConfigRequest {
|
|
|
2421
2024
|
/** Configures the scrape request's TLS settings. */
|
|
2422
2025
|
tlsConfig?: CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
2423
2026
|
}
|
|
2424
|
-
export declare const UpdateScrapeConfigRequest: S.Schema<UpdateScrapeConfigRequest>;
|
|
2425
2027
|
export interface UpdateTracesConfigsRequest {
|
|
2426
2028
|
projectId: string;
|
|
2427
2029
|
instanceId: string;
|
|
2428
2030
|
/** How long to keep the traces `Additional Validators:` * Should be a valid time string * Should not be bigger than 30 days */
|
|
2429
2031
|
retention: string;
|
|
2430
2032
|
}
|
|
2431
|
-
export declare const UpdateTracesConfigsRequest: S.Schema<UpdateTracesConfigsRequest>;
|
|
2432
2033
|
export type CreateAlertConfigReceiverError = BadRequest | Forbidden | StackitOpError;
|
|
2433
2034
|
/** Create alert config receiver. */
|
|
2434
2035
|
export declare const createAlertConfigReceiver: API.OperationMethod<CreateAlertConfigReceiverRequest, AlertConfigReceiversResponse, CreateAlertConfigReceiverError, StackitOpContext>;
|