@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
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 +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
1
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
4
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
5
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import * as API from "@distilled.cloud/core/api";
|
|
5
|
-
import * as C from "@distilled.cloud/core/category";
|
|
6
|
-
import * as T from "../traits.js";
|
|
7
|
-
import { StackitProtocol, } from "../protocol.js";
|
|
8
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
|
+
import { StackitProtocol } from "../protocol.js";
|
|
9
8
|
import * as Retry from "../retry.js";
|
|
9
|
+
import * as T from "../traits.js";
|
|
10
10
|
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
11
11
|
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
12
12
|
code: S.Number,
|
|
@@ -25,8 +25,7 @@ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
|
25
25
|
message: S.String,
|
|
26
26
|
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
27
27
|
}
|
|
28
|
-
export const CreateAlertConfigReceiverRequestEmailConfigsItem =
|
|
29
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
28
|
+
export const CreateAlertConfigReceiverRequestEmailConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
30
29
|
authIdentity: S.optional(S.String),
|
|
31
30
|
authPassword: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
32
31
|
authUsername: S.optional(S.String),
|
|
@@ -37,10 +36,8 @@ export const CreateAlertConfigReceiverRequestEmailConfigsItem =
|
|
|
37
36
|
})).annotate({
|
|
38
37
|
identifier: "CreateAlertConfigReceiverRequestEmailConfigsItem",
|
|
39
38
|
});
|
|
40
|
-
export const CreateAlertConfigReceiverRequestEmailConfigsList =
|
|
41
|
-
/*@__PURE__*/ S.
|
|
42
|
-
export const CreateAlertConfigReceiverRequestOpsgenieConfigsItem =
|
|
43
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
39
|
+
export const CreateAlertConfigReceiverRequestEmailConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
40
|
+
export const CreateAlertConfigReceiverRequestOpsgenieConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
44
41
|
apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
45
42
|
apiUrl: S.optional(S.String),
|
|
46
43
|
priority: S.optional(S.String),
|
|
@@ -49,10 +46,8 @@ export const CreateAlertConfigReceiverRequestOpsgenieConfigsItem =
|
|
|
49
46
|
})).annotate({
|
|
50
47
|
identifier: "CreateAlertConfigReceiverRequestOpsgenieConfigsItem",
|
|
51
48
|
});
|
|
52
|
-
export const CreateAlertConfigReceiverRequestOpsgenieConfigsList =
|
|
53
|
-
/*@__PURE__*/ S.
|
|
54
|
-
export const CreateAlertConfigReceiverRequestWebHookConfigsItem =
|
|
55
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
49
|
+
export const CreateAlertConfigReceiverRequestOpsgenieConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
50
|
+
export const CreateAlertConfigReceiverRequestWebHookConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
56
51
|
googleChat: S.optional(S.Boolean),
|
|
57
52
|
msTeams: S.optional(S.Boolean),
|
|
58
53
|
sendResolved: S.optional(S.Boolean),
|
|
@@ -60,8 +55,7 @@ export const CreateAlertConfigReceiverRequestWebHookConfigsItem =
|
|
|
60
55
|
})).annotate({
|
|
61
56
|
identifier: "CreateAlertConfigReceiverRequestWebHookConfigsItem",
|
|
62
57
|
});
|
|
63
|
-
export const CreateAlertConfigReceiverRequestWebHookConfigsList =
|
|
64
|
-
/*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
58
|
+
export const CreateAlertConfigReceiverRequestWebHookConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
65
59
|
export const CreateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
66
60
|
projectId: S.String.pipe(T.Label()),
|
|
67
61
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -117,12 +111,9 @@ export const AlertConfigReceiversResponse = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
117
111
|
});
|
|
118
112
|
export const CreateAlertConfigRouteRequestGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
119
113
|
export const CreateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
120
|
-
export const CreateAlertConfigRouteRequestRoutesItemGroupByList =
|
|
121
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
122
|
-
export const
|
|
123
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
124
|
-
export const CreateAlertConfigRouteRequestRoutesItemRoutesList =
|
|
125
|
-
/*@__PURE__*/ S.Array(S.Unknown);
|
|
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);
|
|
126
117
|
export const CreateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
127
118
|
continue: S.optional(S.Boolean),
|
|
128
119
|
groupBy: S.optional(CreateAlertConfigRouteRequestRoutesItemGroupByList),
|
|
@@ -167,7 +158,7 @@ export const RouteSerializerGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
|
167
158
|
export const RouteSerializerMatchMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
168
159
|
export const RouteSerializerMatchReMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
169
160
|
export const RouteSerializerMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
170
|
-
export const RouteSerializerRoutesItemMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
161
|
+
export const RouteSerializerRoutesItemMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
171
162
|
export const RouteSerializerRoutesList = /*@__PURE__*/ S.Array(RouteSerializerRoutesItemMap);
|
|
172
163
|
export const RouteSerializer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
173
164
|
continue: S.optional(S.Boolean),
|
|
@@ -180,9 +171,7 @@ export const RouteSerializer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
180
171
|
receiver: S.String,
|
|
181
172
|
repeatInterval: S.optional(S.String),
|
|
182
173
|
routes: S.optional(RouteSerializerRoutesList),
|
|
183
|
-
})).annotate({
|
|
184
|
-
identifier: "RouteSerializer",
|
|
185
|
-
});
|
|
174
|
+
})).annotate({ identifier: "RouteSerializer" });
|
|
186
175
|
export const RouteRoutesList = /*@__PURE__*/ S.Array(RouteSerializer);
|
|
187
176
|
export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
188
177
|
continue: S.optional(S.Boolean),
|
|
@@ -199,9 +188,7 @@ export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
199
188
|
export const AlertConfigRouteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
200
189
|
data: Route,
|
|
201
190
|
message: S.String,
|
|
202
|
-
})).annotate({
|
|
203
|
-
identifier: "AlertConfigRouteResponse",
|
|
204
|
-
});
|
|
191
|
+
})).annotate({ identifier: "AlertConfigRouteResponse" });
|
|
205
192
|
export const CreateAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
206
193
|
alert: S.optional(S.String),
|
|
207
194
|
annotations: S.optional(S.Unknown),
|
|
@@ -224,9 +211,7 @@ export const CreateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
224
211
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
225
212
|
code: 200,
|
|
226
213
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
227
|
-
}))).annotate({
|
|
228
|
-
identifier: "CreateAlertgroupsRequest",
|
|
229
|
-
});
|
|
214
|
+
}))).annotate({ identifier: "CreateAlertgroupsRequest" });
|
|
230
215
|
export const AlertRuleRecordAnnotationsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
231
216
|
export const AlertRuleRecordLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
232
217
|
export const AlertRuleRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -236,9 +221,7 @@ export const AlertRuleRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
236
221
|
for: S.optional(S.String),
|
|
237
222
|
labels: S.optional(AlertRuleRecordLabelsMap),
|
|
238
223
|
record: S.optional(S.String),
|
|
239
|
-
})).annotate({
|
|
240
|
-
identifier: "AlertRuleRecord",
|
|
241
|
-
});
|
|
224
|
+
})).annotate({ identifier: "AlertRuleRecord" });
|
|
242
225
|
export const AlertGroupRulesList = /*@__PURE__*/ S.Array(AlertRuleRecord);
|
|
243
226
|
export const AlertGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
244
227
|
interval: S.optional(S.String),
|
|
@@ -249,9 +232,7 @@ export const AlertGroupsResponseDataList = /*@__PURE__*/ S.Array(AlertGroup);
|
|
|
249
232
|
export const AlertGroupsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
250
233
|
data: AlertGroupsResponseDataList,
|
|
251
234
|
message: S.String,
|
|
252
|
-
})).annotate({
|
|
253
|
-
identifier: "AlertGroupsResponse",
|
|
254
|
-
});
|
|
235
|
+
})).annotate({ identifier: "AlertGroupsResponse" });
|
|
255
236
|
export const CreateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
256
237
|
projectId: S.String.pipe(T.Label()),
|
|
257
238
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -264,9 +245,7 @@ export const CreateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
264
245
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
|
|
265
246
|
code: 200,
|
|
266
247
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
267
|
-
}))).annotate({
|
|
268
|
-
identifier: "CreateAlertRecordRequest",
|
|
269
|
-
});
|
|
248
|
+
}))).annotate({ identifier: "CreateAlertRecordRequest" });
|
|
270
249
|
export const AlertRecordLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
271
250
|
export const AlertRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
272
251
|
expr: S.String,
|
|
@@ -277,9 +256,7 @@ export const AlertRecordsResponseDataList = /*@__PURE__*/ S.Array(AlertRecord);
|
|
|
277
256
|
export const AlertRecordsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
278
257
|
data: AlertRecordsResponseDataList,
|
|
279
258
|
message: S.String,
|
|
280
|
-
})).annotate({
|
|
281
|
-
identifier: "AlertRecordsResponse",
|
|
282
|
-
});
|
|
259
|
+
})).annotate({ identifier: "AlertRecordsResponse" });
|
|
283
260
|
export const CreateAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
284
261
|
projectId: S.String.pipe(T.Label()),
|
|
285
262
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -294,9 +271,7 @@ export const CreateAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
294
271
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
|
|
295
272
|
code: 200,
|
|
296
273
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
297
|
-
}))).annotate({
|
|
298
|
-
identifier: "CreateAlertrulesRequest",
|
|
299
|
-
});
|
|
274
|
+
}))).annotate({ identifier: "CreateAlertrulesRequest" });
|
|
300
275
|
export const AlertRuleAnnotationsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
301
276
|
export const AlertRuleLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
302
277
|
export const AlertRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -310,10 +285,8 @@ export const AlertRulesResponseDataList = /*@__PURE__*/ S.Array(AlertRule);
|
|
|
310
285
|
export const AlertRulesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
311
286
|
data: AlertRulesResponseDataList,
|
|
312
287
|
message: S.String,
|
|
313
|
-
})).annotate({
|
|
314
|
-
|
|
315
|
-
});
|
|
316
|
-
export const CreateBackupRequestBackupTargetItem = /*@__PURE__*/ S.String;
|
|
288
|
+
})).annotate({ identifier: "AlertRulesResponse" });
|
|
289
|
+
export const CreateBackupRequestBackupTargetItem = S.String;
|
|
317
290
|
export const CreateBackupRequestBackupTargetList = /*@__PURE__*/ S.Array(CreateBackupRequestBackupTargetItem);
|
|
318
291
|
export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
319
292
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -324,16 +297,12 @@ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
324
297
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/backups",
|
|
325
298
|
code: 200,
|
|
326
299
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
327
|
-
}))).annotate({
|
|
328
|
-
identifier: "CreateBackupRequest",
|
|
329
|
-
});
|
|
300
|
+
}))).annotate({ identifier: "CreateBackupRequest" });
|
|
330
301
|
export const Message = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
331
302
|
message: S.String,
|
|
332
303
|
})).annotate({ identifier: "Message" });
|
|
333
|
-
export const CreateBackupScheduleRequestBackupTargetItem =
|
|
334
|
-
/*@__PURE__*/ S.
|
|
335
|
-
export const CreateBackupScheduleRequestBackupTargetList =
|
|
336
|
-
/*@__PURE__*/ S.Array(CreateBackupScheduleRequestBackupTargetItem);
|
|
304
|
+
export const CreateBackupScheduleRequestBackupTargetItem = S.String;
|
|
305
|
+
export const CreateBackupScheduleRequestBackupTargetList = /*@__PURE__*/ S.Array(CreateBackupScheduleRequestBackupTargetItem);
|
|
337
306
|
export const CreateBackupScheduleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
338
307
|
projectId: S.String.pipe(T.Label()),
|
|
339
308
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -362,23 +331,17 @@ export const CreateCertCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
362
331
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks",
|
|
363
332
|
code: 200,
|
|
364
333
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
365
|
-
}))).annotate({
|
|
366
|
-
identifier: "CreateCertCheckRequest",
|
|
367
|
-
});
|
|
334
|
+
}))).annotate({ identifier: "CreateCertCheckRequest" });
|
|
368
335
|
export const CertCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
369
336
|
id: S.String,
|
|
370
337
|
source: S.String,
|
|
371
|
-
})).annotate({
|
|
372
|
-
identifier: "CertCheckChildResponse",
|
|
373
|
-
});
|
|
338
|
+
})).annotate({ identifier: "CertCheckChildResponse" });
|
|
374
339
|
export const CertCheckResponseCertChecksList = /*@__PURE__*/ S.Array(CertCheckChildResponse);
|
|
375
340
|
export const CertCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
376
341
|
certCheck: S.optional(CertCheckChildResponse),
|
|
377
342
|
certChecks: CertCheckResponseCertChecksList,
|
|
378
343
|
message: S.String,
|
|
379
|
-
})).annotate({
|
|
380
|
-
identifier: "CertCheckResponse",
|
|
381
|
-
});
|
|
344
|
+
})).annotate({ identifier: "CertCheckResponse" });
|
|
382
345
|
export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
383
346
|
projectId: S.String.pipe(T.Label()),
|
|
384
347
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -388,9 +351,7 @@ export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
388
351
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials",
|
|
389
352
|
code: 200,
|
|
390
353
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
391
|
-
}))).annotate({
|
|
392
|
-
identifier: "CreateCredentialsRequest",
|
|
393
|
-
});
|
|
354
|
+
}))).annotate({ identifier: "CreateCredentialsRequest" });
|
|
394
355
|
export const Credentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
395
356
|
description: S.optional(S.String),
|
|
396
357
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
@@ -424,8 +385,7 @@ export const ElasticsearchCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
424
385
|
})).annotate({
|
|
425
386
|
identifier: "ElasticsearchCheckChildResponse",
|
|
426
387
|
});
|
|
427
|
-
export const ElasticsearchCheckResponseElasticsearchChecksList =
|
|
428
|
-
/*@__PURE__*/ S.Array(ElasticsearchCheckChildResponse);
|
|
388
|
+
export const ElasticsearchCheckResponseElasticsearchChecksList = /*@__PURE__*/ S.Array(ElasticsearchCheckChildResponse);
|
|
429
389
|
export const ElasticsearchCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
430
390
|
elasticsearchCheck: S.optional(ElasticsearchCheckChildResponse),
|
|
431
391
|
elasticsearchChecks: ElasticsearchCheckResponseElasticsearchChecksList,
|
|
@@ -442,23 +402,17 @@ export const CreateHttpCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
442
402
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks",
|
|
443
403
|
code: 200,
|
|
444
404
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
445
|
-
}))).annotate({
|
|
446
|
-
identifier: "CreateHttpCheckRequest",
|
|
447
|
-
});
|
|
405
|
+
}))).annotate({ identifier: "CreateHttpCheckRequest" });
|
|
448
406
|
export const HttpCheckChildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
449
407
|
id: S.String,
|
|
450
408
|
url: S.String,
|
|
451
|
-
})).annotate({
|
|
452
|
-
identifier: "HttpCheckChildResponse",
|
|
453
|
-
});
|
|
409
|
+
})).annotate({ identifier: "HttpCheckChildResponse" });
|
|
454
410
|
export const HttpCheckResponseHttpChecksList = /*@__PURE__*/ S.Array(HttpCheckChildResponse);
|
|
455
411
|
export const HttpCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
456
412
|
httpCheck: S.optional(HttpCheckChildResponse),
|
|
457
413
|
httpChecks: HttpCheckResponseHttpChecksList,
|
|
458
414
|
message: S.String,
|
|
459
|
-
})).annotate({
|
|
460
|
-
identifier: "HttpCheckResponse",
|
|
461
|
-
});
|
|
415
|
+
})).annotate({ identifier: "HttpCheckResponse" });
|
|
462
416
|
export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
463
417
|
projectId: S.String.pipe(T.Label()),
|
|
464
418
|
grafanaAdminEnabled: S.optional(S.Boolean),
|
|
@@ -470,16 +424,12 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
470
424
|
uri: "/v1/projects/{projectId}/instances",
|
|
471
425
|
code: 200,
|
|
472
426
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
473
|
-
}))).annotate({
|
|
474
|
-
identifier: "CreateInstanceRequest",
|
|
475
|
-
});
|
|
427
|
+
}))).annotate({ identifier: "CreateInstanceRequest" });
|
|
476
428
|
export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
477
429
|
dashboardUrl: S.String,
|
|
478
430
|
instanceId: S.String,
|
|
479
431
|
message: S.String,
|
|
480
|
-
})).annotate({
|
|
481
|
-
identifier: "CreateInstanceResponse",
|
|
482
|
-
});
|
|
432
|
+
})).annotate({ identifier: "CreateInstanceResponse" });
|
|
483
433
|
export const CreateLogsAlertgroupsRequestRulesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
484
434
|
alert: S.optional(S.String),
|
|
485
435
|
annotations: S.optional(S.Unknown),
|
|
@@ -528,9 +478,7 @@ export const MongodbCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
528
478
|
message: S.String,
|
|
529
479
|
mongodbCheck: S.optional(MongodbCheckChildResponse),
|
|
530
480
|
mongodbChecks: MongodbCheckResponseMongodbChecksList,
|
|
531
|
-
})).annotate({
|
|
532
|
-
identifier: "MongodbCheckResponse",
|
|
533
|
-
});
|
|
481
|
+
})).annotate({ identifier: "MongodbCheckResponse" });
|
|
534
482
|
export const CreateMysqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
535
483
|
projectId: S.String.pipe(T.Label()),
|
|
536
484
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -540,18 +488,14 @@ export const CreateMysqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
540
488
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",
|
|
541
489
|
code: 200,
|
|
542
490
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
543
|
-
}))).annotate({
|
|
544
|
-
identifier: "CreateMysqlCheckRequest",
|
|
545
|
-
});
|
|
491
|
+
}))).annotate({ identifier: "CreateMysqlCheckRequest" });
|
|
546
492
|
export const MysqlCheckChildResponse = MongodbCheckChildResponse;
|
|
547
493
|
export const MysqlCheckResponseMysqlChecksList = /*@__PURE__*/ S.Array(MongodbCheckChildResponse);
|
|
548
494
|
export const MysqlCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
549
495
|
message: S.String,
|
|
550
496
|
mysqlCheck: S.optional(MongodbCheckChildResponse),
|
|
551
497
|
mysqlChecks: MysqlCheckResponseMysqlChecksList,
|
|
552
|
-
})).annotate({
|
|
553
|
-
identifier: "MysqlCheckResponse",
|
|
554
|
-
});
|
|
498
|
+
})).annotate({ identifier: "MysqlCheckResponse" });
|
|
555
499
|
export const CreateNetworkCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
556
500
|
projectId: S.String.pipe(T.Label()),
|
|
557
501
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -575,9 +519,7 @@ export const NetworkCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
575
519
|
message: S.String,
|
|
576
520
|
networkCheck: S.optional(NetworkCheckChildResponse),
|
|
577
521
|
networkChecks: NetworkCheckResponseNetworkChecksList,
|
|
578
|
-
})).annotate({
|
|
579
|
-
identifier: "NetworkCheckResponse",
|
|
580
|
-
});
|
|
522
|
+
})).annotate({ identifier: "NetworkCheckResponse" });
|
|
581
523
|
export const CreatePingCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
582
524
|
projectId: S.String.pipe(T.Label()),
|
|
583
525
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -587,18 +529,14 @@ export const CreatePingCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
587
529
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks",
|
|
588
530
|
code: 200,
|
|
589
531
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
590
|
-
}))).annotate({
|
|
591
|
-
identifier: "CreatePingCheckRequest",
|
|
592
|
-
});
|
|
532
|
+
}))).annotate({ identifier: "CreatePingCheckRequest" });
|
|
593
533
|
export const PingCheckChildResponse = HttpCheckChildResponse;
|
|
594
534
|
export const PingCheckResponsePingChecksList = /*@__PURE__*/ S.Array(HttpCheckChildResponse);
|
|
595
535
|
export const PingCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
596
536
|
message: S.String,
|
|
597
537
|
pingCheck: S.optional(HttpCheckChildResponse),
|
|
598
538
|
pingChecks: PingCheckResponsePingChecksList,
|
|
599
|
-
})).annotate({
|
|
600
|
-
identifier: "PingCheckResponse",
|
|
601
|
-
});
|
|
539
|
+
})).annotate({ identifier: "PingCheckResponse" });
|
|
602
540
|
export const CreatePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
603
541
|
projectId: S.String.pipe(T.Label()),
|
|
604
542
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -612,15 +550,12 @@ export const CreatePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
612
550
|
identifier: "CreatePostgresqlCheckRequest",
|
|
613
551
|
});
|
|
614
552
|
export const PostgresqlCheckChildResponse = NetworkCheckChildResponse;
|
|
615
|
-
export const PostgresqlCheckResponsePostgresqlChecksList =
|
|
616
|
-
/*@__PURE__*/ S.Array(NetworkCheckChildResponse);
|
|
553
|
+
export const PostgresqlCheckResponsePostgresqlChecksList = /*@__PURE__*/ S.Array(NetworkCheckChildResponse);
|
|
617
554
|
export const PostgresqlCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
618
555
|
message: S.String,
|
|
619
556
|
postgresqlCheck: S.optional(NetworkCheckChildResponse),
|
|
620
557
|
postgresqlChecks: PostgresqlCheckResponsePostgresqlChecksList,
|
|
621
|
-
})).annotate({
|
|
622
|
-
identifier: "PostgresqlCheckResponse",
|
|
623
|
-
});
|
|
558
|
+
})).annotate({ identifier: "PostgresqlCheckResponse" });
|
|
624
559
|
export const CreateRabbitmqCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
625
560
|
projectId: S.String.pipe(T.Label()),
|
|
626
561
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -648,9 +583,7 @@ export const RabbitmqCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
648
583
|
message: S.String,
|
|
649
584
|
rabbitmqCheck: S.optional(RabbitMQCheckChildResponse),
|
|
650
585
|
rabbitmqChecks: RabbitmqCheckResponseRabbitmqChecksList,
|
|
651
|
-
})).annotate({
|
|
652
|
-
identifier: "RabbitmqCheckResponse",
|
|
653
|
-
});
|
|
586
|
+
})).annotate({ identifier: "RabbitmqCheckResponse" });
|
|
654
587
|
export const CreateRedisCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
655
588
|
projectId: S.String.pipe(T.Label()),
|
|
656
589
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -662,18 +595,14 @@ export const CreateRedisCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
662
595
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks",
|
|
663
596
|
code: 200,
|
|
664
597
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
665
|
-
}))).annotate({
|
|
666
|
-
identifier: "CreateRedisCheckRequest",
|
|
667
|
-
});
|
|
598
|
+
}))).annotate({ identifier: "CreateRedisCheckRequest" });
|
|
668
599
|
export const RedisCheckChildResponse = ElasticsearchCheckChildResponse;
|
|
669
600
|
export const RedisCheckResponseRedisChecksList = /*@__PURE__*/ S.Array(ElasticsearchCheckChildResponse);
|
|
670
601
|
export const RedisCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
671
602
|
message: S.String,
|
|
672
603
|
redisCheck: S.optional(ElasticsearchCheckChildResponse),
|
|
673
604
|
redisChecks: RedisCheckResponseRedisChecksList,
|
|
674
|
-
})).annotate({
|
|
675
|
-
identifier: "RedisCheckResponse",
|
|
676
|
-
});
|
|
605
|
+
})).annotate({ identifier: "RedisCheckResponse" });
|
|
677
606
|
export const CreateScrapeConfigRequestBasicAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
678
607
|
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
679
608
|
username: S.optional(S.String),
|
|
@@ -681,16 +610,13 @@ export const CreateScrapeConfigRequestBasicAuth = /*@__PURE__*/ S.suspend(() =>
|
|
|
681
610
|
identifier: "CreateScrapeConfigRequestBasicAuth",
|
|
682
611
|
});
|
|
683
612
|
export const CreateScrapeConfigRequestHttpSdConfigsItemBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
684
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList =
|
|
685
|
-
/*@__PURE__*/ S.
|
|
686
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig =
|
|
687
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
613
|
+
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList = /*@__PURE__*/ S.Array(S.String);
|
|
614
|
+
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
688
615
|
insecureSkipVerify: S.optional(S.Boolean),
|
|
689
616
|
})).annotate({
|
|
690
617
|
identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig",
|
|
691
618
|
});
|
|
692
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2 =
|
|
693
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
619
|
+
export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
694
620
|
clientId: S.String,
|
|
695
621
|
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
696
622
|
scopes: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2ScopesList),
|
|
@@ -700,8 +626,7 @@ export const CreateScrapeConfigRequestHttpSdConfigsItemOauth2 =
|
|
|
700
626
|
identifier: "CreateScrapeConfigRequestHttpSdConfigsItemOauth2",
|
|
701
627
|
});
|
|
702
628
|
export const CreateScrapeConfigRequestHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
703
|
-
export const CreateScrapeConfigRequestHttpSdConfigsItem =
|
|
704
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
629
|
+
export const CreateScrapeConfigRequestHttpSdConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
705
630
|
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
706
631
|
oauth2: S.optional(CreateScrapeConfigRequestHttpSdConfigsItemOauth2),
|
|
707
632
|
refreshInterval: S.optional(S.String),
|
|
@@ -711,12 +636,10 @@ export const CreateScrapeConfigRequestHttpSdConfigsItem =
|
|
|
711
636
|
identifier: "CreateScrapeConfigRequestHttpSdConfigsItem",
|
|
712
637
|
});
|
|
713
638
|
export const CreateScrapeConfigRequestHttpSdConfigsList = /*@__PURE__*/ S.Array(CreateScrapeConfigRequestHttpSdConfigsItem);
|
|
714
|
-
export const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction =
|
|
715
|
-
/*@__PURE__*/ S.String;
|
|
639
|
+
export const CreateScrapeConfigRequestMetricsRelabelConfigsItemAction = S.String;
|
|
716
640
|
export const CreateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
|
|
717
641
|
/*@__PURE__*/ S.Array(S.String);
|
|
718
|
-
export const CreateScrapeConfigRequestMetricsRelabelConfigsItem =
|
|
719
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
642
|
+
export const CreateScrapeConfigRequestMetricsRelabelConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
720
643
|
action: S.optional(CreateScrapeConfigRequestMetricsRelabelConfigsItemAction),
|
|
721
644
|
modulus: S.optional(S.Number),
|
|
722
645
|
regex: S.optional(S.String),
|
|
@@ -727,8 +650,7 @@ export const CreateScrapeConfigRequestMetricsRelabelConfigsItem =
|
|
|
727
650
|
})).annotate({
|
|
728
651
|
identifier: "CreateScrapeConfigRequestMetricsRelabelConfigsItem",
|
|
729
652
|
});
|
|
730
|
-
export const CreateScrapeConfigRequestMetricsRelabelConfigsList =
|
|
731
|
-
/*@__PURE__*/ S.Array(CreateScrapeConfigRequestMetricsRelabelConfigsItem);
|
|
653
|
+
export const CreateScrapeConfigRequestMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(CreateScrapeConfigRequestMetricsRelabelConfigsItem);
|
|
732
654
|
export const CreateScrapeConfigRequestOauth2ScopesList = /*@__PURE__*/ S.Array(S.String);
|
|
733
655
|
export const CreateScrapeConfigRequestOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
734
656
|
export const CreateScrapeConfigRequestOauth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -740,11 +662,9 @@ export const CreateScrapeConfigRequestOauth2 = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
740
662
|
})).annotate({
|
|
741
663
|
identifier: "CreateScrapeConfigRequestOauth2",
|
|
742
664
|
});
|
|
743
|
-
export const CreateScrapeConfigRequestScheme =
|
|
744
|
-
export const CreateScrapeConfigRequestStaticConfigsItemTargetsList =
|
|
745
|
-
/*@__PURE__*/ S.
|
|
746
|
-
export const CreateScrapeConfigRequestStaticConfigsItem =
|
|
747
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
665
|
+
export const CreateScrapeConfigRequestScheme = S.String;
|
|
666
|
+
export const CreateScrapeConfigRequestStaticConfigsItemTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
667
|
+
export const CreateScrapeConfigRequestStaticConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
748
668
|
labels: S.optional(S.Unknown),
|
|
749
669
|
targets: CreateScrapeConfigRequestStaticConfigsItemTargetsList,
|
|
750
670
|
})).annotate({
|
|
@@ -802,7 +722,7 @@ export const HTTPServiceSD = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
802
722
|
url: S.String,
|
|
803
723
|
})).annotate({ identifier: "HTTPServiceSD" });
|
|
804
724
|
export const JobHttpSdConfigsList = /*@__PURE__*/ S.Array(HTTPServiceSD);
|
|
805
|
-
export const MetricsRelabelConfigAction =
|
|
725
|
+
export const MetricsRelabelConfigAction = S.String;
|
|
806
726
|
export const MetricsRelabelConfigSourceLabelsList = /*@__PURE__*/ S.Array(S.String);
|
|
807
727
|
export const MetricsRelabelConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
808
728
|
action: S.optional(MetricsRelabelConfigAction),
|
|
@@ -812,13 +732,11 @@ export const MetricsRelabelConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
812
732
|
separator: S.optional(S.String),
|
|
813
733
|
sourceLabels: MetricsRelabelConfigSourceLabelsList,
|
|
814
734
|
targetLabel: S.optional(S.String),
|
|
815
|
-
})).annotate({
|
|
816
|
-
identifier: "MetricsRelabelConfig",
|
|
817
|
-
});
|
|
735
|
+
})).annotate({ identifier: "MetricsRelabelConfig" });
|
|
818
736
|
export const JobMetricsRelabelConfigsList = /*@__PURE__*/ S.Array(MetricsRelabelConfig);
|
|
819
737
|
export const JobParamsValueList = /*@__PURE__*/ S.Array(S.String);
|
|
820
738
|
export const JobParamsMap = /*@__PURE__*/ S.Record(S.String, JobParamsValueList);
|
|
821
|
-
export const JobScheme =
|
|
739
|
+
export const JobScheme = S.String;
|
|
822
740
|
export const StaticConfigsLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
823
741
|
export const StaticConfigsTargetsList = /*@__PURE__*/ S.Array(S.String);
|
|
824
742
|
export const StaticConfigs = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -848,9 +766,7 @@ export const ScrapeConfigsResponseDataList = /*@__PURE__*/ S.Array(Job);
|
|
|
848
766
|
export const ScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
849
767
|
data: ScrapeConfigsResponseDataList,
|
|
850
768
|
message: S.String,
|
|
851
|
-
})).annotate({
|
|
852
|
-
identifier: "ScrapeConfigsResponse",
|
|
853
|
-
});
|
|
769
|
+
})).annotate({ identifier: "ScrapeConfigsResponse" });
|
|
854
770
|
export const DeleteAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
855
771
|
projectId: S.String.pipe(T.Label()),
|
|
856
772
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -884,9 +800,7 @@ export const DeleteAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
884
800
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
|
|
885
801
|
code: 200,
|
|
886
802
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
887
|
-
}))).annotate({
|
|
888
|
-
identifier: "DeleteAlertgroupRequest",
|
|
889
|
-
});
|
|
803
|
+
}))).annotate({ identifier: "DeleteAlertgroupRequest" });
|
|
890
804
|
export const DeleteAlertgroupsRequestGroupNameList = /*@__PURE__*/ S.Array(S.String);
|
|
891
805
|
export const DeleteAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
892
806
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -897,9 +811,7 @@ export const DeleteAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
897
811
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
898
812
|
code: 200,
|
|
899
813
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
900
|
-
}))).annotate({
|
|
901
|
-
identifier: "DeleteAlertgroupsRequest",
|
|
902
|
-
});
|
|
814
|
+
}))).annotate({ identifier: "DeleteAlertgroupsRequest" });
|
|
903
815
|
export const DeleteAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
904
816
|
projectId: S.String.pipe(T.Label()),
|
|
905
817
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -910,9 +822,7 @@ export const DeleteAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
910
822
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
|
|
911
823
|
code: 200,
|
|
912
824
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
913
|
-
}))).annotate({
|
|
914
|
-
identifier: "DeleteAlertRecordRequest",
|
|
915
|
-
});
|
|
825
|
+
}))).annotate({ identifier: "DeleteAlertRecordRequest" });
|
|
916
826
|
export const DeleteAlertRecordsRequestAlertRecordList = /*@__PURE__*/ S.Array(S.String);
|
|
917
827
|
export const DeleteAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
918
828
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -937,9 +847,7 @@ export const DeleteAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
937
847
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
|
|
938
848
|
code: 200,
|
|
939
849
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
940
|
-
}))).annotate({
|
|
941
|
-
identifier: "DeleteAlertruleRequest",
|
|
942
|
-
});
|
|
850
|
+
}))).annotate({ identifier: "DeleteAlertruleRequest" });
|
|
943
851
|
export const DeleteAlertrulesRequestAlertNameList = /*@__PURE__*/ S.Array(S.String);
|
|
944
852
|
export const DeleteAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
945
853
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -951,9 +859,7 @@ export const DeleteAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
951
859
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
|
|
952
860
|
code: 200,
|
|
953
861
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
954
|
-
}))).annotate({
|
|
955
|
-
identifier: "DeleteAlertrulesRequest",
|
|
956
|
-
});
|
|
862
|
+
}))).annotate({ identifier: "DeleteAlertrulesRequest" });
|
|
957
863
|
export const DeleteCertCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
958
864
|
projectId: S.String.pipe(T.Label()),
|
|
959
865
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -963,9 +869,7 @@ export const DeleteCertCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
963
869
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks/{id}",
|
|
964
870
|
code: 200,
|
|
965
871
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
966
|
-
}))).annotate({
|
|
967
|
-
identifier: "DeleteCertCheckRequest",
|
|
968
|
-
});
|
|
872
|
+
}))).annotate({ identifier: "DeleteCertCheckRequest" });
|
|
969
873
|
export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
970
874
|
projectId: S.String.pipe(T.Label()),
|
|
971
875
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -975,11 +879,8 @@ export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
975
879
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",
|
|
976
880
|
code: 200,
|
|
977
881
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
978
|
-
}))).annotate({
|
|
979
|
-
|
|
980
|
-
});
|
|
981
|
-
export const DeleteCredentialsRemoteWriteConfigRequest =
|
|
982
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
882
|
+
}))).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
883
|
+
export const DeleteCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
983
884
|
projectId: S.String.pipe(T.Label()),
|
|
984
885
|
instanceId: S.String.pipe(T.Label()),
|
|
985
886
|
username: S.String.pipe(T.Label()),
|
|
@@ -1018,9 +919,7 @@ export const DeleteHttpCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1018
919
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks/{id}",
|
|
1019
920
|
code: 200,
|
|
1020
921
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1021
|
-
}))).annotate({
|
|
1022
|
-
identifier: "DeleteHttpCheckRequest",
|
|
1023
|
-
});
|
|
922
|
+
}))).annotate({ identifier: "DeleteHttpCheckRequest" });
|
|
1024
923
|
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1025
924
|
projectId: S.String.pipe(T.Label()),
|
|
1026
925
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1029,14 +928,10 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1029
928
|
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
1030
929
|
code: 200,
|
|
1031
930
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1032
|
-
}))).annotate({
|
|
1033
|
-
identifier: "DeleteInstanceRequest",
|
|
1034
|
-
});
|
|
931
|
+
}))).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1035
932
|
export const InstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1036
933
|
message: S.String,
|
|
1037
|
-
})).annotate({
|
|
1038
|
-
identifier: "InstanceResponse",
|
|
1039
|
-
});
|
|
934
|
+
})).annotate({ identifier: "InstanceResponse" });
|
|
1040
935
|
export const DeleteLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1041
936
|
projectId: S.String.pipe(T.Label()),
|
|
1042
937
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1070,9 +965,7 @@ export const DeleteMysqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1070
965
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks/{id}",
|
|
1071
966
|
code: 200,
|
|
1072
967
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1073
|
-
}))).annotate({
|
|
1074
|
-
identifier: "DeleteMysqlCheckRequest",
|
|
1075
|
-
});
|
|
968
|
+
}))).annotate({ identifier: "DeleteMysqlCheckRequest" });
|
|
1076
969
|
export const DeleteNetworkCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1077
970
|
projectId: S.String.pipe(T.Label()),
|
|
1078
971
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1094,9 +987,7 @@ export const DeletePingCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1094
987
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks/{id}",
|
|
1095
988
|
code: 200,
|
|
1096
989
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1097
|
-
}))).annotate({
|
|
1098
|
-
identifier: "DeletePingCheckRequest",
|
|
1099
|
-
});
|
|
990
|
+
}))).annotate({ identifier: "DeletePingCheckRequest" });
|
|
1100
991
|
export const DeletePostgresqlCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1101
992
|
projectId: S.String.pipe(T.Label()),
|
|
1102
993
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1130,9 +1021,7 @@ export const DeleteRedisCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1130
1021
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks/{id}",
|
|
1131
1022
|
code: 200,
|
|
1132
1023
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1133
|
-
}))).annotate({
|
|
1134
|
-
identifier: "DeleteRedisCheckRequest",
|
|
1135
|
-
});
|
|
1024
|
+
}))).annotate({ identifier: "DeleteRedisCheckRequest" });
|
|
1136
1025
|
export const DeleteScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1137
1026
|
projectId: S.String.pipe(T.Label()),
|
|
1138
1027
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1201,9 +1090,7 @@ export const GetAlertConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1201
1090
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertconfigs",
|
|
1202
1091
|
code: 200,
|
|
1203
1092
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1204
|
-
}))).annotate({
|
|
1205
|
-
identifier: "GetAlertConfigsRequest",
|
|
1206
|
-
});
|
|
1093
|
+
}))).annotate({ identifier: "GetAlertConfigsRequest" });
|
|
1207
1094
|
export const Global = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1208
1095
|
opsgenieApiKey: S.optional(S.String),
|
|
1209
1096
|
opsgenieApiUrl: S.optional(S.String),
|
|
@@ -1241,9 +1128,7 @@ export const Alert = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1241
1128
|
export const GetAlertConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1242
1129
|
data: Alert,
|
|
1243
1130
|
message: S.String,
|
|
1244
|
-
})).annotate({
|
|
1245
|
-
identifier: "GetAlertConfigsResponse",
|
|
1246
|
-
});
|
|
1131
|
+
})).annotate({ identifier: "GetAlertConfigsResponse" });
|
|
1247
1132
|
export const GetAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1248
1133
|
projectId: S.String.pipe(T.Label()),
|
|
1249
1134
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1253,15 +1138,11 @@ export const GetAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1253
1138
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
|
|
1254
1139
|
code: 200,
|
|
1255
1140
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1256
|
-
}))).annotate({
|
|
1257
|
-
identifier: "GetAlertgroupRequest",
|
|
1258
|
-
});
|
|
1141
|
+
}))).annotate({ identifier: "GetAlertgroupRequest" });
|
|
1259
1142
|
export const AlertGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1260
1143
|
data: AlertGroup,
|
|
1261
1144
|
message: S.String,
|
|
1262
|
-
})).annotate({
|
|
1263
|
-
identifier: "AlertGroupResponse",
|
|
1264
|
-
});
|
|
1145
|
+
})).annotate({ identifier: "AlertGroupResponse" });
|
|
1265
1146
|
export const GetAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1266
1147
|
projectId: S.String.pipe(T.Label()),
|
|
1267
1148
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1272,15 +1153,11 @@ export const GetAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1272
1153
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
|
|
1273
1154
|
code: 200,
|
|
1274
1155
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1275
|
-
}))).annotate({
|
|
1276
|
-
identifier: "GetAlertRecordRequest",
|
|
1277
|
-
});
|
|
1156
|
+
}))).annotate({ identifier: "GetAlertRecordRequest" });
|
|
1278
1157
|
export const AlertRecordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1279
1158
|
data: AlertRecord,
|
|
1280
1159
|
message: S.String,
|
|
1281
|
-
})).annotate({
|
|
1282
|
-
identifier: "AlertRecordResponse",
|
|
1283
|
-
});
|
|
1160
|
+
})).annotate({ identifier: "AlertRecordResponse" });
|
|
1284
1161
|
export const GetAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1285
1162
|
projectId: S.String.pipe(T.Label()),
|
|
1286
1163
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1291,15 +1168,11 @@ export const GetAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1291
1168
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
|
|
1292
1169
|
code: 200,
|
|
1293
1170
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1294
|
-
}))).annotate({
|
|
1295
|
-
identifier: "GetAlertruleRequest",
|
|
1296
|
-
});
|
|
1171
|
+
}))).annotate({ identifier: "GetAlertruleRequest" });
|
|
1297
1172
|
export const AlertRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1298
1173
|
data: AlertRule,
|
|
1299
1174
|
message: S.String,
|
|
1300
|
-
})).annotate({
|
|
1301
|
-
identifier: "AlertRuleResponse",
|
|
1302
|
-
});
|
|
1175
|
+
})).annotate({ identifier: "AlertRuleResponse" });
|
|
1303
1176
|
export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1304
1177
|
projectId: S.String.pipe(T.Label()),
|
|
1305
1178
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1309,18 +1182,14 @@ export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1309
1182
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials/{username}",
|
|
1310
1183
|
code: 200,
|
|
1311
1184
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1312
|
-
}))).annotate({
|
|
1313
|
-
|
|
1314
|
-
});
|
|
1315
|
-
export const GetCredentialsResponseCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1185
|
+
}))).annotate({ identifier: "GetCredentialsRequest" });
|
|
1186
|
+
export const GetCredentialsResponseCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
1316
1187
|
export const GetCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1317
1188
|
credentialsInfo: S.optional(GetCredentialsResponseCredentialsInfoMap),
|
|
1318
1189
|
id: S.String,
|
|
1319
1190
|
message: S.String,
|
|
1320
1191
|
name: S.String,
|
|
1321
|
-
})).annotate({
|
|
1322
|
-
identifier: "GetCredentialsResponse",
|
|
1323
|
-
});
|
|
1192
|
+
})).annotate({ identifier: "GetCredentialsResponse" });
|
|
1324
1193
|
export const GetCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1325
1194
|
projectId: S.String.pipe(T.Label()),
|
|
1326
1195
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1348,9 +1217,7 @@ export const GetGrafanaConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1348
1217
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/grafana-configs",
|
|
1349
1218
|
code: 200,
|
|
1350
1219
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1351
|
-
}))).annotate({
|
|
1352
|
-
identifier: "GetGrafanaConfigsRequest",
|
|
1353
|
-
});
|
|
1220
|
+
}))).annotate({ identifier: "GetGrafanaConfigsRequest" });
|
|
1354
1221
|
export const GrafanaOauth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1355
1222
|
allowAssignGrafanaAdmin: S.optional(S.Boolean),
|
|
1356
1223
|
apiUrl: S.String,
|
|
@@ -1379,9 +1246,7 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1379
1246
|
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
1380
1247
|
code: 200,
|
|
1381
1248
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1382
|
-
}))).annotate({
|
|
1383
|
-
identifier: "GetInstanceRequest",
|
|
1384
|
-
});
|
|
1249
|
+
}))).annotate({ identifier: "GetInstanceRequest" });
|
|
1385
1250
|
export const PlanModel = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1386
1251
|
alertMatchers: S.Number,
|
|
1387
1252
|
alertReceivers: S.Number,
|
|
@@ -1433,11 +1298,9 @@ export const InstanceSensitiveData = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1433
1298
|
pushMetricsUrl: S.String,
|
|
1434
1299
|
targetsUrl: S.String,
|
|
1435
1300
|
zipkinSpansUrl: S.String,
|
|
1436
|
-
})).annotate({
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
export const GetInstanceResponseParametersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1440
|
-
export const GetInstanceResponseStatus = /*@__PURE__*/ 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;
|
|
1441
1304
|
export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1442
1305
|
dashboardUrl: S.String,
|
|
1443
1306
|
error: S.optional(S.NullOr(S.String)),
|
|
@@ -1452,9 +1315,7 @@ export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1452
1315
|
planSchema: S.optional(S.String),
|
|
1453
1316
|
serviceName: S.String,
|
|
1454
1317
|
status: GetInstanceResponseStatus,
|
|
1455
|
-
})).annotate({
|
|
1456
|
-
identifier: "GetInstanceResponse",
|
|
1457
|
-
});
|
|
1318
|
+
})).annotate({ identifier: "GetInstanceResponse" });
|
|
1458
1319
|
export const GetLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1459
1320
|
projectId: S.String.pipe(T.Label()),
|
|
1460
1321
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1464,9 +1325,7 @@ export const GetLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1464
1325
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-alertgroups/{groupName}",
|
|
1465
1326
|
code: 200,
|
|
1466
1327
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1467
|
-
}))).annotate({
|
|
1468
|
-
identifier: "GetLogsAlertgroupRequest",
|
|
1469
|
-
});
|
|
1328
|
+
}))).annotate({ identifier: "GetLogsAlertgroupRequest" });
|
|
1470
1329
|
export const GetLogsConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1471
1330
|
projectId: S.String.pipe(T.Label()),
|
|
1472
1331
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1475,18 +1334,14 @@ export const GetLogsConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1475
1334
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-configs",
|
|
1476
1335
|
code: 200,
|
|
1477
1336
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1478
|
-
}))).annotate({
|
|
1479
|
-
identifier: "GetLogsConfigsRequest",
|
|
1480
|
-
});
|
|
1337
|
+
}))).annotate({ identifier: "GetLogsConfigsRequest" });
|
|
1481
1338
|
export const LogsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1482
1339
|
retention: S.String,
|
|
1483
1340
|
})).annotate({ identifier: "LogsConfig" });
|
|
1484
1341
|
export const LogsConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1485
1342
|
config: LogsConfig,
|
|
1486
1343
|
message: S.String,
|
|
1487
|
-
})).annotate({
|
|
1488
|
-
identifier: "LogsConfigResponse",
|
|
1489
|
-
});
|
|
1344
|
+
})).annotate({ identifier: "LogsConfigResponse" });
|
|
1490
1345
|
export const GetMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1491
1346
|
projectId: S.String.pipe(T.Label()),
|
|
1492
1347
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1515,15 +1370,11 @@ export const GetScrapeConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1515
1370
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs/{jobName}",
|
|
1516
1371
|
code: 200,
|
|
1517
1372
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1518
|
-
}))).annotate({
|
|
1519
|
-
identifier: "GetScrapeConfigRequest",
|
|
1520
|
-
});
|
|
1373
|
+
}))).annotate({ identifier: "GetScrapeConfigRequest" });
|
|
1521
1374
|
export const GetScrapeConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1522
1375
|
data: Job,
|
|
1523
1376
|
message: S.String,
|
|
1524
|
-
})).annotate({
|
|
1525
|
-
identifier: "GetScrapeConfigResponse",
|
|
1526
|
-
});
|
|
1377
|
+
})).annotate({ identifier: "GetScrapeConfigResponse" });
|
|
1527
1378
|
export const GetTracesConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1528
1379
|
projectId: S.String.pipe(T.Label()),
|
|
1529
1380
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1532,16 +1383,12 @@ export const GetTracesConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1532
1383
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/traces-configs",
|
|
1533
1384
|
code: 200,
|
|
1534
1385
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1535
|
-
}))).annotate({
|
|
1536
|
-
identifier: "GetTracesConfigsRequest",
|
|
1537
|
-
});
|
|
1386
|
+
}))).annotate({ identifier: "GetTracesConfigsRequest" });
|
|
1538
1387
|
export const TraceConfig = LogsConfig;
|
|
1539
1388
|
export const TracesConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1540
1389
|
config: LogsConfig,
|
|
1541
1390
|
message: S.String,
|
|
1542
|
-
})).annotate({
|
|
1543
|
-
identifier: "TracesConfigResponse",
|
|
1544
|
-
});
|
|
1391
|
+
})).annotate({ identifier: "TracesConfigResponse" });
|
|
1545
1392
|
export const ListACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1546
1393
|
projectId: S.String.pipe(T.Label()),
|
|
1547
1394
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1555,9 +1402,7 @@ export const ListACLResponseAclList = /*@__PURE__*/ S.Array(S.String);
|
|
|
1555
1402
|
export const ListACLResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1556
1403
|
acl: ListACLResponseAclList,
|
|
1557
1404
|
message: S.String,
|
|
1558
|
-
})).annotate({
|
|
1559
|
-
identifier: "ListACLResponse",
|
|
1560
|
-
});
|
|
1405
|
+
})).annotate({ identifier: "ListACLResponse" });
|
|
1561
1406
|
export const ListAlertConfigReceiversRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1562
1407
|
projectId: S.String.pipe(T.Label()),
|
|
1563
1408
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1588,9 +1433,7 @@ export const ListAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1588
1433
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
1589
1434
|
code: 200,
|
|
1590
1435
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1591
|
-
}))).annotate({
|
|
1592
|
-
identifier: "ListAlertgroupsRequest",
|
|
1593
|
-
});
|
|
1436
|
+
}))).annotate({ identifier: "ListAlertgroupsRequest" });
|
|
1594
1437
|
export const ListAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1595
1438
|
projectId: S.String.pipe(T.Label()),
|
|
1596
1439
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1600,9 +1443,7 @@ export const ListAlertRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1600
1443
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records",
|
|
1601
1444
|
code: 200,
|
|
1602
1445
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1603
|
-
}))).annotate({
|
|
1604
|
-
identifier: "ListAlertRecordsRequest",
|
|
1605
|
-
});
|
|
1446
|
+
}))).annotate({ identifier: "ListAlertRecordsRequest" });
|
|
1606
1447
|
export const ListAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1607
1448
|
projectId: S.String.pipe(T.Label()),
|
|
1608
1449
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1612,9 +1453,7 @@ export const ListAlertrulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1612
1453
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules",
|
|
1613
1454
|
code: 200,
|
|
1614
1455
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1615
|
-
}))).annotate({
|
|
1616
|
-
identifier: "ListAlertrulesRequest",
|
|
1617
|
-
});
|
|
1456
|
+
}))).annotate({ identifier: "ListAlertrulesRequest" });
|
|
1618
1457
|
export const ListBackupRetentionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1619
1458
|
projectId: S.String.pipe(T.Label()),
|
|
1620
1459
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1632,10 +1471,8 @@ export const BackupRetentionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1632
1471
|
grafanaBackupRetention: S.String,
|
|
1633
1472
|
message: S.String,
|
|
1634
1473
|
scrapeConfigBackupRetention: S.String,
|
|
1635
|
-
})).annotate({
|
|
1636
|
-
|
|
1637
|
-
});
|
|
1638
|
-
export const ListBackupsRequestBackupTargetItem = /*@__PURE__*/ S.String;
|
|
1474
|
+
})).annotate({ identifier: "BackupRetentionResponse" });
|
|
1475
|
+
export const ListBackupsRequestBackupTargetItem = S.String;
|
|
1639
1476
|
export const ListBackupsRequestBackupTargetList = /*@__PURE__*/ S.Array(ListBackupsRequestBackupTargetItem);
|
|
1640
1477
|
export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1641
1478
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -1646,9 +1483,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1646
1483
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/backups",
|
|
1647
1484
|
code: 200,
|
|
1648
1485
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1649
|
-
}))).annotate({
|
|
1650
|
-
identifier: "ListBackupsRequest",
|
|
1651
|
-
});
|
|
1486
|
+
}))).annotate({ identifier: "ListBackupsRequest" });
|
|
1652
1487
|
export const BackupResponseAlertConfigBackupsList = /*@__PURE__*/ S.Array(S.String);
|
|
1653
1488
|
export const BackupResponseAlertRulesBackupsList = /*@__PURE__*/ S.Array(S.String);
|
|
1654
1489
|
export const BackupResponseGrafanaBackupsList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -1660,8 +1495,7 @@ export const BackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1660
1495
|
message: S.String,
|
|
1661
1496
|
scrapeConfigBackups: BackupResponseScrapeConfigBackupsList,
|
|
1662
1497
|
})).annotate({ identifier: "BackupResponse" });
|
|
1663
|
-
export const ListBackupSchedulesRequestBackupTargetItem =
|
|
1664
|
-
/*@__PURE__*/ S.String;
|
|
1498
|
+
export const ListBackupSchedulesRequestBackupTargetItem = S.String;
|
|
1665
1499
|
export const ListBackupSchedulesRequestBackupTargetList = /*@__PURE__*/ S.Array(ListBackupSchedulesRequestBackupTargetItem);
|
|
1666
1500
|
export const ListBackupSchedulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1667
1501
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -1679,23 +1513,17 @@ export const BackupSchedule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1679
1513
|
schedule: S.String,
|
|
1680
1514
|
scheduleId: S.String,
|
|
1681
1515
|
})).annotate({ identifier: "BackupSchedule" });
|
|
1682
|
-
export const BackupScheduleResponseAlertConfigBackupSchedulesList =
|
|
1683
|
-
/*@__PURE__*/ S.Array(BackupSchedule);
|
|
1684
|
-
export const
|
|
1685
|
-
/*@__PURE__*/ S.Array(BackupSchedule);
|
|
1686
|
-
export const BackupScheduleResponseGrafanaBackupSchedulesList =
|
|
1687
|
-
/*@__PURE__*/ S.Array(BackupSchedule);
|
|
1688
|
-
export const BackupScheduleResponseScrapeConfigBackupSchedulesList =
|
|
1689
|
-
/*@__PURE__*/ S.Array(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);
|
|
1690
1520
|
export const BackupScheduleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1691
1521
|
alertConfigBackupSchedules: S.optional(BackupScheduleResponseAlertConfigBackupSchedulesList),
|
|
1692
1522
|
alertRulesBackupSchedules: S.optional(BackupScheduleResponseAlertRulesBackupSchedulesList),
|
|
1693
1523
|
grafanaBackupSchedules: S.optional(BackupScheduleResponseGrafanaBackupSchedulesList),
|
|
1694
1524
|
message: S.String,
|
|
1695
1525
|
scrapeConfigBackupSchedules: S.optional(BackupScheduleResponseScrapeConfigBackupSchedulesList),
|
|
1696
|
-
})).annotate({
|
|
1697
|
-
identifier: "BackupScheduleResponse",
|
|
1698
|
-
});
|
|
1526
|
+
})).annotate({ identifier: "BackupScheduleResponse" });
|
|
1699
1527
|
export const ListCertChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1700
1528
|
projectId: S.String.pipe(T.Label()),
|
|
1701
1529
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1704,9 +1532,7 @@ export const ListCertChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1704
1532
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/cert-checks",
|
|
1705
1533
|
code: 200,
|
|
1706
1534
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1707
|
-
}))).annotate({
|
|
1708
|
-
identifier: "ListCertChecksRequest",
|
|
1709
|
-
});
|
|
1535
|
+
}))).annotate({ identifier: "ListCertChecksRequest" });
|
|
1710
1536
|
export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1711
1537
|
projectId: S.String.pipe(T.Label()),
|
|
1712
1538
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1715,25 +1541,19 @@ export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1715
1541
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/credentials",
|
|
1716
1542
|
code: 200,
|
|
1717
1543
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1718
|
-
}))).annotate({
|
|
1719
|
-
|
|
1720
|
-
});
|
|
1721
|
-
export const ServiceKeysListCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1544
|
+
}))).annotate({ identifier: "ListCredentialsRequest" });
|
|
1545
|
+
export const ServiceKeysListCredentialsInfoMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
1722
1546
|
export const ServiceKeysList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1723
1547
|
credentialsInfo: S.optional(ServiceKeysListCredentialsInfoMap),
|
|
1724
1548
|
description: S.optional(S.String),
|
|
1725
1549
|
id: S.String,
|
|
1726
1550
|
name: S.String,
|
|
1727
|
-
})).annotate({
|
|
1728
|
-
identifier: "ServiceKeysList",
|
|
1729
|
-
});
|
|
1551
|
+
})).annotate({ identifier: "ServiceKeysList" });
|
|
1730
1552
|
export const ListCredentialsResponseCredentialsList = /*@__PURE__*/ S.Array(ServiceKeysList);
|
|
1731
1553
|
export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1732
1554
|
credentials: ListCredentialsResponseCredentialsList,
|
|
1733
1555
|
message: S.String,
|
|
1734
|
-
})).annotate({
|
|
1735
|
-
identifier: "ListCredentialsResponse",
|
|
1736
|
-
});
|
|
1556
|
+
})).annotate({ identifier: "ListCredentialsResponse" });
|
|
1737
1557
|
export const ListElasticsearchChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1738
1558
|
projectId: S.String.pipe(T.Label()),
|
|
1739
1559
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1753,9 +1573,7 @@ export const ListHttpChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1753
1573
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/http-checks",
|
|
1754
1574
|
code: 200,
|
|
1755
1575
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1756
|
-
}))).annotate({
|
|
1757
|
-
identifier: "ListHttpChecksRequest",
|
|
1758
|
-
});
|
|
1576
|
+
}))).annotate({ identifier: "ListHttpChecksRequest" });
|
|
1759
1577
|
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1760
1578
|
projectId: S.String.pipe(T.Label()),
|
|
1761
1579
|
}).pipe(T.Http({
|
|
@@ -1763,10 +1581,8 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1763
1581
|
uri: "/v1/projects/{projectId}/instances",
|
|
1764
1582
|
code: 200,
|
|
1765
1583
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1766
|
-
}))).annotate({
|
|
1767
|
-
|
|
1768
|
-
});
|
|
1769
|
-
export const ProjectInstanceFullStatus = /*@__PURE__*/ S.String;
|
|
1584
|
+
}))).annotate({ identifier: "ListInstancesRequest" });
|
|
1585
|
+
export const ProjectInstanceFullStatus = S.String;
|
|
1770
1586
|
export const ProjectInstanceFull = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1771
1587
|
error: S.optional(S.NullOr(S.String)),
|
|
1772
1588
|
id: S.String,
|
|
@@ -1775,16 +1591,12 @@ export const ProjectInstanceFull = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1775
1591
|
planName: S.String,
|
|
1776
1592
|
serviceName: S.String,
|
|
1777
1593
|
status: ProjectInstanceFullStatus,
|
|
1778
|
-
})).annotate({
|
|
1779
|
-
identifier: "ProjectInstanceFull",
|
|
1780
|
-
});
|
|
1594
|
+
})).annotate({ identifier: "ProjectInstanceFull" });
|
|
1781
1595
|
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(ProjectInstanceFull);
|
|
1782
1596
|
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1783
1597
|
instances: ListInstancesResponseInstancesList,
|
|
1784
1598
|
message: S.String,
|
|
1785
|
-
})).annotate({
|
|
1786
|
-
identifier: "ListInstancesResponse",
|
|
1787
|
-
});
|
|
1599
|
+
})).annotate({ identifier: "ListInstancesResponse" });
|
|
1788
1600
|
export const ListLogsAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1789
1601
|
projectId: S.String.pipe(T.Label()),
|
|
1790
1602
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1804,9 +1616,7 @@ export const ListMongodbChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1804
1616
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/mongodb-checks",
|
|
1805
1617
|
code: 200,
|
|
1806
1618
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1807
|
-
}))).annotate({
|
|
1808
|
-
identifier: "ListMongodbChecksRequest",
|
|
1809
|
-
});
|
|
1619
|
+
}))).annotate({ identifier: "ListMongodbChecksRequest" });
|
|
1810
1620
|
export const ListMysqlChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1811
1621
|
projectId: S.String.pipe(T.Label()),
|
|
1812
1622
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1815,9 +1625,7 @@ export const ListMysqlChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1815
1625
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/mysql-checks",
|
|
1816
1626
|
code: 200,
|
|
1817
1627
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1818
|
-
}))).annotate({
|
|
1819
|
-
identifier: "ListMysqlChecksRequest",
|
|
1820
|
-
});
|
|
1628
|
+
}))).annotate({ identifier: "ListMysqlChecksRequest" });
|
|
1821
1629
|
export const ListNetworkChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1822
1630
|
projectId: S.String.pipe(T.Label()),
|
|
1823
1631
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1826,9 +1634,7 @@ export const ListNetworkChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1826
1634
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/network-checks",
|
|
1827
1635
|
code: 200,
|
|
1828
1636
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1829
|
-
}))).annotate({
|
|
1830
|
-
identifier: "ListNetworkChecksRequest",
|
|
1831
|
-
});
|
|
1637
|
+
}))).annotate({ identifier: "ListNetworkChecksRequest" });
|
|
1832
1638
|
export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1833
1639
|
projectId: S.String.pipe(T.Label()),
|
|
1834
1640
|
}).pipe(T.Http({
|
|
@@ -1836,9 +1642,7 @@ export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1836
1642
|
uri: "/v1/projects/{projectId}/offerings",
|
|
1837
1643
|
code: 200,
|
|
1838
1644
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1839
|
-
}))).annotate({
|
|
1840
|
-
identifier: "ListOfferingsRequest",
|
|
1841
|
-
});
|
|
1645
|
+
}))).annotate({ identifier: "ListOfferingsRequest" });
|
|
1842
1646
|
export const Plan = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1843
1647
|
alertMatchers: S.Number,
|
|
1844
1648
|
alertReceivers: S.Number,
|
|
@@ -1881,9 +1685,7 @@ export const ListPingChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1881
1685
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/ping-checks",
|
|
1882
1686
|
code: 200,
|
|
1883
1687
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1884
|
-
}))).annotate({
|
|
1885
|
-
identifier: "ListPingChecksRequest",
|
|
1886
|
-
});
|
|
1688
|
+
}))).annotate({ identifier: "ListPingChecksRequest" });
|
|
1887
1689
|
export const ListPlansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1888
1690
|
projectId: S.String.pipe(T.Label()),
|
|
1889
1691
|
}).pipe(T.Http({
|
|
@@ -1891,9 +1693,7 @@ export const ListPlansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1891
1693
|
uri: "/v1/projects/{projectId}/plans",
|
|
1892
1694
|
code: 200,
|
|
1893
1695
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1894
|
-
}))).annotate({
|
|
1895
|
-
identifier: "ListPlansRequest",
|
|
1896
|
-
});
|
|
1696
|
+
}))).annotate({ identifier: "ListPlansRequest" });
|
|
1897
1697
|
export const PlansResponsePlansList = /*@__PURE__*/ S.Array(Plan);
|
|
1898
1698
|
export const PlansResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1899
1699
|
message: S.String,
|
|
@@ -1929,9 +1729,7 @@ export const ListRedisChecksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1929
1729
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/redis-checks",
|
|
1930
1730
|
code: 200,
|
|
1931
1731
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1932
|
-
}))).annotate({
|
|
1933
|
-
identifier: "ListRedisChecksRequest",
|
|
1934
|
-
});
|
|
1732
|
+
}))).annotate({ identifier: "ListRedisChecksRequest" });
|
|
1935
1733
|
export const ListScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1936
1734
|
projectId: S.String.pipe(T.Label()),
|
|
1937
1735
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -1940,9 +1738,7 @@ export const ListScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1940
1738
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/scrapeconfigs",
|
|
1941
1739
|
code: 200,
|
|
1942
1740
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
1943
|
-
}))).annotate({
|
|
1944
|
-
identifier: "ListScrapeConfigsRequest",
|
|
1945
|
-
});
|
|
1741
|
+
}))).annotate({ identifier: "ListScrapeConfigsRequest" });
|
|
1946
1742
|
export const ListScrapeConfigsResponseDataList = /*@__PURE__*/ S.Array(Job);
|
|
1947
1743
|
export const ListScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1948
1744
|
data: ListScrapeConfigsResponseDataList,
|
|
@@ -1951,8 +1747,7 @@ export const ListScrapeConfigsResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
1951
1747
|
identifier: "ListScrapeConfigsResponse",
|
|
1952
1748
|
});
|
|
1953
1749
|
export const PartialUpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
1954
|
-
export const PartialUpdateAlertgroupsRequestBodyItemRulesList =
|
|
1955
|
-
/*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
|
|
1750
|
+
export const PartialUpdateAlertgroupsRequestBodyItemRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
|
|
1956
1751
|
export const PartialUpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1957
1752
|
interval: S.optional(S.String),
|
|
1958
1753
|
name: S.String,
|
|
@@ -2033,8 +1828,7 @@ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2 =
|
|
|
2033
1828
|
identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2",
|
|
2034
1829
|
});
|
|
2035
1830
|
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
2036
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem =
|
|
2037
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1831
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2038
1832
|
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
2039
1833
|
oauth2: S.optional(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItemOauth2),
|
|
2040
1834
|
refreshInterval: S.optional(S.String),
|
|
@@ -2043,10 +1837,8 @@ export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem =
|
|
|
2043
1837
|
})).annotate({
|
|
2044
1838
|
identifier: "PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem",
|
|
2045
1839
|
});
|
|
2046
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList =
|
|
2047
|
-
|
|
2048
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction =
|
|
2049
|
-
/*@__PURE__*/ S.String;
|
|
1840
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsList = /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemHttpSdConfigsItem);
|
|
1841
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemAction = S.String;
|
|
2050
1842
|
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItemSourceLabelsList =
|
|
2051
1843
|
/*@__PURE__*/ S.Array(S.String);
|
|
2052
1844
|
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem =
|
|
@@ -2063,11 +1855,9 @@ export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem
|
|
|
2063
1855
|
});
|
|
2064
1856
|
export const PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsList =
|
|
2065
1857
|
/*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemMetricsRelabelConfigsItem);
|
|
2066
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList =
|
|
2067
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
1858
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList = /*@__PURE__*/ S.Array(S.String);
|
|
2068
1859
|
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2TlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
2069
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2 =
|
|
2070
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1860
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemOauth2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2071
1861
|
clientId: S.String,
|
|
2072
1862
|
clientSecret: S.String.pipe(T.SensitiveValue({})),
|
|
2073
1863
|
scopes: S.optional(PartialUpdateScrapeConfigsRequestBodyItemOauth2ScopesList),
|
|
@@ -2076,22 +1866,18 @@ export const PartialUpdateScrapeConfigsRequestBodyItemOauth2 =
|
|
|
2076
1866
|
})).annotate({
|
|
2077
1867
|
identifier: "PartialUpdateScrapeConfigsRequestBodyItemOauth2",
|
|
2078
1868
|
});
|
|
2079
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemScheme =
|
|
2080
|
-
/*@__PURE__*/ S.String;
|
|
1869
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemScheme = S.String;
|
|
2081
1870
|
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList =
|
|
2082
1871
|
/*@__PURE__*/ S.Array(S.String);
|
|
2083
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem =
|
|
2084
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1872
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2085
1873
|
labels: S.optional(S.Unknown),
|
|
2086
1874
|
targets: PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItemTargetsList,
|
|
2087
1875
|
})).annotate({
|
|
2088
1876
|
identifier: "PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem",
|
|
2089
1877
|
});
|
|
2090
|
-
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList =
|
|
2091
|
-
/*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem);
|
|
1878
|
+
export const PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsList = /*@__PURE__*/ S.Array(PartialUpdateScrapeConfigsRequestBodyItemStaticConfigsItem);
|
|
2092
1879
|
export const PartialUpdateScrapeConfigsRequestBodyItemTlsConfig = CreateScrapeConfigRequestHttpSdConfigsItemOauth2TlsConfig;
|
|
2093
|
-
export const PartialUpdateScrapeConfigsRequestBodyItem =
|
|
2094
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1880
|
+
export const PartialUpdateScrapeConfigsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2095
1881
|
basicAuth: S.optional(CreateScrapeConfigRequestBasicAuth),
|
|
2096
1882
|
bearerToken: S.optional(S.String),
|
|
2097
1883
|
honorLabels: S.optional(S.Boolean),
|
|
@@ -2124,7 +1910,7 @@ export const PartialUpdateScrapeConfigsRequest = /*@__PURE__*/ S.suspend(() => S
|
|
|
2124
1910
|
}))).annotate({
|
|
2125
1911
|
identifier: "PartialUpdateScrapeConfigsRequest",
|
|
2126
1912
|
});
|
|
2127
|
-
export const RestoreBackupRequestRestoreTarget =
|
|
1913
|
+
export const RestoreBackupRequestRestoreTarget = S.String;
|
|
2128
1914
|
export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2129
1915
|
projectId: S.String.pipe(T.Label()),
|
|
2130
1916
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -2135,9 +1921,7 @@ export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2135
1921
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/backup-restores/{backupDate}",
|
|
2136
1922
|
code: 200,
|
|
2137
1923
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2138
|
-
}))).annotate({
|
|
2139
|
-
identifier: "RestoreBackupRequest",
|
|
2140
|
-
});
|
|
1924
|
+
}))).annotate({ identifier: "RestoreBackupRequest" });
|
|
2141
1925
|
export const UpdateACLRequestAclList = /*@__PURE__*/ S.Array(S.String);
|
|
2142
1926
|
export const UpdateACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2143
1927
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -2148,18 +1932,13 @@ export const UpdateACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2148
1932
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/acl",
|
|
2149
1933
|
code: 200,
|
|
2150
1934
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2151
|
-
}))).annotate({
|
|
2152
|
-
identifier: "UpdateACLRequest",
|
|
2153
|
-
});
|
|
1935
|
+
}))).annotate({ identifier: "UpdateACLRequest" });
|
|
2154
1936
|
export const UpdateAlertConfigReceiverRequestEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
|
|
2155
|
-
export const UpdateAlertConfigReceiverRequestEmailConfigsList =
|
|
2156
|
-
/*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
1937
|
+
export const UpdateAlertConfigReceiverRequestEmailConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
2157
1938
|
export const UpdateAlertConfigReceiverRequestOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
|
|
2158
|
-
export const UpdateAlertConfigReceiverRequestOpsgenieConfigsList =
|
|
2159
|
-
/*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
1939
|
+
export const UpdateAlertConfigReceiverRequestOpsgenieConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
2160
1940
|
export const UpdateAlertConfigReceiverRequestWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
|
|
2161
|
-
export const UpdateAlertConfigReceiverRequestWebHookConfigsList =
|
|
2162
|
-
/*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
1941
|
+
export const UpdateAlertConfigReceiverRequestWebHookConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
2163
1942
|
export const UpdateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2164
1943
|
projectId: S.String.pipe(T.Label()),
|
|
2165
1944
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -2178,12 +1957,9 @@ export const UpdateAlertConfigReceiverRequest = /*@__PURE__*/ S.suspend(() => S.
|
|
|
2178
1957
|
});
|
|
2179
1958
|
export const UpdateAlertConfigRouteRequestGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
2180
1959
|
export const UpdateAlertConfigRouteRequestMatchersList = /*@__PURE__*/ S.Array(S.String);
|
|
2181
|
-
export const UpdateAlertConfigRouteRequestRoutesItemGroupByList =
|
|
2182
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2183
|
-
export const
|
|
2184
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2185
|
-
export const UpdateAlertConfigRouteRequestRoutesItemRoutesList =
|
|
2186
|
-
/*@__PURE__*/ S.Array(S.Unknown);
|
|
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);
|
|
2187
1963
|
export const UpdateAlertConfigRouteRequestRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2188
1964
|
continue: S.optional(S.Boolean),
|
|
2189
1965
|
groupBy: S.optional(UpdateAlertConfigRouteRequestRoutesItemGroupByList),
|
|
@@ -2232,8 +2008,7 @@ export const UpdateAlertConfigsRequestGlobal = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
2232
2008
|
})).annotate({
|
|
2233
2009
|
identifier: "UpdateAlertConfigsRequestGlobal",
|
|
2234
2010
|
});
|
|
2235
|
-
export const UpdateAlertConfigsRequestInhibitRulesEqualList =
|
|
2236
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2011
|
+
export const UpdateAlertConfigsRequestInhibitRulesEqualList = /*@__PURE__*/ S.Array(S.String);
|
|
2237
2012
|
export const UpdateAlertConfigsRequestInhibitRules = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2238
2013
|
equal: S.optional(UpdateAlertConfigsRequestInhibitRulesEqualList),
|
|
2239
2014
|
sourceMatch: S.optional(S.Unknown),
|
|
@@ -2244,14 +2019,11 @@ export const UpdateAlertConfigsRequestInhibitRules = /*@__PURE__*/ S.suspend(()
|
|
|
2244
2019
|
identifier: "UpdateAlertConfigsRequestInhibitRules",
|
|
2245
2020
|
});
|
|
2246
2021
|
export const UpdateAlertConfigsRequestReceiversItemEmailConfigsItem = CreateAlertConfigReceiverRequestEmailConfigsItem;
|
|
2247
|
-
export const UpdateAlertConfigsRequestReceiversItemEmailConfigsList =
|
|
2248
|
-
/*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
2022
|
+
export const UpdateAlertConfigsRequestReceiversItemEmailConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestEmailConfigsItem);
|
|
2249
2023
|
export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsItem = CreateAlertConfigReceiverRequestOpsgenieConfigsItem;
|
|
2250
|
-
export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList =
|
|
2251
|
-
/*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
2024
|
+
export const UpdateAlertConfigsRequestReceiversItemOpsgenieConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestOpsgenieConfigsItem);
|
|
2252
2025
|
export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsItem = CreateAlertConfigReceiverRequestWebHookConfigsItem;
|
|
2253
|
-
export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList =
|
|
2254
|
-
/*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
2026
|
+
export const UpdateAlertConfigsRequestReceiversItemWebHookConfigsList = /*@__PURE__*/ S.Array(CreateAlertConfigReceiverRequestWebHookConfigsItem);
|
|
2255
2027
|
export const UpdateAlertConfigsRequestReceiversItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2256
2028
|
emailConfigs: S.optional(UpdateAlertConfigsRequestReceiversItemEmailConfigsList),
|
|
2257
2029
|
name: S.String,
|
|
@@ -2262,12 +2034,9 @@ export const UpdateAlertConfigsRequestReceiversItem = /*@__PURE__*/ S.suspend(()
|
|
|
2262
2034
|
});
|
|
2263
2035
|
export const UpdateAlertConfigsRequestReceiversList = /*@__PURE__*/ S.Array(UpdateAlertConfigsRequestReceiversItem);
|
|
2264
2036
|
export const UpdateAlertConfigsRequestRouteGroupByList = /*@__PURE__*/ S.Array(S.String);
|
|
2265
|
-
export const UpdateAlertConfigsRequestRouteRoutesItemGroupByList =
|
|
2266
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2267
|
-
export const
|
|
2268
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2269
|
-
export const UpdateAlertConfigsRequestRouteRoutesItemRoutesList =
|
|
2270
|
-
/*@__PURE__*/ S.Array(S.Unknown);
|
|
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);
|
|
2271
2040
|
export const UpdateAlertConfigsRequestRouteRoutesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2272
2041
|
continue: S.optional(S.Boolean),
|
|
2273
2042
|
groupBy: S.optional(UpdateAlertConfigsRequestRouteRoutesItemGroupByList),
|
|
@@ -2330,9 +2099,7 @@ export const UpdateAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2330
2099
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}",
|
|
2331
2100
|
code: 200,
|
|
2332
2101
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2333
|
-
}))).annotate({
|
|
2334
|
-
identifier: "UpdateAlertgroupRequest",
|
|
2335
|
-
});
|
|
2102
|
+
}))).annotate({ identifier: "UpdateAlertgroupRequest" });
|
|
2336
2103
|
export const UpdateAlertgroupsRequestBodyItemRulesItem = CreateAlertgroupsRequestRulesItem;
|
|
2337
2104
|
export const UpdateAlertgroupsRequestBodyItemRulesList = /*@__PURE__*/ S.Array(CreateAlertgroupsRequestRulesItem);
|
|
2338
2105
|
export const UpdateAlertgroupsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2352,9 +2119,7 @@ export const UpdateAlertgroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2352
2119
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups",
|
|
2353
2120
|
code: 200,
|
|
2354
2121
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2355
|
-
}))).annotate({
|
|
2356
|
-
identifier: "UpdateAlertgroupsRequest",
|
|
2357
|
-
});
|
|
2122
|
+
}))).annotate({ identifier: "UpdateAlertgroupsRequest" });
|
|
2358
2123
|
export const UpdateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2359
2124
|
projectId: S.String.pipe(T.Label()),
|
|
2360
2125
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -2367,9 +2132,7 @@ export const UpdateAlertRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2367
2132
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/records/{alertRecord}",
|
|
2368
2133
|
code: 200,
|
|
2369
2134
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2370
|
-
}))).annotate({
|
|
2371
|
-
identifier: "UpdateAlertRecordRequest",
|
|
2372
|
-
});
|
|
2135
|
+
}))).annotate({ identifier: "UpdateAlertRecordRequest" });
|
|
2373
2136
|
export const UpdateAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2374
2137
|
projectId: S.String.pipe(T.Label()),
|
|
2375
2138
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -2384,11 +2147,8 @@ export const UpdateAlertruleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2384
2147
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/alertgroups/{groupName}/alertrules/{alertName}",
|
|
2385
2148
|
code: 200,
|
|
2386
2149
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2387
|
-
}))).annotate({
|
|
2388
|
-
|
|
2389
|
-
});
|
|
2390
|
-
export const UpdateCredentialsRemoteWriteConfigRequest =
|
|
2391
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2150
|
+
}))).annotate({ identifier: "UpdateAlertruleRequest" });
|
|
2151
|
+
export const UpdateCredentialsRemoteWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2392
2152
|
projectId: S.String.pipe(T.Label()),
|
|
2393
2153
|
instanceId: S.String.pipe(T.Label()),
|
|
2394
2154
|
username: S.String.pipe(T.Label()),
|
|
@@ -2443,9 +2203,7 @@ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2443
2203
|
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
2444
2204
|
code: 200,
|
|
2445
2205
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2446
|
-
}))).annotate({
|
|
2447
|
-
identifier: "UpdateInstanceRequest",
|
|
2448
|
-
});
|
|
2206
|
+
}))).annotate({ identifier: "UpdateInstanceRequest" });
|
|
2449
2207
|
export const UpdateLogsAlertgroupRequestRulesItem = CreateLogsAlertgroupsRequestRulesItem;
|
|
2450
2208
|
export const UpdateLogsAlertgroupRequestRulesList = /*@__PURE__*/ S.Array(CreateLogsAlertgroupsRequestRulesItem);
|
|
2451
2209
|
export const UpdateLogsAlertgroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2471,9 +2229,7 @@ export const UpdateLogsConfigsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2471
2229
|
uri: "/v1/projects/{projectId}/instances/{instanceId}/logs-configs",
|
|
2472
2230
|
code: 200,
|
|
2473
2231
|
baseUrl: "https://argus.api.{region}stackit.cloud",
|
|
2474
|
-
}))).annotate({
|
|
2475
|
-
identifier: "UpdateLogsConfigsRequest",
|
|
2476
|
-
});
|
|
2232
|
+
}))).annotate({ identifier: "UpdateLogsConfigsRequest" });
|
|
2477
2233
|
export const UpdateMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2478
2234
|
projectId: S.String.pipe(T.Label()),
|
|
2479
2235
|
instanceId: S.String.pipe(T.Label()),
|
|
@@ -2489,12 +2245,10 @@ export const UpdateMetricsStorageRetentionRequest = /*@__PURE__*/ S.suspend(() =
|
|
|
2489
2245
|
identifier: "UpdateMetricsStorageRetentionRequest",
|
|
2490
2246
|
});
|
|
2491
2247
|
export const UpdateScrapeConfigRequestBasicAuth = CreateScrapeConfigRequestBasicAuth;
|
|
2492
|
-
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction =
|
|
2493
|
-
/*@__PURE__*/ S.String;
|
|
2248
|
+
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction = S.String;
|
|
2494
2249
|
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItemSourceLabelsList =
|
|
2495
2250
|
/*@__PURE__*/ S.Array(S.String);
|
|
2496
|
-
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItem =
|
|
2497
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2251
|
+
export const UpdateScrapeConfigRequestMetricsRelabelConfigsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2498
2252
|
action: S.optional(UpdateScrapeConfigRequestMetricsRelabelConfigsItemAction),
|
|
2499
2253
|
modulus: S.optional(S.Number),
|
|
2500
2254
|
regex: S.optional(S.String),
|
|
@@ -2505,13 +2259,10 @@ export const UpdateScrapeConfigRequestMetricsRelabelConfigsItem =
|
|
|
2505
2259
|
})).annotate({
|
|
2506
2260
|
identifier: "UpdateScrapeConfigRequestMetricsRelabelConfigsItem",
|
|
2507
2261
|
});
|
|
2508
|
-
export const UpdateScrapeConfigRequestMetricsRelabelConfigsList =
|
|
2509
|
-
|
|
2510
|
-
export const
|
|
2511
|
-
export const
|
|
2512
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2513
|
-
export const UpdateScrapeConfigRequestStaticConfigsItem =
|
|
2514
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
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({
|
|
2515
2266
|
labels: S.optional(S.Unknown),
|
|
2516
2267
|
targets: UpdateScrapeConfigRequestStaticConfigsItemTargetsList,
|
|
2517
2268
|
})).annotate({
|