@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
|
@@ -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://opensearch.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://opensearch.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,27 +142,23 @@ 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 InstanceParametersJavaGarbageCollector =
|
|
160
148
|
| "UseSerialGC"
|
|
161
149
|
| "UseParallelGC"
|
|
162
150
|
| "UseParallelOldGC"
|
|
163
151
|
| "UseG1GC";
|
|
164
|
-
export const InstanceParametersJavaGarbageCollector =
|
|
152
|
+
export const InstanceParametersJavaGarbageCollector = S.String;
|
|
165
153
|
|
|
166
154
|
export type InstanceParametersPluginsItem =
|
|
167
155
|
| "repository-s3"
|
|
168
156
|
| "repository-azure"
|
|
169
157
|
| "analysis-phonetic";
|
|
170
|
-
export const InstanceParametersPluginsItem =
|
|
158
|
+
export const InstanceParametersPluginsItem = S.String;
|
|
171
159
|
|
|
172
160
|
/** The plugins repository-s3 and repository-azure are enabled by default and cannot be disabled. */
|
|
173
|
-
export type InstanceParametersPluginsList = Array<
|
|
174
|
-
InstanceParametersPluginsItem | (string & {})
|
|
175
|
-
>;
|
|
161
|
+
export type InstanceParametersPluginsList = Array<InstanceParametersPluginsItem | (string & {})>;
|
|
176
162
|
export const InstanceParametersPluginsList = /*@__PURE__*/ S.Array(
|
|
177
163
|
InstanceParametersPluginsItem,
|
|
178
164
|
) as any as S.Schema<InstanceParametersPluginsList>;
|
|
@@ -189,7 +175,7 @@ export const InstanceParametersTlsCiphersList = /*@__PURE__*/ S.Array(
|
|
|
189
175
|
) as any as S.Schema<InstanceParametersTlsCiphersList>;
|
|
190
176
|
|
|
191
177
|
export type InstanceParametersTlsProtocolsItem = "TLSv1.2" | "TLSv1.3";
|
|
192
|
-
export const InstanceParametersTlsProtocolsItem =
|
|
178
|
+
export const InstanceParametersTlsProtocolsItem = S.String;
|
|
193
179
|
|
|
194
180
|
/** This property is deprecated and will be removed in a future release. */
|
|
195
181
|
export type InstanceParametersTlsProtocolsList = Array<
|
|
@@ -203,9 +189,7 @@ export interface InstanceParameters {
|
|
|
203
189
|
enable_monitoring?: boolean;
|
|
204
190
|
/** 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. */
|
|
205
191
|
graphite?: string;
|
|
206
|
-
java_garbage_collector?:
|
|
207
|
-
| InstanceParametersJavaGarbageCollector
|
|
208
|
-
| (string & {});
|
|
192
|
+
java_garbage_collector?: InstanceParametersJavaGarbageCollector | (string & {});
|
|
209
193
|
/** Default: not set, 46% of available memory will be used. The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. */
|
|
210
194
|
java_heapspace?: number;
|
|
211
195
|
/** The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. */
|
|
@@ -241,16 +225,10 @@ export const InstanceParameters = /*@__PURE__*/ S.suspend(() =>
|
|
|
241
225
|
plugins: S.optional(InstanceParametersPluginsList),
|
|
242
226
|
sgw_acl: S.optional(S.String),
|
|
243
227
|
syslog: S.optional(InstanceParametersSyslogList),
|
|
244
|
-
tls_ciphers: S.optional(
|
|
245
|
-
|
|
246
|
-
),
|
|
247
|
-
tls_protocols: S.optional(
|
|
248
|
-
InstanceParametersTlsProtocolsList.pipe(T.Body("tls-protocols")),
|
|
249
|
-
),
|
|
228
|
+
tls_ciphers: S.optional(InstanceParametersTlsCiphersList.pipe(T.Body("tls-ciphers"))),
|
|
229
|
+
tls_protocols: S.optional(InstanceParametersTlsProtocolsList.pipe(T.Body("tls-protocols"))),
|
|
250
230
|
}),
|
|
251
|
-
).annotate({
|
|
252
|
-
identifier: "InstanceParameters",
|
|
253
|
-
}) as any as S.Schema<InstanceParameters>;
|
|
231
|
+
).annotate({ identifier: "InstanceParameters" }) as any as S.Schema<InstanceParameters>;
|
|
254
232
|
|
|
255
233
|
export interface CreateInstanceRequest {
|
|
256
234
|
/** Project id on which user has permissions */
|
|
@@ -276,9 +254,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
276
254
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
277
255
|
}),
|
|
278
256
|
),
|
|
279
|
-
).annotate({
|
|
280
|
-
identifier: "CreateInstanceRequest",
|
|
281
|
-
}) as any as S.Schema<CreateInstanceRequest>;
|
|
257
|
+
).annotate({ identifier: "CreateInstanceRequest" }) as any as S.Schema<CreateInstanceRequest>;
|
|
282
258
|
|
|
283
259
|
export interface CreateInstanceResponse {
|
|
284
260
|
instanceId: string;
|
|
@@ -287,9 +263,7 @@ export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
287
263
|
S.Struct({
|
|
288
264
|
instanceId: S.String,
|
|
289
265
|
}),
|
|
290
|
-
).annotate({
|
|
291
|
-
identifier: "CreateInstanceResponse",
|
|
292
|
-
}) as any as S.Schema<CreateInstanceResponse>;
|
|
266
|
+
).annotate({ identifier: "CreateInstanceResponse" }) as any as S.Schema<CreateInstanceResponse>;
|
|
293
267
|
|
|
294
268
|
export interface DeleteCredentialsRequest {
|
|
295
269
|
/** Project id on which user has permissions */
|
|
@@ -315,14 +289,10 @@ export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
315
289
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
316
290
|
}),
|
|
317
291
|
),
|
|
318
|
-
).annotate({
|
|
319
|
-
identifier: "DeleteCredentialsRequest",
|
|
320
|
-
}) as any as S.Schema<DeleteCredentialsRequest>;
|
|
292
|
+
).annotate({ identifier: "DeleteCredentialsRequest" }) as any as S.Schema<DeleteCredentialsRequest>;
|
|
321
293
|
|
|
322
294
|
export interface DeleteCredentialsResponse {}
|
|
323
|
-
export const DeleteCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
324
|
-
S.Struct({}),
|
|
325
|
-
).annotate({
|
|
295
|
+
export const DeleteCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
326
296
|
identifier: "DeleteCredentialsResponse",
|
|
327
297
|
}) as any as S.Schema<DeleteCredentialsResponse>;
|
|
328
298
|
|
|
@@ -347,14 +317,10 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
347
317
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
348
318
|
}),
|
|
349
319
|
),
|
|
350
|
-
).annotate({
|
|
351
|
-
identifier: "DeleteInstanceRequest",
|
|
352
|
-
}) as any as S.Schema<DeleteInstanceRequest>;
|
|
320
|
+
).annotate({ identifier: "DeleteInstanceRequest" }) as any as S.Schema<DeleteInstanceRequest>;
|
|
353
321
|
|
|
354
322
|
export interface DeleteInstanceResponse {}
|
|
355
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
356
|
-
S.Struct({}),
|
|
357
|
-
).annotate({
|
|
323
|
+
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
358
324
|
identifier: "DeleteInstanceResponse",
|
|
359
325
|
}) as any as S.Schema<DeleteInstanceResponse>;
|
|
360
326
|
|
|
@@ -382,14 +348,10 @@ export const DownloadBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
382
348
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
383
349
|
}),
|
|
384
350
|
),
|
|
385
|
-
).annotate({
|
|
386
|
-
identifier: "DownloadBackupRequest",
|
|
387
|
-
}) as any as S.Schema<DownloadBackupRequest>;
|
|
351
|
+
).annotate({ identifier: "DownloadBackupRequest" }) as any as S.Schema<DownloadBackupRequest>;
|
|
388
352
|
|
|
389
353
|
export interface DownloadBackupResponse {}
|
|
390
|
-
export const DownloadBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
391
|
-
S.Struct({}),
|
|
392
|
-
).annotate({
|
|
354
|
+
export const DownloadBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
393
355
|
identifier: "DownloadBackupResponse",
|
|
394
356
|
}) as any as S.Schema<DownloadBackupResponse>;
|
|
395
357
|
|
|
@@ -417,9 +379,7 @@ export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
417
379
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
418
380
|
}),
|
|
419
381
|
),
|
|
420
|
-
).annotate({
|
|
421
|
-
identifier: "GetCredentialsRequest",
|
|
422
|
-
}) as any as S.Schema<GetCredentialsRequest>;
|
|
382
|
+
).annotate({ identifier: "GetCredentialsRequest" }) as any as S.Schema<GetCredentialsRequest>;
|
|
423
383
|
|
|
424
384
|
export interface GetInstanceRequest {
|
|
425
385
|
/** Project id on which user has permissions */
|
|
@@ -442,15 +402,13 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
442
402
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
443
403
|
}),
|
|
444
404
|
),
|
|
445
|
-
).annotate({
|
|
446
|
-
identifier: "GetInstanceRequest",
|
|
447
|
-
}) as any as S.Schema<GetInstanceRequest>;
|
|
405
|
+
).annotate({ identifier: "GetInstanceRequest" }) as any as S.Schema<GetInstanceRequest>;
|
|
448
406
|
|
|
449
407
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
450
|
-
export const InstanceLastOperationState =
|
|
408
|
+
export const InstanceLastOperationState = S.String;
|
|
451
409
|
|
|
452
410
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
453
|
-
export const InstanceLastOperationType =
|
|
411
|
+
export const InstanceLastOperationType = S.String;
|
|
454
412
|
|
|
455
413
|
export interface InstanceLastOperation {
|
|
456
414
|
description: string;
|
|
@@ -463,18 +421,10 @@ export const InstanceLastOperation = /*@__PURE__*/ S.suspend(() =>
|
|
|
463
421
|
state: InstanceLastOperationState,
|
|
464
422
|
type: InstanceLastOperationType,
|
|
465
423
|
}),
|
|
466
|
-
).annotate({
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
export type InstanceStatus =
|
|
471
|
-
| "active"
|
|
472
|
-
| "failed"
|
|
473
|
-
| "stopped"
|
|
474
|
-
| "creating"
|
|
475
|
-
| "deleting"
|
|
476
|
-
| "updating";
|
|
477
|
-
export const InstanceStatus = /*@__PURE__*/ S.String;
|
|
424
|
+
).annotate({ identifier: "InstanceLastOperation" }) as any as S.Schema<InstanceLastOperation>;
|
|
425
|
+
|
|
426
|
+
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
427
|
+
export const InstanceStatus = S.String;
|
|
478
428
|
|
|
479
429
|
export interface Instance {
|
|
480
430
|
cfGuid: string;
|
|
@@ -532,9 +482,7 @@ export const GetMetricsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
532
482
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
533
483
|
}),
|
|
534
484
|
),
|
|
535
|
-
).annotate({
|
|
536
|
-
identifier: "GetMetricsRequest",
|
|
537
|
-
}) as any as S.Schema<GetMetricsRequest>;
|
|
485
|
+
).annotate({ identifier: "GetMetricsRequest" }) as any as S.Schema<GetMetricsRequest>;
|
|
538
486
|
|
|
539
487
|
export interface GetMetricsResponse {
|
|
540
488
|
cpuIdleTime?: number;
|
|
@@ -587,9 +535,7 @@ export const GetMetricsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
587
535
|
parachuteDiskPersistentUsedPercent: S.Number,
|
|
588
536
|
parachuteDiskPersistentUsedThreshold: S.Number,
|
|
589
537
|
}),
|
|
590
|
-
).annotate({
|
|
591
|
-
identifier: "GetMetricsResponse",
|
|
592
|
-
}) as any as S.Schema<GetMetricsResponse>;
|
|
538
|
+
).annotate({ identifier: "GetMetricsResponse" }) as any as S.Schema<GetMetricsResponse>;
|
|
593
539
|
|
|
594
540
|
export interface ListBackupsRequest {
|
|
595
541
|
/** Project id on which user has permissions */
|
|
@@ -612,9 +558,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
612
558
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
613
559
|
}),
|
|
614
560
|
),
|
|
615
|
-
).annotate({
|
|
616
|
-
identifier: "ListBackupsRequest",
|
|
617
|
-
}) as any as S.Schema<ListBackupsRequest>;
|
|
561
|
+
).annotate({ identifier: "ListBackupsRequest" }) as any as S.Schema<ListBackupsRequest>;
|
|
618
562
|
|
|
619
563
|
export interface Backup {
|
|
620
564
|
downloadable?: boolean;
|
|
@@ -643,9 +587,7 @@ export const ListBackupsResponse = /*@__PURE__*/ S.Array(
|
|
|
643
587
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
644
588
|
export const ListBackupsResponse2 = /*@__PURE__*/ S.suspend(() =>
|
|
645
589
|
ListBackupsResponse.pipe(T.RawResponseRoot()),
|
|
646
|
-
).annotate({
|
|
647
|
-
identifier: "ListBackupsResponse2",
|
|
648
|
-
}) as any as S.Schema<ListBackupsResponse2>;
|
|
590
|
+
).annotate({ identifier: "ListBackupsResponse2" }) as any as S.Schema<ListBackupsResponse2>;
|
|
649
591
|
|
|
650
592
|
export interface ListCredentialsRequest {
|
|
651
593
|
/** Project id on which user has permissions */
|
|
@@ -668,9 +610,7 @@ export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
668
610
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
669
611
|
}),
|
|
670
612
|
),
|
|
671
|
-
).annotate({
|
|
672
|
-
identifier: "ListCredentialsRequest",
|
|
673
|
-
}) as any as S.Schema<ListCredentialsRequest>;
|
|
613
|
+
).annotate({ identifier: "ListCredentialsRequest" }) as any as S.Schema<ListCredentialsRequest>;
|
|
674
614
|
|
|
675
615
|
export interface CredentialsListItem {
|
|
676
616
|
id: string;
|
|
@@ -679,12 +619,9 @@ export const CredentialsListItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
679
619
|
S.Struct({
|
|
680
620
|
id: S.String,
|
|
681
621
|
}),
|
|
682
|
-
).annotate({
|
|
683
|
-
identifier: "CredentialsListItem",
|
|
684
|
-
}) as any as S.Schema<CredentialsListItem>;
|
|
622
|
+
).annotate({ identifier: "CredentialsListItem" }) as any as S.Schema<CredentialsListItem>;
|
|
685
623
|
|
|
686
|
-
export type ListCredentialsResponseCredentialsListList =
|
|
687
|
-
Array<CredentialsListItem>;
|
|
624
|
+
export type ListCredentialsResponseCredentialsListList = Array<CredentialsListItem>;
|
|
688
625
|
export const ListCredentialsResponseCredentialsListList = /*@__PURE__*/ S.Array(
|
|
689
626
|
CredentialsListItem,
|
|
690
627
|
) as any as S.Schema<ListCredentialsResponseCredentialsListList>;
|
|
@@ -696,9 +633,7 @@ export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
696
633
|
S.Struct({
|
|
697
634
|
credentialsList: ListCredentialsResponseCredentialsListList,
|
|
698
635
|
}),
|
|
699
|
-
).annotate({
|
|
700
|
-
identifier: "ListCredentialsResponse",
|
|
701
|
-
}) as any as S.Schema<ListCredentialsResponse>;
|
|
636
|
+
).annotate({ identifier: "ListCredentialsResponse" }) as any as S.Schema<ListCredentialsResponse>;
|
|
702
637
|
|
|
703
638
|
export interface ListInstancesRequest {
|
|
704
639
|
/** Project id on which user has permissions */
|
|
@@ -718,9 +653,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
718
653
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
719
654
|
}),
|
|
720
655
|
),
|
|
721
|
-
).annotate({
|
|
722
|
-
identifier: "ListInstancesRequest",
|
|
723
|
-
}) as any as S.Schema<ListInstancesRequest>;
|
|
656
|
+
).annotate({ identifier: "ListInstancesRequest" }) as any as S.Schema<ListInstancesRequest>;
|
|
724
657
|
|
|
725
658
|
export type ListInstancesResponseInstancesList = Array<Instance>;
|
|
726
659
|
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(
|
|
@@ -734,9 +667,7 @@ export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
734
667
|
S.Struct({
|
|
735
668
|
instances: ListInstancesResponseInstancesList,
|
|
736
669
|
}),
|
|
737
|
-
).annotate({
|
|
738
|
-
identifier: "ListInstancesResponse",
|
|
739
|
-
}) as any as S.Schema<ListInstancesResponse>;
|
|
670
|
+
).annotate({ identifier: "ListInstancesResponse" }) as any as S.Schema<ListInstancesResponse>;
|
|
740
671
|
|
|
741
672
|
export interface ListOfferingsRequest {
|
|
742
673
|
/** Project id on which user has permissions */
|
|
@@ -756,9 +687,7 @@ export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
756
687
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
757
688
|
}),
|
|
758
689
|
),
|
|
759
|
-
).annotate({
|
|
760
|
-
identifier: "ListOfferingsRequest",
|
|
761
|
-
}) as any as S.Schema<ListOfferingsRequest>;
|
|
690
|
+
).annotate({ identifier: "ListOfferingsRequest" }) as any as S.Schema<ListOfferingsRequest>;
|
|
762
691
|
|
|
763
692
|
export interface Plan {
|
|
764
693
|
description: string;
|
|
@@ -778,9 +707,7 @@ export const Plan = /*@__PURE__*/ S.suspend(() =>
|
|
|
778
707
|
).annotate({ identifier: "Plan" }) as any as S.Schema<Plan>;
|
|
779
708
|
|
|
780
709
|
export type OfferingPlansList = Array<Plan>;
|
|
781
|
-
export const OfferingPlansList = /*@__PURE__*/ S.Array(
|
|
782
|
-
Plan,
|
|
783
|
-
) as any as S.Schema<OfferingPlansList>;
|
|
710
|
+
export const OfferingPlansList = /*@__PURE__*/ S.Array(Plan) as any as S.Schema<OfferingPlansList>;
|
|
784
711
|
|
|
785
712
|
export interface Schema {
|
|
786
713
|
parameters: unknown;
|
|
@@ -841,9 +768,7 @@ export const ListOfferingsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
841
768
|
S.Struct({
|
|
842
769
|
offerings: ListOfferingsResponseOfferingsList,
|
|
843
770
|
}),
|
|
844
|
-
).annotate({
|
|
845
|
-
identifier: "ListOfferingsResponse",
|
|
846
|
-
}) as any as S.Schema<ListOfferingsResponse>;
|
|
771
|
+
).annotate({ identifier: "ListOfferingsResponse" }) as any as S.Schema<ListOfferingsResponse>;
|
|
847
772
|
|
|
848
773
|
export interface ListRestoresRequest {
|
|
849
774
|
/** Project id on which user has permissions */
|
|
@@ -866,9 +791,7 @@ export const ListRestoresRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
866
791
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
867
792
|
}),
|
|
868
793
|
),
|
|
869
|
-
).annotate({
|
|
870
|
-
identifier: "ListRestoresRequest",
|
|
871
|
-
}) as any as S.Schema<ListRestoresRequest>;
|
|
794
|
+
).annotate({ identifier: "ListRestoresRequest" }) as any as S.Schema<ListRestoresRequest>;
|
|
872
795
|
|
|
873
796
|
export interface Restore {
|
|
874
797
|
backup_id: number;
|
|
@@ -899,9 +822,7 @@ export const ListRestoresResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
899
822
|
S.Struct({
|
|
900
823
|
instanceRestores: ListRestoresResponseInstanceRestoresList,
|
|
901
824
|
}),
|
|
902
|
-
).annotate({
|
|
903
|
-
identifier: "ListRestoresResponse",
|
|
904
|
-
}) as any as S.Schema<ListRestoresResponse>;
|
|
825
|
+
).annotate({ identifier: "ListRestoresResponse" }) as any as S.Schema<ListRestoresResponse>;
|
|
905
826
|
|
|
906
827
|
export interface PartialUpdateInstanceRequest {
|
|
907
828
|
/** Project id on which user has permissions */
|
|
@@ -935,9 +856,7 @@ export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
935
856
|
}) as any as S.Schema<PartialUpdateInstanceRequest>;
|
|
936
857
|
|
|
937
858
|
export interface PartialUpdateInstanceResponse {}
|
|
938
|
-
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
939
|
-
S.Struct({}),
|
|
940
|
-
).annotate({
|
|
859
|
+
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
941
860
|
identifier: "PartialUpdateInstanceResponse",
|
|
942
861
|
}) as any as S.Schema<PartialUpdateInstanceResponse>;
|
|
943
862
|
|
|
@@ -962,9 +881,7 @@ export const TriggerRecreateRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
962
881
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
963
882
|
}),
|
|
964
883
|
),
|
|
965
|
-
).annotate({
|
|
966
|
-
identifier: "TriggerRecreateRequest",
|
|
967
|
-
}) as any as S.Schema<TriggerRecreateRequest>;
|
|
884
|
+
).annotate({ identifier: "TriggerRecreateRequest" }) as any as S.Schema<TriggerRecreateRequest>;
|
|
968
885
|
|
|
969
886
|
export interface TriggerRestartRequest {
|
|
970
887
|
/** Project id on which user has permissions */
|
|
@@ -987,9 +904,7 @@ export const TriggerRestartRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
987
904
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
988
905
|
}),
|
|
989
906
|
),
|
|
990
|
-
).annotate({
|
|
991
|
-
identifier: "TriggerRestartRequest",
|
|
992
|
-
}) as any as S.Schema<TriggerRestartRequest>;
|
|
907
|
+
).annotate({ identifier: "TriggerRestartRequest" }) as any as S.Schema<TriggerRestartRequest>;
|
|
993
908
|
|
|
994
909
|
export interface TriggerRestoreRequest {
|
|
995
910
|
/** Project id on which user has permissions */
|
|
@@ -1015,9 +930,7 @@ export const TriggerRestoreRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1015
930
|
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
1016
931
|
}),
|
|
1017
932
|
),
|
|
1018
|
-
).annotate({
|
|
1019
|
-
identifier: "TriggerRestoreRequest",
|
|
1020
|
-
}) as any as S.Schema<TriggerRestoreRequest>;
|
|
933
|
+
).annotate({ identifier: "TriggerRestoreRequest" }) as any as S.Schema<TriggerRestoreRequest>;
|
|
1021
934
|
|
|
1022
935
|
export interface TriggerRestoreResponse {
|
|
1023
936
|
id: number;
|
|
@@ -1026,9 +939,7 @@ export const TriggerRestoreResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1026
939
|
S.Struct({
|
|
1027
940
|
id: S.Number,
|
|
1028
941
|
}),
|
|
1029
|
-
).annotate({
|
|
1030
|
-
identifier: "TriggerRestoreResponse",
|
|
1031
|
-
}) as any as S.Schema<TriggerRestoreResponse>;
|
|
942
|
+
).annotate({ identifier: "TriggerRestoreResponse" }) as any as S.Schema<TriggerRestoreResponse>;
|
|
1032
943
|
|
|
1033
944
|
export interface UpdateBackupsConfigRequest {
|
|
1034
945
|
/** Project id on which user has permissions */
|