@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15
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
package/src/services/valkey.ts
CHANGED
|
@@ -1,16 +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.ts";
|
|
7
|
-
import {
|
|
8
|
-
StackitProtocol,
|
|
9
|
-
type StackitOpError,
|
|
10
|
-
type StackitOpContext,
|
|
11
|
-
} from "../protocol.ts";
|
|
12
6
|
import { UnknownStackitError } from "../errors.ts";
|
|
7
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
13
8
|
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
14
10
|
|
|
15
11
|
export type { StackitOpError, StackitOpContext };
|
|
16
12
|
|
|
@@ -62,9 +58,7 @@ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
62
58
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
63
59
|
}),
|
|
64
60
|
),
|
|
65
|
-
).annotate({
|
|
66
|
-
identifier: "CreateBackupRequest",
|
|
67
|
-
}) as any as S.Schema<CreateBackupRequest>;
|
|
61
|
+
).annotate({ identifier: "CreateBackupRequest" }) as any as S.Schema<CreateBackupRequest>;
|
|
68
62
|
|
|
69
63
|
export interface CreateBackupResponseItem {
|
|
70
64
|
id: number;
|
|
@@ -75,9 +69,7 @@ export const CreateBackupResponseItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
75
69
|
id: S.Number,
|
|
76
70
|
message: S.String,
|
|
77
71
|
}),
|
|
78
|
-
).annotate({
|
|
79
|
-
identifier: "CreateBackupResponseItem",
|
|
80
|
-
}) as any as S.Schema<CreateBackupResponseItem>;
|
|
72
|
+
).annotate({ identifier: "CreateBackupResponseItem" }) as any as S.Schema<CreateBackupResponseItem>;
|
|
81
73
|
|
|
82
74
|
export interface CreateCredentialsRequest {
|
|
83
75
|
/** Project id on which user has permissions */
|
|
@@ -102,9 +94,7 @@ export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
102
94
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
103
95
|
}),
|
|
104
96
|
),
|
|
105
|
-
).annotate({
|
|
106
|
-
identifier: "CreateCredentialsRequest",
|
|
107
|
-
}) as any as S.Schema<CreateCredentialsRequest>;
|
|
97
|
+
).annotate({ identifier: "CreateCredentialsRequest" }) as any as S.Schema<CreateCredentialsRequest>;
|
|
108
98
|
|
|
109
99
|
export type CredentialsHostsList = Array<string>;
|
|
110
100
|
export const CredentialsHostsList = /*@__PURE__*/ S.Array(
|
|
@@ -152,15 +142,13 @@ export const CredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
152
142
|
raw: S.optional(RawCredentials),
|
|
153
143
|
uri: S.String,
|
|
154
144
|
}),
|
|
155
|
-
).annotate({
|
|
156
|
-
identifier: "CredentialsResponse",
|
|
157
|
-
}) as any as S.Schema<CredentialsResponse>;
|
|
145
|
+
).annotate({ identifier: "CredentialsResponse" }) as any as S.Schema<CredentialsResponse>;
|
|
158
146
|
|
|
159
147
|
export type InstanceParametersLazyfreeLazyEviction = "yes" | "no";
|
|
160
|
-
export const InstanceParametersLazyfreeLazyEviction =
|
|
148
|
+
export const InstanceParametersLazyfreeLazyEviction = S.String;
|
|
161
149
|
|
|
162
150
|
export type InstanceParametersLazyfreeLazyExpire = "yes" | "no";
|
|
163
|
-
export const InstanceParametersLazyfreeLazyExpire =
|
|
151
|
+
export const InstanceParametersLazyfreeLazyExpire = S.String;
|
|
164
152
|
|
|
165
153
|
export type InstanceParametersMaxmemoryPolicy =
|
|
166
154
|
| "volatile-lru"
|
|
@@ -169,7 +157,7 @@ export type InstanceParametersMaxmemoryPolicy =
|
|
|
169
157
|
| "allkeys-random"
|
|
170
158
|
| "volatile-ttl"
|
|
171
159
|
| "noeviction";
|
|
172
|
-
export const InstanceParametersMaxmemoryPolicy =
|
|
160
|
+
export const InstanceParametersMaxmemoryPolicy = S.String;
|
|
173
161
|
|
|
174
162
|
export type InstanceParametersSyslogList = Array<string>;
|
|
175
163
|
export const InstanceParametersSyslogList = /*@__PURE__*/ S.Array(
|
|
@@ -184,9 +172,7 @@ export interface InstanceParameters {
|
|
|
184
172
|
failover_timeout?: number;
|
|
185
173
|
/** If you want to monitor your service with Graphite, you can set the custom parameter graphite. It expects the host and port where the Graphite metrics should be sent to. */
|
|
186
174
|
graphite?: string;
|
|
187
|
-
lazyfree_lazy_eviction?:
|
|
188
|
-
| InstanceParametersLazyfreeLazyEviction
|
|
189
|
-
| (string & {});
|
|
175
|
+
lazyfree_lazy_eviction?: InstanceParametersLazyfreeLazyEviction | (string & {});
|
|
190
176
|
lazyfree_lazy_expire?: InstanceParametersLazyfreeLazyExpire | (string & {});
|
|
191
177
|
lua_time_limit?: number;
|
|
192
178
|
/** This component monitors ephemeral and persistent disk usage. If one of these disk usages reaches the default configured threshold of 80%, the a9s Parachute stops all processes on that node. */
|
|
@@ -198,7 +184,7 @@ export interface InstanceParameters {
|
|
|
198
184
|
metrics_frequency?: number;
|
|
199
185
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
200
186
|
metrics_prefix?: string;
|
|
201
|
-
/** The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it. */
|
|
187
|
+
/** The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it. Should not be greater than the number of nodes (e.g. 1 or 3). */
|
|
202
188
|
min_replicas_to_write?: number;
|
|
203
189
|
/** The unit is seconds. */
|
|
204
190
|
min_replicas_max_lag?: number;
|
|
@@ -215,16 +201,12 @@ export interface InstanceParameters {
|
|
|
215
201
|
}
|
|
216
202
|
export const InstanceParameters = /*@__PURE__*/ S.suspend(() =>
|
|
217
203
|
S.Struct({
|
|
218
|
-
down_after_milliseconds: S.optional(
|
|
219
|
-
S.Number.pipe(T.Body("down-after-milliseconds")),
|
|
220
|
-
),
|
|
204
|
+
down_after_milliseconds: S.optional(S.Number.pipe(T.Body("down-after-milliseconds"))),
|
|
221
205
|
enable_monitoring: S.optional(S.Boolean),
|
|
222
206
|
failover_timeout: S.optional(S.Number.pipe(T.Body("failover-timeout"))),
|
|
223
207
|
graphite: S.optional(S.String),
|
|
224
208
|
lazyfree_lazy_eviction: S.optional(
|
|
225
|
-
InstanceParametersLazyfreeLazyEviction.pipe(
|
|
226
|
-
T.Body("lazyfree-lazy-eviction"),
|
|
227
|
-
),
|
|
209
|
+
InstanceParametersLazyfreeLazyEviction.pipe(T.Body("lazyfree-lazy-eviction")),
|
|
228
210
|
),
|
|
229
211
|
lazyfree_lazy_expire: S.optional(
|
|
230
212
|
InstanceParametersLazyfreeLazyExpire.pipe(T.Body("lazyfree-lazy-expire")),
|
|
@@ -238,22 +220,16 @@ export const InstanceParameters = /*@__PURE__*/ S.suspend(() =>
|
|
|
238
220
|
maxmemory_samples: S.optional(S.Number.pipe(T.Body("maxmemory-samples"))),
|
|
239
221
|
metrics_frequency: S.optional(S.Number),
|
|
240
222
|
metrics_prefix: S.optional(S.String),
|
|
241
|
-
min_replicas_to_write: S.optional(
|
|
242
|
-
S.Number.pipe(T.Body("min-replicas-to-write")),
|
|
243
|
-
),
|
|
223
|
+
min_replicas_to_write: S.optional(S.Number.pipe(T.Body("min-replicas-to-write"))),
|
|
244
224
|
min_replicas_max_lag: S.optional(S.Number),
|
|
245
225
|
monitoring_instance_id: S.optional(S.String),
|
|
246
|
-
notify_keyspace_events: S.optional(
|
|
247
|
-
S.String.pipe(T.Body("notify-keyspace-events")),
|
|
248
|
-
),
|
|
226
|
+
notify_keyspace_events: S.optional(S.String.pipe(T.Body("notify-keyspace-events"))),
|
|
249
227
|
repl_backlog_size: S.optional(S.String.pipe(T.Body("repl-backlog-size"))),
|
|
250
228
|
sgw_acl: S.optional(S.String),
|
|
251
229
|
snapshot: S.optional(S.String),
|
|
252
230
|
syslog: S.optional(InstanceParametersSyslogList),
|
|
253
231
|
}),
|
|
254
|
-
).annotate({
|
|
255
|
-
identifier: "InstanceParameters",
|
|
256
|
-
}) as any as S.Schema<InstanceParameters>;
|
|
232
|
+
).annotate({ identifier: "InstanceParameters" }) as any as S.Schema<InstanceParameters>;
|
|
257
233
|
|
|
258
234
|
export interface CreateInstanceRequest {
|
|
259
235
|
/** Project id on which user has permissions */
|
|
@@ -279,9 +255,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
279
255
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
280
256
|
}),
|
|
281
257
|
),
|
|
282
|
-
).annotate({
|
|
283
|
-
identifier: "CreateInstanceRequest",
|
|
284
|
-
}) as any as S.Schema<CreateInstanceRequest>;
|
|
258
|
+
).annotate({ identifier: "CreateInstanceRequest" }) as any as S.Schema<CreateInstanceRequest>;
|
|
285
259
|
|
|
286
260
|
export interface CreateInstanceResponse {
|
|
287
261
|
instanceId: string;
|
|
@@ -290,9 +264,7 @@ export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
290
264
|
S.Struct({
|
|
291
265
|
instanceId: S.String,
|
|
292
266
|
}),
|
|
293
|
-
).annotate({
|
|
294
|
-
identifier: "CreateInstanceResponse",
|
|
295
|
-
}) as any as S.Schema<CreateInstanceResponse>;
|
|
267
|
+
).annotate({ identifier: "CreateInstanceResponse" }) as any as S.Schema<CreateInstanceResponse>;
|
|
296
268
|
|
|
297
269
|
export interface DeleteCredentialsRequest {
|
|
298
270
|
/** Project id on which user has permissions */
|
|
@@ -318,14 +290,10 @@ export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
318
290
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
319
291
|
}),
|
|
320
292
|
),
|
|
321
|
-
).annotate({
|
|
322
|
-
identifier: "DeleteCredentialsRequest",
|
|
323
|
-
}) as any as S.Schema<DeleteCredentialsRequest>;
|
|
293
|
+
).annotate({ identifier: "DeleteCredentialsRequest" }) as any as S.Schema<DeleteCredentialsRequest>;
|
|
324
294
|
|
|
325
295
|
export interface DeleteCredentialsResponse {}
|
|
326
|
-
export const DeleteCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
327
|
-
S.Struct({}),
|
|
328
|
-
).annotate({
|
|
296
|
+
export const DeleteCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
329
297
|
identifier: "DeleteCredentialsResponse",
|
|
330
298
|
}) as any as S.Schema<DeleteCredentialsResponse>;
|
|
331
299
|
|
|
@@ -350,14 +318,10 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
350
318
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
351
319
|
}),
|
|
352
320
|
),
|
|
353
|
-
).annotate({
|
|
354
|
-
identifier: "DeleteInstanceRequest",
|
|
355
|
-
}) as any as S.Schema<DeleteInstanceRequest>;
|
|
321
|
+
).annotate({ identifier: "DeleteInstanceRequest" }) as any as S.Schema<DeleteInstanceRequest>;
|
|
356
322
|
|
|
357
323
|
export interface DeleteInstanceResponse {}
|
|
358
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
359
|
-
S.Struct({}),
|
|
360
|
-
).annotate({
|
|
324
|
+
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
361
325
|
identifier: "DeleteInstanceResponse",
|
|
362
326
|
}) as any as S.Schema<DeleteInstanceResponse>;
|
|
363
327
|
|
|
@@ -385,14 +349,10 @@ export const DownloadBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
385
349
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
386
350
|
}),
|
|
387
351
|
),
|
|
388
|
-
).annotate({
|
|
389
|
-
identifier: "DownloadBackupRequest",
|
|
390
|
-
}) as any as S.Schema<DownloadBackupRequest>;
|
|
352
|
+
).annotate({ identifier: "DownloadBackupRequest" }) as any as S.Schema<DownloadBackupRequest>;
|
|
391
353
|
|
|
392
354
|
export interface DownloadBackupResponse {}
|
|
393
|
-
export const DownloadBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
394
|
-
S.Struct({}),
|
|
395
|
-
).annotate({
|
|
355
|
+
export const DownloadBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
396
356
|
identifier: "DownloadBackupResponse",
|
|
397
357
|
}) as any as S.Schema<DownloadBackupResponse>;
|
|
398
358
|
|
|
@@ -420,9 +380,7 @@ export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
420
380
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
421
381
|
}),
|
|
422
382
|
),
|
|
423
|
-
).annotate({
|
|
424
|
-
identifier: "GetCredentialsRequest",
|
|
425
|
-
}) as any as S.Schema<GetCredentialsRequest>;
|
|
383
|
+
).annotate({ identifier: "GetCredentialsRequest" }) as any as S.Schema<GetCredentialsRequest>;
|
|
426
384
|
|
|
427
385
|
export interface GetInstanceRequest {
|
|
428
386
|
/** Project id on which user has permissions */
|
|
@@ -445,15 +403,13 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
445
403
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
446
404
|
}),
|
|
447
405
|
),
|
|
448
|
-
).annotate({
|
|
449
|
-
identifier: "GetInstanceRequest",
|
|
450
|
-
}) as any as S.Schema<GetInstanceRequest>;
|
|
406
|
+
).annotate({ identifier: "GetInstanceRequest" }) as any as S.Schema<GetInstanceRequest>;
|
|
451
407
|
|
|
452
408
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
453
|
-
export const InstanceLastOperationState =
|
|
409
|
+
export const InstanceLastOperationState = S.String;
|
|
454
410
|
|
|
455
411
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
456
|
-
export const InstanceLastOperationType =
|
|
412
|
+
export const InstanceLastOperationType = S.String;
|
|
457
413
|
|
|
458
414
|
export interface InstanceLastOperation {
|
|
459
415
|
description: string;
|
|
@@ -466,18 +422,10 @@ export const InstanceLastOperation = /*@__PURE__*/ S.suspend(() =>
|
|
|
466
422
|
state: InstanceLastOperationState,
|
|
467
423
|
type: InstanceLastOperationType,
|
|
468
424
|
}),
|
|
469
|
-
).annotate({
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
export type InstanceStatus =
|
|
474
|
-
| "active"
|
|
475
|
-
| "failed"
|
|
476
|
-
| "stopped"
|
|
477
|
-
| "creating"
|
|
478
|
-
| "deleting"
|
|
479
|
-
| "updating";
|
|
480
|
-
export const InstanceStatus = /*@__PURE__*/ S.String;
|
|
425
|
+
).annotate({ identifier: "InstanceLastOperation" }) as any as S.Schema<InstanceLastOperation>;
|
|
426
|
+
|
|
427
|
+
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
428
|
+
export const InstanceStatus = S.String;
|
|
481
429
|
|
|
482
430
|
export interface Instance {
|
|
483
431
|
cfGuid: string;
|
|
@@ -535,9 +483,7 @@ export const GetMetricsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
535
483
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
536
484
|
}),
|
|
537
485
|
),
|
|
538
|
-
).annotate({
|
|
539
|
-
identifier: "GetMetricsRequest",
|
|
540
|
-
}) as any as S.Schema<GetMetricsRequest>;
|
|
486
|
+
).annotate({ identifier: "GetMetricsRequest" }) as any as S.Schema<GetMetricsRequest>;
|
|
541
487
|
|
|
542
488
|
export interface GetMetricsResponse {
|
|
543
489
|
cpuIdleTime?: number;
|
|
@@ -590,9 +536,7 @@ export const GetMetricsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
590
536
|
parachuteDiskPersistentUsedPercent: S.Number,
|
|
591
537
|
parachuteDiskPersistentUsedThreshold: S.Number,
|
|
592
538
|
}),
|
|
593
|
-
).annotate({
|
|
594
|
-
identifier: "GetMetricsResponse",
|
|
595
|
-
}) as any as S.Schema<GetMetricsResponse>;
|
|
539
|
+
).annotate({ identifier: "GetMetricsResponse" }) as any as S.Schema<GetMetricsResponse>;
|
|
596
540
|
|
|
597
541
|
export interface ListBackupsRequest {
|
|
598
542
|
/** Project id on which user has permissions */
|
|
@@ -615,9 +559,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
615
559
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
616
560
|
}),
|
|
617
561
|
),
|
|
618
|
-
).annotate({
|
|
619
|
-
identifier: "ListBackupsRequest",
|
|
620
|
-
}) as any as S.Schema<ListBackupsRequest>;
|
|
562
|
+
).annotate({ identifier: "ListBackupsRequest" }) as any as S.Schema<ListBackupsRequest>;
|
|
621
563
|
|
|
622
564
|
export interface Backup {
|
|
623
565
|
downloadable?: boolean;
|
|
@@ -646,9 +588,7 @@ export const ListBackupsResponse = /*@__PURE__*/ S.Array(
|
|
|
646
588
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
647
589
|
export const ListBackupsResponse2 = /*@__PURE__*/ S.suspend(() =>
|
|
648
590
|
ListBackupsResponse.pipe(T.RawResponseRoot()),
|
|
649
|
-
).annotate({
|
|
650
|
-
identifier: "ListBackupsResponse2",
|
|
651
|
-
}) as any as S.Schema<ListBackupsResponse2>;
|
|
591
|
+
).annotate({ identifier: "ListBackupsResponse2" }) as any as S.Schema<ListBackupsResponse2>;
|
|
652
592
|
|
|
653
593
|
export interface ListCredentialsRequest {
|
|
654
594
|
/** Project id on which user has permissions */
|
|
@@ -671,9 +611,7 @@ export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
671
611
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
672
612
|
}),
|
|
673
613
|
),
|
|
674
|
-
).annotate({
|
|
675
|
-
identifier: "ListCredentialsRequest",
|
|
676
|
-
}) as any as S.Schema<ListCredentialsRequest>;
|
|
614
|
+
).annotate({ identifier: "ListCredentialsRequest" }) as any as S.Schema<ListCredentialsRequest>;
|
|
677
615
|
|
|
678
616
|
export interface CredentialsListItem {
|
|
679
617
|
id: string;
|
|
@@ -682,12 +620,9 @@ export const CredentialsListItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
682
620
|
S.Struct({
|
|
683
621
|
id: S.String,
|
|
684
622
|
}),
|
|
685
|
-
).annotate({
|
|
686
|
-
identifier: "CredentialsListItem",
|
|
687
|
-
}) as any as S.Schema<CredentialsListItem>;
|
|
623
|
+
).annotate({ identifier: "CredentialsListItem" }) as any as S.Schema<CredentialsListItem>;
|
|
688
624
|
|
|
689
|
-
export type ListCredentialsResponseCredentialsListList =
|
|
690
|
-
Array<CredentialsListItem>;
|
|
625
|
+
export type ListCredentialsResponseCredentialsListList = Array<CredentialsListItem>;
|
|
691
626
|
export const ListCredentialsResponseCredentialsListList = /*@__PURE__*/ S.Array(
|
|
692
627
|
CredentialsListItem,
|
|
693
628
|
) as any as S.Schema<ListCredentialsResponseCredentialsListList>;
|
|
@@ -699,9 +634,7 @@ export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
699
634
|
S.Struct({
|
|
700
635
|
credentialsList: ListCredentialsResponseCredentialsListList,
|
|
701
636
|
}),
|
|
702
|
-
).annotate({
|
|
703
|
-
identifier: "ListCredentialsResponse",
|
|
704
|
-
}) as any as S.Schema<ListCredentialsResponse>;
|
|
637
|
+
).annotate({ identifier: "ListCredentialsResponse" }) as any as S.Schema<ListCredentialsResponse>;
|
|
705
638
|
|
|
706
639
|
export interface ListInstancesRequest {
|
|
707
640
|
/** Project id on which user has permissions */
|
|
@@ -721,9 +654,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
721
654
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
722
655
|
}),
|
|
723
656
|
),
|
|
724
|
-
).annotate({
|
|
725
|
-
identifier: "ListInstancesRequest",
|
|
726
|
-
}) as any as S.Schema<ListInstancesRequest>;
|
|
657
|
+
).annotate({ identifier: "ListInstancesRequest" }) as any as S.Schema<ListInstancesRequest>;
|
|
727
658
|
|
|
728
659
|
export type ListInstancesResponseInstancesList = Array<Instance>;
|
|
729
660
|
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(
|
|
@@ -737,9 +668,7 @@ export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
737
668
|
S.Struct({
|
|
738
669
|
instances: ListInstancesResponseInstancesList,
|
|
739
670
|
}),
|
|
740
|
-
).annotate({
|
|
741
|
-
identifier: "ListInstancesResponse",
|
|
742
|
-
}) as any as S.Schema<ListInstancesResponse>;
|
|
671
|
+
).annotate({ identifier: "ListInstancesResponse" }) as any as S.Schema<ListInstancesResponse>;
|
|
743
672
|
|
|
744
673
|
export interface ListOfferingsRequest {
|
|
745
674
|
/** Project id on which user has permissions */
|
|
@@ -759,9 +688,7 @@ export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
759
688
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
760
689
|
}),
|
|
761
690
|
),
|
|
762
|
-
).annotate({
|
|
763
|
-
identifier: "ListOfferingsRequest",
|
|
764
|
-
}) as any as S.Schema<ListOfferingsRequest>;
|
|
691
|
+
).annotate({ identifier: "ListOfferingsRequest" }) as any as S.Schema<ListOfferingsRequest>;
|
|
765
692
|
|
|
766
693
|
export interface Plan {
|
|
767
694
|
description: string;
|
|
@@ -781,9 +708,7 @@ export const Plan = /*@__PURE__*/ S.suspend(() =>
|
|
|
781
708
|
).annotate({ identifier: "Plan" }) as any as S.Schema<Plan>;
|
|
782
709
|
|
|
783
710
|
export type OfferingPlansList = Array<Plan>;
|
|
784
|
-
export const OfferingPlansList = /*@__PURE__*/ S.Array(
|
|
785
|
-
Plan,
|
|
786
|
-
) as any as S.Schema<OfferingPlansList>;
|
|
711
|
+
export const OfferingPlansList = /*@__PURE__*/ S.Array(Plan) as any as S.Schema<OfferingPlansList>;
|
|
787
712
|
|
|
788
713
|
export interface Schema {
|
|
789
714
|
parameters: unknown;
|
|
@@ -844,9 +769,7 @@ export const ListOfferingsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
844
769
|
S.Struct({
|
|
845
770
|
offerings: ListOfferingsResponseOfferingsList,
|
|
846
771
|
}),
|
|
847
|
-
).annotate({
|
|
848
|
-
identifier: "ListOfferingsResponse",
|
|
849
|
-
}) as any as S.Schema<ListOfferingsResponse>;
|
|
772
|
+
).annotate({ identifier: "ListOfferingsResponse" }) as any as S.Schema<ListOfferingsResponse>;
|
|
850
773
|
|
|
851
774
|
export interface ListRestoresRequest {
|
|
852
775
|
/** Project id on which user has permissions */
|
|
@@ -869,9 +792,7 @@ export const ListRestoresRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
869
792
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
870
793
|
}),
|
|
871
794
|
),
|
|
872
|
-
).annotate({
|
|
873
|
-
identifier: "ListRestoresRequest",
|
|
874
|
-
}) as any as S.Schema<ListRestoresRequest>;
|
|
795
|
+
).annotate({ identifier: "ListRestoresRequest" }) as any as S.Schema<ListRestoresRequest>;
|
|
875
796
|
|
|
876
797
|
export interface Restore {
|
|
877
798
|
backup_id: number;
|
|
@@ -902,9 +823,7 @@ export const ListRestoresResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
902
823
|
S.Struct({
|
|
903
824
|
instanceRestores: ListRestoresResponseInstanceRestoresList,
|
|
904
825
|
}),
|
|
905
|
-
).annotate({
|
|
906
|
-
identifier: "ListRestoresResponse",
|
|
907
|
-
}) as any as S.Schema<ListRestoresResponse>;
|
|
826
|
+
).annotate({ identifier: "ListRestoresResponse" }) as any as S.Schema<ListRestoresResponse>;
|
|
908
827
|
|
|
909
828
|
export interface PartialUpdateInstanceRequest {
|
|
910
829
|
/** Project id on which user has permissions */
|
|
@@ -938,9 +857,7 @@ export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
938
857
|
}) as any as S.Schema<PartialUpdateInstanceRequest>;
|
|
939
858
|
|
|
940
859
|
export interface PartialUpdateInstanceResponse {}
|
|
941
|
-
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
942
|
-
S.Struct({}),
|
|
943
|
-
).annotate({
|
|
860
|
+
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
944
861
|
identifier: "PartialUpdateInstanceResponse",
|
|
945
862
|
}) as any as S.Schema<PartialUpdateInstanceResponse>;
|
|
946
863
|
|
|
@@ -965,9 +882,7 @@ export const TriggerRecreateRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
965
882
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
966
883
|
}),
|
|
967
884
|
),
|
|
968
|
-
).annotate({
|
|
969
|
-
identifier: "TriggerRecreateRequest",
|
|
970
|
-
}) as any as S.Schema<TriggerRecreateRequest>;
|
|
885
|
+
).annotate({ identifier: "TriggerRecreateRequest" }) as any as S.Schema<TriggerRecreateRequest>;
|
|
971
886
|
|
|
972
887
|
export interface TriggerRestartRequest {
|
|
973
888
|
/** Project id on which user has permissions */
|
|
@@ -990,9 +905,7 @@ export const TriggerRestartRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
990
905
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
991
906
|
}),
|
|
992
907
|
),
|
|
993
|
-
).annotate({
|
|
994
|
-
identifier: "TriggerRestartRequest",
|
|
995
|
-
}) as any as S.Schema<TriggerRestartRequest>;
|
|
908
|
+
).annotate({ identifier: "TriggerRestartRequest" }) as any as S.Schema<TriggerRestartRequest>;
|
|
996
909
|
|
|
997
910
|
export interface TriggerRestoreRequest {
|
|
998
911
|
/** Project id on which user has permissions */
|
|
@@ -1018,9 +931,7 @@ export const TriggerRestoreRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1018
931
|
baseUrl: "https://valkey.api.stackit.cloud",
|
|
1019
932
|
}),
|
|
1020
933
|
),
|
|
1021
|
-
).annotate({
|
|
1022
|
-
identifier: "TriggerRestoreRequest",
|
|
1023
|
-
}) as any as S.Schema<TriggerRestoreRequest>;
|
|
934
|
+
).annotate({ identifier: "TriggerRestoreRequest" }) as any as S.Schema<TriggerRestoreRequest>;
|
|
1024
935
|
|
|
1025
936
|
export interface TriggerRestoreResponse {
|
|
1026
937
|
id: number;
|
|
@@ -1029,9 +940,7 @@ export const TriggerRestoreResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1029
940
|
S.Struct({
|
|
1030
941
|
id: S.Number,
|
|
1031
942
|
}),
|
|
1032
|
-
).annotate({
|
|
1033
|
-
identifier: "TriggerRestoreResponse",
|
|
1034
|
-
}) as any as S.Schema<TriggerRestoreResponse>;
|
|
943
|
+
).annotate({ identifier: "TriggerRestoreResponse" }) as any as S.Schema<TriggerRestoreResponse>;
|
|
1035
944
|
|
|
1036
945
|
export interface UpdateBackupsConfigRequest {
|
|
1037
946
|
/** Project id on which user has permissions */
|