@distilled.cloud/stackit 1.0.0-rc.14 → 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,3158 +1,385 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
2
|
import * as C from "@distilled.cloud/core/category";
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
5
|
-
import * as
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
7
|
import { StackitProtocol } from "../protocol.js";
|
|
8
8
|
import * as Retry from "../retry.js";
|
|
9
9
|
import * as T from "../traits.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = S.Struct;
|
|
15
|
+
const __5 = S.suspend;
|
|
16
|
+
const __6 = S.Array;
|
|
17
|
+
const __7 = S.optional;
|
|
18
|
+
const __8 = S.Unknown;
|
|
19
|
+
const __9 = S.Number;
|
|
20
|
+
const __10 = S.Boolean;
|
|
21
|
+
const __11 = T.SensitiveValue;
|
|
22
|
+
const __12 = S.Record;
|
|
23
|
+
const __13 = T.Query;
|
|
24
|
+
const __14 = S.NullOr;
|
|
25
|
+
const __15 = T.HttpBody;
|
|
26
|
+
const __16 = S.TaggedError;
|
|
27
|
+
const __17 = T.applyErrorMatchers;
|
|
28
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
29
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __9, __3, __16, __17]]);
|
|
30
|
+
});
|
|
31
|
+
export const Forbidden = /*@__PURE__*/ API.error(function Forbidden(i) {
|
|
32
|
+
return API.newError(i, new.target, ['$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])', [__0, C.withAuthError, __9, __3, __16, __17]]);
|
|
33
|
+
});
|
|
34
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
35
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __9, __3, __16, __17]]);
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export const createAlertConfigReceiver = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"CreateAlertConfigReceiverRequest";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),emailConfigs:$5(#4:1),name:$3,opsgenieConfigs:$5(#6:1),webHookConfigs:$5(#4:3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d21, __7, __d18, __4, __5, __d20, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createAlertConfigReceiver, i));
|
|
39
|
+
|
|
40
|
+
export const createAlertConfigRoute = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#11:0,errors:[$12,$13,$14],protocol:$15,retry:$16};$10(>2)@"CreateAlertConfigRouteRequest";$9({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),continue:$5($4),groupBy:$5(#6:0),groupInterval:$5($3),groupWait:$5($3),match:$5($7),matchRe:$5($7),matchers:$5(#6:0),receiver:$3,repeatInterval:$5($3),routes:$5(#8:2)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __10, __7, __d22, __8, __d27, __4, __5, __d25, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createAlertConfigRoute, i));
|
|
41
|
+
|
|
42
|
+
export const createAlertgroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateAlertgroupsRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),interval:$4($3),name:$3,rules:#5:1}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __7, __d30, __4, __5, __d29, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createAlertgroups, i));
|
|
43
|
+
|
|
44
|
+
export const createAlertRecord = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateAlertRecordRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),expr:$3,labels:$5($4),record:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __8, __7, __4, __5, __d37, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createAlertRecord, i));
|
|
45
|
+
|
|
46
|
+
export const createAlertrules = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateAlertrulesRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alert:$3,annotations:$5($4),expr:$3,for:$5($3),labels:$5($4)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __8, __7, __4, __5, __d39, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createAlertrules, i));
|
|
47
|
+
|
|
48
|
+
export const createBackup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"CreateBackupRequest";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),backupTarget:$6(#5:0.pipe($4()))}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/backups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __13, __d41, __7, __4, __5, __d40, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createBackup, i));
|
|
49
|
+
|
|
50
|
+
export const createBackupSchedule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$9,$10,$11],protocol:$12,retry:$13};$8(>3)@"CreateBackupScheduleRequest";$8(>4)@"BackupSchedulePostResponse";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),backupTarget:$6(#5:0.pipe($4())),schedule:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/backup-schedules",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$7({message:$3,schedule:$3})', [__0, __1, __2, __3, __13, __d41, __7, __4, __5, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createBackupSchedule, i));
|
|
51
|
+
|
|
52
|
+
export const createCertCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:2,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"CreateCertCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),source:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/cert-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d0, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createCertCheck, i));
|
|
53
|
+
|
|
54
|
+
export const createCredentials = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("Credentials", '{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>4)@"Create%Request";$6(>5)@"%";$6(>6)@"Create%Response";$5({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),description:$4($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/credentials",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$5({description:$4($3),password:$3.pipe($7({})),username:$3});$5({credentials:#2,message:$3})', [__0, __1, __2, __3, __7, __4, __5, __11, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(createCredentials, i));
|
|
55
|
+
|
|
56
|
+
export const createElasticsearchCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateElasticsearchCheckRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),password:$5($3.pipe($4({}))),server:$3,username:$5($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __11, __7, __4, __5, __d2, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createElasticsearchCheck, i));
|
|
57
|
+
|
|
58
|
+
export const createHttpCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"CreateHttpCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),url:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/http-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d4, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createHttpCheck, i));
|
|
59
|
+
|
|
60
|
+
export const createInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$9,$10,$11],protocol:$12,retry:$13};$8(>3)@"CreateInstanceRequest";$8(>4)@"CreateInstanceResponse";$7({projectId:$3.pipe($2()),grafanaAdminEnabled:$5($4),name:$5($3),parameter:$5($6),planId:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$7({dashboardUrl:$3,instanceId:$3,message:$3})', [__0, __1, __2, __3, __10, __7, __8, __4, __5, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createInstance, i));
|
|
61
|
+
|
|
62
|
+
export const createLogsAlertgroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateLogsAlertgroupsRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),interval:$4($3),name:$3,rules:#5:1}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __7, __d30, __4, __5, __d29, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createLogsAlertgroups, i));
|
|
63
|
+
|
|
64
|
+
export const createMongodbCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"CreateMongodbCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),server:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d6, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createMongodbCheck, i));
|
|
65
|
+
|
|
66
|
+
export const createMysqlCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"CreateMysqlCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),server:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d7, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createMysqlCheck, i));
|
|
67
|
+
|
|
68
|
+
export const createNetworkCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"CreateNetworkCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),address:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/network-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d9, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createNetworkCheck, i));
|
|
69
|
+
|
|
70
|
+
export const createPingCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"CreatePingCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),url:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/ping-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d10, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createPingCheck, i));
|
|
71
|
+
|
|
72
|
+
export const createPostgresqlCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"CreatePostgresqlCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),address:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d11, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createPostgresqlCheck, i));
|
|
73
|
+
|
|
74
|
+
export const createRabbitmqCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:2,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateRabbitmqCheckRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),password:$5($3.pipe($4({}))),url:$3,username:$5($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __11, __7, __4, __5, __d12, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createRabbitmqCheck, i));
|
|
75
|
+
|
|
76
|
+
export const createRedisCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateRedisCheckRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),password:$5($3.pipe($4({}))),server:$3,username:$5($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/redis-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __11, __7, __4, __5, __d13, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createRedisCheck, i));
|
|
77
|
+
|
|
78
|
+
export const createScrapeConfig = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#13:1,errors:[$14,$15,$16],protocol:$17,retry:$18};$12(>2)@"CreateScrapeConfigRequest";$11({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),basicAuth:$5(#4:0),bearerToken:$5($3),honorLabels:$5($6),honorTimeStamps:$5($6),httpSdConfigs:$5(#7:1),jobName:$3,metricsPath:$5($3),metricsRelabelConfigs:$5(#4:2),oauth2:$5(#8:1),params:$5($9),sampleLimit:$5($10),scheme:$3,scrapeInterval:$3,scrapeTimeout:$3,staticConfigs:#4:4,tlsConfig:$5(#8:0)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d17, __7, __10, __d16, __d14, __8, __9, __4, __5, __d15, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createScrapeConfig, i));
|
|
79
|
+
|
|
80
|
+
export const deleteAlertConfigReceiver = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteAlertConfigReceiverRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),receiver:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d20, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertConfigReceiver, i));
|
|
81
|
+
|
|
82
|
+
export const deleteAlertConfigRoute = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteAlertConfigRouteRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),receiver:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d25, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertConfigRoute, i));
|
|
83
|
+
|
|
84
|
+
export const deleteAlertgroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteAlertgroupRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d29, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertgroup, i));
|
|
85
|
+
|
|
86
|
+
export const deleteAlertgroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"DeleteAlertgroupsRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:#5:0.pipe($4())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __13, __d22, __4, __5, __d29, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertgroups, i));
|
|
87
|
+
|
|
88
|
+
export const deleteAlertRecord = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteAlertRecordRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertRecord:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d37, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertRecord, i));
|
|
89
|
+
|
|
90
|
+
export const deleteAlertRecords = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"DeleteAlertRecordsRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertRecord:#5:0.pipe($4())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __13, __d22, __4, __5, __d37, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertRecords, i));
|
|
91
|
+
|
|
92
|
+
export const deleteAlertrule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteAlertruleRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d39, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertrule, i));
|
|
93
|
+
|
|
94
|
+
export const deleteAlertrules = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"DeleteAlertrulesRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertName:#5:0.pipe($4())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __13, __d22, __4, __5, __d39, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAlertrules, i));
|
|
95
|
+
|
|
96
|
+
export const deleteCertCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:2,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteCertCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/cert-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d0, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteCertCheck, i));
|
|
97
|
+
|
|
98
|
+
export const deleteCredentials = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteCredentialsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d40, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteCredentials, i));
|
|
99
|
+
|
|
100
|
+
export const deleteCredentialsRemoteWriteConfig = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>3)@"DeleteCredentialsRemoteWriteConfigRequest";$5(>4)@"CredentialsRemoteWriteDeleteResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({maxLimit:$6,message:$3})', [__0, __1, __2, __3, __4, __5, __9, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteCredentialsRemoteWriteConfig, i));
|
|
101
|
+
|
|
102
|
+
export const deleteElasticsearchCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteElasticsearchCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d2, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteElasticsearchCheck, i));
|
|
103
|
+
|
|
104
|
+
export const deleteHttpCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteHttpCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/http-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d4, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteHttpCheck, i));
|
|
105
|
+
|
|
106
|
+
export const deleteInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"DeleteInstanceRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d40, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteInstance, i));
|
|
107
|
+
|
|
108
|
+
export const deleteLogsAlertgroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteLogsAlertgroupRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d29, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteLogsAlertgroup, i));
|
|
109
|
+
|
|
110
|
+
export const deleteMongodbCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteMongodbCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d6, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteMongodbCheck, i));
|
|
111
|
+
|
|
112
|
+
export const deleteMysqlCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteMysqlCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/mysql-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d7, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteMysqlCheck, i));
|
|
113
|
+
|
|
114
|
+
export const deleteNetworkCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteNetworkCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/network-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d9, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteNetworkCheck, i));
|
|
115
|
+
|
|
116
|
+
export const deletePingCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeletePingCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/ping-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d10, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deletePingCheck, i));
|
|
117
|
+
|
|
118
|
+
export const deletePostgresqlCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeletePostgresqlCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d11, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deletePostgresqlCheck, i));
|
|
119
|
+
|
|
120
|
+
export const deleteRabbitmqCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:2,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteRabbitmqCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d12, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteRabbitmqCheck, i));
|
|
121
|
+
|
|
122
|
+
export const deleteRedisCheck = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteRedisCheckRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/redis-checks/{id}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d13, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteRedisCheck, i));
|
|
123
|
+
|
|
124
|
+
export const deleteScrapeConfig = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteScrapeConfigRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),jobName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d15, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteScrapeConfig, i));
|
|
125
|
+
|
|
126
|
+
export const deleteScrapeConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"DeleteScrapeConfigsRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),jobName:#5:0.pipe($4())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __13, __d22, __4, __5, __d15, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteScrapeConfigs, i));
|
|
127
|
+
|
|
128
|
+
export const getAlertConfigReceiver = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("Receiver", '{input:#1,output:#2,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>3)@"GetAlertConfig%Request";$5(>4)@"%";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),receiver:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({data:#6:6,message:$3})', [__0, __1, __2, __3, __4, __5, __d18, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(getAlertConfigReceiver, i));
|
|
129
|
+
|
|
130
|
+
export const getAlertConfigRoute = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetAlertConfigRouteRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),receiver:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d25, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getAlertConfigRoute, i));
|
|
131
|
+
|
|
132
|
+
export const getAlertConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:4,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetAlertConfigsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d31, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getAlertConfigs, i));
|
|
133
|
+
|
|
134
|
+
export const getAlertgroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetAlertgroupRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d32, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getAlertgroup, i));
|
|
135
|
+
|
|
136
|
+
export const getAlertRecord = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>3)@"GetAlertRecordRequest";$5(>4)@"AlertRecordResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertRecord:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({data:#6:0,message:$3})', [__0, __1, __2, __3, __4, __5, __d36, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getAlertRecord, i));
|
|
137
|
+
|
|
138
|
+
export const getAlertrule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>3)@"GetAlertruleRequest";$5(>4)@"AlertRuleResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({data:#6:0,message:$3})', [__0, __1, __2, __3, __4, __5, __d38, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getAlertrule, i));
|
|
139
|
+
|
|
140
|
+
export const getCredentials = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>3)@"GetCredentialsRequest";$5(>4)@"GetCredentialsResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({credentialsInfo:$7(#6:0),id:$3,message:$3,name:$3})', [__0, __1, __2, __3, __4, __5, __d23, __7, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getCredentials, i));
|
|
141
|
+
|
|
142
|
+
export const getCredentialsRemoteWriteConfig = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetCredentialsRemoteWriteConfigRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d33, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getCredentialsRemoteWriteConfig, i));
|
|
143
|
+
|
|
144
|
+
export const getGrafanaConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("GrafanaConfigs", '{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$5(>3)@"Get%Request";$5(>4)@"%";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/grafana-configs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({genericOauth:$7(#6:0),message:$3,publicReadAccess:$7($8),useStackitSso:$7($8)})', [__0, __1, __2, __3, __4, __5, __d34, __7, __10, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(getGrafanaConfigs, i));
|
|
145
|
+
|
|
146
|
+
export const getInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[$12,$13],protocol:$14,retry:$15};$5(>5)@"GetInstanceRequest";$5(>6)@"PlanModel";$5(>7)@"InstanceSensitiveData";$5(>8)@"GetInstanceResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({alertMatchers:$6,alertReceivers:$6,alertRules:$6,amount:$7($6),bucketSize:$6,description:$7($3),grafanaGlobalDashboards:$6,grafanaGlobalOrgs:$6,grafanaGlobalSessions:$6,grafanaGlobalUsers:$6,id:$3,logsAlert:$6,logsStorage:$6,name:$7($3),planId:$3,samplesPerScrape:$6,targetNumber:$6,totalMetricSamples:$6,tracesStorage:$6});$4({alertingUrl:$3,cluster:$3,grafanaAdminEnabled:$8,grafanaAdminPassword:$7($3.pipe($9({}))),grafanaAdminUser:$7($3),grafanaPublicReadAccess:$8,grafanaUrl:$3,grafanaUseStackitSso:$8,instance:$3,jaegerHttpTracesUrl:$7($3),jaegerHttpUrl:$3,jaegerTracesUrl:$3,jaegerUiUrl:$3,logsPushUrl:$3,logsUrl:$3,metricsEndpointUrl:$3,metricsRetentionTime1h:$6,metricsRetentionTime5m:$6,metricsRetentionTimeRaw:$6,metricsUrl:$3,name:$7($3),otlpGrpcTracesUrl:$3,otlpHttpLogsUrl:$3,otlpHttpTracesUrl:$3,otlpTracesUrl:$3,plan:#2,pushMetricsUrl:$3,targetsUrl:$3,zipkinSpansUrl:$3});$4({dashboardUrl:$3,error:$7($10($3)),id:$3,instance:#3,isUpdatable:$7($8),message:$3,name:$7($3),parameters:$7(#11:0),planId:$3,planName:$3,planSchema:$7($3),serviceName:$3,status:$3})', [__0, __1, __2, __3, __4, __5, __9, __7, __10, __11, __14, __d23, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getInstance, i));
|
|
147
|
+
|
|
148
|
+
export const getLogsAlertgroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetLogsAlertgroupRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d32, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getLogsAlertgroup, i));
|
|
149
|
+
|
|
150
|
+
export const getLogsConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetLogsConfigsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/logs-configs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d35, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getLogsConfigs, i));
|
|
151
|
+
|
|
152
|
+
export const getMetricsStorageRetention = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$6,$7],protocol:$8,retry:$9};$5(>3)@"GetMetricsStorageRetentionRequest";$5(>4)@"GetMetricsStorageRetentionResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({message:$3,metricsRetentionTime1h:$3,metricsRetentionTime5m:$3,metricsRetentionTimeRaw:$3})', [__0, __1, __2, __3, __4, __5, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getMetricsStorageRetention, i));
|
|
153
|
+
|
|
154
|
+
export const getScrapeConfig = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$5(>3)@"GetScrapeConfigRequest";$5(>4)@"GetScrapeConfigResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),jobName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({data:#6:10,message:$3})', [__0, __1, __2, __3, __4, __5, __d14, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getScrapeConfig, i));
|
|
155
|
+
|
|
156
|
+
export const getTracesConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetTracesConfigsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/traces-configs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d35, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getTracesConfigs, i));
|
|
157
|
+
|
|
158
|
+
export const listACL = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$5(>3)@"ListACLRequest";$5(>4)@"ListACLResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/acl",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({acl:#6:0,message:$3})', [__0, __1, __2, __3, __4, __5, __d22, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listACL, i));
|
|
159
|
+
|
|
160
|
+
export const listAlertConfigReceivers = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ListAlertConfigReceiversRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d20, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listAlertConfigReceivers, i));
|
|
161
|
+
|
|
162
|
+
export const listAlertConfigRoutes = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ListAlertConfigRoutesRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d25, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listAlertConfigRoutes, i));
|
|
163
|
+
|
|
164
|
+
export const listAlertgroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListAlertgroupsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d29, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listAlertgroups, i));
|
|
165
|
+
|
|
166
|
+
export const listAlertRecords = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ListAlertRecordsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d37, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listAlertRecords, i));
|
|
167
|
+
|
|
168
|
+
export const listAlertrules = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ListAlertrulesRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d39, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listAlertrules, i));
|
|
169
|
+
|
|
170
|
+
export const listBackupRetentions = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$6,$7],protocol:$8,retry:$9};$5(>3)@"ListBackupRetentionsRequest";$5(>4)@"BackupRetentionResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/backup-retentions",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({alertConfigBackupRetention:$3,alertRulesBackupRetention:$3,grafanaBackupRetention:$3,message:$3,scrapeConfigBackupRetention:$3})', [__0, __1, __2, __3, __4, __5, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listBackupRetentions, i));
|
|
171
|
+
|
|
172
|
+
export const listBackups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13};$8(>3)@"ListBackupsRequest";$8(>4)@"BackupResponse";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),backupTarget:$6(#5:0.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/backups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$7({alertConfigBackups:#9:0,alertRulesBackups:#9:0,grafanaBackups:#9:0,message:$3,scrapeConfigBackups:#9:0})', [__0, __1, __2, __3, __13, __d41, __7, __4, __5, __d22, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listBackups, i));
|
|
173
|
+
|
|
174
|
+
export const listBackupSchedules = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("BackupSchedule", '{input:#1,output:#4,errors:[$10,$11],protocol:$12,retry:$13};$8(>5)@"List%sRequest";$8(>6)@"%";$9(#2);$8(>7)@"%Response";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),backupTarget:$6(#5:0.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/backup-schedules",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$7({schedule:$3,scheduleId:$3});$7({alertConfigBackupSchedules:$6(#3),alertRulesBackupSchedules:$6(#3),grafanaBackupSchedules:$6(#3),message:$3,scrapeConfigBackupSchedules:$6(#3)})', [__0, __1, __2, __3, __13, __d41, __7, __4, __5, __6, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(listBackupSchedules, i));
|
|
175
|
+
|
|
176
|
+
export const listCertChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:2,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListCertChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/cert-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d0, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listCertChecks, i));
|
|
177
|
+
|
|
178
|
+
export const listCredentials = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[$9,$10],protocol:$11,retry:$12};$5(>5)@"ListCredentialsRequest";$5(>6)@"ServiceKeysList";$8(#2);$5(>7)@"ListCredentialsResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/credentials",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({credentialsInfo:$7(#6:0),description:$7($3),id:$3,name:$3});$4({credentials:#3,message:$3})', [__0, __1, __2, __3, __4, __5, __d23, __7, __6, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listCredentials, i));
|
|
179
|
+
|
|
180
|
+
export const listElasticsearchChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListElasticsearchChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d2, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listElasticsearchChecks, i));
|
|
181
|
+
|
|
182
|
+
export const listHttpChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListHttpChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/http-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d4, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listHttpChecks, i));
|
|
183
|
+
|
|
184
|
+
export const listInstances = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[$9,$10],protocol:$11,retry:$12};$5(>5)@"ListInstancesRequest";$5(>6)@"ProjectInstanceFull";$8(#2);$5(>7)@"ListInstancesResponse";$4({projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({error:$7($6($3)),id:$3,instance:$3,name:$7($3),planName:$3,serviceName:$3,status:$3});$4({instances:#3,message:$3})', [__0, __1, __2, __3, __4, __5, __14, __7, __6, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listInstances, i));
|
|
185
|
+
|
|
186
|
+
export const listLogsAlertgroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListLogsAlertgroupsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d29, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listLogsAlertgroups, i));
|
|
187
|
+
|
|
188
|
+
export const listMongodbChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListMongodbChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d6, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listMongodbChecks, i));
|
|
189
|
+
|
|
190
|
+
export const listMysqlChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListMysqlChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d7, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listMysqlChecks, i));
|
|
191
|
+
|
|
192
|
+
export const listNetworkChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListNetworkChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/network-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d9, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listNetworkChecks, i));
|
|
193
|
+
|
|
194
|
+
export const listOfferings = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("Offerings", '{input:#1,output:#2,errors:[$8,$9],protocol:$10,retry:$11};$5(>3)@"List%Request";$5(>4)@"%";$4({projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/offerings",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({description:$3,documentationUrl:$3,imageUrl:$3,name:$3,plans:#6:1,tags:#7:0})', [__0, __1, __2, __3, __4, __5, __d42, __d22, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(listOfferings, i));
|
|
195
|
+
|
|
196
|
+
export const listPingChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListPingChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/ping-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d10, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listPingChecks, i));
|
|
197
|
+
|
|
198
|
+
export const listPlans = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$5(>3)@"ListPlansRequest";$5(>4)@"PlansResponse";$4({projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/plans",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}));$4({message:$3,plans:#6:1})', [__0, __1, __2, __3, __4, __5, __d42, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listPlans, i));
|
|
199
|
+
|
|
200
|
+
export const listPostgresqlChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListPostgresqlChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d11, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listPostgresqlChecks, i));
|
|
201
|
+
|
|
202
|
+
export const listRabbitmqChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:2,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListRabbitmqChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d12, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listRabbitmqChecks, i));
|
|
203
|
+
|
|
204
|
+
export const listRedisChecks = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"ListRedisChecksRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/redis-checks",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d13, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listRedisChecks, i));
|
|
205
|
+
|
|
206
|
+
export const listScrapeConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ListScrapeConfigsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d15, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listScrapeConfigs, i));
|
|
207
|
+
|
|
208
|
+
export const partialUpdateAlertgroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"PartialUpdateAlertgroupsRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),body:#5:1.pipe($4())}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __15, __d43, __4, __5, __d29, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(partialUpdateAlertgroups, i));
|
|
209
|
+
|
|
210
|
+
export const partialUpdateAlertRecords = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("PartialUpdateAlertRecordsRequest", '{input:#3,output:#10:1,errors:[$11,$12,$13],protocol:$14,retry:$15};$5(>4)@"%BodyItem";$6(#1);$5(>5)@"%";$4({expr:$1,labels:$3($2),record:$1});$4({projectId:$1.pipe($8()),instanceId:$1.pipe($8()),groupName:$1.pipe($8()),body:#2.pipe($9())}).pipe($7({method:"PATCH",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __3, __8, __7, __4, __5, __6, __1, __2, __15, __d37, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(partialUpdateAlertRecords, i));
|
|
211
|
+
|
|
212
|
+
export const partialUpdateAlertrules = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("PartialUpdateAlertrulesRequest", '{input:#3,output:#10:1,errors:[$11,$12,$13],protocol:$14,retry:$15};$5(>4)@"%BodyItem";$6(#1);$5(>5)@"%";$4({alert:$1,annotations:$3($2),expr:$1,for:$3($1),labels:$3($2)});$4({projectId:$1.pipe($8()),instanceId:$1.pipe($8()),groupName:$1.pipe($8()),body:#2.pipe($9())}).pipe($7({method:"PATCH",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __3, __8, __7, __4, __5, __6, __1, __2, __15, __d39, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(partialUpdateAlertrules, i));
|
|
213
|
+
|
|
214
|
+
export const partialUpdateScrapeConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("PartialUpdateScrapeConfigsRequest", '{input:#3,output:#15:1,errors:[$16,$17,$18],protocol:$19,retry:$20};$10(>4)@"%BodyItem";$11(#1);$10(>5)@"%";$9({basicAuth:$2(#1:0),bearerToken:$2($3),honorLabels:$2($4),honorTimeStamps:$2($4),httpSdConfigs:$2(#5:1),jobName:$3,metricsPath:$2($3),metricsRelabelConfigs:$2(#1:2),oauth2:$2(#6:1),params:$2($7),sampleLimit:$2($8),scheme:$3,scrapeInterval:$3,scrapeTimeout:$3,staticConfigs:#1:4,tlsConfig:$2(#6:0)});$9({projectId:$3.pipe($13()),instanceId:$3.pipe($13()),body:#2.pipe($14())}).pipe($12({method:"PATCH",uri:"/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __d17, __7, __3, __10, __d16, __d14, __8, __9, __4, __5, __6, __1, __2, __15, __d15, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(partialUpdateScrapeConfigs, i));
|
|
215
|
+
|
|
216
|
+
export const restoreBackup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>2)@"RestoreBackupRequest";$5({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),backupDate:$3.pipe($2()),restoreTarget:$3.pipe($4())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/backup-restores/{backupDate}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __13, __4, __5, __d40, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(restoreBackup, i));
|
|
217
|
+
|
|
218
|
+
export const updateACL = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>2)@"UpdateACLRequest";$5({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),acl:#4:0}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/acl",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d22, __4, __5, __d40, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateACL, i));
|
|
219
|
+
|
|
220
|
+
export const updateAlertConfigReceiver = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12,$13],protocol:$14,retry:$15};$8(>2)@"UpdateAlertConfigReceiverRequest";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),receiver:$3.pipe($2()),emailConfigs:$5(#4:1),name:$3,opsgenieConfigs:$5(#6:1),webHookConfigs:$5(#4:3)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d21, __7, __d18, __4, __5, __d20, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateAlertConfigReceiver, i));
|
|
221
|
+
|
|
222
|
+
export const updateAlertConfigRoute = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#11:0,errors:[$12,$13,$14,$15],protocol:$16,retry:$17};$10(>2)@"UpdateAlertConfigRouteRequest";$9({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),receiver:$3.pipe($2()),continue:$5($4),groupBy:$5(#6:0),groupInterval:$5($3),groupWait:$5($3),match:$5($7),matchRe:$5($7),matchers:$5(#6:0),repeatInterval:$5($3),routes:$5(#8:2)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __10, __7, __d22, __8, __d27, __4, __5, __d25, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateAlertConfigRoute, i));
|
|
223
|
+
|
|
224
|
+
export const updateAlertConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("UpdateAlertConfigsRequest", '{input:#5,output:#14:4,errors:[$15,$16,$17],protocol:$18,retry:$19};$5(>6)@"%InhibitRules";$5(>7)@"%ReceiversItem";$9(#2);$5(>8)@"%Route";$5(>9)@"%";$4({equal:$2(#1:0),sourceMatch:$2($3),sourceMatchRe:$2($3),targetMatch:$2($3),targetMatchRe:$2($3)});$4({emailConfigs:$2(#6:1),name:$7,opsgenieConfigs:$2(#8:1),webHookConfigs:$2(#6:3)});$4({continue:$2($10),groupBy:$2(#1:0),groupInterval:$2($7),groupWait:$2($7),match:$2($3),matchRe:$2($3),receiver:$7,repeatInterval:$2($7),routes:$2(#11:2)});$4({projectId:$7.pipe($13()),instanceId:$7.pipe($13()),global:$2(#14:0),inhibitRules:$2(#1),receivers:#3,route:#4}).pipe($12({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertconfigs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __d22, __7, __8, __4, __5, __d21, __3, __d18, __6, __10, __d27, __1, __2, __d31, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(updateAlertConfigs, i));
|
|
225
|
+
|
|
226
|
+
export const updateAlertgroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateAlertgroupRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),interval:$4($3),rules:#5:1}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __7, __d30, __4, __5, __d29, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateAlertgroup, i));
|
|
227
|
+
|
|
228
|
+
export const updateAlertgroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"UpdateAlertgroupsRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),body:#5:1.pipe($4())}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __15, __d43, __4, __5, __d29, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateAlertgroups, i));
|
|
229
|
+
|
|
230
|
+
export const updateAlertRecord = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateAlertRecordRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertRecord:$3.pipe($2()),expr:$3,labels:$5($4)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __8, __7, __4, __5, __d37, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateAlertRecord, i));
|
|
231
|
+
|
|
232
|
+
export const updateAlertrule = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateAlertruleRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),alertName:$3.pipe($2()),annotations:$5($4),expr:$3,for:$5($3),labels:$5($4)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __8, __7, __4, __5, __d39, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateAlertrule, i));
|
|
233
|
+
|
|
234
|
+
export const updateCredentialsRemoteWriteConfig = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateCredentialsRemoteWriteConfigRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),username:$3.pipe($2()),maxLimit:$5($4)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __9, __7, __4, __5, __d33, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateCredentialsRemoteWriteConfig, i));
|
|
235
|
+
|
|
236
|
+
export const updateGrafanaConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"UpdateGrafanaConfigsRequest";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),genericOauth:$5(#4:0),publicReadAccess:$5($6),useStackitSso:$5($6)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/grafana-configs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d34, __7, __10, __4, __5, __d40, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateGrafanaConfigs, i));
|
|
237
|
+
|
|
238
|
+
export const updateInstance = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"UpdateInstanceRequest";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),grafanaAdminEnabled:$5($4),name:$5($3),parameter:$5($6),planId:$5($3)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __10, __7, __8, __4, __5, __d40, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateInstance, i));
|
|
239
|
+
|
|
240
|
+
export const updateLogsAlertgroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateLogsAlertgroupRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),groupName:$3.pipe($2()),interval:$4($3),rules:#5:1}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __7, __d30, __4, __5, __d29, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateLogsAlertgroup, i));
|
|
241
|
+
|
|
242
|
+
export const updateLogsConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"UpdateLogsConfigsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),retention:$3}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/logs-configs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d40, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateLogsConfigs, i));
|
|
243
|
+
|
|
244
|
+
export const updateMetricsStorageRetention = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"UpdateMetricsStorageRetentionRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),metricsRetentionTime1h:$3,metricsRetentionTime5m:$3,metricsRetentionTimeRaw:$3}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d40, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateMetricsStorageRetention, i));
|
|
245
|
+
|
|
246
|
+
export const updateScrapeConfig = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#12:1,errors:[$13,$14,$15,$16],protocol:$17,retry:$18};$11(>2)@"UpdateScrapeConfigRequest";$10({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),jobName:$3.pipe($2()),basicAuth:$5(#4:0),bearerToken:$5($3),honorLabels:$5($6),honorTimeStamps:$5($6),metricsPath:$3,metricsRelabelConfigs:$5(#4:2),params:$5($7),sampleLimit:$5($8),scheme:$3,scrapeInterval:$3,scrapeTimeout:$3,staticConfigs:#4:4,tlsConfig:$5(#9:0)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d17, __7, __10, __8, __9, __d14, __4, __5, __d15, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateScrapeConfig, i));
|
|
247
|
+
|
|
248
|
+
export const updateTracesConfigs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"UpdateTracesConfigsRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),retention:$3}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/traces-configs",code:200,baseUrl:"https://argus.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d40, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateTracesConfigs, i));
|
|
249
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
250
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
// Shared schema data (see `op` in core/api).
|
|
254
|
+
function __d0() {
|
|
255
|
+
return ['$3(>3)@"CertCheckChildResponse";$4(#0);$3(>4)@"CertCheckResponse";$2({id:$1,source:$1});$2({certCheck:$5(#0),certChecks:#1,message:$1})', [__0, __3, __4, __5, __6, __7]];
|
|
15
256
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
code: S.Number,
|
|
19
|
-
message: S.String,
|
|
20
|
-
}).pipe(C.withAuthError), [{ status: 403 }]) {
|
|
257
|
+
function __d1() {
|
|
258
|
+
return ['$5(>2)@"ElasticsearchCheckChildResponse";$6(#0);$4({id:$1,password:$3($1.pipe($2({}))),server:$1,username:$3($1)})', [__0, __3, __11, __7, __4, __5, __6]];
|
|
21
259
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
260
|
+
function __d2() {
|
|
261
|
+
return ['$5(>1)@"ElasticsearchCheckResponse";$4({elasticsearchCheck:$2(#1:0),elasticsearchChecks:#1:1,message:$3})', [__0, __d1, __7, __3, __4, __5]];
|
|
262
|
+
}
|
|
263
|
+
function __d3() {
|
|
264
|
+
return ['$3(>2)@"HttpCheckChildResponse";$4(#0);$2({id:$1,url:$1})', [__0, __3, __4, __5, __6]];
|
|
265
|
+
}
|
|
266
|
+
function __d4() {
|
|
267
|
+
return ['$5(>1)@"HttpCheckResponse";$4({httpCheck:$2(#1:0),httpChecks:#1:1,message:$3})', [__0, __d3, __7, __3, __4, __5]];
|
|
268
|
+
}
|
|
269
|
+
function __d5() {
|
|
270
|
+
return ['$3(>2)@"MongodbCheckChildResponse";$4(#0);$2({id:$1,server:$1})', [__0, __3, __4, __5, __6]];
|
|
271
|
+
}
|
|
272
|
+
function __d6() {
|
|
273
|
+
return ['$5(>1)@"MongodbCheckResponse";$4({message:$1,mongodbCheck:$3(#2:0),mongodbChecks:#2:1})', [__0, __3, __d5, __7, __4, __5]];
|
|
274
|
+
}
|
|
275
|
+
function __d7() {
|
|
276
|
+
return ['$5(>1)@"MysqlCheckResponse";$4({message:$1,mysqlCheck:$3(#2:0),mysqlChecks:#2:1})', [__0, __3, __d5, __7, __4, __5]];
|
|
277
|
+
}
|
|
278
|
+
function __d8() {
|
|
279
|
+
return ['$3(>2)@"NetworkCheckChildResponse";$4(#0);$2({address:$1,id:$1})', [__0, __3, __4, __5, __6]];
|
|
280
|
+
}
|
|
281
|
+
function __d9() {
|
|
282
|
+
return ['$5(>1)@"NetworkCheckResponse";$4({message:$1,networkCheck:$3(#2:0),networkChecks:#2:1})', [__0, __3, __d8, __7, __4, __5]];
|
|
283
|
+
}
|
|
284
|
+
function __d10() {
|
|
285
|
+
return ['$5(>1)@"PingCheckResponse";$4({message:$1,pingCheck:$3(#2:0),pingChecks:#2:1})', [__0, __3, __d3, __7, __4, __5]];
|
|
286
|
+
}
|
|
287
|
+
function __d11() {
|
|
288
|
+
return ['$5(>1)@"PostgresqlCheckResponse";$4({message:$1,postgresqlCheck:$3(#2:0),postgresqlChecks:#2:1})', [__0, __3, __d8, __7, __4, __5]];
|
|
289
|
+
}
|
|
290
|
+
function __d12() {
|
|
291
|
+
return ['$5(>3)@"RabbitMQCheckChildResponse";$6(#0);$5(>4)@"RabbitmqCheckResponse";$4({id:$1,password:$3($1.pipe($2({}))),url:$1,username:$3($1)});$4({message:$1,rabbitmqCheck:$3(#0),rabbitmqChecks:#1})', [__0, __3, __11, __7, __4, __5, __6]];
|
|
292
|
+
}
|
|
293
|
+
function __d13() {
|
|
294
|
+
return ['$5(>1)@"RedisCheckResponse";$4({message:$1,redisCheck:$3(#2:0),redisChecks:#2:1})', [__0, __3, __d1, __7, __4, __5]];
|
|
295
|
+
}
|
|
296
|
+
function __d14() {
|
|
297
|
+
return ['$4(>11)@"CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig";$4(>12)@"CreateScrapeConfigRequestHttpSdConfigsItemOauth2";$4(>13)@"BasicAuth";$4(>14)@"HTTPServiceSD";$8(#3);$4(>15)@"MetricsRelabelConfig";$8(#5);$10($5,#7:0);$4(>16)@"StaticConfigs";$8(#8);$4(>17)@"Job";$3({insecureSkipVerify:$2($1)});$3({clientId:$5,clientSecret:$5.pipe($6({})),scopes:$2(#7:0),tlsConfig:$2(#0),tokenUrl:$5});$3({password:$5.pipe($6({})),username:$5});$3({basicAuth:$2(#2),oauth2:$2(#1),refreshInterval:$2($5),tlsConfig:$2(#0),url:$5});$3({action:$2($5),modulus:$2($9),regex:$2($5),replacement:$2($5),separator:$2($5),sourceLabels:#7:0,targetLabel:$2($5)});$3({labels:$2(#11:0),targets:#7:0});$3({basicAuth:$2(#2),bearerToken:$2($5),honorLabels:$2($1),honorTimeStamps:$2($1),httpSdConfigs:$2(#4),jobName:$5,metricsPath:$2($5),metricsRelabelConfigs:$2(#6),oauth2:$2(#1),params:$2(#7),sampleLimit:$2($9),scheme:$2($5),scrapeInterval:$5,scrapeTimeout:$5,staticConfigs:#9,tlsConfig:$2(#0)})', [__0, __10, __7, __4, __5, __3, __11, __d22, __6, __9, __12, __d26]];
|
|
298
|
+
}
|
|
299
|
+
function __d15() {
|
|
300
|
+
return ['$2(#1:10);$5(>2)@"ScrapeConfigsResponse";$4({data:#0,message:$3})', [__0, __d14, __6, __3, __4, __5]];
|
|
301
|
+
}
|
|
302
|
+
function __d16() {
|
|
303
|
+
return ['$6(>2)@"CreateScrapeConfigRequestHttpSdConfigsItem";$7(#0);$5({basicAuth:$2(#1:0),oauth2:$2(#3:1),refreshInterval:$2($4),tlsConfig:$2(#3:0),url:$4})', [__0, __d17, __7, __d14, __3, __4, __5, __6]];
|
|
304
|
+
}
|
|
305
|
+
function __d17() {
|
|
306
|
+
return ['$5(>5)@"CreateScrapeConfigRequestBasicAuth";$5(>6)@"CreateScrapeConfigRequestMetricsRelabelConfigsItem";$8(#1);$5(>7)@"CreateScrapeConfigRequestStaticConfigsItem";$8(#3);$4({password:$3($2.pipe($1({}))),username:$3($2)});$4({action:$3($2),modulus:$3($6),regex:$3($2),replacement:$3($2),separator:$3($2),sourceLabels:$3(#7:0),targetLabel:$3($2)});$4({labels:$3($9),targets:#7:0})', [__0, __11, __3, __7, __4, __5, __9, __d22, __6, __8]];
|
|
307
|
+
}
|
|
308
|
+
function __d18() {
|
|
309
|
+
return ['$6(>7)@"CreateAlertConfigReceiverRequestOpsgenieConfigsItem";$7(#0);$6(>8)@"EmailConfig";$7(#2);$6(>9)@"WebHook";$7(#4);$6(>10)@"Receivers";$5({apiKey:$3($2.pipe($1({}))),apiUrl:$3($2),priority:$3($2),sendResolved:$3($4),tags:$3($2)});$5({authIdentity:$3($2),authPassword:$3($2.pipe($1({}))),authUsername:$3($2),from:$3($2),sendResolved:$3($4),smarthost:$3($2),to:$2});$5({googleChat:$3($4),msTeams:$3($4),sendResolved:$3($4),url:$2});$5({emailConfigs:$3(#3),name:$2,opsgenieConfigs:$3(#1),webHookConfigs:$3(#5)})', [__0, __11, __3, __7, __10, __4, __5, __6]];
|
|
310
|
+
}
|
|
311
|
+
function __d19() {
|
|
312
|
+
return ['$2(#1:6)', [__0, __d18, __6]];
|
|
313
|
+
}
|
|
314
|
+
function __d20() {
|
|
315
|
+
return ['$4(>1)@"AlertConfigReceiversResponse";$3({data:#1:0,message:$2})', [__0, __d19, __3, __4, __5]];
|
|
316
|
+
}
|
|
317
|
+
function __d21() {
|
|
318
|
+
return ['$6(>4)@"CreateAlertConfigReceiverRequestEmailConfigsItem";$7(#0);$6(>5)@"CreateAlertConfigReceiverRequestWebHookConfigsItem";$7(#2);$5({authIdentity:$2($1),authPassword:$2($1.pipe($3({}))),authUsername:$2($1),from:$2($1),sendResolved:$2($4),smarthost:$2($1),to:$2($1)});$5({googleChat:$2($4),msTeams:$2($4),sendResolved:$2($4),url:$2($1)})', [__0, __3, __7, __11, __10, __4, __5, __6]];
|
|
319
|
+
}
|
|
320
|
+
function __d22() {
|
|
321
|
+
return ['$2($1)', [__0, __3, __6]];
|
|
322
|
+
}
|
|
323
|
+
function __d23() {
|
|
324
|
+
return ['$3($1,$2($1))', [__0, __3, __14, __12]];
|
|
325
|
+
}
|
|
326
|
+
function __d24() {
|
|
327
|
+
return ['$2(#1:0);$9(>4)@"RouteSerializer";$2(#1);$9(>5)@"Route";$8({continue:$4($3),groupBy:$4(#5:0),groupInterval:$4($6),groupWait:$4($6),match:$4(#7:0),matchRe:$4(#7:0),matchers:$4(#5:0),receiver:$6,repeatInterval:$4($6),routes:$4(#0)});$8({continue:$4($3),groupBy:$4(#5:0),groupInterval:$4($6),groupWait:$4($6),match:$4(#7:0),matchRe:$4(#7:0),matchers:$4(#5:0),receiver:$6,repeatInterval:$4($6),routes:$4(#2)})', [__0, __d23, __6, __10, __7, __d22, __3, __d26, __4, __5]];
|
|
328
|
+
}
|
|
329
|
+
function __d25() {
|
|
330
|
+
return ['$4(>1)@"AlertConfigRouteResponse";$3({data:#1:3,message:$2})', [__0, __d24, __3, __4, __5]];
|
|
331
|
+
}
|
|
332
|
+
function __d26() {
|
|
333
|
+
return ['$2($1,$1)', [__0, __3, __12]];
|
|
334
|
+
}
|
|
335
|
+
function __d27() {
|
|
336
|
+
return ['$2($1);$8(>3)@"CreateAlertConfigRouteRequestRoutesItem";$2(#1);$7({continue:$4($3),groupBy:$4(#5:0),groupInterval:$4($6),groupWait:$4($6),match:$4($1),matchRe:$4($1),matchers:$4(#5:0),receiver:$4($6),repeatInterval:$4($6),routes:$4(#0)})', [__0, __8, __6, __10, __7, __d22, __3, __4, __5]];
|
|
337
|
+
}
|
|
338
|
+
function __d28() {
|
|
339
|
+
return ['$5(>3)@"AlertRuleRecord";$6(#0);$5(>4)@"AlertGroup";$4({alert:$2($1),annotations:$2(#3:0),expr:$1,for:$2($1),labels:$2(#3:0),record:$2($1)});$4({interval:$2($1),name:$1,rules:#1})', [__0, __3, __7, __d26, __4, __5, __6]];
|
|
340
|
+
}
|
|
341
|
+
function __d29() {
|
|
342
|
+
return ['$2(#1:2);$5(>2)@"AlertGroupsResponse";$4({data:#0,message:$3})', [__0, __d28, __6, __3, __4, __5]];
|
|
343
|
+
}
|
|
344
|
+
function __d30() {
|
|
345
|
+
return ['$5(>2)@"CreateAlertgroupsRequestRulesItem";$6(#0);$4({alert:$2($1),annotations:$2($3),expr:$1,for:$2($1),labels:$2($3),record:$2($1)})', [__0, __3, __7, __8, __4, __5, __6]];
|
|
346
|
+
}
|
|
347
|
+
function __d31() {
|
|
348
|
+
return ['$5(>5)@"Global";$5(>6)@"InhibitRules";$8(#1);$5(>7)@"Alert";$5(>8)@"GetAlertConfigsResponse";$4({opsgenieApiKey:$2($1),opsgenieApiUrl:$2($1),resolveTimeout:$2($1),smtpAuthIdentity:$2($1),smtpAuthPassword:$2($1.pipe($3({}))),smtpAuthUsername:$2($1),smtpFrom:$2($1),smtpSmarthost:$2($1)});$4({equal:$2(#6:0),sourceMatch:$2(#7:0),sourceMatchRe:$2(#7:0),sourceMatchers:$2(#6:0),targetMatch:$2(#7:0),targetMatchRe:$2(#7:0),targetMatchers:$2(#6:0)});$4({global:$2(#0),inhibitRules:$2(#2),receivers:#9:0,route:#10:3});$4({data:#3,message:$1})', [__0, __3, __7, __11, __4, __5, __d22, __d26, __6, __d19, __d24]];
|
|
349
|
+
}
|
|
350
|
+
function __d32() {
|
|
351
|
+
return ['$4(>1)@"AlertGroupResponse";$3({data:#1:2,message:$2})', [__0, __d28, __3, __4, __5]];
|
|
352
|
+
}
|
|
353
|
+
function __d33() {
|
|
354
|
+
return ['$4(>1)@"CredentialsRemoteWriteConfig";$3({credentialsMaxLimit:$1,maxLimit:$1,message:$2})', [__0, __9, __3, __4, __5]];
|
|
355
|
+
}
|
|
356
|
+
function __d34() {
|
|
357
|
+
return ['$5(>1)@"GrafanaOauth";$4({allowAssignGrafanaAdmin:$2($1),apiUrl:$3,authUrl:$3,enabled:$1,name:$2($3),oauthClientId:$3,oauthClientSecret:$3,roleAttributePath:$3,roleAttributeStrict:$2($1),scopes:$2($3),tokenUrl:$3,usePkce:$2($1)})', [__0, __10, __7, __3, __4, __5]];
|
|
358
|
+
}
|
|
359
|
+
function __d35() {
|
|
360
|
+
return ['$3(>2)@"LogsConfig";$3(>3)@"LogsConfigResponse";$2({retention:$1});$2({config:#0,message:$1})', [__0, __3, __4, __5]];
|
|
361
|
+
}
|
|
362
|
+
function __d36() {
|
|
363
|
+
return ['$5(>1)@"AlertRecord";$4({expr:$1,labels:$3(#2:0),record:$1})', [__0, __3, __d26, __7, __4, __5]];
|
|
364
|
+
}
|
|
365
|
+
function __d37() {
|
|
366
|
+
return ['$2(#1:0);$5(>2)@"AlertRecordsResponse";$4({data:#0,message:$3})', [__0, __d36, __6, __3, __4, __5]];
|
|
367
|
+
}
|
|
368
|
+
function __d38() {
|
|
369
|
+
return ['$5(>1)@"AlertRule";$4({alert:$1,annotations:$3(#2:0),expr:$1,for:$3($1),labels:$3(#2:0)})', [__0, __3, __d26, __7, __4, __5]];
|
|
370
|
+
}
|
|
371
|
+
function __d39() {
|
|
372
|
+
return ['$2(#1:0);$5(>2)@"AlertRulesResponse";$4({data:#0,message:$3})', [__0, __d38, __6, __3, __4, __5]];
|
|
373
|
+
}
|
|
374
|
+
function __d40() {
|
|
375
|
+
return ['$3(>1)@"Message";$2({message:$1})', [__0, __3, __4, __5]];
|
|
376
|
+
}
|
|
377
|
+
function __d41() {
|
|
378
|
+
return ['$2($1)', [__0, __3, __6]];
|
|
379
|
+
}
|
|
380
|
+
function __d42() {
|
|
381
|
+
return ['$6(>2)@"Plan";$7(#0);$5({alertMatchers:$1,alertReceivers:$1,alertRules:$1,amount:$2($1),bucketSize:$1,description:$2($3),grafanaGlobalDashboards:$1,grafanaGlobalOrgs:$1,grafanaGlobalSessions:$1,grafanaGlobalUsers:$1,id:$3,isFree:$2($4),isPublic:$2($4),logsAlert:$1,logsStorage:$1,name:$2($3),planId:$3,samplesPerScrape:$1,schema:$2($3),targetNumber:$1,totalMetricSamples:$1,tracesStorage:$1})', [__0, __9, __7, __3, __10, __4, __5, __6]];
|
|
382
|
+
}
|
|
383
|
+
function __d43() {
|
|
384
|
+
return ['$5(>2)@"PartialUpdateAlertgroupsRequestBodyItem";$6(#0);$4({interval:$2($1),name:$1,rules:#3:1})', [__0, __3, __7, __d30, __4, __5, __6]];
|
|
27
385
|
}
|
|
28
|
-
export const CreateAlertConfigReceiverRequestEmailConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
29
|
-
authIdentity: S.optional(S.String),
|
|
30
|
-
authPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
31
|
-
authUsername: S.optional(S.String),
|
|
32
|
-
from: S.optional(S.String),
|
|
33
|
-
sendResolved: S.optional(S.Boolean),
|
|
34
|
-
smarthost: S.optional(S.String),
|
|
35
|
-
to: S.optional(S.String),
|
|
36
|
-
})).annotate({
|
|
37
|
-
identifier: "CreateAlertConfigReceiverRequestEmailConfigsItem",
|
|
38
|
-
});
|
|
39
|
-
export const CreateAlertConfigReceiverRequestEmailConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
40
|
-
export const CreateAlertConfigReceiverRequestOpsgenieConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
41
|
-
apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
42
|
-
apiUrl: S.optional(S.String),
|
|
43
|
-
priority: S.optional(S.String),
|
|
44
|
-
sendResolved: S.optional(S.Boolean),
|
|
45
|
-
tags: S.optional(S.String),
|
|
46
|
-
})).annotate({
|
|
47
|
-
identifier: "CreateAlertConfigReceiverRequestOpsgenieConfigsItem",
|
|
48
|
-
});
|
|
49
|
-
export const CreateAlertConfigReceiverRequestOpsgenieConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
50
|
-
export const CreateAlertConfigReceiverRequestWebHookConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
51
|
-
googleChat: S.optional(S.Boolean),
|
|
52
|
-
msTeams: S.optional(S.Boolean),
|
|
53
|
-
sendResolved: S.optional(S.Boolean),
|
|
54
|
-
url: S.optional(S.String),
|
|
55
|
-
})).annotate({
|
|
56
|
-
identifier: "CreateAlertConfigReceiverRequestWebHookConfigsItem",
|
|
57
|
-
});
|
|
58
|
-
export const CreateAlertConfigReceiverRequestWebHookConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
59
|
-
export const CreateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
60
|
-
projectId: S.String.pipe(T.Label()),
|
|
61
|
-
instanceId: S.String.pipe(T.Label()),
|
|
62
|
-
emailConfigs: S.optional(CreateAlertConfigReceiverRequestEmailConfigsList),
|
|
63
|
-
name: S.String,
|
|
64
|
-
opsgenieConfigs: S.optional(CreateAlertConfigReceiverRequestOpsgenieConfigsList),
|
|
65
|
-
webHookConfigs: S.optional(CreateAlertConfigReceiverRequestWebHookConfigsList),
|
|
66
|
-
}).pipe(T.Http({
|
|
67
|
-
method: "POST",
|
|
68
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers",
|
|
69
|
-
code: 200,
|
|
70
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
71
|
-
}))).annotate({
|
|
72
|
-
identifier: "CreateAlertConfigReceiverRequest",
|
|
73
|
-
});
|
|
74
|
-
export const EmailConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
75
|
-
authIdentity: S.optional(S.String),
|
|
76
|
-
authPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
77
|
-
authUsername: S.optional(S.String),
|
|
78
|
-
from: S.optional(S.String),
|
|
79
|
-
sendResolved: S.optional(S.Boolean),
|
|
80
|
-
smarthost: S.optional(S.String),
|
|
81
|
-
to: S.String,
|
|
82
|
-
})).annotate({ identifier: "EmailConfig" });
|
|
83
|
-
export const ReceiversEmailConfigsList = /*@__PURE__*/ S.Array(EmailConfig);
|
|
84
|
-
export const OpsgenieConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
85
|
-
apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
86
|
-
apiUrl: S.optional(S.String),
|
|
87
|
-
priority: S.optional(S.String),
|
|
88
|
-
sendResolved: S.optional(S.Boolean),
|
|
89
|
-
tags: S.optional(S.String),
|
|
90
|
-
})).annotate({ identifier: "OpsgenieConfig" });
|
|
91
|
-
export const ReceiversOpsgenieConfigsList = /*@__PURE__*/ S.Array(OpsgenieConfig);
|
|
92
|
-
export const WebHook = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
93
|
-
googleChat: S.optional(S.Boolean),
|
|
94
|
-
msTeams: S.optional(S.Boolean),
|
|
95
|
-
sendResolved: S.optional(S.Boolean),
|
|
96
|
-
url: S.String,
|
|
97
|
-
})).annotate({ identifier: "WebHook" });
|
|
98
|
-
export const ReceiversWebHookConfigsList = /*@__PURE__*/ S.Array(WebHook);
|
|
99
|
-
export const Receivers = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
100
|
-
emailConfigs: S.optional(ReceiversEmailConfigsList),
|
|
101
|
-
name: S.String,
|
|
102
|
-
opsgenieConfigs: S.optional(ReceiversOpsgenieConfigsList),
|
|
103
|
-
webHookConfigs: S.optional(ReceiversWebHookConfigsList),
|
|
104
|
-
})).annotate({ identifier: "Receivers" });
|
|
105
|
-
export const AlertConfigReceiversResponseDataList = /*@__PURE__*/ S.Array(Receivers);
|
|
106
|
-
export const AlertConfigReceiversResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
107
|
-
data: AlertConfigReceiversResponseDataList,
|
|
108
|
-
message: S.String,
|
|
109
|
-
})).annotate({
|
|
110
|
-
identifier: "AlertConfigReceiversResponse",
|
|
111
|
-
});
|
|
112
|
-
export const CreateAlertConfigRouteRequestGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
113
|
-
export const CreateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
114
|
-
export const CreateAlertConfigRouteRequestRoutesItemGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
115
|
-
export const CreateAlertConfigRouteRequestRoutesItemMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
116
|
-
export const CreateAlertConfigRouteRequestRoutesItemRoutesList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
117
|
-
export const CreateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
118
|
-
continue: S.optional(S.Boolean),
|
|
119
|
-
groupBy: S.optional(CreateAlertConfigRouteRequestRoutesItemGroupByList),
|
|
120
|
-
groupInterval: S.optional(S.String),
|
|
121
|
-
groupWait: S.optional(S.String),
|
|
122
|
-
match: S.optional(S.Unknown),
|
|
123
|
-
matchRe: S.optional(S.Unknown),
|
|
124
|
-
matchers: S.optional(CreateAlertConfigRouteRequestRoutesItemMatchersList),
|
|
125
|
-
receiver: S.optional(S.String),
|
|
126
|
-
repeatInterval: S.optional(S.String),
|
|
127
|
-
routes: S.optional(CreateAlertConfigRouteRequestRoutesItemRoutesList),
|
|
128
|
-
})).annotate({
|
|
129
|
-
identifier: "CreateAlertConfigRouteRequestRoutesItem",
|
|
130
|
-
});
|
|
131
|
-
export const CreateAlertConfigRouteRequestRoutesList = /*@__PURE__*/ S.Array(CreateAlertConfigRouteRequestRoutesItem);
|
|
132
|
-
export const CreateAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
133
|
-
projectId: S.String.pipe(T.Label()),
|
|
134
|
-
instanceId: S.String.pipe(T.Label()),
|
|
135
|
-
continue: S.optional(S.Boolean),
|
|
136
|
-
groupBy: S.optional(CreateAlertConfigRouteRequestGroupByList),
|
|
137
|
-
groupInterval: S.optional(S.String),
|
|
138
|
-
groupWait: S.optional(S.String),
|
|
139
|
-
match: S.optional(S.Unknown),
|
|
140
|
-
matchRe: S.optional(S.Unknown),
|
|
141
|
-
matchers: S.optional(CreateAlertConfigRouteRequestMatchersList),
|
|
142
|
-
receiver: S.String,
|
|
143
|
-
repeatInterval: S.optional(S.String),
|
|
144
|
-
routes: S.optional(CreateAlertConfigRouteRequestRoutesList),
|
|
145
|
-
}).pipe(T.Http({
|
|
146
|
-
method: "POST",
|
|
147
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes",
|
|
148
|
-
code: 200,
|
|
149
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
150
|
-
}))).annotate({
|
|
151
|
-
identifier: "CreateAlertConfigRouteRequest",
|
|
152
|
-
});
|
|
153
|
-
export const RouteGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
154
|
-
export const RouteMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
155
|
-
export const RouteMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
156
|
-
export const RouteMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
157
|
-
export const RouteSerializerGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
158
|
-
export const RouteSerializerMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
159
|
-
export const RouteSerializerMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
160
|
-
export const RouteSerializerMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
161
|
-
export const RouteSerializerRoutesItemMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
162
|
-
export const RouteSerializerRoutesList = /*@__PURE__*/ S.Array(RouteSerializerRoutesItemMap);
|
|
163
|
-
export const RouteSerializer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
164
|
-
continue: S.optional(S.Boolean),
|
|
165
|
-
groupBy: S.optional(RouteSerializerGroupByList),
|
|
166
|
-
groupInterval: S.optional(S.String),
|
|
167
|
-
groupWait: S.optional(S.String),
|
|
168
|
-
match: S.optional(RouteSerializerMatchMap),
|
|
169
|
-
matchRe: S.optional(RouteSerializerMatchReMap),
|
|
170
|
-
matchers: S.optional(RouteSerializerMatchersList),
|
|
171
|
-
receiver: S.String,
|
|
172
|
-
repeatInterval: S.optional(S.String),
|
|
173
|
-
routes: S.optional(RouteSerializerRoutesList),
|
|
174
|
-
})).annotate({ identifier: "RouteSerializer" });
|
|
175
|
-
export const RouteRoutesList = /*@__PURE__*/ S.Array(RouteSerializer);
|
|
176
|
-
export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
177
|
-
continue: S.optional(S.Boolean),
|
|
178
|
-
groupBy: S.optional(RouteGroupByList),
|
|
179
|
-
groupInterval: S.optional(S.String),
|
|
180
|
-
groupWait: S.optional(S.String),
|
|
181
|
-
match: S.optional(RouteMatchMap),
|
|
182
|
-
matchRe: S.optional(RouteMatchReMap),
|
|
183
|
-
matchers: S.optional(RouteMatchersList),
|
|
184
|
-
receiver: S.String,
|
|
185
|
-
repeatInterval: S.optional(S.String),
|
|
186
|
-
routes: S.optional(RouteRoutesList),
|
|
187
|
-
})).annotate({ identifier: "Route" });
|
|
188
|
-
export const AlertConfigRouteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
189
|
-
data: Route,
|
|
190
|
-
message: S.String,
|
|
191
|
-
})).annotate({ identifier: "AlertConfigRouteResponse" });
|
|
192
|
-
export const CreateAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
193
|
-
alert: S.optional(S.String),
|
|
194
|
-
annotations: S.optional(S.Unknown),
|
|
195
|
-
expr: S.String,
|
|
196
|
-
for: S.optional(S.String),
|
|
197
|
-
labels: S.optional(S.Unknown),
|
|
198
|
-
record: S.optional(S.String),
|
|
199
|
-
})).annotate({
|
|
200
|
-
identifier: "CreateAlertgroupsRequestRulesItem",
|
|
201
|
-
});
|
|
202
|
-
export const CreateAlertgroupsRequestRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
|
|
203
|
-
export const CreateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
204
|
-
projectId: S.String.pipe(T.Label()),
|
|
205
|
-
instanceId: S.String.pipe(T.Label()),
|
|
206
|
-
interval: S.optional(S.String),
|
|
207
|
-
name: S.String,
|
|
208
|
-
rules: CreateAlertgroupsRequestRulesList,
|
|
209
|
-
}).pipe(T.Http({
|
|
210
|
-
method: "POST",
|
|
211
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
212
|
-
code: 200,
|
|
213
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
214
|
-
}))).annotate({ identifier: "CreateAlertgroupsRequest" });
|
|
215
|
-
export const AlertRuleRecordAnnotationsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
216
|
-
export const AlertRuleRecordLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
217
|
-
export const AlertRuleRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
218
|
-
alert: S.optional(S.String),
|
|
219
|
-
annotations: S.optional(AlertRuleRecordAnnotationsMap),
|
|
220
|
-
expr: S.String,
|
|
221
|
-
for: S.optional(S.String),
|
|
222
|
-
labels: S.optional(AlertRuleRecordLabelsMap),
|
|
223
|
-
record: S.optional(S.String),
|
|
224
|
-
})).annotate({ identifier: "AlertRuleRecord" });
|
|
225
|
-
export const AlertGroupRulesList = /*@__PURE__*/ S.Array(AlertRuleRecord);
|
|
226
|
-
export const AlertGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
227
|
-
interval: S.optional(S.String),
|
|
228
|
-
name: S.String,
|
|
229
|
-
rules: AlertGroupRulesList,
|
|
230
|
-
})).annotate({ identifier: "AlertGroup" });
|
|
231
|
-
export const AlertGroupsResponseDataList = /*@__PURE__*/ S.Array(AlertGroup);
|
|
232
|
-
export const AlertGroupsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
233
|
-
data: AlertGroupsResponseDataList,
|
|
234
|
-
message: S.String,
|
|
235
|
-
})).annotate({ identifier: "AlertGroupsResponse" });
|
|
236
|
-
export const CreateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
237
|
-
projectId: S.String.pipe(T.Label()),
|
|
238
|
-
instanceId: S.String.pipe(T.Label()),
|
|
239
|
-
groupName: S.String.pipe(T.Label()),
|
|
240
|
-
expr: S.String,
|
|
241
|
-
labels: S.optional(S.Unknown),
|
|
242
|
-
record: S.String,
|
|
243
|
-
}).pipe(T.Http({
|
|
244
|
-
method: "POST",
|
|
245
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
|
|
246
|
-
code: 200,
|
|
247
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
248
|
-
}))).annotate({ identifier: "CreateAlertRecordRequest" });
|
|
249
|
-
export const AlertRecordLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
250
|
-
export const AlertRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
251
|
-
expr: S.String,
|
|
252
|
-
labels: S.optional(AlertRecordLabelsMap),
|
|
253
|
-
record: S.String,
|
|
254
|
-
})).annotate({ identifier: "AlertRecord" });
|
|
255
|
-
export const AlertRecordsResponseDataList = /*@__PURE__*/ S.Array(AlertRecord);
|
|
256
|
-
export const AlertRecordsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
257
|
-
data: AlertRecordsResponseDataList,
|
|
258
|
-
message: S.String,
|
|
259
|
-
})).annotate({ identifier: "AlertRecordsResponse" });
|
|
260
|
-
export const CreateAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
261
|
-
projectId: S.String.pipe(T.Label()),
|
|
262
|
-
instanceId: S.String.pipe(T.Label()),
|
|
263
|
-
groupName: S.String.pipe(T.Label()),
|
|
264
|
-
alert: S.String,
|
|
265
|
-
annotations: S.optional(S.Unknown),
|
|
266
|
-
expr: S.String,
|
|
267
|
-
for: S.optional(S.String),
|
|
268
|
-
labels: S.optional(S.Unknown),
|
|
269
|
-
}).pipe(T.Http({
|
|
270
|
-
method: "POST",
|
|
271
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
|
|
272
|
-
code: 200,
|
|
273
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
274
|
-
}))).annotate({ identifier: "CreateAlertrulesRequest" });
|
|
275
|
-
export const AlertRuleAnnotationsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
276
|
-
export const AlertRuleLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
277
|
-
export const AlertRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
278
|
-
alert: S.String,
|
|
279
|
-
annotations: S.optional(AlertRuleAnnotationsMap),
|
|
280
|
-
expr: S.String,
|
|
281
|
-
for: S.optional(S.String),
|
|
282
|
-
labels: S.optional(AlertRuleLabelsMap),
|
|
283
|
-
})).annotate({ identifier: "AlertRule" });
|
|
284
|
-
export const AlertRulesResponseDataList = /*@__PURE__*/ S.Array(AlertRule);
|
|
285
|
-
export const AlertRulesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
286
|
-
data: AlertRulesResponseDataList,
|
|
287
|
-
message: S.String,
|
|
288
|
-
})).annotate({ identifier: "AlertRulesResponse" });
|
|
289
|
-
export const CreateBackupRequestBackupTargetItem = S.String;
|
|
290
|
-
export const CreateBackupRequestBackupTargetList = /*@__PURE__*/ S.Array(CreateBackupRequestBackupTargetItem);
|
|
291
|
-
export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
292
|
-
projectId: S.String.pipe(T.Label()),
|
|
293
|
-
instanceId: S.String.pipe(T.Label()),
|
|
294
|
-
backupTarget: S.optional(CreateBackupRequestBackupTargetList.pipe(T.Query())),
|
|
295
|
-
}).pipe(T.Http({
|
|
296
|
-
method: "POST",
|
|
297
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/backups",
|
|
298
|
-
code: 200,
|
|
299
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
300
|
-
}))).annotate({ identifier: "CreateBackupRequest" });
|
|
301
|
-
export const Message = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
302
|
-
message: S.String,
|
|
303
|
-
})).annotate({ identifier: "Message" });
|
|
304
|
-
export const CreateBackupScheduleRequestBackupTargetItem = S.String;
|
|
305
|
-
export const CreateBackupScheduleRequestBackupTargetList = /*@__PURE__*/ S.Array(CreateBackupScheduleRequestBackupTargetItem);
|
|
306
|
-
export const CreateBackupScheduleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
307
|
-
projectId: S.String.pipe(T.Label()),
|
|
308
|
-
instanceId: S.String.pipe(T.Label()),
|
|
309
|
-
backupTarget: S.optional(CreateBackupScheduleRequestBackupTargetList.pipe(T.Query())),
|
|
310
|
-
schedule: S.String,
|
|
311
|
-
}).pipe(T.Http({
|
|
312
|
-
method: "POST",
|
|
313
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-schedules",
|
|
314
|
-
code: 200,
|
|
315
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
316
|
-
}))).annotate({
|
|
317
|
-
identifier: "CreateBackupScheduleRequest",
|
|
318
|
-
});
|
|
319
|
-
export const BackupSchedulePostResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
320
|
-
message: S.String,
|
|
321
|
-
schedule: S.String,
|
|
322
|
-
})).annotate({
|
|
323
|
-
identifier: "BackupSchedulePostResponse",
|
|
324
|
-
});
|
|
325
|
-
export const CreateCertCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
326
|
-
projectId: S.String.pipe(T.Label()),
|
|
327
|
-
instanceId: S.String.pipe(T.Label()),
|
|
328
|
-
source: S.String,
|
|
329
|
-
}).pipe(T.Http({
|
|
330
|
-
method: "POST",
|
|
331
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks",
|
|
332
|
-
code: 200,
|
|
333
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
334
|
-
}))).annotate({ identifier: "CreateCertCheckRequest" });
|
|
335
|
-
export const CertCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
336
|
-
id: S.String,
|
|
337
|
-
source: S.String,
|
|
338
|
-
})).annotate({ identifier: "CertCheckChildResponse" });
|
|
339
|
-
export const CertCheckResponseCertChecksList = /*@__PURE__*/ S.Array(CertCheckChildResponse);
|
|
340
|
-
export const CertCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
341
|
-
certCheck: S.optional(CertCheckChildResponse),
|
|
342
|
-
certChecks: CertCheckResponseCertChecksList,
|
|
343
|
-
message: S.String,
|
|
344
|
-
})).annotate({ identifier: "CertCheckResponse" });
|
|
345
|
-
export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
346
|
-
projectId: S.String.pipe(T.Label()),
|
|
347
|
-
instanceId: S.String.pipe(T.Label()),
|
|
348
|
-
description: S.optional(S.String),
|
|
349
|
-
}).pipe(T.Http({
|
|
350
|
-
method: "POST",
|
|
351
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials",
|
|
352
|
-
code: 200,
|
|
353
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
354
|
-
}))).annotate({ identifier: "CreateCredentialsRequest" });
|
|
355
|
-
export const Credentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
356
|
-
description: S.optional(S.String),
|
|
357
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
358
|
-
username: S.String,
|
|
359
|
-
})).annotate({ identifier: "Credentials" });
|
|
360
|
-
export const CreateCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
361
|
-
credentials: Credentials,
|
|
362
|
-
message: S.String,
|
|
363
|
-
})).annotate({
|
|
364
|
-
identifier: "CreateCredentialsResponse",
|
|
365
|
-
});
|
|
366
|
-
export const CreateElasticsearchCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
367
|
-
projectId: S.String.pipe(T.Label()),
|
|
368
|
-
instanceId: S.String.pipe(T.Label()),
|
|
369
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
370
|
-
server: S.String,
|
|
371
|
-
username: S.optional(S.String),
|
|
372
|
-
}).pipe(T.Http({
|
|
373
|
-
method: "POST",
|
|
374
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks",
|
|
375
|
-
code: 200,
|
|
376
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
377
|
-
}))).annotate({
|
|
378
|
-
identifier: "CreateElasticsearchCheckRequest",
|
|
379
|
-
});
|
|
380
|
-
export const ElasticsearchCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
381
|
-
id: S.String,
|
|
382
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
383
|
-
server: S.String,
|
|
384
|
-
username: S.optional(S.String),
|
|
385
|
-
})).annotate({
|
|
386
|
-
identifier: "ElasticsearchCheckChildResponse",
|
|
387
|
-
});
|
|
388
|
-
export const ElasticsearchCheckResponseElasticsearchChecksList = /*@__PURE__*/ S.Array(ElasticsearchCheckChildResponse);
|
|
389
|
-
export const ElasticsearchCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
390
|
-
elasticsearchCheck: S.optional(ElasticsearchCheckChildResponse),
|
|
391
|
-
elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList,
|
|
392
|
-
message: S.String,
|
|
393
|
-
})).annotate({
|
|
394
|
-
identifier: "ElasticsearchCheckResponse",
|
|
395
|
-
});
|
|
396
|
-
export const CreateHttpCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
397
|
-
projectId: S.String.pipe(T.Label()),
|
|
398
|
-
instanceId: S.String.pipe(T.Label()),
|
|
399
|
-
url: S.String,
|
|
400
|
-
}).pipe(T.Http({
|
|
401
|
-
method: "POST",
|
|
402
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks",
|
|
403
|
-
code: 200,
|
|
404
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
405
|
-
}))).annotate({ identifier: "CreateHttpCheckRequest" });
|
|
406
|
-
export const HttpCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
407
|
-
id: S.String,
|
|
408
|
-
url: S.String,
|
|
409
|
-
})).annotate({ identifier: "HttpCheckChildResponse" });
|
|
410
|
-
export const HttpCheckResponseHttpChecksList = /*@__PURE__*/ S.Array(HttpCheckChildResponse);
|
|
411
|
-
export const HttpCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
412
|
-
httpCheck: S.optional(HttpCheckChildResponse),
|
|
413
|
-
httpChecks: HttpCheckResponseHttpChecksList,
|
|
414
|
-
message: S.String,
|
|
415
|
-
})).annotate({ identifier: "HttpCheckResponse" });
|
|
416
|
-
export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
417
|
-
projectId: S.String.pipe(T.Label()),
|
|
418
|
-
grafanaAdminEnabled: S.optional(S.Boolean),
|
|
419
|
-
name: S.optional(S.String),
|
|
420
|
-
parameter: S.optional(S.Unknown),
|
|
421
|
-
planId: S.String,
|
|
422
|
-
}).pipe(T.Http({
|
|
423
|
-
method: "POST",
|
|
424
|
-
uri: "/v1/projects/{projectId}/instances",
|
|
425
|
-
code: 200,
|
|
426
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
427
|
-
}))).annotate({ identifier: "CreateInstanceRequest" });
|
|
428
|
-
export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
429
|
-
dashboardUrl: S.String,
|
|
430
|
-
instanceId: S.String,
|
|
431
|
-
message: S.String,
|
|
432
|
-
})).annotate({ identifier: "CreateInstanceResponse" });
|
|
433
|
-
export const CreateLogsAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
434
|
-
alert: S.optional(S.String),
|
|
435
|
-
annotations: S.optional(S.Unknown),
|
|
436
|
-
expr: S.String,
|
|
437
|
-
for: S.optional(S.String),
|
|
438
|
-
labels: S.optional(S.Unknown),
|
|
439
|
-
record: S.optional(S.String),
|
|
440
|
-
})).annotate({
|
|
441
|
-
identifier: "CreateLogsAlertgroupsRequestRulesItem",
|
|
442
|
-
});
|
|
443
|
-
export const CreateLogsAlertgroupsRequestRulesList = /*@__PURE__*/ S.Array(CreateLogsAlertgroupsRequestRulesItem);
|
|
444
|
-
export const CreateLogsAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
445
|
-
projectId: S.String.pipe(T.Label()),
|
|
446
|
-
instanceId: S.String.pipe(T.Label()),
|
|
447
|
-
interval: S.optional(S.String),
|
|
448
|
-
name: S.String,
|
|
449
|
-
rules: CreateLogsAlertgroupsRequestRulesList,
|
|
450
|
-
}).pipe(T.Http({
|
|
451
|
-
method: "POST",
|
|
452
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups",
|
|
453
|
-
code: 200,
|
|
454
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
455
|
-
}))).annotate({
|
|
456
|
-
identifier: "CreateLogsAlertgroupsRequest",
|
|
457
|
-
});
|
|
458
|
-
export const CreateMongodbCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
459
|
-
projectId: S.String.pipe(T.Label()),
|
|
460
|
-
instanceId: S.String.pipe(T.Label()),
|
|
461
|
-
server: S.String,
|
|
462
|
-
}).pipe(T.Http({
|
|
463
|
-
method: "POST",
|
|
464
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks",
|
|
465
|
-
code: 200,
|
|
466
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
467
|
-
}))).annotate({
|
|
468
|
-
identifier: "CreateMongodbCheckRequest",
|
|
469
|
-
});
|
|
470
|
-
export const MongodbCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
471
|
-
id: S.String,
|
|
472
|
-
server: S.String,
|
|
473
|
-
})).annotate({
|
|
474
|
-
identifier: "MongodbCheckChildResponse",
|
|
475
|
-
});
|
|
476
|
-
export const MongodbCheckResponseMongodbChecksList = /*@__PURE__*/ S.Array(MongodbCheckChildResponse);
|
|
477
|
-
export const MongodbCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
478
|
-
message: S.String,
|
|
479
|
-
mongodbCheck: S.optional(MongodbCheckChildResponse),
|
|
480
|
-
mongodbChecks: MongodbCheckResponseMongodbChecksList,
|
|
481
|
-
})).annotate({ identifier: "MongodbCheckResponse" });
|
|
482
|
-
export const CreateMysqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
483
|
-
projectId: S.String.pipe(T.Label()),
|
|
484
|
-
instanceId: S.String.pipe(T.Label()),
|
|
485
|
-
server: S.String,
|
|
486
|
-
}).pipe(T.Http({
|
|
487
|
-
method: "POST",
|
|
488
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",
|
|
489
|
-
code: 200,
|
|
490
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
491
|
-
}))).annotate({ identifier: "CreateMysqlCheckRequest" });
|
|
492
|
-
export const MysqlCheckChildResponse = MongodbCheckChildResponse;
|
|
493
|
-
export const MysqlCheckResponseMysqlChecksList = /*@__PURE__*/ S.Array(MongodbCheckChildResponse);
|
|
494
|
-
export const MysqlCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
495
|
-
message: S.String,
|
|
496
|
-
mysqlCheck: S.optional(MongodbCheckChildResponse),
|
|
497
|
-
mysqlChecks: MysqlCheckResponseMysqlChecksList,
|
|
498
|
-
})).annotate({ identifier: "MysqlCheckResponse" });
|
|
499
|
-
export const CreateNetworkCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
500
|
-
projectId: S.String.pipe(T.Label()),
|
|
501
|
-
instanceId: S.String.pipe(T.Label()),
|
|
502
|
-
address: S.String,
|
|
503
|
-
}).pipe(T.Http({
|
|
504
|
-
method: "POST",
|
|
505
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/network-checks",
|
|
506
|
-
code: 200,
|
|
507
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
508
|
-
}))).annotate({
|
|
509
|
-
identifier: "CreateNetworkCheckRequest",
|
|
510
|
-
});
|
|
511
|
-
export const NetworkCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
512
|
-
address: S.String,
|
|
513
|
-
id: S.String,
|
|
514
|
-
})).annotate({
|
|
515
|
-
identifier: "NetworkCheckChildResponse",
|
|
516
|
-
});
|
|
517
|
-
export const NetworkCheckResponseNetworkChecksList = /*@__PURE__*/ S.Array(NetworkCheckChildResponse);
|
|
518
|
-
export const NetworkCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
519
|
-
message: S.String,
|
|
520
|
-
networkCheck: S.optional(NetworkCheckChildResponse),
|
|
521
|
-
networkChecks: NetworkCheckResponseNetworkChecksList,
|
|
522
|
-
})).annotate({ identifier: "NetworkCheckResponse" });
|
|
523
|
-
export const CreatePingCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
524
|
-
projectId: S.String.pipe(T.Label()),
|
|
525
|
-
instanceId: S.String.pipe(T.Label()),
|
|
526
|
-
url: S.String,
|
|
527
|
-
}).pipe(T.Http({
|
|
528
|
-
method: "POST",
|
|
529
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks",
|
|
530
|
-
code: 200,
|
|
531
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
532
|
-
}))).annotate({ identifier: "CreatePingCheckRequest" });
|
|
533
|
-
export const PingCheckChildResponse = HttpCheckChildResponse;
|
|
534
|
-
export const PingCheckResponsePingChecksList = /*@__PURE__*/ S.Array(HttpCheckChildResponse);
|
|
535
|
-
export const PingCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
536
|
-
message: S.String,
|
|
537
|
-
pingCheck: S.optional(HttpCheckChildResponse),
|
|
538
|
-
pingChecks: PingCheckResponsePingChecksList,
|
|
539
|
-
})).annotate({ identifier: "PingCheckResponse" });
|
|
540
|
-
export const CreatePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
541
|
-
projectId: S.String.pipe(T.Label()),
|
|
542
|
-
instanceId: S.String.pipe(T.Label()),
|
|
543
|
-
address: S.String,
|
|
544
|
-
}).pipe(T.Http({
|
|
545
|
-
method: "POST",
|
|
546
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks",
|
|
547
|
-
code: 200,
|
|
548
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
549
|
-
}))).annotate({
|
|
550
|
-
identifier: "CreatePostgresqlCheckRequest",
|
|
551
|
-
});
|
|
552
|
-
export const PostgresqlCheckChildResponse = NetworkCheckChildResponse;
|
|
553
|
-
export const PostgresqlCheckResponsePostgresqlChecksList = /*@__PURE__*/ S.Array(NetworkCheckChildResponse);
|
|
554
|
-
export const PostgresqlCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
555
|
-
message: S.String,
|
|
556
|
-
postgresqlCheck: S.optional(NetworkCheckChildResponse),
|
|
557
|
-
postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList,
|
|
558
|
-
})).annotate({ identifier: "PostgresqlCheckResponse" });
|
|
559
|
-
export const CreateRabbitmqCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
560
|
-
projectId: S.String.pipe(T.Label()),
|
|
561
|
-
instanceId: S.String.pipe(T.Label()),
|
|
562
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
563
|
-
url: S.String,
|
|
564
|
-
username: S.optional(S.String),
|
|
565
|
-
}).pipe(T.Http({
|
|
566
|
-
method: "POST",
|
|
567
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks",
|
|
568
|
-
code: 200,
|
|
569
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
570
|
-
}))).annotate({
|
|
571
|
-
identifier: "CreateRabbitmqCheckRequest",
|
|
572
|
-
});
|
|
573
|
-
export const RabbitMQCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
574
|
-
id: S.String,
|
|
575
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
576
|
-
url: S.String,
|
|
577
|
-
username: S.optional(S.String),
|
|
578
|
-
})).annotate({
|
|
579
|
-
identifier: "RabbitMQCheckChildResponse",
|
|
580
|
-
});
|
|
581
|
-
export const RabbitmqCheckResponseRabbitmqChecksList = /*@__PURE__*/ S.Array(RabbitMQCheckChildResponse);
|
|
582
|
-
export const RabbitmqCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
583
|
-
message: S.String,
|
|
584
|
-
rabbitmqCheck: S.optional(RabbitMQCheckChildResponse),
|
|
585
|
-
rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList,
|
|
586
|
-
})).annotate({ identifier: "RabbitmqCheckResponse" });
|
|
587
|
-
export const CreateRedisCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
588
|
-
projectId: S.String.pipe(T.Label()),
|
|
589
|
-
instanceId: S.String.pipe(T.Label()),
|
|
590
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
591
|
-
server: S.String,
|
|
592
|
-
username: S.optional(S.String),
|
|
593
|
-
}).pipe(T.Http({
|
|
594
|
-
method: "POST",
|
|
595
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks",
|
|
596
|
-
code: 200,
|
|
597
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
598
|
-
}))).annotate({ identifier: "CreateRedisCheckRequest" });
|
|
599
|
-
export const RedisCheckChildResponse = ElasticsearchCheckChildResponse;
|
|
600
|
-
export const RedisCheckResponseRedisChecksList = /*@__PURE__*/ S.Array(ElasticsearchCheckChildResponse);
|
|
601
|
-
export const RedisCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
602
|
-
message: S.String,
|
|
603
|
-
redisCheck: S.optional(ElasticsearchCheckChildResponse),
|
|
604
|
-
redisChecks: RedisCheckResponseRedisChecksList,
|
|
605
|
-
})).annotate({ identifier: "RedisCheckResponse" });
|
|
606
|
-
export const CreateScrapeConfigRequestBasicAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
607
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
608
|
-
username: S.optional(S.String),
|
|
609
|
-
})).annotate({
|
|
610
|
-
identifier: "CreateScrapeConfigRequestBasicAuth",
|
|
611
|
-
});
|
|
612
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
613
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = /*@__PURE__*/ S.Array(S.String);
|
|
614
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
615
|
-
insecureSkipVerify: S.optional(S.Boolean),
|
|
616
|
-
})).annotate({
|
|
617
|
-
identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig",
|
|
618
|
-
});
|
|
619
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
620
|
-
clientId: S.String,
|
|
621
|
-
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
622
|
-
scopes: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList),
|
|
623
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
624
|
-
tokenUrl: S.String,
|
|
625
|
-
})).annotate({
|
|
626
|
-
identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2",
|
|
627
|
-
});
|
|
628
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
629
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
630
|
-
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
631
|
-
oauth2: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2),
|
|
632
|
-
refreshInterval: S.optional(S.String),
|
|
633
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
634
|
-
url: S.String,
|
|
635
|
-
})).annotate({
|
|
636
|
-
identifier: "CreateScrapeConfigRequestHttpSdConfigsItem",
|
|
637
|
-
});
|
|
638
|
-
export const CreateScrapeConfigRequestHttpSdConfigsList = /*@__PURE__*/ S.Array(CreateScrapeConfigRequestHttpSdConfigsItem);
|
|
639
|
-
export const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction = S.String;
|
|
640
|
-
export const CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
|
|
641
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
642
|
-
export const CreateScrapeConfigRequestMetricsRelabelConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
643
|
-
action: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsItemAction),
|
|
644
|
-
modulus: S.optional(S.Number),
|
|
645
|
-
regex: S.optional(S.String),
|
|
646
|
-
replacement: S.optional(S.String),
|
|
647
|
-
separator: S.optional(S.String),
|
|
648
|
-
sourceLabels: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList),
|
|
649
|
-
targetLabel: S.optional(S.String),
|
|
650
|
-
})).annotate({
|
|
651
|
-
identifier: "CreateScrapeConfigRequestMetricsRelabelConfigsItem",
|
|
652
|
-
});
|
|
653
|
-
export const CreateScrapeConfigRequestMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(CreateScrapeConfigRequestMetricsRelabelConfigsItem);
|
|
654
|
-
export const CreateScrapeConfigRequestOauth2ScopesList = /*@__PURE__*/ S.Array(S.String);
|
|
655
|
-
export const CreateScrapeConfigRequestOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
656
|
-
export const CreateScrapeConfigRequestOauth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
657
|
-
clientId: S.String,
|
|
658
|
-
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
659
|
-
scopes: S.optional(CreateScrapeConfigRequestOauth2ScopesList),
|
|
660
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
661
|
-
tokenUrl: S.String,
|
|
662
|
-
})).annotate({
|
|
663
|
-
identifier: "CreateScrapeConfigRequestOauth2",
|
|
664
|
-
});
|
|
665
|
-
export const CreateScrapeConfigRequestScheme = S.String;
|
|
666
|
-
export const CreateScrapeConfigRequestStaticConfigsItemTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
667
|
-
export const CreateScrapeConfigRequestStaticConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
668
|
-
labels: S.optional(S.Unknown),
|
|
669
|
-
targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList,
|
|
670
|
-
})).annotate({
|
|
671
|
-
identifier: "CreateScrapeConfigRequestStaticConfigsItem",
|
|
672
|
-
});
|
|
673
|
-
export const CreateScrapeConfigRequestStaticConfigsList = /*@__PURE__*/ S.Array(CreateScrapeConfigRequestStaticConfigsItem);
|
|
674
|
-
export const CreateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
675
|
-
export const CreateScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
676
|
-
projectId: S.String.pipe(T.Label()),
|
|
677
|
-
instanceId: S.String.pipe(T.Label()),
|
|
678
|
-
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
679
|
-
bearerToken: S.optional(S.String),
|
|
680
|
-
honorLabels: S.optional(S.Boolean),
|
|
681
|
-
honorTimeStamps: S.optional(S.Boolean),
|
|
682
|
-
httpSdConfigs: S.optional(CreateScrapeConfigRequestHttpSdConfigsList),
|
|
683
|
-
jobName: S.String,
|
|
684
|
-
metricsPath: S.optional(S.String),
|
|
685
|
-
metricsRelabelConfigs: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsList),
|
|
686
|
-
oauth2: S.optional(CreateScrapeConfigRequestOauth2),
|
|
687
|
-
params: S.optional(S.Unknown),
|
|
688
|
-
sampleLimit: S.optional(S.Number),
|
|
689
|
-
scheme: CreateScrapeConfigRequestScheme,
|
|
690
|
-
scrapeInterval: S.String,
|
|
691
|
-
scrapeTimeout: S.String,
|
|
692
|
-
staticConfigs: CreateScrapeConfigRequestStaticConfigsList,
|
|
693
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
694
|
-
}).pipe(T.Http({
|
|
695
|
-
method: "POST",
|
|
696
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
|
|
697
|
-
code: 200,
|
|
698
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
699
|
-
}))).annotate({
|
|
700
|
-
identifier: "CreateScrapeConfigRequest",
|
|
701
|
-
});
|
|
702
|
-
export const BasicAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
703
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
704
|
-
username: S.String,
|
|
705
|
-
})).annotate({ identifier: "BasicAuth" });
|
|
706
|
-
export const OAuth2ScopesList = /*@__PURE__*/ S.Array(S.String);
|
|
707
|
-
export const TLSConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
708
|
-
insecureSkipVerify: S.optional(S.Boolean),
|
|
709
|
-
})).annotate({ identifier: "TLSConfig" });
|
|
710
|
-
export const OAuth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
711
|
-
clientId: S.String,
|
|
712
|
-
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
713
|
-
scopes: S.optional(OAuth2ScopesList),
|
|
714
|
-
tlsConfig: S.optional(TLSConfig),
|
|
715
|
-
tokenUrl: S.String,
|
|
716
|
-
})).annotate({ identifier: "OAuth2" });
|
|
717
|
-
export const HTTPServiceSD = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
718
|
-
basicAuth: S.optional(BasicAuth),
|
|
719
|
-
oauth2: S.optional(OAuth2),
|
|
720
|
-
refreshInterval: S.optional(S.String),
|
|
721
|
-
tlsConfig: S.optional(TLSConfig),
|
|
722
|
-
url: S.String,
|
|
723
|
-
})).annotate({ identifier: "HTTPServiceSD" });
|
|
724
|
-
export const JobHttpSdConfigsList = /*@__PURE__*/ S.Array(HTTPServiceSD);
|
|
725
|
-
export const MetricsRelabelConfigAction = S.String;
|
|
726
|
-
export const MetricsRelabelConfigSourceLabelsList = /*@__PURE__*/ S.Array(S.String);
|
|
727
|
-
export const MetricsRelabelConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
728
|
-
action: S.optional(MetricsRelabelConfigAction),
|
|
729
|
-
modulus: S.optional(S.Number),
|
|
730
|
-
regex: S.optional(S.String),
|
|
731
|
-
replacement: S.optional(S.String),
|
|
732
|
-
separator: S.optional(S.String),
|
|
733
|
-
sourceLabels: MetricsRelabelConfigSourceLabelsList,
|
|
734
|
-
targetLabel: S.optional(S.String),
|
|
735
|
-
})).annotate({ identifier: "MetricsRelabelConfig" });
|
|
736
|
-
export const JobMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(MetricsRelabelConfig);
|
|
737
|
-
export const JobParamsValueList = /*@__PURE__*/ S.Array(S.String);
|
|
738
|
-
export const JobParamsMap = /*@__PURE__*/ S.Record(S.String, JobParamsValueList);
|
|
739
|
-
export const JobScheme = S.String;
|
|
740
|
-
export const StaticConfigsLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
741
|
-
export const StaticConfigsTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
742
|
-
export const StaticConfigs = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
743
|
-
labels: S.optional(StaticConfigsLabelsMap),
|
|
744
|
-
targets: StaticConfigsTargetsList,
|
|
745
|
-
})).annotate({ identifier: "StaticConfigs" });
|
|
746
|
-
export const JobStaticConfigsList = /*@__PURE__*/ S.Array(StaticConfigs);
|
|
747
|
-
export const Job = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
748
|
-
basicAuth: S.optional(BasicAuth),
|
|
749
|
-
bearerToken: S.optional(S.String),
|
|
750
|
-
honorLabels: S.optional(S.Boolean),
|
|
751
|
-
honorTimeStamps: S.optional(S.Boolean),
|
|
752
|
-
httpSdConfigs: S.optional(JobHttpSdConfigsList),
|
|
753
|
-
jobName: S.String,
|
|
754
|
-
metricsPath: S.optional(S.String),
|
|
755
|
-
metricsRelabelConfigs: S.optional(JobMetricsRelabelConfigsList),
|
|
756
|
-
oauth2: S.optional(OAuth2),
|
|
757
|
-
params: S.optional(JobParamsMap),
|
|
758
|
-
sampleLimit: S.optional(S.Number),
|
|
759
|
-
scheme: S.optional(JobScheme),
|
|
760
|
-
scrapeInterval: S.String,
|
|
761
|
-
scrapeTimeout: S.String,
|
|
762
|
-
staticConfigs: JobStaticConfigsList,
|
|
763
|
-
tlsConfig: S.optional(TLSConfig),
|
|
764
|
-
})).annotate({ identifier: "Job" });
|
|
765
|
-
export const ScrapeConfigsResponseDataList = /*@__PURE__*/ S.Array(Job);
|
|
766
|
-
export const ScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
767
|
-
data: ScrapeConfigsResponseDataList,
|
|
768
|
-
message: S.String,
|
|
769
|
-
})).annotate({ identifier: "ScrapeConfigsResponse" });
|
|
770
|
-
export const DeleteAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
771
|
-
projectId: S.String.pipe(T.Label()),
|
|
772
|
-
instanceId: S.String.pipe(T.Label()),
|
|
773
|
-
receiver: S.String.pipe(T.Label()),
|
|
774
|
-
}).pipe(T.Http({
|
|
775
|
-
method: "DELETE",
|
|
776
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",
|
|
777
|
-
code: 200,
|
|
778
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
779
|
-
}))).annotate({
|
|
780
|
-
identifier: "DeleteAlertConfigReceiverRequest",
|
|
781
|
-
});
|
|
782
|
-
export const DeleteAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
783
|
-
projectId: S.String.pipe(T.Label()),
|
|
784
|
-
instanceId: S.String.pipe(T.Label()),
|
|
785
|
-
receiver: S.String.pipe(T.Label()),
|
|
786
|
-
}).pipe(T.Http({
|
|
787
|
-
method: "DELETE",
|
|
788
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",
|
|
789
|
-
code: 200,
|
|
790
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
791
|
-
}))).annotate({
|
|
792
|
-
identifier: "DeleteAlertConfigRouteRequest",
|
|
793
|
-
});
|
|
794
|
-
export const DeleteAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
795
|
-
projectId: S.String.pipe(T.Label()),
|
|
796
|
-
instanceId: S.String.pipe(T.Label()),
|
|
797
|
-
groupName: S.String.pipe(T.Label()),
|
|
798
|
-
}).pipe(T.Http({
|
|
799
|
-
method: "DELETE",
|
|
800
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
|
|
801
|
-
code: 200,
|
|
802
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
803
|
-
}))).annotate({ identifier: "DeleteAlertgroupRequest" });
|
|
804
|
-
export const DeleteAlertgroupsRequestGroupNameList = /*@__PURE__*/ S.Array(S.String);
|
|
805
|
-
export const DeleteAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
806
|
-
projectId: S.String.pipe(T.Label()),
|
|
807
|
-
instanceId: S.String.pipe(T.Label()),
|
|
808
|
-
groupName: DeleteAlertgroupsRequestGroupNameList.pipe(T.Query()),
|
|
809
|
-
}).pipe(T.Http({
|
|
810
|
-
method: "DELETE",
|
|
811
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
812
|
-
code: 200,
|
|
813
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
814
|
-
}))).annotate({ identifier: "DeleteAlertgroupsRequest" });
|
|
815
|
-
export const DeleteAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
816
|
-
projectId: S.String.pipe(T.Label()),
|
|
817
|
-
instanceId: S.String.pipe(T.Label()),
|
|
818
|
-
groupName: S.String.pipe(T.Label()),
|
|
819
|
-
alertRecord: S.String.pipe(T.Label()),
|
|
820
|
-
}).pipe(T.Http({
|
|
821
|
-
method: "DELETE",
|
|
822
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
|
|
823
|
-
code: 200,
|
|
824
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
825
|
-
}))).annotate({ identifier: "DeleteAlertRecordRequest" });
|
|
826
|
-
export const DeleteAlertRecordsRequestAlertRecordList = /*@__PURE__*/ S.Array(S.String);
|
|
827
|
-
export const DeleteAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
828
|
-
projectId: S.String.pipe(T.Label()),
|
|
829
|
-
instanceId: S.String.pipe(T.Label()),
|
|
830
|
-
groupName: S.String.pipe(T.Label()),
|
|
831
|
-
alertRecord: DeleteAlertRecordsRequestAlertRecordList.pipe(T.Query()),
|
|
832
|
-
}).pipe(T.Http({
|
|
833
|
-
method: "DELETE",
|
|
834
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
|
|
835
|
-
code: 200,
|
|
836
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
837
|
-
}))).annotate({
|
|
838
|
-
identifier: "DeleteAlertRecordsRequest",
|
|
839
|
-
});
|
|
840
|
-
export const DeleteAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
841
|
-
projectId: S.String.pipe(T.Label()),
|
|
842
|
-
instanceId: S.String.pipe(T.Label()),
|
|
843
|
-
groupName: S.String.pipe(T.Label()),
|
|
844
|
-
alertName: S.String.pipe(T.Label()),
|
|
845
|
-
}).pipe(T.Http({
|
|
846
|
-
method: "DELETE",
|
|
847
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
|
|
848
|
-
code: 200,
|
|
849
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
850
|
-
}))).annotate({ identifier: "DeleteAlertruleRequest" });
|
|
851
|
-
export const DeleteAlertrulesRequestAlertNameList = /*@__PURE__*/ S.Array(S.String);
|
|
852
|
-
export const DeleteAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
853
|
-
projectId: S.String.pipe(T.Label()),
|
|
854
|
-
instanceId: S.String.pipe(T.Label()),
|
|
855
|
-
groupName: S.String.pipe(T.Label()),
|
|
856
|
-
alertName: DeleteAlertrulesRequestAlertNameList.pipe(T.Query()),
|
|
857
|
-
}).pipe(T.Http({
|
|
858
|
-
method: "DELETE",
|
|
859
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
|
|
860
|
-
code: 200,
|
|
861
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
862
|
-
}))).annotate({ identifier: "DeleteAlertrulesRequest" });
|
|
863
|
-
export const DeleteCertCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
864
|
-
projectId: S.String.pipe(T.Label()),
|
|
865
|
-
instanceId: S.String.pipe(T.Label()),
|
|
866
|
-
id: S.String.pipe(T.Label()),
|
|
867
|
-
}).pipe(T.Http({
|
|
868
|
-
method: "DELETE",
|
|
869
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks/{id}",
|
|
870
|
-
code: 200,
|
|
871
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
872
|
-
}))).annotate({ identifier: "DeleteCertCheckRequest" });
|
|
873
|
-
export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
874
|
-
projectId: S.String.pipe(T.Label()),
|
|
875
|
-
instanceId: S.String.pipe(T.Label()),
|
|
876
|
-
username: S.String.pipe(T.Label()),
|
|
877
|
-
}).pipe(T.Http({
|
|
878
|
-
method: "DELETE",
|
|
879
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",
|
|
880
|
-
code: 200,
|
|
881
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
882
|
-
}))).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
883
|
-
export const DeleteCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
884
|
-
projectId: S.String.pipe(T.Label()),
|
|
885
|
-
instanceId: S.String.pipe(T.Label()),
|
|
886
|
-
username: S.String.pipe(T.Label()),
|
|
887
|
-
}).pipe(T.Http({
|
|
888
|
-
method: "DELETE",
|
|
889
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
|
|
890
|
-
code: 200,
|
|
891
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
892
|
-
}))).annotate({
|
|
893
|
-
identifier: "DeleteCredentialsRemoteWriteConfigRequest",
|
|
894
|
-
});
|
|
895
|
-
export const CredentialsRemoteWriteDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
896
|
-
maxLimit: S.Number,
|
|
897
|
-
message: S.String,
|
|
898
|
-
})).annotate({
|
|
899
|
-
identifier: "CredentialsRemoteWriteDeleteResponse",
|
|
900
|
-
});
|
|
901
|
-
export const DeleteElasticsearchCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
902
|
-
projectId: S.String.pipe(T.Label()),
|
|
903
|
-
instanceId: S.String.pipe(T.Label()),
|
|
904
|
-
id: S.String.pipe(T.Label()),
|
|
905
|
-
}).pipe(T.Http({
|
|
906
|
-
method: "DELETE",
|
|
907
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks/{id}",
|
|
908
|
-
code: 200,
|
|
909
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
910
|
-
}))).annotate({
|
|
911
|
-
identifier: "DeleteElasticsearchCheckRequest",
|
|
912
|
-
});
|
|
913
|
-
export const DeleteHttpCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
914
|
-
projectId: S.String.pipe(T.Label()),
|
|
915
|
-
instanceId: S.String.pipe(T.Label()),
|
|
916
|
-
id: S.String.pipe(T.Label()),
|
|
917
|
-
}).pipe(T.Http({
|
|
918
|
-
method: "DELETE",
|
|
919
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks/{id}",
|
|
920
|
-
code: 200,
|
|
921
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
922
|
-
}))).annotate({ identifier: "DeleteHttpCheckRequest" });
|
|
923
|
-
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
924
|
-
projectId: S.String.pipe(T.Label()),
|
|
925
|
-
instanceId: S.String.pipe(T.Label()),
|
|
926
|
-
}).pipe(T.Http({
|
|
927
|
-
method: "DELETE",
|
|
928
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
929
|
-
code: 200,
|
|
930
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
931
|
-
}))).annotate({ identifier: "DeleteInstanceRequest" });
|
|
932
|
-
export const InstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
933
|
-
message: S.String,
|
|
934
|
-
})).annotate({ identifier: "InstanceResponse" });
|
|
935
|
-
export const DeleteLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
936
|
-
projectId: S.String.pipe(T.Label()),
|
|
937
|
-
instanceId: S.String.pipe(T.Label()),
|
|
938
|
-
groupName: S.String.pipe(T.Label()),
|
|
939
|
-
}).pipe(T.Http({
|
|
940
|
-
method: "DELETE",
|
|
941
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",
|
|
942
|
-
code: 200,
|
|
943
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
944
|
-
}))).annotate({
|
|
945
|
-
identifier: "DeleteLogsAlertgroupRequest",
|
|
946
|
-
});
|
|
947
|
-
export const DeleteMongodbCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
948
|
-
projectId: S.String.pipe(T.Label()),
|
|
949
|
-
instanceId: S.String.pipe(T.Label()),
|
|
950
|
-
id: S.String.pipe(T.Label()),
|
|
951
|
-
}).pipe(T.Http({
|
|
952
|
-
method: "DELETE",
|
|
953
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks/{id}",
|
|
954
|
-
code: 200,
|
|
955
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
956
|
-
}))).annotate({
|
|
957
|
-
identifier: "DeleteMongodbCheckRequest",
|
|
958
|
-
});
|
|
959
|
-
export const DeleteMysqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
960
|
-
projectId: S.String.pipe(T.Label()),
|
|
961
|
-
instanceId: S.String.pipe(T.Label()),
|
|
962
|
-
id: S.String.pipe(T.Label()),
|
|
963
|
-
}).pipe(T.Http({
|
|
964
|
-
method: "DELETE",
|
|
965
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks/{id}",
|
|
966
|
-
code: 200,
|
|
967
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
968
|
-
}))).annotate({ identifier: "DeleteMysqlCheckRequest" });
|
|
969
|
-
export const DeleteNetworkCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
970
|
-
projectId: S.String.pipe(T.Label()),
|
|
971
|
-
instanceId: S.String.pipe(T.Label()),
|
|
972
|
-
id: S.String.pipe(T.Label()),
|
|
973
|
-
}).pipe(T.Http({
|
|
974
|
-
method: "DELETE",
|
|
975
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/network-checks/{id}",
|
|
976
|
-
code: 200,
|
|
977
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
978
|
-
}))).annotate({
|
|
979
|
-
identifier: "DeleteNetworkCheckRequest",
|
|
980
|
-
});
|
|
981
|
-
export const DeletePingCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
982
|
-
projectId: S.String.pipe(T.Label()),
|
|
983
|
-
instanceId: S.String.pipe(T.Label()),
|
|
984
|
-
id: S.String.pipe(T.Label()),
|
|
985
|
-
}).pipe(T.Http({
|
|
986
|
-
method: "DELETE",
|
|
987
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks/{id}",
|
|
988
|
-
code: 200,
|
|
989
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
990
|
-
}))).annotate({ identifier: "DeletePingCheckRequest" });
|
|
991
|
-
export const DeletePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
992
|
-
projectId: S.String.pipe(T.Label()),
|
|
993
|
-
instanceId: S.String.pipe(T.Label()),
|
|
994
|
-
id: S.String.pipe(T.Label()),
|
|
995
|
-
}).pipe(T.Http({
|
|
996
|
-
method: "DELETE",
|
|
997
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks/{id}",
|
|
998
|
-
code: 200,
|
|
999
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1000
|
-
}))).annotate({
|
|
1001
|
-
identifier: "DeletePostgresqlCheckRequest",
|
|
1002
|
-
});
|
|
1003
|
-
export const DeleteRabbitmqCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1004
|
-
projectId: S.String.pipe(T.Label()),
|
|
1005
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1006
|
-
id: S.String.pipe(T.Label()),
|
|
1007
|
-
}).pipe(T.Http({
|
|
1008
|
-
method: "DELETE",
|
|
1009
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks/{id}",
|
|
1010
|
-
code: 200,
|
|
1011
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1012
|
-
}))).annotate({
|
|
1013
|
-
identifier: "DeleteRabbitmqCheckRequest",
|
|
1014
|
-
});
|
|
1015
|
-
export const DeleteRedisCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1016
|
-
projectId: S.String.pipe(T.Label()),
|
|
1017
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1018
|
-
id: S.String.pipe(T.Label()),
|
|
1019
|
-
}).pipe(T.Http({
|
|
1020
|
-
method: "DELETE",
|
|
1021
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks/{id}",
|
|
1022
|
-
code: 200,
|
|
1023
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1024
|
-
}))).annotate({ identifier: "DeleteRedisCheckRequest" });
|
|
1025
|
-
export const DeleteScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1026
|
-
projectId: S.String.pipe(T.Label()),
|
|
1027
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1028
|
-
jobName: S.String.pipe(T.Label()),
|
|
1029
|
-
}).pipe(T.Http({
|
|
1030
|
-
method: "DELETE",
|
|
1031
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",
|
|
1032
|
-
code: 200,
|
|
1033
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1034
|
-
}))).annotate({
|
|
1035
|
-
identifier: "DeleteScrapeConfigRequest",
|
|
1036
|
-
});
|
|
1037
|
-
export const DeleteScrapeConfigResponseDataList = /*@__PURE__*/ S.Array(Job);
|
|
1038
|
-
export const DeleteScrapeConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1039
|
-
data: DeleteScrapeConfigResponseDataList,
|
|
1040
|
-
message: S.String,
|
|
1041
|
-
})).annotate({
|
|
1042
|
-
identifier: "DeleteScrapeConfigResponse",
|
|
1043
|
-
});
|
|
1044
|
-
export const DeleteScrapeConfigsRequestJobNameList = /*@__PURE__*/ S.Array(S.String);
|
|
1045
|
-
export const DeleteScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1046
|
-
projectId: S.String.pipe(T.Label()),
|
|
1047
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1048
|
-
jobName: DeleteScrapeConfigsRequestJobNameList.pipe(T.Query()),
|
|
1049
|
-
}).pipe(T.Http({
|
|
1050
|
-
method: "DELETE",
|
|
1051
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
|
|
1052
|
-
code: 200,
|
|
1053
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1054
|
-
}))).annotate({
|
|
1055
|
-
identifier: "DeleteScrapeConfigsRequest",
|
|
1056
|
-
});
|
|
1057
|
-
export const GetAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1058
|
-
projectId: S.String.pipe(T.Label()),
|
|
1059
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1060
|
-
receiver: S.String.pipe(T.Label()),
|
|
1061
|
-
}).pipe(T.Http({
|
|
1062
|
-
method: "GET",
|
|
1063
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",
|
|
1064
|
-
code: 200,
|
|
1065
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1066
|
-
}))).annotate({
|
|
1067
|
-
identifier: "GetAlertConfigReceiverRequest",
|
|
1068
|
-
});
|
|
1069
|
-
export const Receiver = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1070
|
-
data: Receivers,
|
|
1071
|
-
message: S.String,
|
|
1072
|
-
})).annotate({ identifier: "Receiver" });
|
|
1073
|
-
export const GetAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1074
|
-
projectId: S.String.pipe(T.Label()),
|
|
1075
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1076
|
-
receiver: S.String.pipe(T.Label()),
|
|
1077
|
-
}).pipe(T.Http({
|
|
1078
|
-
method: "GET",
|
|
1079
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",
|
|
1080
|
-
code: 200,
|
|
1081
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1082
|
-
}))).annotate({
|
|
1083
|
-
identifier: "GetAlertConfigRouteRequest",
|
|
1084
|
-
});
|
|
1085
|
-
export const GetAlertConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1086
|
-
projectId: S.String.pipe(T.Label()),
|
|
1087
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1088
|
-
}).pipe(T.Http({
|
|
1089
|
-
method: "GET",
|
|
1090
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs",
|
|
1091
|
-
code: 200,
|
|
1092
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1093
|
-
}))).annotate({ identifier: "GetAlertConfigsRequest" });
|
|
1094
|
-
export const Global = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1095
|
-
opsgenieApiKey: S.optional(S.String),
|
|
1096
|
-
opsgenieApiUrl: S.optional(S.String),
|
|
1097
|
-
resolveTimeout: S.optional(S.String),
|
|
1098
|
-
smtpAuthIdentity: S.optional(S.String),
|
|
1099
|
-
smtpAuthPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1100
|
-
smtpAuthUsername: S.optional(S.String),
|
|
1101
|
-
smtpFrom: S.optional(S.String),
|
|
1102
|
-
smtpSmarthost: S.optional(S.String),
|
|
1103
|
-
})).annotate({ identifier: "Global" });
|
|
1104
|
-
export const InhibitRulesEqualList = /*@__PURE__*/ S.Array(S.String);
|
|
1105
|
-
export const InhibitRulesSourceMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1106
|
-
export const InhibitRulesSourceMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1107
|
-
export const InhibitRulesSourceMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
1108
|
-
export const InhibitRulesTargetMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1109
|
-
export const InhibitRulesTargetMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1110
|
-
export const InhibitRulesTargetMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
1111
|
-
export const InhibitRules = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1112
|
-
equal: S.optional(InhibitRulesEqualList),
|
|
1113
|
-
sourceMatch: S.optional(InhibitRulesSourceMatchMap),
|
|
1114
|
-
sourceMatchRe: S.optional(InhibitRulesSourceMatchReMap),
|
|
1115
|
-
sourceMatchers: S.optional(InhibitRulesSourceMatchersList),
|
|
1116
|
-
targetMatch: S.optional(InhibitRulesTargetMatchMap),
|
|
1117
|
-
targetMatchRe: S.optional(InhibitRulesTargetMatchReMap),
|
|
1118
|
-
targetMatchers: S.optional(InhibitRulesTargetMatchersList),
|
|
1119
|
-
})).annotate({ identifier: "InhibitRules" });
|
|
1120
|
-
export const AlertInhibitRulesList = /*@__PURE__*/ S.Array(InhibitRules);
|
|
1121
|
-
export const AlertReceiversList = /*@__PURE__*/ S.Array(Receivers);
|
|
1122
|
-
export const Alert = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1123
|
-
global: S.optional(Global),
|
|
1124
|
-
inhibitRules: S.optional(AlertInhibitRulesList),
|
|
1125
|
-
receivers: AlertReceiversList,
|
|
1126
|
-
route: Route,
|
|
1127
|
-
})).annotate({ identifier: "Alert" });
|
|
1128
|
-
export const GetAlertConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1129
|
-
data: Alert,
|
|
1130
|
-
message: S.String,
|
|
1131
|
-
})).annotate({ identifier: "GetAlertConfigsResponse" });
|
|
1132
|
-
export const GetAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1133
|
-
projectId: S.String.pipe(T.Label()),
|
|
1134
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1135
|
-
groupName: S.String.pipe(T.Label()),
|
|
1136
|
-
}).pipe(T.Http({
|
|
1137
|
-
method: "GET",
|
|
1138
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
|
|
1139
|
-
code: 200,
|
|
1140
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1141
|
-
}))).annotate({ identifier: "GetAlertgroupRequest" });
|
|
1142
|
-
export const AlertGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1143
|
-
data: AlertGroup,
|
|
1144
|
-
message: S.String,
|
|
1145
|
-
})).annotate({ identifier: "AlertGroupResponse" });
|
|
1146
|
-
export const GetAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1147
|
-
projectId: S.String.pipe(T.Label()),
|
|
1148
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1149
|
-
groupName: S.String.pipe(T.Label()),
|
|
1150
|
-
alertRecord: S.String.pipe(T.Label()),
|
|
1151
|
-
}).pipe(T.Http({
|
|
1152
|
-
method: "GET",
|
|
1153
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
|
|
1154
|
-
code: 200,
|
|
1155
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1156
|
-
}))).annotate({ identifier: "GetAlertRecordRequest" });
|
|
1157
|
-
export const AlertRecordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1158
|
-
data: AlertRecord,
|
|
1159
|
-
message: S.String,
|
|
1160
|
-
})).annotate({ identifier: "AlertRecordResponse" });
|
|
1161
|
-
export const GetAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1162
|
-
projectId: S.String.pipe(T.Label()),
|
|
1163
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1164
|
-
groupName: S.String.pipe(T.Label()),
|
|
1165
|
-
alertName: S.String.pipe(T.Label()),
|
|
1166
|
-
}).pipe(T.Http({
|
|
1167
|
-
method: "GET",
|
|
1168
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
|
|
1169
|
-
code: 200,
|
|
1170
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1171
|
-
}))).annotate({ identifier: "GetAlertruleRequest" });
|
|
1172
|
-
export const AlertRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1173
|
-
data: AlertRule,
|
|
1174
|
-
message: S.String,
|
|
1175
|
-
})).annotate({ identifier: "AlertRuleResponse" });
|
|
1176
|
-
export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1177
|
-
projectId: S.String.pipe(T.Label()),
|
|
1178
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1179
|
-
username: S.String.pipe(T.Label()),
|
|
1180
|
-
}).pipe(T.Http({
|
|
1181
|
-
method: "GET",
|
|
1182
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",
|
|
1183
|
-
code: 200,
|
|
1184
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1185
|
-
}))).annotate({ identifier: "GetCredentialsRequest" });
|
|
1186
|
-
export const GetCredentialsResponseCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
1187
|
-
export const GetCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1188
|
-
credentialsInfo: S.optional(GetCredentialsResponseCredentialsInfoMap),
|
|
1189
|
-
id: S.String,
|
|
1190
|
-
message: S.String,
|
|
1191
|
-
name: S.String,
|
|
1192
|
-
})).annotate({ identifier: "GetCredentialsResponse" });
|
|
1193
|
-
export const GetCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1194
|
-
projectId: S.String.pipe(T.Label()),
|
|
1195
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1196
|
-
username: S.String.pipe(T.Label()),
|
|
1197
|
-
}).pipe(T.Http({
|
|
1198
|
-
method: "GET",
|
|
1199
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
|
|
1200
|
-
code: 200,
|
|
1201
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1202
|
-
}))).annotate({
|
|
1203
|
-
identifier: "GetCredentialsRemoteWriteConfigRequest",
|
|
1204
|
-
});
|
|
1205
|
-
export const CredentialsRemoteWriteConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1206
|
-
credentialsMaxLimit: S.Number,
|
|
1207
|
-
maxLimit: S.Number,
|
|
1208
|
-
message: S.String,
|
|
1209
|
-
})).annotate({
|
|
1210
|
-
identifier: "CredentialsRemoteWriteConfig",
|
|
1211
|
-
});
|
|
1212
|
-
export const GetGrafanaConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1213
|
-
projectId: S.String.pipe(T.Label()),
|
|
1214
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1215
|
-
}).pipe(T.Http({
|
|
1216
|
-
method: "GET",
|
|
1217
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/grafana-configs",
|
|
1218
|
-
code: 200,
|
|
1219
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1220
|
-
}))).annotate({ identifier: "GetGrafanaConfigsRequest" });
|
|
1221
|
-
export const GrafanaOauth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1222
|
-
allowAssignGrafanaAdmin: S.optional(S.Boolean),
|
|
1223
|
-
apiUrl: S.String,
|
|
1224
|
-
authUrl: S.String,
|
|
1225
|
-
enabled: S.Boolean,
|
|
1226
|
-
name: S.optional(S.String),
|
|
1227
|
-
oauthClientId: S.String,
|
|
1228
|
-
oauthClientSecret: S.String,
|
|
1229
|
-
roleAttributePath: S.String,
|
|
1230
|
-
roleAttributeStrict: S.optional(S.Boolean),
|
|
1231
|
-
scopes: S.optional(S.String),
|
|
1232
|
-
tokenUrl: S.String,
|
|
1233
|
-
usePkce: S.optional(S.Boolean),
|
|
1234
|
-
})).annotate({ identifier: "GrafanaOauth" });
|
|
1235
|
-
export const GrafanaConfigs = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1236
|
-
genericOauth: S.optional(GrafanaOauth),
|
|
1237
|
-
message: S.String,
|
|
1238
|
-
publicReadAccess: S.optional(S.Boolean),
|
|
1239
|
-
useStackitSso: S.optional(S.Boolean),
|
|
1240
|
-
})).annotate({ identifier: "GrafanaConfigs" });
|
|
1241
|
-
export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1242
|
-
projectId: S.String.pipe(T.Label()),
|
|
1243
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1244
|
-
}).pipe(T.Http({
|
|
1245
|
-
method: "GET",
|
|
1246
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
1247
|
-
code: 200,
|
|
1248
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1249
|
-
}))).annotate({ identifier: "GetInstanceRequest" });
|
|
1250
|
-
export const PlanModel = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1251
|
-
alertMatchers: S.Number,
|
|
1252
|
-
alertReceivers: S.Number,
|
|
1253
|
-
alertRules: S.Number,
|
|
1254
|
-
amount: S.optional(S.Number),
|
|
1255
|
-
bucketSize: S.Number,
|
|
1256
|
-
description: S.optional(S.String),
|
|
1257
|
-
grafanaGlobalDashboards: S.Number,
|
|
1258
|
-
grafanaGlobalOrgs: S.Number,
|
|
1259
|
-
grafanaGlobalSessions: S.Number,
|
|
1260
|
-
grafanaGlobalUsers: S.Number,
|
|
1261
|
-
id: S.String,
|
|
1262
|
-
logsAlert: S.Number,
|
|
1263
|
-
logsStorage: S.Number,
|
|
1264
|
-
name: S.optional(S.String),
|
|
1265
|
-
planId: S.String,
|
|
1266
|
-
samplesPerScrape: S.Number,
|
|
1267
|
-
targetNumber: S.Number,
|
|
1268
|
-
totalMetricSamples: S.Number,
|
|
1269
|
-
tracesStorage: S.Number,
|
|
1270
|
-
})).annotate({ identifier: "PlanModel" });
|
|
1271
|
-
export const InstanceSensitiveData = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1272
|
-
alertingUrl: S.String,
|
|
1273
|
-
cluster: S.String,
|
|
1274
|
-
grafanaAdminEnabled: S.Boolean,
|
|
1275
|
-
grafanaAdminPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1276
|
-
grafanaAdminUser: S.optional(S.String),
|
|
1277
|
-
grafanaPublicReadAccess: S.Boolean,
|
|
1278
|
-
grafanaUrl: S.String,
|
|
1279
|
-
grafanaUseStackitSso: S.Boolean,
|
|
1280
|
-
instance: S.String,
|
|
1281
|
-
jaegerHttpTracesUrl: S.optional(S.String),
|
|
1282
|
-
jaegerHttpUrl: S.String,
|
|
1283
|
-
jaegerTracesUrl: S.String,
|
|
1284
|
-
jaegerUiUrl: S.String,
|
|
1285
|
-
logsPushUrl: S.String,
|
|
1286
|
-
logsUrl: S.String,
|
|
1287
|
-
metricsEndpointUrl: S.String,
|
|
1288
|
-
metricsRetentionTime1h: S.Number,
|
|
1289
|
-
metricsRetentionTime5m: S.Number,
|
|
1290
|
-
metricsRetentionTimeRaw: S.Number,
|
|
1291
|
-
metricsUrl: S.String,
|
|
1292
|
-
name: S.optional(S.String),
|
|
1293
|
-
otlpGrpcTracesUrl: S.String,
|
|
1294
|
-
otlpHttpLogsUrl: S.String,
|
|
1295
|
-
otlpHttpTracesUrl: S.String,
|
|
1296
|
-
otlpTracesUrl: S.String,
|
|
1297
|
-
plan: PlanModel,
|
|
1298
|
-
pushMetricsUrl: S.String,
|
|
1299
|
-
targetsUrl: S.String,
|
|
1300
|
-
zipkinSpansUrl: S.String,
|
|
1301
|
-
})).annotate({ identifier: "InstanceSensitiveData" });
|
|
1302
|
-
export const GetInstanceResponseParametersMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
1303
|
-
export const GetInstanceResponseStatus = S.String;
|
|
1304
|
-
export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1305
|
-
dashboardUrl: S.String,
|
|
1306
|
-
error: S.optional(S.NullOr(S.String)),
|
|
1307
|
-
id: S.String,
|
|
1308
|
-
instance: InstanceSensitiveData,
|
|
1309
|
-
isUpdatable: S.optional(S.Boolean),
|
|
1310
|
-
message: S.String,
|
|
1311
|
-
name: S.optional(S.String),
|
|
1312
|
-
parameters: S.optional(GetInstanceResponseParametersMap),
|
|
1313
|
-
planId: S.String,
|
|
1314
|
-
planName: S.String,
|
|
1315
|
-
planSchema: S.optional(S.String),
|
|
1316
|
-
serviceName: S.String,
|
|
1317
|
-
status: GetInstanceResponseStatus,
|
|
1318
|
-
})).annotate({ identifier: "GetInstanceResponse" });
|
|
1319
|
-
export const GetLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1320
|
-
projectId: S.String.pipe(T.Label()),
|
|
1321
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1322
|
-
groupName: S.String.pipe(T.Label()),
|
|
1323
|
-
}).pipe(T.Http({
|
|
1324
|
-
method: "GET",
|
|
1325
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",
|
|
1326
|
-
code: 200,
|
|
1327
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1328
|
-
}))).annotate({ identifier: "GetLogsAlertgroupRequest" });
|
|
1329
|
-
export const GetLogsConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1330
|
-
projectId: S.String.pipe(T.Label()),
|
|
1331
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1332
|
-
}).pipe(T.Http({
|
|
1333
|
-
method: "GET",
|
|
1334
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-configs",
|
|
1335
|
-
code: 200,
|
|
1336
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1337
|
-
}))).annotate({ identifier: "GetLogsConfigsRequest" });
|
|
1338
|
-
export const LogsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1339
|
-
retention: S.String,
|
|
1340
|
-
})).annotate({ identifier: "LogsConfig" });
|
|
1341
|
-
export const LogsConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1342
|
-
config: LogsConfig,
|
|
1343
|
-
message: S.String,
|
|
1344
|
-
})).annotate({ identifier: "LogsConfigResponse" });
|
|
1345
|
-
export const GetMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1346
|
-
projectId: S.String.pipe(T.Label()),
|
|
1347
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1348
|
-
}).pipe(T.Http({
|
|
1349
|
-
method: "GET",
|
|
1350
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",
|
|
1351
|
-
code: 200,
|
|
1352
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1353
|
-
}))).annotate({
|
|
1354
|
-
identifier: "GetMetricsStorageRetentionRequest",
|
|
1355
|
-
});
|
|
1356
|
-
export const GetMetricsStorageRetentionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1357
|
-
message: S.String,
|
|
1358
|
-
metricsRetentionTime1h: S.String,
|
|
1359
|
-
metricsRetentionTime5m: S.String,
|
|
1360
|
-
metricsRetentionTimeRaw: S.String,
|
|
1361
|
-
})).annotate({
|
|
1362
|
-
identifier: "GetMetricsStorageRetentionResponse",
|
|
1363
|
-
});
|
|
1364
|
-
export const GetScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1365
|
-
projectId: S.String.pipe(T.Label()),
|
|
1366
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1367
|
-
jobName: S.String.pipe(T.Label()),
|
|
1368
|
-
}).pipe(T.Http({
|
|
1369
|
-
method: "GET",
|
|
1370
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",
|
|
1371
|
-
code: 200,
|
|
1372
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1373
|
-
}))).annotate({ identifier: "GetScrapeConfigRequest" });
|
|
1374
|
-
export const GetScrapeConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1375
|
-
data: Job,
|
|
1376
|
-
message: S.String,
|
|
1377
|
-
})).annotate({ identifier: "GetScrapeConfigResponse" });
|
|
1378
|
-
export const GetTracesConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1379
|
-
projectId: S.String.pipe(T.Label()),
|
|
1380
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1381
|
-
}).pipe(T.Http({
|
|
1382
|
-
method: "GET",
|
|
1383
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/traces-configs",
|
|
1384
|
-
code: 200,
|
|
1385
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1386
|
-
}))).annotate({ identifier: "GetTracesConfigsRequest" });
|
|
1387
|
-
export const TraceConfig = LogsConfig;
|
|
1388
|
-
export const TracesConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1389
|
-
config: LogsConfig,
|
|
1390
|
-
message: S.String,
|
|
1391
|
-
})).annotate({ identifier: "TracesConfigResponse" });
|
|
1392
|
-
export const ListACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1393
|
-
projectId: S.String.pipe(T.Label()),
|
|
1394
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1395
|
-
}).pipe(T.Http({
|
|
1396
|
-
method: "GET",
|
|
1397
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/acl",
|
|
1398
|
-
code: 200,
|
|
1399
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1400
|
-
}))).annotate({ identifier: "ListACLRequest" });
|
|
1401
|
-
export const ListACLResponseAclList = /*@__PURE__*/ S.Array(S.String);
|
|
1402
|
-
export const ListACLResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1403
|
-
acl: ListACLResponseAclList,
|
|
1404
|
-
message: S.String,
|
|
1405
|
-
})).annotate({ identifier: "ListACLResponse" });
|
|
1406
|
-
export const ListAlertConfigReceiversRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1407
|
-
projectId: S.String.pipe(T.Label()),
|
|
1408
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1409
|
-
}).pipe(T.Http({
|
|
1410
|
-
method: "GET",
|
|
1411
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers",
|
|
1412
|
-
code: 200,
|
|
1413
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1414
|
-
}))).annotate({
|
|
1415
|
-
identifier: "ListAlertConfigReceiversRequest",
|
|
1416
|
-
});
|
|
1417
|
-
export const ListAlertConfigRoutesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1418
|
-
projectId: S.String.pipe(T.Label()),
|
|
1419
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1420
|
-
}).pipe(T.Http({
|
|
1421
|
-
method: "GET",
|
|
1422
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes",
|
|
1423
|
-
code: 200,
|
|
1424
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1425
|
-
}))).annotate({
|
|
1426
|
-
identifier: "ListAlertConfigRoutesRequest",
|
|
1427
|
-
});
|
|
1428
|
-
export const ListAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1429
|
-
projectId: S.String.pipe(T.Label()),
|
|
1430
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1431
|
-
}).pipe(T.Http({
|
|
1432
|
-
method: "GET",
|
|
1433
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
1434
|
-
code: 200,
|
|
1435
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1436
|
-
}))).annotate({ identifier: "ListAlertgroupsRequest" });
|
|
1437
|
-
export const ListAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1438
|
-
projectId: S.String.pipe(T.Label()),
|
|
1439
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1440
|
-
groupName: S.String.pipe(T.Label()),
|
|
1441
|
-
}).pipe(T.Http({
|
|
1442
|
-
method: "GET",
|
|
1443
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
|
|
1444
|
-
code: 200,
|
|
1445
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1446
|
-
}))).annotate({ identifier: "ListAlertRecordsRequest" });
|
|
1447
|
-
export const ListAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1448
|
-
projectId: S.String.pipe(T.Label()),
|
|
1449
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1450
|
-
groupName: S.String.pipe(T.Label()),
|
|
1451
|
-
}).pipe(T.Http({
|
|
1452
|
-
method: "GET",
|
|
1453
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
|
|
1454
|
-
code: 200,
|
|
1455
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1456
|
-
}))).annotate({ identifier: "ListAlertrulesRequest" });
|
|
1457
|
-
export const ListBackupRetentionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1458
|
-
projectId: S.String.pipe(T.Label()),
|
|
1459
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1460
|
-
}).pipe(T.Http({
|
|
1461
|
-
method: "GET",
|
|
1462
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-retentions",
|
|
1463
|
-
code: 200,
|
|
1464
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1465
|
-
}))).annotate({
|
|
1466
|
-
identifier: "ListBackupRetentionsRequest",
|
|
1467
|
-
});
|
|
1468
|
-
export const BackupRetentionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1469
|
-
alertConfigBackupRetention: S.String,
|
|
1470
|
-
alertRulesBackupRetention: S.String,
|
|
1471
|
-
grafanaBackupRetention: S.String,
|
|
1472
|
-
message: S.String,
|
|
1473
|
-
scrapeConfigBackupRetention: S.String,
|
|
1474
|
-
})).annotate({ identifier: "BackupRetentionResponse" });
|
|
1475
|
-
export const ListBackupsRequestBackupTargetItem = S.String;
|
|
1476
|
-
export const ListBackupsRequestBackupTargetList = /*@__PURE__*/ S.Array(ListBackupsRequestBackupTargetItem);
|
|
1477
|
-
export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1478
|
-
projectId: S.String.pipe(T.Label()),
|
|
1479
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1480
|
-
backupTarget: S.optional(ListBackupsRequestBackupTargetList.pipe(T.Query())),
|
|
1481
|
-
}).pipe(T.Http({
|
|
1482
|
-
method: "GET",
|
|
1483
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/backups",
|
|
1484
|
-
code: 200,
|
|
1485
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1486
|
-
}))).annotate({ identifier: "ListBackupsRequest" });
|
|
1487
|
-
export const BackupResponseAlertConfigBackupsList = /*@__PURE__*/ S.Array(S.String);
|
|
1488
|
-
export const BackupResponseAlertRulesBackupsList = /*@__PURE__*/ S.Array(S.String);
|
|
1489
|
-
export const BackupResponseGrafanaBackupsList = /*@__PURE__*/ S.Array(S.String);
|
|
1490
|
-
export const BackupResponseScrapeConfigBackupsList = /*@__PURE__*/ S.Array(S.String);
|
|
1491
|
-
export const BackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1492
|
-
alertConfigBackups: BackupResponseAlertConfigBackupsList,
|
|
1493
|
-
alertRulesBackups: BackupResponseAlertRulesBackupsList,
|
|
1494
|
-
grafanaBackups: BackupResponseGrafanaBackupsList,
|
|
1495
|
-
message: S.String,
|
|
1496
|
-
scrapeConfigBackups: BackupResponseScrapeConfigBackupsList,
|
|
1497
|
-
})).annotate({ identifier: "BackupResponse" });
|
|
1498
|
-
export const ListBackupSchedulesRequestBackupTargetItem = S.String;
|
|
1499
|
-
export const ListBackupSchedulesRequestBackupTargetList = /*@__PURE__*/ S.Array(ListBackupSchedulesRequestBackupTargetItem);
|
|
1500
|
-
export const ListBackupSchedulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1501
|
-
projectId: S.String.pipe(T.Label()),
|
|
1502
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1503
|
-
backupTarget: S.optional(ListBackupSchedulesRequestBackupTargetList.pipe(T.Query())),
|
|
1504
|
-
}).pipe(T.Http({
|
|
1505
|
-
method: "GET",
|
|
1506
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-schedules",
|
|
1507
|
-
code: 200,
|
|
1508
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1509
|
-
}))).annotate({
|
|
1510
|
-
identifier: "ListBackupSchedulesRequest",
|
|
1511
|
-
});
|
|
1512
|
-
export const BackupSchedule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1513
|
-
schedule: S.String,
|
|
1514
|
-
scheduleId: S.String,
|
|
1515
|
-
})).annotate({ identifier: "BackupSchedule" });
|
|
1516
|
-
export const BackupScheduleResponseAlertConfigBackupSchedulesList = /*@__PURE__*/ S.Array(BackupSchedule);
|
|
1517
|
-
export const BackupScheduleResponseAlertRulesBackupSchedulesList = /*@__PURE__*/ S.Array(BackupSchedule);
|
|
1518
|
-
export const BackupScheduleResponseGrafanaBackupSchedulesList = /*@__PURE__*/ S.Array(BackupSchedule);
|
|
1519
|
-
export const BackupScheduleResponseScrapeConfigBackupSchedulesList = /*@__PURE__*/ S.Array(BackupSchedule);
|
|
1520
|
-
export const BackupScheduleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1521
|
-
alertConfigBackupSchedules: S.optional(BackupScheduleResponseAlertConfigBackupSchedulesList),
|
|
1522
|
-
alertRulesBackupSchedules: S.optional(BackupScheduleResponseAlertRulesBackupSchedulesList),
|
|
1523
|
-
grafanaBackupSchedules: S.optional(BackupScheduleResponseGrafanaBackupSchedulesList),
|
|
1524
|
-
message: S.String,
|
|
1525
|
-
scrapeConfigBackupSchedules: S.optional(BackupScheduleResponseScrapeConfigBackupSchedulesList),
|
|
1526
|
-
})).annotate({ identifier: "BackupScheduleResponse" });
|
|
1527
|
-
export const ListCertChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1528
|
-
projectId: S.String.pipe(T.Label()),
|
|
1529
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1530
|
-
}).pipe(T.Http({
|
|
1531
|
-
method: "GET",
|
|
1532
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks",
|
|
1533
|
-
code: 200,
|
|
1534
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1535
|
-
}))).annotate({ identifier: "ListCertChecksRequest" });
|
|
1536
|
-
export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1537
|
-
projectId: S.String.pipe(T.Label()),
|
|
1538
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1539
|
-
}).pipe(T.Http({
|
|
1540
|
-
method: "GET",
|
|
1541
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials",
|
|
1542
|
-
code: 200,
|
|
1543
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1544
|
-
}))).annotate({ identifier: "ListCredentialsRequest" });
|
|
1545
|
-
export const ServiceKeysListCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
1546
|
-
export const ServiceKeysList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1547
|
-
credentialsInfo: S.optional(ServiceKeysListCredentialsInfoMap),
|
|
1548
|
-
description: S.optional(S.String),
|
|
1549
|
-
id: S.String,
|
|
1550
|
-
name: S.String,
|
|
1551
|
-
})).annotate({ identifier: "ServiceKeysList" });
|
|
1552
|
-
export const ListCredentialsResponseCredentialsList = /*@__PURE__*/ S.Array(ServiceKeysList);
|
|
1553
|
-
export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1554
|
-
credentials: ListCredentialsResponseCredentialsList,
|
|
1555
|
-
message: S.String,
|
|
1556
|
-
})).annotate({ identifier: "ListCredentialsResponse" });
|
|
1557
|
-
export const ListElasticsearchChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1558
|
-
projectId: S.String.pipe(T.Label()),
|
|
1559
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1560
|
-
}).pipe(T.Http({
|
|
1561
|
-
method: "GET",
|
|
1562
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/elasticsearch-checks",
|
|
1563
|
-
code: 200,
|
|
1564
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1565
|
-
}))).annotate({
|
|
1566
|
-
identifier: "ListElasticsearchChecksRequest",
|
|
1567
|
-
});
|
|
1568
|
-
export const ListHttpChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1569
|
-
projectId: S.String.pipe(T.Label()),
|
|
1570
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1571
|
-
}).pipe(T.Http({
|
|
1572
|
-
method: "GET",
|
|
1573
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks",
|
|
1574
|
-
code: 200,
|
|
1575
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1576
|
-
}))).annotate({ identifier: "ListHttpChecksRequest" });
|
|
1577
|
-
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1578
|
-
projectId: S.String.pipe(T.Label()),
|
|
1579
|
-
}).pipe(T.Http({
|
|
1580
|
-
method: "GET",
|
|
1581
|
-
uri: "/v1/projects/{projectId}/instances",
|
|
1582
|
-
code: 200,
|
|
1583
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1584
|
-
}))).annotate({ identifier: "ListInstancesRequest" });
|
|
1585
|
-
export const ProjectInstanceFullStatus = S.String;
|
|
1586
|
-
export const ProjectInstanceFull = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1587
|
-
error: S.optional(S.NullOr(S.String)),
|
|
1588
|
-
id: S.String,
|
|
1589
|
-
instance: S.String,
|
|
1590
|
-
name: S.optional(S.String),
|
|
1591
|
-
planName: S.String,
|
|
1592
|
-
serviceName: S.String,
|
|
1593
|
-
status: ProjectInstanceFullStatus,
|
|
1594
|
-
})).annotate({ identifier: "ProjectInstanceFull" });
|
|
1595
|
-
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(ProjectInstanceFull);
|
|
1596
|
-
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1597
|
-
instances: ListInstancesResponseInstancesList,
|
|
1598
|
-
message: S.String,
|
|
1599
|
-
})).annotate({ identifier: "ListInstancesResponse" });
|
|
1600
|
-
export const ListLogsAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1601
|
-
projectId: S.String.pipe(T.Label()),
|
|
1602
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1603
|
-
}).pipe(T.Http({
|
|
1604
|
-
method: "GET",
|
|
1605
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups",
|
|
1606
|
-
code: 200,
|
|
1607
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1608
|
-
}))).annotate({
|
|
1609
|
-
identifier: "ListLogsAlertgroupsRequest",
|
|
1610
|
-
});
|
|
1611
|
-
export const ListMongodbChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1612
|
-
projectId: S.String.pipe(T.Label()),
|
|
1613
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1614
|
-
}).pipe(T.Http({
|
|
1615
|
-
method: "GET",
|
|
1616
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks",
|
|
1617
|
-
code: 200,
|
|
1618
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1619
|
-
}))).annotate({ identifier: "ListMongodbChecksRequest" });
|
|
1620
|
-
export const ListMysqlChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1621
|
-
projectId: S.String.pipe(T.Label()),
|
|
1622
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1623
|
-
}).pipe(T.Http({
|
|
1624
|
-
method: "GET",
|
|
1625
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",
|
|
1626
|
-
code: 200,
|
|
1627
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1628
|
-
}))).annotate({ identifier: "ListMysqlChecksRequest" });
|
|
1629
|
-
export const ListNetworkChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1630
|
-
projectId: S.String.pipe(T.Label()),
|
|
1631
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1632
|
-
}).pipe(T.Http({
|
|
1633
|
-
method: "GET",
|
|
1634
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/network-checks",
|
|
1635
|
-
code: 200,
|
|
1636
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1637
|
-
}))).annotate({ identifier: "ListNetworkChecksRequest" });
|
|
1638
|
-
export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1639
|
-
projectId: S.String.pipe(T.Label()),
|
|
1640
|
-
}).pipe(T.Http({
|
|
1641
|
-
method: "GET",
|
|
1642
|
-
uri: "/v1/projects/{projectId}/offerings",
|
|
1643
|
-
code: 200,
|
|
1644
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1645
|
-
}))).annotate({ identifier: "ListOfferingsRequest" });
|
|
1646
|
-
export const Plan = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1647
|
-
alertMatchers: S.Number,
|
|
1648
|
-
alertReceivers: S.Number,
|
|
1649
|
-
alertRules: S.Number,
|
|
1650
|
-
amount: S.optional(S.Number),
|
|
1651
|
-
bucketSize: S.Number,
|
|
1652
|
-
description: S.optional(S.String),
|
|
1653
|
-
grafanaGlobalDashboards: S.Number,
|
|
1654
|
-
grafanaGlobalOrgs: S.Number,
|
|
1655
|
-
grafanaGlobalSessions: S.Number,
|
|
1656
|
-
grafanaGlobalUsers: S.Number,
|
|
1657
|
-
id: S.String,
|
|
1658
|
-
isFree: S.optional(S.Boolean),
|
|
1659
|
-
isPublic: S.optional(S.Boolean),
|
|
1660
|
-
logsAlert: S.Number,
|
|
1661
|
-
logsStorage: S.Number,
|
|
1662
|
-
name: S.optional(S.String),
|
|
1663
|
-
planId: S.String,
|
|
1664
|
-
samplesPerScrape: S.Number,
|
|
1665
|
-
schema: S.optional(S.String),
|
|
1666
|
-
targetNumber: S.Number,
|
|
1667
|
-
totalMetricSamples: S.Number,
|
|
1668
|
-
tracesStorage: S.Number,
|
|
1669
|
-
})).annotate({ identifier: "Plan" });
|
|
1670
|
-
export const OfferingsPlansList = /*@__PURE__*/ S.Array(Plan);
|
|
1671
|
-
export const OfferingsTagsList = /*@__PURE__*/ S.Array(S.String);
|
|
1672
|
-
export const Offerings = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1673
|
-
description: S.String,
|
|
1674
|
-
documentationUrl: S.String,
|
|
1675
|
-
imageUrl: S.String,
|
|
1676
|
-
name: S.String,
|
|
1677
|
-
plans: OfferingsPlansList,
|
|
1678
|
-
tags: OfferingsTagsList,
|
|
1679
|
-
})).annotate({ identifier: "Offerings" });
|
|
1680
|
-
export const ListPingChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1681
|
-
projectId: S.String.pipe(T.Label()),
|
|
1682
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1683
|
-
}).pipe(T.Http({
|
|
1684
|
-
method: "GET",
|
|
1685
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks",
|
|
1686
|
-
code: 200,
|
|
1687
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1688
|
-
}))).annotate({ identifier: "ListPingChecksRequest" });
|
|
1689
|
-
export const ListPlansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1690
|
-
projectId: S.String.pipe(T.Label()),
|
|
1691
|
-
}).pipe(T.Http({
|
|
1692
|
-
method: "GET",
|
|
1693
|
-
uri: "/v1/projects/{projectId}/plans",
|
|
1694
|
-
code: 200,
|
|
1695
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1696
|
-
}))).annotate({ identifier: "ListPlansRequest" });
|
|
1697
|
-
export const PlansResponsePlansList = /*@__PURE__*/ S.Array(Plan);
|
|
1698
|
-
export const PlansResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1699
|
-
message: S.String,
|
|
1700
|
-
plans: PlansResponsePlansList,
|
|
1701
|
-
})).annotate({ identifier: "PlansResponse" });
|
|
1702
|
-
export const ListPostgresqlChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1703
|
-
projectId: S.String.pipe(T.Label()),
|
|
1704
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1705
|
-
}).pipe(T.Http({
|
|
1706
|
-
method: "GET",
|
|
1707
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/postgresql-checks",
|
|
1708
|
-
code: 200,
|
|
1709
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1710
|
-
}))).annotate({
|
|
1711
|
-
identifier: "ListPostgresqlChecksRequest",
|
|
1712
|
-
});
|
|
1713
|
-
export const ListRabbitmqChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1714
|
-
projectId: S.String.pipe(T.Label()),
|
|
1715
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1716
|
-
}).pipe(T.Http({
|
|
1717
|
-
method: "GET",
|
|
1718
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/rabbitmq-checks",
|
|
1719
|
-
code: 200,
|
|
1720
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1721
|
-
}))).annotate({
|
|
1722
|
-
identifier: "ListRabbitmqChecksRequest",
|
|
1723
|
-
});
|
|
1724
|
-
export const ListRedisChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1725
|
-
projectId: S.String.pipe(T.Label()),
|
|
1726
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1727
|
-
}).pipe(T.Http({
|
|
1728
|
-
method: "GET",
|
|
1729
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks",
|
|
1730
|
-
code: 200,
|
|
1731
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1732
|
-
}))).annotate({ identifier: "ListRedisChecksRequest" });
|
|
1733
|
-
export const ListScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1734
|
-
projectId: S.String.pipe(T.Label()),
|
|
1735
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1736
|
-
}).pipe(T.Http({
|
|
1737
|
-
method: "GET",
|
|
1738
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
|
|
1739
|
-
code: 200,
|
|
1740
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1741
|
-
}))).annotate({ identifier: "ListScrapeConfigsRequest" });
|
|
1742
|
-
export const ListScrapeConfigsResponseDataList = /*@__PURE__*/ S.Array(Job);
|
|
1743
|
-
export const ListScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1744
|
-
data: ListScrapeConfigsResponseDataList,
|
|
1745
|
-
message: S.String,
|
|
1746
|
-
})).annotate({
|
|
1747
|
-
identifier: "ListScrapeConfigsResponse",
|
|
1748
|
-
});
|
|
1749
|
-
export const PartialUpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
1750
|
-
export const PartialUpdateAlertgroupsRequestBodyItemRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
|
|
1751
|
-
export const PartialUpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1752
|
-
interval: S.optional(S.String),
|
|
1753
|
-
name: S.String,
|
|
1754
|
-
rules: PartialUpdateAlertgroupsRequestBodyItemRulesList,
|
|
1755
|
-
})).annotate({
|
|
1756
|
-
identifier: "PartialUpdateAlertgroupsRequestBodyItem",
|
|
1757
|
-
});
|
|
1758
|
-
export const PartialUpdateAlertgroupsRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateAlertgroupsRequestBodyItem);
|
|
1759
|
-
export const PartialUpdateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1760
|
-
projectId: S.String.pipe(T.Label()),
|
|
1761
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1762
|
-
body: PartialUpdateAlertgroupsRequestBodyList.pipe(T.HttpBody()),
|
|
1763
|
-
}).pipe(T.Http({
|
|
1764
|
-
method: "PATCH",
|
|
1765
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
1766
|
-
code: 200,
|
|
1767
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1768
|
-
}))).annotate({
|
|
1769
|
-
identifier: "PartialUpdateAlertgroupsRequest",
|
|
1770
|
-
});
|
|
1771
|
-
export const PartialUpdateAlertRecordsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1772
|
-
expr: S.String,
|
|
1773
|
-
labels: S.optional(S.Unknown),
|
|
1774
|
-
record: S.String,
|
|
1775
|
-
})).annotate({
|
|
1776
|
-
identifier: "PartialUpdateAlertRecordsRequestBodyItem",
|
|
1777
|
-
});
|
|
1778
|
-
export const PartialUpdateAlertRecordsRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateAlertRecordsRequestBodyItem);
|
|
1779
|
-
export const PartialUpdateAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1780
|
-
projectId: S.String.pipe(T.Label()),
|
|
1781
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1782
|
-
groupName: S.String.pipe(T.Label()),
|
|
1783
|
-
body: PartialUpdateAlertRecordsRequestBodyList.pipe(T.HttpBody()),
|
|
1784
|
-
}).pipe(T.Http({
|
|
1785
|
-
method: "PATCH",
|
|
1786
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
|
|
1787
|
-
code: 200,
|
|
1788
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1789
|
-
}))).annotate({
|
|
1790
|
-
identifier: "PartialUpdateAlertRecordsRequest",
|
|
1791
|
-
});
|
|
1792
|
-
export const PartialUpdateAlertrulesRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1793
|
-
alert: S.String,
|
|
1794
|
-
annotations: S.optional(S.Unknown),
|
|
1795
|
-
expr: S.String,
|
|
1796
|
-
for: S.optional(S.String),
|
|
1797
|
-
labels: S.optional(S.Unknown),
|
|
1798
|
-
})).annotate({
|
|
1799
|
-
identifier: "PartialUpdateAlertrulesRequestBodyItem",
|
|
1800
|
-
});
|
|
1801
|
-
export const PartialUpdateAlertrulesRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateAlertrulesRequestBodyItem);
|
|
1802
|
-
export const PartialUpdateAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1803
|
-
projectId: S.String.pipe(T.Label()),
|
|
1804
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1805
|
-
groupName: S.String.pipe(T.Label()),
|
|
1806
|
-
body: PartialUpdateAlertrulesRequestBodyList.pipe(T.HttpBody()),
|
|
1807
|
-
}).pipe(T.Http({
|
|
1808
|
-
method: "PATCH",
|
|
1809
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
|
|
1810
|
-
code: 200,
|
|
1811
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1812
|
-
}))).annotate({
|
|
1813
|
-
identifier: "PartialUpdateAlertrulesRequest",
|
|
1814
|
-
});
|
|
1815
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
1816
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
1817
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList =
|
|
1818
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
1819
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1820
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 =
|
|
1821
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1822
|
-
clientId: S.String,
|
|
1823
|
-
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
1824
|
-
scopes: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2ScopesList),
|
|
1825
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
1826
|
-
tokenUrl: S.String,
|
|
1827
|
-
})).annotate({
|
|
1828
|
-
identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2",
|
|
1829
|
-
});
|
|
1830
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1831
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1832
|
-
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
1833
|
-
oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2),
|
|
1834
|
-
refreshInterval: S.optional(S.String),
|
|
1835
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
1836
|
-
url: S.String,
|
|
1837
|
-
})).annotate({
|
|
1838
|
-
identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem",
|
|
1839
|
-
});
|
|
1840
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList = /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem);
|
|
1841
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction = S.String;
|
|
1842
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList =
|
|
1843
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
1844
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem =
|
|
1845
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1846
|
-
action: S.optional(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction),
|
|
1847
|
-
modulus: S.optional(S.Number),
|
|
1848
|
-
regex: S.optional(S.String),
|
|
1849
|
-
replacement: S.optional(S.String),
|
|
1850
|
-
separator: S.optional(S.String),
|
|
1851
|
-
sourceLabels: S.optional(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList),
|
|
1852
|
-
targetLabel: S.optional(S.String),
|
|
1853
|
-
})).annotate({
|
|
1854
|
-
identifier: "PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem",
|
|
1855
|
-
});
|
|
1856
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList =
|
|
1857
|
-
/*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem);
|
|
1858
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList = /*@__PURE__*/ S.Array(S.String);
|
|
1859
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1860
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1861
|
-
clientId: S.String,
|
|
1862
|
-
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
1863
|
-
scopes: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList),
|
|
1864
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
1865
|
-
tokenUrl: S.String,
|
|
1866
|
-
})).annotate({
|
|
1867
|
-
identifier: "PartialUpdateScrapeConfigsRequestBodyItemOauth2",
|
|
1868
|
-
});
|
|
1869
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemScheme = S.String;
|
|
1870
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList =
|
|
1871
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
1872
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1873
|
-
labels: S.optional(S.Unknown),
|
|
1874
|
-
targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList,
|
|
1875
|
-
})).annotate({
|
|
1876
|
-
identifier: "PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem",
|
|
1877
|
-
});
|
|
1878
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList = /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem);
|
|
1879
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
1880
|
-
export const PartialUpdateScrapeConfigsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1881
|
-
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
1882
|
-
bearerToken: S.optional(S.String),
|
|
1883
|
-
honorLabels: S.optional(S.Boolean),
|
|
1884
|
-
honorTimeStamps: S.optional(S.Boolean),
|
|
1885
|
-
httpSdConfigs: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList),
|
|
1886
|
-
jobName: S.String,
|
|
1887
|
-
metricsPath: S.optional(S.String),
|
|
1888
|
-
metricsRelabelConfigs: S.optional(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList),
|
|
1889
|
-
oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2),
|
|
1890
|
-
params: S.optional(S.Unknown),
|
|
1891
|
-
sampleLimit: S.optional(S.Number),
|
|
1892
|
-
scheme: PartialUpdateScrapeConfigsRequestBodyItemScheme,
|
|
1893
|
-
scrapeInterval: S.String,
|
|
1894
|
-
scrapeTimeout: S.String,
|
|
1895
|
-
staticConfigs: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList,
|
|
1896
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
1897
|
-
})).annotate({
|
|
1898
|
-
identifier: "PartialUpdateScrapeConfigsRequestBodyItem",
|
|
1899
|
-
});
|
|
1900
|
-
export const PartialUpdateScrapeConfigsRequestBodyList = /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItem);
|
|
1901
|
-
export const PartialUpdateScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1902
|
-
projectId: S.String.pipe(T.Label()),
|
|
1903
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1904
|
-
body: PartialUpdateScrapeConfigsRequestBodyList.pipe(T.HttpBody()),
|
|
1905
|
-
}).pipe(T.Http({
|
|
1906
|
-
method: "PATCH",
|
|
1907
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
|
|
1908
|
-
code: 200,
|
|
1909
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1910
|
-
}))).annotate({
|
|
1911
|
-
identifier: "PartialUpdateScrapeConfigsRequest",
|
|
1912
|
-
});
|
|
1913
|
-
export const RestoreBackupRequestRestoreTarget = S.String;
|
|
1914
|
-
export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1915
|
-
projectId: S.String.pipe(T.Label()),
|
|
1916
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1917
|
-
backupDate: S.String.pipe(T.Label()),
|
|
1918
|
-
restoreTarget: RestoreBackupRequestRestoreTarget.pipe(T.Query()),
|
|
1919
|
-
}).pipe(T.Http({
|
|
1920
|
-
method: "POST",
|
|
1921
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-restores/{backupDate}",
|
|
1922
|
-
code: 200,
|
|
1923
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1924
|
-
}))).annotate({ identifier: "RestoreBackupRequest" });
|
|
1925
|
-
export const UpdateACLRequestAclList = /*@__PURE__*/ S.Array(S.String);
|
|
1926
|
-
export const UpdateACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1927
|
-
projectId: S.String.pipe(T.Label()),
|
|
1928
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1929
|
-
acl: UpdateACLRequestAclList,
|
|
1930
|
-
}).pipe(T.Http({
|
|
1931
|
-
method: "PUT",
|
|
1932
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/acl",
|
|
1933
|
-
code: 200,
|
|
1934
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1935
|
-
}))).annotate({ identifier: "UpdateACLRequest" });
|
|
1936
|
-
export const UpdateAlertConfigReceiverRequestEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
|
|
1937
|
-
export const UpdateAlertConfigReceiverRequestEmailConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
1938
|
-
export const UpdateAlertConfigReceiverRequestOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
|
|
1939
|
-
export const UpdateAlertConfigReceiverRequestOpsgenieConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
1940
|
-
export const UpdateAlertConfigReceiverRequestWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
|
|
1941
|
-
export const UpdateAlertConfigReceiverRequestWebHookConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
1942
|
-
export const UpdateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1943
|
-
projectId: S.String.pipe(T.Label()),
|
|
1944
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1945
|
-
receiver: S.String.pipe(T.Label()),
|
|
1946
|
-
emailConfigs: S.optional(UpdateAlertConfigReceiverRequestEmailConfigsList),
|
|
1947
|
-
name: S.String,
|
|
1948
|
-
opsgenieConfigs: S.optional(UpdateAlertConfigReceiverRequestOpsgenieConfigsList),
|
|
1949
|
-
webHookConfigs: S.optional(UpdateAlertConfigReceiverRequestWebHookConfigsList),
|
|
1950
|
-
}).pipe(T.Http({
|
|
1951
|
-
method: "PUT",
|
|
1952
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/receivers/{receiver}",
|
|
1953
|
-
code: 200,
|
|
1954
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1955
|
-
}))).annotate({
|
|
1956
|
-
identifier: "UpdateAlertConfigReceiverRequest",
|
|
1957
|
-
});
|
|
1958
|
-
export const UpdateAlertConfigRouteRequestGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
1959
|
-
export const UpdateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
1960
|
-
export const UpdateAlertConfigRouteRequestRoutesItemGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
1961
|
-
export const UpdateAlertConfigRouteRequestRoutesItemMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
1962
|
-
export const UpdateAlertConfigRouteRequestRoutesItemRoutesList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
1963
|
-
export const UpdateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1964
|
-
continue: S.optional(S.Boolean),
|
|
1965
|
-
groupBy: S.optional(UpdateAlertConfigRouteRequestRoutesItemGroupByList),
|
|
1966
|
-
groupInterval: S.optional(S.String),
|
|
1967
|
-
groupWait: S.optional(S.String),
|
|
1968
|
-
match: S.optional(S.Unknown),
|
|
1969
|
-
matchRe: S.optional(S.Unknown),
|
|
1970
|
-
matchers: S.optional(UpdateAlertConfigRouteRequestRoutesItemMatchersList),
|
|
1971
|
-
receiver: S.optional(S.String),
|
|
1972
|
-
repeatInterval: S.optional(S.String),
|
|
1973
|
-
routes: S.optional(UpdateAlertConfigRouteRequestRoutesItemRoutesList),
|
|
1974
|
-
})).annotate({
|
|
1975
|
-
identifier: "UpdateAlertConfigRouteRequestRoutesItem",
|
|
1976
|
-
});
|
|
1977
|
-
export const UpdateAlertConfigRouteRequestRoutesList = /*@__PURE__*/ S.Array(UpdateAlertConfigRouteRequestRoutesItem);
|
|
1978
|
-
export const UpdateAlertConfigRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1979
|
-
projectId: S.String.pipe(T.Label()),
|
|
1980
|
-
instanceId: S.String.pipe(T.Label()),
|
|
1981
|
-
receiver: S.String.pipe(T.Label()),
|
|
1982
|
-
continue: S.optional(S.Boolean),
|
|
1983
|
-
groupBy: S.optional(UpdateAlertConfigRouteRequestGroupByList),
|
|
1984
|
-
groupInterval: S.optional(S.String),
|
|
1985
|
-
groupWait: S.optional(S.String),
|
|
1986
|
-
match: S.optional(S.Unknown),
|
|
1987
|
-
matchRe: S.optional(S.Unknown),
|
|
1988
|
-
matchers: S.optional(UpdateAlertConfigRouteRequestMatchersList),
|
|
1989
|
-
repeatInterval: S.optional(S.String),
|
|
1990
|
-
routes: S.optional(UpdateAlertConfigRouteRequestRoutesList),
|
|
1991
|
-
}).pipe(T.Http({
|
|
1992
|
-
method: "PUT",
|
|
1993
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs/routes/{receiver}",
|
|
1994
|
-
code: 200,
|
|
1995
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1996
|
-
}))).annotate({
|
|
1997
|
-
identifier: "UpdateAlertConfigRouteRequest",
|
|
1998
|
-
});
|
|
1999
|
-
export const UpdateAlertConfigsRequestGlobal = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2000
|
-
opsgenieApiKey: S.optional(S.String),
|
|
2001
|
-
opsgenieApiUrl: S.optional(S.String),
|
|
2002
|
-
resolveTimeout: S.optional(S.String),
|
|
2003
|
-
smtpAuthIdentity: S.optional(S.String),
|
|
2004
|
-
smtpAuthPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
2005
|
-
smtpAuthUsername: S.optional(S.String),
|
|
2006
|
-
smtpFrom: S.optional(S.String),
|
|
2007
|
-
smtpSmarthost: S.optional(S.String),
|
|
2008
|
-
})).annotate({
|
|
2009
|
-
identifier: "UpdateAlertConfigsRequestGlobal",
|
|
2010
|
-
});
|
|
2011
|
-
export const UpdateAlertConfigsRequestInhibitRulesEqualList = /*@__PURE__*/ S.Array(S.String);
|
|
2012
|
-
export const UpdateAlertConfigsRequestInhibitRules = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2013
|
-
equal: S.optional(UpdateAlertConfigsRequestInhibitRulesEqualList),
|
|
2014
|
-
sourceMatch: S.optional(S.Unknown),
|
|
2015
|
-
sourceMatchRe: S.optional(S.Unknown),
|
|
2016
|
-
targetMatch: S.optional(S.Unknown),
|
|
2017
|
-
targetMatchRe: S.optional(S.Unknown),
|
|
2018
|
-
})).annotate({
|
|
2019
|
-
identifier: "UpdateAlertConfigsRequestInhibitRules",
|
|
2020
|
-
});
|
|
2021
|
-
export const UpdateAlertConfigsRequestReceiversItemEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
|
|
2022
|
-
export const UpdateAlertConfigsRequestReceiversItemEmailConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
2023
|
-
export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
|
|
2024
|
-
export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
2025
|
-
export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
|
|
2026
|
-
export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
2027
|
-
export const UpdateAlertConfigsRequestReceiversItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2028
|
-
emailConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemEmailConfigsList),
|
|
2029
|
-
name: S.String,
|
|
2030
|
-
opsgenieConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList),
|
|
2031
|
-
webHookConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemWebHookConfigsList),
|
|
2032
|
-
})).annotate({
|
|
2033
|
-
identifier: "UpdateAlertConfigsRequestReceiversItem",
|
|
2034
|
-
});
|
|
2035
|
-
export const UpdateAlertConfigsRequestReceiversList = /*@__PURE__*/ S.Array(UpdateAlertConfigsRequestReceiversItem);
|
|
2036
|
-
export const UpdateAlertConfigsRequestRouteGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
2037
|
-
export const UpdateAlertConfigsRequestRouteRoutesItemGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
2038
|
-
export const UpdateAlertConfigsRequestRouteRoutesItemMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
2039
|
-
export const UpdateAlertConfigsRequestRouteRoutesItemRoutesList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
2040
|
-
export const UpdateAlertConfigsRequestRouteRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2041
|
-
continue: S.optional(S.Boolean),
|
|
2042
|
-
groupBy: S.optional(UpdateAlertConfigsRequestRouteRoutesItemGroupByList),
|
|
2043
|
-
groupInterval: S.optional(S.String),
|
|
2044
|
-
groupWait: S.optional(S.String),
|
|
2045
|
-
match: S.optional(S.Unknown),
|
|
2046
|
-
matchRe: S.optional(S.Unknown),
|
|
2047
|
-
matchers: S.optional(UpdateAlertConfigsRequestRouteRoutesItemMatchersList),
|
|
2048
|
-
receiver: S.optional(S.String),
|
|
2049
|
-
repeatInterval: S.optional(S.String),
|
|
2050
|
-
routes: S.optional(UpdateAlertConfigsRequestRouteRoutesItemRoutesList),
|
|
2051
|
-
})).annotate({
|
|
2052
|
-
identifier: "UpdateAlertConfigsRequestRouteRoutesItem",
|
|
2053
|
-
});
|
|
2054
|
-
export const UpdateAlertConfigsRequestRouteRoutesList = /*@__PURE__*/ S.Array(UpdateAlertConfigsRequestRouteRoutesItem);
|
|
2055
|
-
export const UpdateAlertConfigsRequestRoute = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2056
|
-
continue: S.optional(S.Boolean),
|
|
2057
|
-
groupBy: S.optional(UpdateAlertConfigsRequestRouteGroupByList),
|
|
2058
|
-
groupInterval: S.optional(S.String),
|
|
2059
|
-
groupWait: S.optional(S.String),
|
|
2060
|
-
match: S.optional(S.Unknown),
|
|
2061
|
-
matchRe: S.optional(S.Unknown),
|
|
2062
|
-
receiver: S.String,
|
|
2063
|
-
repeatInterval: S.optional(S.String),
|
|
2064
|
-
routes: S.optional(UpdateAlertConfigsRequestRouteRoutesList),
|
|
2065
|
-
})).annotate({
|
|
2066
|
-
identifier: "UpdateAlertConfigsRequestRoute",
|
|
2067
|
-
});
|
|
2068
|
-
export const UpdateAlertConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2069
|
-
projectId: S.String.pipe(T.Label()),
|
|
2070
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2071
|
-
global: S.optional(UpdateAlertConfigsRequestGlobal),
|
|
2072
|
-
inhibitRules: S.optional(UpdateAlertConfigsRequestInhibitRules),
|
|
2073
|
-
receivers: UpdateAlertConfigsRequestReceiversList,
|
|
2074
|
-
route: UpdateAlertConfigsRequestRoute,
|
|
2075
|
-
}).pipe(T.Http({
|
|
2076
|
-
method: "PUT",
|
|
2077
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs",
|
|
2078
|
-
code: 200,
|
|
2079
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2080
|
-
}))).annotate({
|
|
2081
|
-
identifier: "UpdateAlertConfigsRequest",
|
|
2082
|
-
});
|
|
2083
|
-
export const UpdateAlertConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2084
|
-
data: Alert,
|
|
2085
|
-
message: S.String,
|
|
2086
|
-
})).annotate({
|
|
2087
|
-
identifier: "UpdateAlertConfigsResponse",
|
|
2088
|
-
});
|
|
2089
|
-
export const UpdateAlertgroupRequestRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
2090
|
-
export const UpdateAlertgroupRequestRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
|
|
2091
|
-
export const UpdateAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2092
|
-
projectId: S.String.pipe(T.Label()),
|
|
2093
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2094
|
-
groupName: S.String.pipe(T.Label()),
|
|
2095
|
-
interval: S.optional(S.String),
|
|
2096
|
-
rules: UpdateAlertgroupRequestRulesList,
|
|
2097
|
-
}).pipe(T.Http({
|
|
2098
|
-
method: "PUT",
|
|
2099
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
|
|
2100
|
-
code: 200,
|
|
2101
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2102
|
-
}))).annotate({ identifier: "UpdateAlertgroupRequest" });
|
|
2103
|
-
export const UpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
2104
|
-
export const UpdateAlertgroupsRequestBodyItemRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
|
|
2105
|
-
export const UpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2106
|
-
interval: S.optional(S.String),
|
|
2107
|
-
name: S.String,
|
|
2108
|
-
rules: UpdateAlertgroupsRequestBodyItemRulesList,
|
|
2109
|
-
})).annotate({
|
|
2110
|
-
identifier: "UpdateAlertgroupsRequestBodyItem",
|
|
2111
|
-
});
|
|
2112
|
-
export const UpdateAlertgroupsRequestBodyList = /*@__PURE__*/ S.Array(UpdateAlertgroupsRequestBodyItem);
|
|
2113
|
-
export const UpdateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2114
|
-
projectId: S.String.pipe(T.Label()),
|
|
2115
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2116
|
-
body: UpdateAlertgroupsRequestBodyList.pipe(T.HttpBody()),
|
|
2117
|
-
}).pipe(T.Http({
|
|
2118
|
-
method: "PUT",
|
|
2119
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
2120
|
-
code: 200,
|
|
2121
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2122
|
-
}))).annotate({ identifier: "UpdateAlertgroupsRequest" });
|
|
2123
|
-
export const UpdateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2124
|
-
projectId: S.String.pipe(T.Label()),
|
|
2125
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2126
|
-
groupName: S.String.pipe(T.Label()),
|
|
2127
|
-
alertRecord: S.String.pipe(T.Label()),
|
|
2128
|
-
expr: S.String,
|
|
2129
|
-
labels: S.optional(S.Unknown),
|
|
2130
|
-
}).pipe(T.Http({
|
|
2131
|
-
method: "PUT",
|
|
2132
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
|
|
2133
|
-
code: 200,
|
|
2134
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2135
|
-
}))).annotate({ identifier: "UpdateAlertRecordRequest" });
|
|
2136
|
-
export const UpdateAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2137
|
-
projectId: S.String.pipe(T.Label()),
|
|
2138
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2139
|
-
groupName: S.String.pipe(T.Label()),
|
|
2140
|
-
alertName: S.String.pipe(T.Label()),
|
|
2141
|
-
annotations: S.optional(S.Unknown),
|
|
2142
|
-
expr: S.String,
|
|
2143
|
-
for: S.optional(S.String),
|
|
2144
|
-
labels: S.optional(S.Unknown),
|
|
2145
|
-
}).pipe(T.Http({
|
|
2146
|
-
method: "PUT",
|
|
2147
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
|
|
2148
|
-
code: 200,
|
|
2149
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2150
|
-
}))).annotate({ identifier: "UpdateAlertruleRequest" });
|
|
2151
|
-
export const UpdateCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2152
|
-
projectId: S.String.pipe(T.Label()),
|
|
2153
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2154
|
-
username: S.String.pipe(T.Label()),
|
|
2155
|
-
maxLimit: S.optional(S.Number),
|
|
2156
|
-
}).pipe(T.Http({
|
|
2157
|
-
method: "PUT",
|
|
2158
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}/remote-write-limits",
|
|
2159
|
-
code: 200,
|
|
2160
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2161
|
-
}))).annotate({
|
|
2162
|
-
identifier: "UpdateCredentialsRemoteWriteConfigRequest",
|
|
2163
|
-
});
|
|
2164
|
-
export const UpdateGrafanaConfigsRequestGenericOauth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2165
|
-
allowAssignGrafanaAdmin: S.optional(S.Boolean),
|
|
2166
|
-
apiUrl: S.String,
|
|
2167
|
-
authUrl: S.String,
|
|
2168
|
-
enabled: S.Boolean,
|
|
2169
|
-
name: S.optional(S.String),
|
|
2170
|
-
oauthClientId: S.String,
|
|
2171
|
-
oauthClientSecret: S.String,
|
|
2172
|
-
roleAttributePath: S.String,
|
|
2173
|
-
roleAttributeStrict: S.optional(S.Boolean),
|
|
2174
|
-
scopes: S.optional(S.String),
|
|
2175
|
-
tokenUrl: S.String,
|
|
2176
|
-
usePkce: S.optional(S.Boolean),
|
|
2177
|
-
})).annotate({
|
|
2178
|
-
identifier: "UpdateGrafanaConfigsRequestGenericOauth",
|
|
2179
|
-
});
|
|
2180
|
-
export const UpdateGrafanaConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2181
|
-
projectId: S.String.pipe(T.Label()),
|
|
2182
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2183
|
-
genericOauth: S.optional(UpdateGrafanaConfigsRequestGenericOauth),
|
|
2184
|
-
publicReadAccess: S.optional(S.Boolean),
|
|
2185
|
-
useStackitSso: S.optional(S.Boolean),
|
|
2186
|
-
}).pipe(T.Http({
|
|
2187
|
-
method: "PUT",
|
|
2188
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/grafana-configs",
|
|
2189
|
-
code: 200,
|
|
2190
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2191
|
-
}))).annotate({
|
|
2192
|
-
identifier: "UpdateGrafanaConfigsRequest",
|
|
2193
|
-
});
|
|
2194
|
-
export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2195
|
-
projectId: S.String.pipe(T.Label()),
|
|
2196
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2197
|
-
grafanaAdminEnabled: S.optional(S.Boolean),
|
|
2198
|
-
name: S.optional(S.String),
|
|
2199
|
-
parameter: S.optional(S.Unknown),
|
|
2200
|
-
planId: S.optional(S.String),
|
|
2201
|
-
}).pipe(T.Http({
|
|
2202
|
-
method: "PUT",
|
|
2203
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
2204
|
-
code: 200,
|
|
2205
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2206
|
-
}))).annotate({ identifier: "UpdateInstanceRequest" });
|
|
2207
|
-
export const UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
|
|
2208
|
-
export const UpdateLogsAlertgroupRequestRulesList = /*@__PURE__*/ S.Array(CreateLogsAlertgroupsRequestRulesItem);
|
|
2209
|
-
export const UpdateLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2210
|
-
projectId: S.String.pipe(T.Label()),
|
|
2211
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2212
|
-
groupName: S.String.pipe(T.Label()),
|
|
2213
|
-
interval: S.optional(S.String),
|
|
2214
|
-
rules: UpdateLogsAlertgroupRequestRulesList,
|
|
2215
|
-
}).pipe(T.Http({
|
|
2216
|
-
method: "PUT",
|
|
2217
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",
|
|
2218
|
-
code: 200,
|
|
2219
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2220
|
-
}))).annotate({
|
|
2221
|
-
identifier: "UpdateLogsAlertgroupRequest",
|
|
2222
|
-
});
|
|
2223
|
-
export const UpdateLogsConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2224
|
-
projectId: S.String.pipe(T.Label()),
|
|
2225
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2226
|
-
retention: S.String,
|
|
2227
|
-
}).pipe(T.Http({
|
|
2228
|
-
method: "PUT",
|
|
2229
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-configs",
|
|
2230
|
-
code: 200,
|
|
2231
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2232
|
-
}))).annotate({ identifier: "UpdateLogsConfigsRequest" });
|
|
2233
|
-
export const UpdateMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2234
|
-
projectId: S.String.pipe(T.Label()),
|
|
2235
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2236
|
-
metricsRetentionTime1h: S.String,
|
|
2237
|
-
metricsRetentionTime5m: S.String,
|
|
2238
|
-
metricsRetentionTimeRaw: S.String,
|
|
2239
|
-
}).pipe(T.Http({
|
|
2240
|
-
method: "PUT",
|
|
2241
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/metrics-storage-retentions",
|
|
2242
|
-
code: 200,
|
|
2243
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2244
|
-
}))).annotate({
|
|
2245
|
-
identifier: "UpdateMetricsStorageRetentionRequest",
|
|
2246
|
-
});
|
|
2247
|
-
export const UpdateScrapeConfigRequestBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
2248
|
-
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction = S.String;
|
|
2249
|
-
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
|
|
2250
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2251
|
-
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2252
|
-
action: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction),
|
|
2253
|
-
modulus: S.optional(S.Number),
|
|
2254
|
-
regex: S.optional(S.String),
|
|
2255
|
-
replacement: S.optional(S.String),
|
|
2256
|
-
separator: S.optional(S.String),
|
|
2257
|
-
sourceLabels: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList),
|
|
2258
|
-
targetLabel: S.optional(S.String),
|
|
2259
|
-
})).annotate({
|
|
2260
|
-
identifier: "UpdateScrapeConfigRequestMetricsRelabelConfigsItem",
|
|
2261
|
-
});
|
|
2262
|
-
export const UpdateScrapeConfigRequestMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(UpdateScrapeConfigRequestMetricsRelabelConfigsItem);
|
|
2263
|
-
export const UpdateScrapeConfigRequestScheme = S.String;
|
|
2264
|
-
export const UpdateScrapeConfigRequestStaticConfigsItemTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
2265
|
-
export const UpdateScrapeConfigRequestStaticConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2266
|
-
labels: S.optional(S.Unknown),
|
|
2267
|
-
targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList,
|
|
2268
|
-
})).annotate({
|
|
2269
|
-
identifier: "UpdateScrapeConfigRequestStaticConfigsItem",
|
|
2270
|
-
});
|
|
2271
|
-
export const UpdateScrapeConfigRequestStaticConfigsList = /*@__PURE__*/ S.Array(UpdateScrapeConfigRequestStaticConfigsItem);
|
|
2272
|
-
export const UpdateScrapeConfigRequestTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
2273
|
-
export const UpdateScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2274
|
-
projectId: S.String.pipe(T.Label()),
|
|
2275
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2276
|
-
jobName: S.String.pipe(T.Label()),
|
|
2277
|
-
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
2278
|
-
bearerToken: S.optional(S.String),
|
|
2279
|
-
honorLabels: S.optional(S.Boolean),
|
|
2280
|
-
honorTimeStamps: S.optional(S.Boolean),
|
|
2281
|
-
metricsPath: S.String,
|
|
2282
|
-
metricsRelabelConfigs: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsList),
|
|
2283
|
-
params: S.optional(S.Unknown),
|
|
2284
|
-
sampleLimit: S.optional(S.Number),
|
|
2285
|
-
scheme: UpdateScrapeConfigRequestScheme,
|
|
2286
|
-
scrapeInterval: S.String,
|
|
2287
|
-
scrapeTimeout: S.String,
|
|
2288
|
-
staticConfigs: UpdateScrapeConfigRequestStaticConfigsList,
|
|
2289
|
-
tlsConfig: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig),
|
|
2290
|
-
}).pipe(T.Http({
|
|
2291
|
-
method: "PUT",
|
|
2292
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",
|
|
2293
|
-
code: 200,
|
|
2294
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2295
|
-
}))).annotate({
|
|
2296
|
-
identifier: "UpdateScrapeConfigRequest",
|
|
2297
|
-
});
|
|
2298
|
-
export const UpdateTracesConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2299
|
-
projectId: S.String.pipe(T.Label()),
|
|
2300
|
-
instanceId: S.String.pipe(T.Label()),
|
|
2301
|
-
retention: S.String,
|
|
2302
|
-
}).pipe(T.Http({
|
|
2303
|
-
method: "PUT",
|
|
2304
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/traces-configs",
|
|
2305
|
-
code: 200,
|
|
2306
|
-
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2307
|
-
}))).annotate({
|
|
2308
|
-
identifier: "UpdateTracesConfigsRequest",
|
|
2309
|
-
});
|
|
2310
|
-
/** Create alert config receiver. */
|
|
2311
|
-
export const createAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2312
|
-
input: CreateAlertConfigReceiverRequest,
|
|
2313
|
-
output: AlertConfigReceiversResponse,
|
|
2314
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2315
|
-
protocol: StackitProtocol,
|
|
2316
|
-
retry: Retry.Retry,
|
|
2317
|
-
}));
|
|
2318
|
-
/** Create alert config route in routes of route. */
|
|
2319
|
-
export const createAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
|
|
2320
|
-
input: CreateAlertConfigRouteRequest,
|
|
2321
|
-
output: AlertConfigRouteResponse,
|
|
2322
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2323
|
-
protocol: StackitProtocol,
|
|
2324
|
-
retry: Retry.Retry,
|
|
2325
|
-
}));
|
|
2326
|
-
/** Create alert group. */
|
|
2327
|
-
export const createAlertgroups = /*@__PURE__*/ API.make(() => ({
|
|
2328
|
-
input: CreateAlertgroupsRequest,
|
|
2329
|
-
output: AlertGroupsResponse,
|
|
2330
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2331
|
-
protocol: StackitProtocol,
|
|
2332
|
-
retry: Retry.Retry,
|
|
2333
|
-
}));
|
|
2334
|
-
/** Create alert record. */
|
|
2335
|
-
export const createAlertRecord = /*@__PURE__*/ API.make(() => ({
|
|
2336
|
-
input: CreateAlertRecordRequest,
|
|
2337
|
-
output: AlertRecordsResponse,
|
|
2338
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2339
|
-
protocol: StackitProtocol,
|
|
2340
|
-
retry: Retry.Retry,
|
|
2341
|
-
}));
|
|
2342
|
-
/** Create alert rule. */
|
|
2343
|
-
export const createAlertrules = /*@__PURE__*/ API.make(() => ({
|
|
2344
|
-
input: CreateAlertrulesRequest,
|
|
2345
|
-
output: AlertRulesResponse,
|
|
2346
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2347
|
-
protocol: StackitProtocol,
|
|
2348
|
-
retry: Retry.Retry,
|
|
2349
|
-
}));
|
|
2350
|
-
/** Create a backup. */
|
|
2351
|
-
export const createBackup = /*@__PURE__*/ API.make(() => ({
|
|
2352
|
-
input: CreateBackupRequest,
|
|
2353
|
-
output: Message,
|
|
2354
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2355
|
-
protocol: StackitProtocol,
|
|
2356
|
-
retry: Retry.Retry,
|
|
2357
|
-
}));
|
|
2358
|
-
/** Create backup schedule. */
|
|
2359
|
-
export const createBackupSchedule = /*@__PURE__*/ API.make(() => ({
|
|
2360
|
-
input: CreateBackupScheduleRequest,
|
|
2361
|
-
output: BackupSchedulePostResponse,
|
|
2362
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2363
|
-
protocol: StackitProtocol,
|
|
2364
|
-
retry: Retry.Retry,
|
|
2365
|
-
}));
|
|
2366
|
-
/** Create cert check. */
|
|
2367
|
-
export const createCertCheck = /*@__PURE__*/ API.make(() => ({
|
|
2368
|
-
input: CreateCertCheckRequest,
|
|
2369
|
-
output: CertCheckResponse,
|
|
2370
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2371
|
-
protocol: StackitProtocol,
|
|
2372
|
-
retry: Retry.Retry,
|
|
2373
|
-
}));
|
|
2374
|
-
/** Create technical user credentials. */
|
|
2375
|
-
export const createCredentials = /*@__PURE__*/ API.make(() => ({
|
|
2376
|
-
input: CreateCredentialsRequest,
|
|
2377
|
-
output: CreateCredentialsResponse,
|
|
2378
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2379
|
-
protocol: StackitProtocol,
|
|
2380
|
-
retry: Retry.Retry,
|
|
2381
|
-
}));
|
|
2382
|
-
/** Create elasticsearch check. */
|
|
2383
|
-
export const createElasticsearchCheck = /*@__PURE__*/ API.make(() => ({
|
|
2384
|
-
input: CreateElasticsearchCheckRequest,
|
|
2385
|
-
output: ElasticsearchCheckResponse,
|
|
2386
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2387
|
-
protocol: StackitProtocol,
|
|
2388
|
-
retry: Retry.Retry,
|
|
2389
|
-
}));
|
|
2390
|
-
/** Create http check. */
|
|
2391
|
-
export const createHttpCheck = /*@__PURE__*/ API.make(() => ({
|
|
2392
|
-
input: CreateHttpCheckRequest,
|
|
2393
|
-
output: HttpCheckResponse,
|
|
2394
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2395
|
-
protocol: StackitProtocol,
|
|
2396
|
-
retry: Retry.Retry,
|
|
2397
|
-
}));
|
|
2398
|
-
/** Create new instance. */
|
|
2399
|
-
export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
2400
|
-
input: CreateInstanceRequest,
|
|
2401
|
-
output: CreateInstanceResponse,
|
|
2402
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2403
|
-
protocol: StackitProtocol,
|
|
2404
|
-
retry: Retry.Retry,
|
|
2405
|
-
}));
|
|
2406
|
-
/** Create logs alert group config. */
|
|
2407
|
-
export const createLogsAlertgroups = /*@__PURE__*/ API.make(() => ({
|
|
2408
|
-
input: CreateLogsAlertgroupsRequest,
|
|
2409
|
-
output: AlertGroupsResponse,
|
|
2410
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2411
|
-
protocol: StackitProtocol,
|
|
2412
|
-
retry: Retry.Retry,
|
|
2413
|
-
}));
|
|
2414
|
-
/** Create mongodb check. */
|
|
2415
|
-
export const createMongodbCheck = /*@__PURE__*/ API.make(() => ({
|
|
2416
|
-
input: CreateMongodbCheckRequest,
|
|
2417
|
-
output: MongodbCheckResponse,
|
|
2418
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2419
|
-
protocol: StackitProtocol,
|
|
2420
|
-
retry: Retry.Retry,
|
|
2421
|
-
}));
|
|
2422
|
-
/** Create mysql check. */
|
|
2423
|
-
export const createMysqlCheck = /*@__PURE__*/ API.make(() => ({
|
|
2424
|
-
input: CreateMysqlCheckRequest,
|
|
2425
|
-
output: MysqlCheckResponse,
|
|
2426
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2427
|
-
protocol: StackitProtocol,
|
|
2428
|
-
retry: Retry.Retry,
|
|
2429
|
-
}));
|
|
2430
|
-
/** Create network check. */
|
|
2431
|
-
export const createNetworkCheck = /*@__PURE__*/ API.make(() => ({
|
|
2432
|
-
input: CreateNetworkCheckRequest,
|
|
2433
|
-
output: NetworkCheckResponse,
|
|
2434
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2435
|
-
protocol: StackitProtocol,
|
|
2436
|
-
retry: Retry.Retry,
|
|
2437
|
-
}));
|
|
2438
|
-
/** Create ping check. */
|
|
2439
|
-
export const createPingCheck = /*@__PURE__*/ API.make(() => ({
|
|
2440
|
-
input: CreatePingCheckRequest,
|
|
2441
|
-
output: PingCheckResponse,
|
|
2442
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2443
|
-
protocol: StackitProtocol,
|
|
2444
|
-
retry: Retry.Retry,
|
|
2445
|
-
}));
|
|
2446
|
-
/** Create postgresql check. */
|
|
2447
|
-
export const createPostgresqlCheck = /*@__PURE__*/ API.make(() => ({
|
|
2448
|
-
input: CreatePostgresqlCheckRequest,
|
|
2449
|
-
output: PostgresqlCheckResponse,
|
|
2450
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2451
|
-
protocol: StackitProtocol,
|
|
2452
|
-
retry: Retry.Retry,
|
|
2453
|
-
}));
|
|
2454
|
-
/** Create rabbitmq check. */
|
|
2455
|
-
export const createRabbitmqCheck = /*@__PURE__*/ API.make(() => ({
|
|
2456
|
-
input: CreateRabbitmqCheckRequest,
|
|
2457
|
-
output: RabbitmqCheckResponse,
|
|
2458
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2459
|
-
protocol: StackitProtocol,
|
|
2460
|
-
retry: Retry.Retry,
|
|
2461
|
-
}));
|
|
2462
|
-
/** Create redis check. */
|
|
2463
|
-
export const createRedisCheck = /*@__PURE__*/ API.make(() => ({
|
|
2464
|
-
input: CreateRedisCheckRequest,
|
|
2465
|
-
output: RedisCheckResponse,
|
|
2466
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2467
|
-
protocol: StackitProtocol,
|
|
2468
|
-
retry: Retry.Retry,
|
|
2469
|
-
}));
|
|
2470
|
-
/** Create scrape config. */
|
|
2471
|
-
export const createScrapeConfig = /*@__PURE__*/ API.make(() => ({
|
|
2472
|
-
input: CreateScrapeConfigRequest,
|
|
2473
|
-
output: ScrapeConfigsResponse,
|
|
2474
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2475
|
-
protocol: StackitProtocol,
|
|
2476
|
-
retry: Retry.Retry,
|
|
2477
|
-
}));
|
|
2478
|
-
/** Delete alert config receiver. */
|
|
2479
|
-
export const deleteAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2480
|
-
input: DeleteAlertConfigReceiverRequest,
|
|
2481
|
-
output: AlertConfigReceiversResponse,
|
|
2482
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2483
|
-
protocol: StackitProtocol,
|
|
2484
|
-
retry: Retry.Retry,
|
|
2485
|
-
}));
|
|
2486
|
-
/** Delete alert receiver for route. */
|
|
2487
|
-
export const deleteAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
|
|
2488
|
-
input: DeleteAlertConfigRouteRequest,
|
|
2489
|
-
output: AlertConfigRouteResponse,
|
|
2490
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2491
|
-
protocol: StackitProtocol,
|
|
2492
|
-
retry: Retry.Retry,
|
|
2493
|
-
}));
|
|
2494
|
-
/** Delete alert group config. */
|
|
2495
|
-
export const deleteAlertgroup = /*@__PURE__*/ API.make(() => ({
|
|
2496
|
-
input: DeleteAlertgroupRequest,
|
|
2497
|
-
output: AlertGroupsResponse,
|
|
2498
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2499
|
-
protocol: StackitProtocol,
|
|
2500
|
-
retry: Retry.Retry,
|
|
2501
|
-
}));
|
|
2502
|
-
/** Delete alert groups. */
|
|
2503
|
-
export const deleteAlertgroups = /*@__PURE__*/ API.make(() => ({
|
|
2504
|
-
input: DeleteAlertgroupsRequest,
|
|
2505
|
-
output: AlertGroupsResponse,
|
|
2506
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2507
|
-
protocol: StackitProtocol,
|
|
2508
|
-
retry: Retry.Retry,
|
|
2509
|
-
}));
|
|
2510
|
-
/** Delete alert record. */
|
|
2511
|
-
export const deleteAlertRecord = /*@__PURE__*/ API.make(() => ({
|
|
2512
|
-
input: DeleteAlertRecordRequest,
|
|
2513
|
-
output: AlertRecordsResponse,
|
|
2514
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2515
|
-
protocol: StackitProtocol,
|
|
2516
|
-
retry: Retry.Retry,
|
|
2517
|
-
}));
|
|
2518
|
-
/** Delete alert records. */
|
|
2519
|
-
export const deleteAlertRecords = /*@__PURE__*/ API.make(() => ({
|
|
2520
|
-
input: DeleteAlertRecordsRequest,
|
|
2521
|
-
output: AlertRecordsResponse,
|
|
2522
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2523
|
-
protocol: StackitProtocol,
|
|
2524
|
-
retry: Retry.Retry,
|
|
2525
|
-
}));
|
|
2526
|
-
/** Delete alert rule. */
|
|
2527
|
-
export const deleteAlertrule = /*@__PURE__*/ API.make(() => ({
|
|
2528
|
-
input: DeleteAlertruleRequest,
|
|
2529
|
-
output: AlertRulesResponse,
|
|
2530
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2531
|
-
protocol: StackitProtocol,
|
|
2532
|
-
retry: Retry.Retry,
|
|
2533
|
-
}));
|
|
2534
|
-
/** Delete alert rules. */
|
|
2535
|
-
export const deleteAlertrules = /*@__PURE__*/ API.make(() => ({
|
|
2536
|
-
input: DeleteAlertrulesRequest,
|
|
2537
|
-
output: AlertRulesResponse,
|
|
2538
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2539
|
-
protocol: StackitProtocol,
|
|
2540
|
-
retry: Retry.Retry,
|
|
2541
|
-
}));
|
|
2542
|
-
/** Delete cert check. */
|
|
2543
|
-
export const deleteCertCheck = /*@__PURE__*/ API.make(() => ({
|
|
2544
|
-
input: DeleteCertCheckRequest,
|
|
2545
|
-
output: CertCheckResponse,
|
|
2546
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2547
|
-
protocol: StackitProtocol,
|
|
2548
|
-
retry: Retry.Retry,
|
|
2549
|
-
}));
|
|
2550
|
-
/** Delete technical credentials. */
|
|
2551
|
-
export const deleteCredentials = /*@__PURE__*/ API.make(() => ({
|
|
2552
|
-
input: DeleteCredentialsRequest,
|
|
2553
|
-
output: Message,
|
|
2554
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2555
|
-
protocol: StackitProtocol,
|
|
2556
|
-
retry: Retry.Retry,
|
|
2557
|
-
}));
|
|
2558
|
-
/** Delete remote write config for credentials. */
|
|
2559
|
-
export const deleteCredentialsRemoteWriteConfig = /*@__PURE__*/ API.make(() => ({
|
|
2560
|
-
input: DeleteCredentialsRemoteWriteConfigRequest,
|
|
2561
|
-
output: CredentialsRemoteWriteDeleteResponse,
|
|
2562
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2563
|
-
protocol: StackitProtocol,
|
|
2564
|
-
retry: Retry.Retry,
|
|
2565
|
-
}));
|
|
2566
|
-
/** Delete elasticsearch check. */
|
|
2567
|
-
export const deleteElasticsearchCheck = /*@__PURE__*/ API.make(() => ({
|
|
2568
|
-
input: DeleteElasticsearchCheckRequest,
|
|
2569
|
-
output: ElasticsearchCheckResponse,
|
|
2570
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2571
|
-
protocol: StackitProtocol,
|
|
2572
|
-
retry: Retry.Retry,
|
|
2573
|
-
}));
|
|
2574
|
-
/** Delete http check. */
|
|
2575
|
-
export const deleteHttpCheck = /*@__PURE__*/ API.make(() => ({
|
|
2576
|
-
input: DeleteHttpCheckRequest,
|
|
2577
|
-
output: HttpCheckResponse,
|
|
2578
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2579
|
-
protocol: StackitProtocol,
|
|
2580
|
-
retry: Retry.Retry,
|
|
2581
|
-
}));
|
|
2582
|
-
/** Delete instance. */
|
|
2583
|
-
export const deleteInstance = /*@__PURE__*/ API.make(() => ({
|
|
2584
|
-
input: DeleteInstanceRequest,
|
|
2585
|
-
output: InstanceResponse,
|
|
2586
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2587
|
-
protocol: StackitProtocol,
|
|
2588
|
-
retry: Retry.Retry,
|
|
2589
|
-
}));
|
|
2590
|
-
/** Delete logs alert group config. */
|
|
2591
|
-
export const deleteLogsAlertgroup = /*@__PURE__*/ API.make(() => ({
|
|
2592
|
-
input: DeleteLogsAlertgroupRequest,
|
|
2593
|
-
output: AlertGroupsResponse,
|
|
2594
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2595
|
-
protocol: StackitProtocol,
|
|
2596
|
-
retry: Retry.Retry,
|
|
2597
|
-
}));
|
|
2598
|
-
/** Delete mongodb check. */
|
|
2599
|
-
export const deleteMongodbCheck = /*@__PURE__*/ API.make(() => ({
|
|
2600
|
-
input: DeleteMongodbCheckRequest,
|
|
2601
|
-
output: MongodbCheckResponse,
|
|
2602
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2603
|
-
protocol: StackitProtocol,
|
|
2604
|
-
retry: Retry.Retry,
|
|
2605
|
-
}));
|
|
2606
|
-
/** Delete mysql check. */
|
|
2607
|
-
export const deleteMysqlCheck = /*@__PURE__*/ API.make(() => ({
|
|
2608
|
-
input: DeleteMysqlCheckRequest,
|
|
2609
|
-
output: MysqlCheckResponse,
|
|
2610
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2611
|
-
protocol: StackitProtocol,
|
|
2612
|
-
retry: Retry.Retry,
|
|
2613
|
-
}));
|
|
2614
|
-
/** Delete network check. */
|
|
2615
|
-
export const deleteNetworkCheck = /*@__PURE__*/ API.make(() => ({
|
|
2616
|
-
input: DeleteNetworkCheckRequest,
|
|
2617
|
-
output: NetworkCheckResponse,
|
|
2618
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2619
|
-
protocol: StackitProtocol,
|
|
2620
|
-
retry: Retry.Retry,
|
|
2621
|
-
}));
|
|
2622
|
-
/** Delete ping check. */
|
|
2623
|
-
export const deletePingCheck = /*@__PURE__*/ API.make(() => ({
|
|
2624
|
-
input: DeletePingCheckRequest,
|
|
2625
|
-
output: PingCheckResponse,
|
|
2626
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2627
|
-
protocol: StackitProtocol,
|
|
2628
|
-
retry: Retry.Retry,
|
|
2629
|
-
}));
|
|
2630
|
-
/** Delete postgresql check. */
|
|
2631
|
-
export const deletePostgresqlCheck = /*@__PURE__*/ API.make(() => ({
|
|
2632
|
-
input: DeletePostgresqlCheckRequest,
|
|
2633
|
-
output: PostgresqlCheckResponse,
|
|
2634
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2635
|
-
protocol: StackitProtocol,
|
|
2636
|
-
retry: Retry.Retry,
|
|
2637
|
-
}));
|
|
2638
|
-
/** Delete rabbitmq check. */
|
|
2639
|
-
export const deleteRabbitmqCheck = /*@__PURE__*/ API.make(() => ({
|
|
2640
|
-
input: DeleteRabbitmqCheckRequest,
|
|
2641
|
-
output: RabbitmqCheckResponse,
|
|
2642
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2643
|
-
protocol: StackitProtocol,
|
|
2644
|
-
retry: Retry.Retry,
|
|
2645
|
-
}));
|
|
2646
|
-
/** Delete redis check. */
|
|
2647
|
-
export const deleteRedisCheck = /*@__PURE__*/ API.make(() => ({
|
|
2648
|
-
input: DeleteRedisCheckRequest,
|
|
2649
|
-
output: RedisCheckResponse,
|
|
2650
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2651
|
-
protocol: StackitProtocol,
|
|
2652
|
-
retry: Retry.Retry,
|
|
2653
|
-
}));
|
|
2654
|
-
/** Delete scrape config. */
|
|
2655
|
-
export const deleteScrapeConfig = /*@__PURE__*/ API.make(() => ({
|
|
2656
|
-
input: DeleteScrapeConfigRequest,
|
|
2657
|
-
output: DeleteScrapeConfigResponse,
|
|
2658
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2659
|
-
protocol: StackitProtocol,
|
|
2660
|
-
retry: Retry.Retry,
|
|
2661
|
-
}));
|
|
2662
|
-
/** Delete scrape configs. */
|
|
2663
|
-
export const deleteScrapeConfigs = /*@__PURE__*/ API.make(() => ({
|
|
2664
|
-
input: DeleteScrapeConfigsRequest,
|
|
2665
|
-
output: ScrapeConfigsResponse,
|
|
2666
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2667
|
-
protocol: StackitProtocol,
|
|
2668
|
-
retry: Retry.Retry,
|
|
2669
|
-
}));
|
|
2670
|
-
/** Get alert config receivers. */
|
|
2671
|
-
export const getAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2672
|
-
input: GetAlertConfigReceiverRequest,
|
|
2673
|
-
output: Receiver,
|
|
2674
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2675
|
-
protocol: StackitProtocol,
|
|
2676
|
-
retry: Retry.Retry,
|
|
2677
|
-
}));
|
|
2678
|
-
/** Get alert receiver for route. */
|
|
2679
|
-
export const getAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
|
|
2680
|
-
input: GetAlertConfigRouteRequest,
|
|
2681
|
-
output: AlertConfigRouteResponse,
|
|
2682
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2683
|
-
protocol: StackitProtocol,
|
|
2684
|
-
retry: Retry.Retry,
|
|
2685
|
-
}));
|
|
2686
|
-
/** Get alert config. */
|
|
2687
|
-
export const getAlertConfigs = /*@__PURE__*/ API.make(() => ({
|
|
2688
|
-
input: GetAlertConfigsRequest,
|
|
2689
|
-
output: GetAlertConfigsResponse,
|
|
2690
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2691
|
-
protocol: StackitProtocol,
|
|
2692
|
-
retry: Retry.Retry,
|
|
2693
|
-
}));
|
|
2694
|
-
/** Get alert group. */
|
|
2695
|
-
export const getAlertgroup = /*@__PURE__*/ API.make(() => ({
|
|
2696
|
-
input: GetAlertgroupRequest,
|
|
2697
|
-
output: AlertGroupResponse,
|
|
2698
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2699
|
-
protocol: StackitProtocol,
|
|
2700
|
-
retry: Retry.Retry,
|
|
2701
|
-
}));
|
|
2702
|
-
/** Get alert record. */
|
|
2703
|
-
export const getAlertRecord = /*@__PURE__*/ API.make(() => ({
|
|
2704
|
-
input: GetAlertRecordRequest,
|
|
2705
|
-
output: AlertRecordResponse,
|
|
2706
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2707
|
-
protocol: StackitProtocol,
|
|
2708
|
-
retry: Retry.Retry,
|
|
2709
|
-
}));
|
|
2710
|
-
/** Get alert rule. */
|
|
2711
|
-
export const getAlertrule = /*@__PURE__*/ API.make(() => ({
|
|
2712
|
-
input: GetAlertruleRequest,
|
|
2713
|
-
output: AlertRuleResponse,
|
|
2714
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2715
|
-
protocol: StackitProtocol,
|
|
2716
|
-
retry: Retry.Retry,
|
|
2717
|
-
}));
|
|
2718
|
-
/** Get single technical credentials. */
|
|
2719
|
-
export const getCredentials = /*@__PURE__*/ API.make(() => ({
|
|
2720
|
-
input: GetCredentialsRequest,
|
|
2721
|
-
output: GetCredentialsResponse,
|
|
2722
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2723
|
-
protocol: StackitProtocol,
|
|
2724
|
-
retry: Retry.Retry,
|
|
2725
|
-
}));
|
|
2726
|
-
/** Get remote write config. */
|
|
2727
|
-
export const getCredentialsRemoteWriteConfig = /*@__PURE__*/ API.make(() => ({
|
|
2728
|
-
input: GetCredentialsRemoteWriteConfigRequest,
|
|
2729
|
-
output: CredentialsRemoteWriteConfig,
|
|
2730
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
2731
|
-
protocol: StackitProtocol,
|
|
2732
|
-
retry: Retry.Retry,
|
|
2733
|
-
}));
|
|
2734
|
-
/** Get grafana config. */
|
|
2735
|
-
export const getGrafanaConfigs = /*@__PURE__*/ API.make(() => ({
|
|
2736
|
-
input: GetGrafanaConfigsRequest,
|
|
2737
|
-
output: GrafanaConfigs,
|
|
2738
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2739
|
-
protocol: StackitProtocol,
|
|
2740
|
-
retry: Retry.Retry,
|
|
2741
|
-
}));
|
|
2742
|
-
/** Get instance information. */
|
|
2743
|
-
export const getInstance = /*@__PURE__*/ API.make(() => ({
|
|
2744
|
-
input: GetInstanceRequest,
|
|
2745
|
-
output: GetInstanceResponse,
|
|
2746
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2747
|
-
protocol: StackitProtocol,
|
|
2748
|
-
retry: Retry.Retry,
|
|
2749
|
-
}));
|
|
2750
|
-
/** Get logs alert group config. */
|
|
2751
|
-
export const getLogsAlertgroup = /*@__PURE__*/ API.make(() => ({
|
|
2752
|
-
input: GetLogsAlertgroupRequest,
|
|
2753
|
-
output: AlertGroupResponse,
|
|
2754
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2755
|
-
protocol: StackitProtocol,
|
|
2756
|
-
retry: Retry.Retry,
|
|
2757
|
-
}));
|
|
2758
|
-
/** Get logs configuration. */
|
|
2759
|
-
export const getLogsConfigs = /*@__PURE__*/ API.make(() => ({
|
|
2760
|
-
input: GetLogsConfigsRequest,
|
|
2761
|
-
output: LogsConfigResponse,
|
|
2762
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2763
|
-
protocol: StackitProtocol,
|
|
2764
|
-
retry: Retry.Retry,
|
|
2765
|
-
}));
|
|
2766
|
-
/** Get metric storage retention time. */
|
|
2767
|
-
export const getMetricsStorageRetention = /*@__PURE__*/ API.make(() => ({
|
|
2768
|
-
input: GetMetricsStorageRetentionRequest,
|
|
2769
|
-
output: GetMetricsStorageRetentionResponse,
|
|
2770
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2771
|
-
protocol: StackitProtocol,
|
|
2772
|
-
retry: Retry.Retry,
|
|
2773
|
-
}));
|
|
2774
|
-
/** Get scrape config. */
|
|
2775
|
-
export const getScrapeConfig = /*@__PURE__*/ API.make(() => ({
|
|
2776
|
-
input: GetScrapeConfigRequest,
|
|
2777
|
-
output: GetScrapeConfigResponse,
|
|
2778
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2779
|
-
protocol: StackitProtocol,
|
|
2780
|
-
retry: Retry.Retry,
|
|
2781
|
-
}));
|
|
2782
|
-
/** Get traces config. */
|
|
2783
|
-
export const getTracesConfigs = /*@__PURE__*/ API.make(() => ({
|
|
2784
|
-
input: GetTracesConfigsRequest,
|
|
2785
|
-
output: TracesConfigResponse,
|
|
2786
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2787
|
-
protocol: StackitProtocol,
|
|
2788
|
-
retry: Retry.Retry,
|
|
2789
|
-
}));
|
|
2790
|
-
/** Get acl for instance. */
|
|
2791
|
-
export const listACL = /*@__PURE__*/ API.make(() => ({
|
|
2792
|
-
input: ListACLRequest,
|
|
2793
|
-
output: ListACLResponse,
|
|
2794
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2795
|
-
protocol: StackitProtocol,
|
|
2796
|
-
retry: Retry.Retry,
|
|
2797
|
-
}));
|
|
2798
|
-
/** Get alert config receivers. */
|
|
2799
|
-
export const listAlertConfigReceivers = /*@__PURE__*/ API.make(() => ({
|
|
2800
|
-
input: ListAlertConfigReceiversRequest,
|
|
2801
|
-
output: AlertConfigReceiversResponse,
|
|
2802
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2803
|
-
protocol: StackitProtocol,
|
|
2804
|
-
retry: Retry.Retry,
|
|
2805
|
-
}));
|
|
2806
|
-
/** Get alert config route. */
|
|
2807
|
-
export const listAlertConfigRoutes = /*@__PURE__*/ API.make(() => ({
|
|
2808
|
-
input: ListAlertConfigRoutesRequest,
|
|
2809
|
-
output: AlertConfigRouteResponse,
|
|
2810
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2811
|
-
protocol: StackitProtocol,
|
|
2812
|
-
retry: Retry.Retry,
|
|
2813
|
-
}));
|
|
2814
|
-
/** Get alert groups. */
|
|
2815
|
-
export const listAlertgroups = /*@__PURE__*/ API.make(() => ({
|
|
2816
|
-
input: ListAlertgroupsRequest,
|
|
2817
|
-
output: AlertGroupsResponse,
|
|
2818
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2819
|
-
protocol: StackitProtocol,
|
|
2820
|
-
retry: Retry.Retry,
|
|
2821
|
-
}));
|
|
2822
|
-
/** Get alert records. */
|
|
2823
|
-
export const listAlertRecords = /*@__PURE__*/ API.make(() => ({
|
|
2824
|
-
input: ListAlertRecordsRequest,
|
|
2825
|
-
output: AlertRecordsResponse,
|
|
2826
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2827
|
-
protocol: StackitProtocol,
|
|
2828
|
-
retry: Retry.Retry,
|
|
2829
|
-
}));
|
|
2830
|
-
/** Get alert rules. */
|
|
2831
|
-
export const listAlertrules = /*@__PURE__*/ API.make(() => ({
|
|
2832
|
-
input: ListAlertrulesRequest,
|
|
2833
|
-
output: AlertRulesResponse,
|
|
2834
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2835
|
-
protocol: StackitProtocol,
|
|
2836
|
-
retry: Retry.Retry,
|
|
2837
|
-
}));
|
|
2838
|
-
/** Get backup retention. */
|
|
2839
|
-
export const listBackupRetentions = /*@__PURE__*/ API.make(() => ({
|
|
2840
|
-
input: ListBackupRetentionsRequest,
|
|
2841
|
-
output: BackupRetentionResponse,
|
|
2842
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2843
|
-
protocol: StackitProtocol,
|
|
2844
|
-
retry: Retry.Retry,
|
|
2845
|
-
}));
|
|
2846
|
-
/** Get backups. */
|
|
2847
|
-
export const listBackups = /*@__PURE__*/ API.make(() => ({
|
|
2848
|
-
input: ListBackupsRequest,
|
|
2849
|
-
output: BackupResponse,
|
|
2850
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2851
|
-
protocol: StackitProtocol,
|
|
2852
|
-
retry: Retry.Retry,
|
|
2853
|
-
}));
|
|
2854
|
-
/** Get backup schedules. */
|
|
2855
|
-
export const listBackupSchedules = /*@__PURE__*/ API.make(() => ({
|
|
2856
|
-
input: ListBackupSchedulesRequest,
|
|
2857
|
-
output: BackupScheduleResponse,
|
|
2858
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2859
|
-
protocol: StackitProtocol,
|
|
2860
|
-
retry: Retry.Retry,
|
|
2861
|
-
}));
|
|
2862
|
-
/** Get all cert checks configured. */
|
|
2863
|
-
export const listCertChecks = /*@__PURE__*/ API.make(() => ({
|
|
2864
|
-
input: ListCertChecksRequest,
|
|
2865
|
-
output: CertCheckResponse,
|
|
2866
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2867
|
-
protocol: StackitProtocol,
|
|
2868
|
-
retry: Retry.Retry,
|
|
2869
|
-
}));
|
|
2870
|
-
/** Get all technical user credentials. */
|
|
2871
|
-
export const listCredentials = /*@__PURE__*/ API.make(() => ({
|
|
2872
|
-
input: ListCredentialsRequest,
|
|
2873
|
-
output: ListCredentialsResponse,
|
|
2874
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2875
|
-
protocol: StackitProtocol,
|
|
2876
|
-
retry: Retry.Retry,
|
|
2877
|
-
}));
|
|
2878
|
-
/** Get all elasticsearch checks configured. */
|
|
2879
|
-
export const listElasticsearchChecks = /*@__PURE__*/ API.make(() => ({
|
|
2880
|
-
input: ListElasticsearchChecksRequest,
|
|
2881
|
-
output: ElasticsearchCheckResponse,
|
|
2882
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2883
|
-
protocol: StackitProtocol,
|
|
2884
|
-
retry: Retry.Retry,
|
|
2885
|
-
}));
|
|
2886
|
-
/** Get all http checks configured. */
|
|
2887
|
-
export const listHttpChecks = /*@__PURE__*/ API.make(() => ({
|
|
2888
|
-
input: ListHttpChecksRequest,
|
|
2889
|
-
output: HttpCheckResponse,
|
|
2890
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2891
|
-
protocol: StackitProtocol,
|
|
2892
|
-
retry: Retry.Retry,
|
|
2893
|
-
}));
|
|
2894
|
-
/** Get all instances for a project. */
|
|
2895
|
-
export const listInstances = /*@__PURE__*/ API.make(() => ({
|
|
2896
|
-
input: ListInstancesRequest,
|
|
2897
|
-
output: ListInstancesResponse,
|
|
2898
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2899
|
-
protocol: StackitProtocol,
|
|
2900
|
-
retry: Retry.Retry,
|
|
2901
|
-
}));
|
|
2902
|
-
/** Get logs alert groups config. */
|
|
2903
|
-
export const listLogsAlertgroups = /*@__PURE__*/ API.make(() => ({
|
|
2904
|
-
input: ListLogsAlertgroupsRequest,
|
|
2905
|
-
output: AlertGroupsResponse,
|
|
2906
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2907
|
-
protocol: StackitProtocol,
|
|
2908
|
-
retry: Retry.Retry,
|
|
2909
|
-
}));
|
|
2910
|
-
/** Get all mongodb checks configured. */
|
|
2911
|
-
export const listMongodbChecks = /*@__PURE__*/ API.make(() => ({
|
|
2912
|
-
input: ListMongodbChecksRequest,
|
|
2913
|
-
output: MongodbCheckResponse,
|
|
2914
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2915
|
-
protocol: StackitProtocol,
|
|
2916
|
-
retry: Retry.Retry,
|
|
2917
|
-
}));
|
|
2918
|
-
/** Get all mysql checks configured. */
|
|
2919
|
-
export const listMysqlChecks = /*@__PURE__*/ API.make(() => ({
|
|
2920
|
-
input: ListMysqlChecksRequest,
|
|
2921
|
-
output: MysqlCheckResponse,
|
|
2922
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2923
|
-
protocol: StackitProtocol,
|
|
2924
|
-
retry: Retry.Retry,
|
|
2925
|
-
}));
|
|
2926
|
-
/** Get all network checks configured. */
|
|
2927
|
-
export const listNetworkChecks = /*@__PURE__*/ API.make(() => ({
|
|
2928
|
-
input: ListNetworkChecksRequest,
|
|
2929
|
-
output: NetworkCheckResponse,
|
|
2930
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2931
|
-
protocol: StackitProtocol,
|
|
2932
|
-
retry: Retry.Retry,
|
|
2933
|
-
}));
|
|
2934
|
-
/** Get all plans. */
|
|
2935
|
-
export const listOfferings = /*@__PURE__*/ API.make(() => ({
|
|
2936
|
-
input: ListOfferingsRequest,
|
|
2937
|
-
output: Offerings,
|
|
2938
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2939
|
-
protocol: StackitProtocol,
|
|
2940
|
-
retry: Retry.Retry,
|
|
2941
|
-
}));
|
|
2942
|
-
/** Get all ping checks configured. */
|
|
2943
|
-
export const listPingChecks = /*@__PURE__*/ API.make(() => ({
|
|
2944
|
-
input: ListPingChecksRequest,
|
|
2945
|
-
output: PingCheckResponse,
|
|
2946
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2947
|
-
protocol: StackitProtocol,
|
|
2948
|
-
retry: Retry.Retry,
|
|
2949
|
-
}));
|
|
2950
|
-
/** Get all plans. */
|
|
2951
|
-
export const listPlans = /*@__PURE__*/ API.make(() => ({
|
|
2952
|
-
input: ListPlansRequest,
|
|
2953
|
-
output: PlansResponse,
|
|
2954
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2955
|
-
protocol: StackitProtocol,
|
|
2956
|
-
retry: Retry.Retry,
|
|
2957
|
-
}));
|
|
2958
|
-
/** Get all postgresql checks configured. */
|
|
2959
|
-
export const listPostgresqlChecks = /*@__PURE__*/ API.make(() => ({
|
|
2960
|
-
input: ListPostgresqlChecksRequest,
|
|
2961
|
-
output: PostgresqlCheckResponse,
|
|
2962
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2963
|
-
protocol: StackitProtocol,
|
|
2964
|
-
retry: Retry.Retry,
|
|
2965
|
-
}));
|
|
2966
|
-
/** Get all rabbitmq checks configured. */
|
|
2967
|
-
export const listRabbitmqChecks = /*@__PURE__*/ API.make(() => ({
|
|
2968
|
-
input: ListRabbitmqChecksRequest,
|
|
2969
|
-
output: RabbitmqCheckResponse,
|
|
2970
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2971
|
-
protocol: StackitProtocol,
|
|
2972
|
-
retry: Retry.Retry,
|
|
2973
|
-
}));
|
|
2974
|
-
/** Get all redis checks configured. */
|
|
2975
|
-
export const listRedisChecks = /*@__PURE__*/ API.make(() => ({
|
|
2976
|
-
input: ListRedisChecksRequest,
|
|
2977
|
-
output: RedisCheckResponse,
|
|
2978
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2979
|
-
protocol: StackitProtocol,
|
|
2980
|
-
retry: Retry.Retry,
|
|
2981
|
-
}));
|
|
2982
|
-
/** Get scrape configs. */
|
|
2983
|
-
export const listScrapeConfigs = /*@__PURE__*/ API.make(() => ({
|
|
2984
|
-
input: ListScrapeConfigsRequest,
|
|
2985
|
-
output: ListScrapeConfigsResponse,
|
|
2986
|
-
errors: [Forbidden, UnknownStackitError],
|
|
2987
|
-
protocol: StackitProtocol,
|
|
2988
|
-
retry: Retry.Retry,
|
|
2989
|
-
}));
|
|
2990
|
-
/** Patch alert groups. */
|
|
2991
|
-
export const partialUpdateAlertgroups = /*@__PURE__*/ API.make(() => ({
|
|
2992
|
-
input: PartialUpdateAlertgroupsRequest,
|
|
2993
|
-
output: AlertGroupsResponse,
|
|
2994
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
2995
|
-
protocol: StackitProtocol,
|
|
2996
|
-
retry: Retry.Retry,
|
|
2997
|
-
}));
|
|
2998
|
-
/** Patch alert records. */
|
|
2999
|
-
export const partialUpdateAlertRecords = /*@__PURE__*/ API.make(() => ({
|
|
3000
|
-
input: PartialUpdateAlertRecordsRequest,
|
|
3001
|
-
output: AlertRecordsResponse,
|
|
3002
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3003
|
-
protocol: StackitProtocol,
|
|
3004
|
-
retry: Retry.Retry,
|
|
3005
|
-
}));
|
|
3006
|
-
/** Patch alert rules. */
|
|
3007
|
-
export const partialUpdateAlertrules = /*@__PURE__*/ API.make(() => ({
|
|
3008
|
-
input: PartialUpdateAlertrulesRequest,
|
|
3009
|
-
output: AlertRulesResponse,
|
|
3010
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3011
|
-
protocol: StackitProtocol,
|
|
3012
|
-
retry: Retry.Retry,
|
|
3013
|
-
}));
|
|
3014
|
-
/** Update scrape configs. */
|
|
3015
|
-
export const partialUpdateScrapeConfigs = /*@__PURE__*/ API.make(() => ({
|
|
3016
|
-
input: PartialUpdateScrapeConfigsRequest,
|
|
3017
|
-
output: ScrapeConfigsResponse,
|
|
3018
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3019
|
-
protocol: StackitProtocol,
|
|
3020
|
-
retry: Retry.Retry,
|
|
3021
|
-
}));
|
|
3022
|
-
/** Restore backup. */
|
|
3023
|
-
export const restoreBackup = /*@__PURE__*/ API.make(() => ({
|
|
3024
|
-
input: RestoreBackupRequest,
|
|
3025
|
-
output: Message,
|
|
3026
|
-
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
3027
|
-
protocol: StackitProtocol,
|
|
3028
|
-
retry: Retry.Retry,
|
|
3029
|
-
}));
|
|
3030
|
-
/** Update acl config. */
|
|
3031
|
-
export const updateACL = /*@__PURE__*/ API.make(() => ({
|
|
3032
|
-
input: UpdateACLRequest,
|
|
3033
|
-
output: Message,
|
|
3034
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3035
|
-
protocol: StackitProtocol,
|
|
3036
|
-
retry: Retry.Retry,
|
|
3037
|
-
}));
|
|
3038
|
-
/** Update alert config receiver. */
|
|
3039
|
-
export const updateAlertConfigReceiver = /*@__PURE__*/ API.make(() => ({
|
|
3040
|
-
input: UpdateAlertConfigReceiverRequest,
|
|
3041
|
-
output: AlertConfigReceiversResponse,
|
|
3042
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3043
|
-
protocol: StackitProtocol,
|
|
3044
|
-
retry: Retry.Retry,
|
|
3045
|
-
}));
|
|
3046
|
-
/** Update alert receiver for route. */
|
|
3047
|
-
export const updateAlertConfigRoute = /*@__PURE__*/ API.make(() => ({
|
|
3048
|
-
input: UpdateAlertConfigRouteRequest,
|
|
3049
|
-
output: AlertConfigRouteResponse,
|
|
3050
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3051
|
-
protocol: StackitProtocol,
|
|
3052
|
-
retry: Retry.Retry,
|
|
3053
|
-
}));
|
|
3054
|
-
/** Update alert config. */
|
|
3055
|
-
export const updateAlertConfigs = /*@__PURE__*/ API.make(() => ({
|
|
3056
|
-
input: UpdateAlertConfigsRequest,
|
|
3057
|
-
output: UpdateAlertConfigsResponse,
|
|
3058
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3059
|
-
protocol: StackitProtocol,
|
|
3060
|
-
retry: Retry.Retry,
|
|
3061
|
-
}));
|
|
3062
|
-
/** Update alert group config. */
|
|
3063
|
-
export const updateAlertgroup = /*@__PURE__*/ API.make(() => ({
|
|
3064
|
-
input: UpdateAlertgroupRequest,
|
|
3065
|
-
output: AlertGroupsResponse,
|
|
3066
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3067
|
-
protocol: StackitProtocol,
|
|
3068
|
-
retry: Retry.Retry,
|
|
3069
|
-
}));
|
|
3070
|
-
/** Update alert groups. */
|
|
3071
|
-
export const updateAlertgroups = /*@__PURE__*/ API.make(() => ({
|
|
3072
|
-
input: UpdateAlertgroupsRequest,
|
|
3073
|
-
output: AlertGroupsResponse,
|
|
3074
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3075
|
-
protocol: StackitProtocol,
|
|
3076
|
-
retry: Retry.Retry,
|
|
3077
|
-
}));
|
|
3078
|
-
/** Update alert record. */
|
|
3079
|
-
export const updateAlertRecord = /*@__PURE__*/ API.make(() => ({
|
|
3080
|
-
input: UpdateAlertRecordRequest,
|
|
3081
|
-
output: AlertRecordsResponse,
|
|
3082
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3083
|
-
protocol: StackitProtocol,
|
|
3084
|
-
retry: Retry.Retry,
|
|
3085
|
-
}));
|
|
3086
|
-
/** Update alert rule. */
|
|
3087
|
-
export const updateAlertrule = /*@__PURE__*/ API.make(() => ({
|
|
3088
|
-
input: UpdateAlertruleRequest,
|
|
3089
|
-
output: AlertRulesResponse,
|
|
3090
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3091
|
-
protocol: StackitProtocol,
|
|
3092
|
-
retry: Retry.Retry,
|
|
3093
|
-
}));
|
|
3094
|
-
/** Update remote write config for credentials. */
|
|
3095
|
-
export const updateCredentialsRemoteWriteConfig = /*@__PURE__*/ API.make(() => ({
|
|
3096
|
-
input: UpdateCredentialsRemoteWriteConfigRequest,
|
|
3097
|
-
output: CredentialsRemoteWriteConfig,
|
|
3098
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3099
|
-
protocol: StackitProtocol,
|
|
3100
|
-
retry: Retry.Retry,
|
|
3101
|
-
}));
|
|
3102
|
-
/** Update grafana config. */
|
|
3103
|
-
export const updateGrafanaConfigs = /*@__PURE__*/ API.make(() => ({
|
|
3104
|
-
input: UpdateGrafanaConfigsRequest,
|
|
3105
|
-
output: Message,
|
|
3106
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3107
|
-
protocol: StackitProtocol,
|
|
3108
|
-
retry: Retry.Retry,
|
|
3109
|
-
}));
|
|
3110
|
-
/** Update instance. */
|
|
3111
|
-
export const updateInstance = /*@__PURE__*/ API.make(() => ({
|
|
3112
|
-
input: UpdateInstanceRequest,
|
|
3113
|
-
output: InstanceResponse,
|
|
3114
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3115
|
-
protocol: StackitProtocol,
|
|
3116
|
-
retry: Retry.Retry,
|
|
3117
|
-
}));
|
|
3118
|
-
/** Update logs alert group config. */
|
|
3119
|
-
export const updateLogsAlertgroup = /*@__PURE__*/ API.make(() => ({
|
|
3120
|
-
input: UpdateLogsAlertgroupRequest,
|
|
3121
|
-
output: AlertGroupsResponse,
|
|
3122
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3123
|
-
protocol: StackitProtocol,
|
|
3124
|
-
retry: Retry.Retry,
|
|
3125
|
-
}));
|
|
3126
|
-
/** Update logs config. */
|
|
3127
|
-
export const updateLogsConfigs = /*@__PURE__*/ API.make(() => ({
|
|
3128
|
-
input: UpdateLogsConfigsRequest,
|
|
3129
|
-
output: Message,
|
|
3130
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3131
|
-
protocol: StackitProtocol,
|
|
3132
|
-
retry: Retry.Retry,
|
|
3133
|
-
}));
|
|
3134
|
-
/** Update metric update retention time. */
|
|
3135
|
-
export const updateMetricsStorageRetention = /*@__PURE__*/ API.make(() => ({
|
|
3136
|
-
input: UpdateMetricsStorageRetentionRequest,
|
|
3137
|
-
output: Message,
|
|
3138
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3139
|
-
protocol: StackitProtocol,
|
|
3140
|
-
retry: Retry.Retry,
|
|
3141
|
-
}));
|
|
3142
|
-
/** Update scrape config. */
|
|
3143
|
-
export const updateScrapeConfig = /*@__PURE__*/ API.make(() => ({
|
|
3144
|
-
input: UpdateScrapeConfigRequest,
|
|
3145
|
-
output: ScrapeConfigsResponse,
|
|
3146
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
3147
|
-
protocol: StackitProtocol,
|
|
3148
|
-
retry: Retry.Retry,
|
|
3149
|
-
}));
|
|
3150
|
-
/** Update traces config. */
|
|
3151
|
-
export const updateTracesConfigs = /*@__PURE__*/ API.make(() => ({
|
|
3152
|
-
input: UpdateTracesConfigsRequest,
|
|
3153
|
-
output: Message,
|
|
3154
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
3155
|
-
protocol: StackitProtocol,
|
|
3156
|
-
retry: Retry.Retry,
|
|
3157
|
-
}));
|
|
3158
|
-
//# sourceMappingURL=observability.js.map
|