@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
package/src/services/dremio.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
|
|
|
@@ -42,7 +38,7 @@ export class NotFound
|
|
|
42
38
|
) {}
|
|
43
39
|
|
|
44
40
|
export type CreateDremioInstanceRequestRegionId = "eu01" | "eu02";
|
|
45
|
-
export const CreateDremioInstanceRequestRegionId =
|
|
41
|
+
export const CreateDremioInstanceRequestRegionId = S.String;
|
|
46
42
|
|
|
47
43
|
/** Azure Active Directory authentication configuration. */
|
|
48
44
|
export interface AzureadInput {
|
|
@@ -69,9 +65,7 @@ export const OauthInputJwtClaims = /*@__PURE__*/ S.suspend(() =>
|
|
|
69
65
|
S.Struct({
|
|
70
66
|
userName: S.String,
|
|
71
67
|
}),
|
|
72
|
-
).annotate({
|
|
73
|
-
identifier: "OauthInputJwtClaims",
|
|
74
|
-
}) as any as S.Schema<OauthInputJwtClaims>;
|
|
68
|
+
).annotate({ identifier: "OauthInputJwtClaims" }) as any as S.Schema<OauthInputJwtClaims>;
|
|
75
69
|
|
|
76
70
|
/** An additional parameter the Identity Provider requires. */
|
|
77
71
|
export interface AuthParameters {
|
|
@@ -118,7 +112,7 @@ export const OauthInput = /*@__PURE__*/ S.suspend(() =>
|
|
|
118
112
|
).annotate({ identifier: "OauthInput" }) as any as S.Schema<OauthInput>;
|
|
119
113
|
|
|
120
114
|
export type AuthenticationInputType = "local-only" | "azuread" | "oauth";
|
|
121
|
-
export const AuthenticationInputType =
|
|
115
|
+
export const AuthenticationInputType = S.String;
|
|
122
116
|
|
|
123
117
|
/** Dremio instance authentication settings. A change here triggers a Dremio restart and will incur downtime. */
|
|
124
118
|
export interface AuthenticationInput {
|
|
@@ -132,9 +126,7 @@ export const AuthenticationInput = /*@__PURE__*/ S.suspend(() =>
|
|
|
132
126
|
oauth: S.optional(OauthInput),
|
|
133
127
|
type: AuthenticationInputType,
|
|
134
128
|
}),
|
|
135
|
-
).annotate({
|
|
136
|
-
identifier: "AuthenticationInput",
|
|
137
|
-
}) as any as S.Schema<AuthenticationInput>;
|
|
129
|
+
).annotate({ identifier: "AuthenticationInput" }) as any as S.Schema<AuthenticationInput>;
|
|
138
130
|
|
|
139
131
|
export interface CreateDremioInstanceRequest {
|
|
140
132
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -220,7 +212,7 @@ export const OauthOutput = /*@__PURE__*/ S.suspend(() =>
|
|
|
220
212
|
).annotate({ identifier: "OauthOutput" }) as any as S.Schema<OauthOutput>;
|
|
221
213
|
|
|
222
214
|
export type AuthenticationOutputType = "local-only" | "azuread" | "oauth";
|
|
223
|
-
export const AuthenticationOutputType =
|
|
215
|
+
export const AuthenticationOutputType = S.String;
|
|
224
216
|
|
|
225
217
|
/** Dremio instance authentication settings. A change here triggers a Dremio restart and will incur downtime. */
|
|
226
218
|
export interface AuthenticationOutput {
|
|
@@ -234,9 +226,7 @@ export const AuthenticationOutput = /*@__PURE__*/ S.suspend(() =>
|
|
|
234
226
|
oauth: S.optional(OauthOutput),
|
|
235
227
|
type: AuthenticationOutputType,
|
|
236
228
|
}),
|
|
237
|
-
).annotate({
|
|
238
|
-
identifier: "AuthenticationOutput",
|
|
239
|
-
}) as any as S.Schema<AuthenticationOutput>;
|
|
229
|
+
).annotate({ identifier: "AuthenticationOutput" }) as any as S.Schema<AuthenticationOutput>;
|
|
240
230
|
|
|
241
231
|
/** A collection of endpoints offered by the Dremio instance. */
|
|
242
232
|
export interface Endpoints {
|
|
@@ -256,12 +246,8 @@ export const Endpoints = /*@__PURE__*/ S.suspend(() =>
|
|
|
256
246
|
).annotate({ identifier: "Endpoints" }) as any as S.Schema<Endpoints>;
|
|
257
247
|
|
|
258
248
|
/** The current state of the resource. */
|
|
259
|
-
export type DremioResponseOutputState =
|
|
260
|
-
|
|
261
|
-
| "active"
|
|
262
|
-
| "deleting"
|
|
263
|
-
| "error";
|
|
264
|
-
export const DremioResponseOutputState = /*@__PURE__*/ S.String;
|
|
249
|
+
export type DremioResponseOutputState = "reconciling" | "active" | "deleting" | "error";
|
|
250
|
+
export const DremioResponseOutputState = S.String;
|
|
265
251
|
|
|
266
252
|
export interface DremioResponseOutput {
|
|
267
253
|
authentication: AuthenticationOutput;
|
|
@@ -290,12 +276,10 @@ export const DremioResponseOutput = /*@__PURE__*/ S.suspend(() =>
|
|
|
290
276
|
id: S.String,
|
|
291
277
|
state: DremioResponseOutputState,
|
|
292
278
|
}),
|
|
293
|
-
).annotate({
|
|
294
|
-
identifier: "DremioResponseOutput",
|
|
295
|
-
}) as any as S.Schema<DremioResponseOutput>;
|
|
279
|
+
).annotate({ identifier: "DremioResponseOutput" }) as any as S.Schema<DremioResponseOutput>;
|
|
296
280
|
|
|
297
281
|
export type CreateDremioUserRequestRegionId = "eu01" | "eu02";
|
|
298
|
-
export const CreateDremioUserRequestRegionId =
|
|
282
|
+
export const CreateDremioUserRequestRegionId = S.String;
|
|
299
283
|
|
|
300
284
|
export interface CreateDremioUserRequest {
|
|
301
285
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -336,17 +320,11 @@ export const CreateDremioUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
336
320
|
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
337
321
|
}),
|
|
338
322
|
),
|
|
339
|
-
).annotate({
|
|
340
|
-
identifier: "CreateDremioUserRequest",
|
|
341
|
-
}) as any as S.Schema<CreateDremioUserRequest>;
|
|
323
|
+
).annotate({ identifier: "CreateDremioUserRequest" }) as any as S.Schema<CreateDremioUserRequest>;
|
|
342
324
|
|
|
343
325
|
/** The current state of the resource. */
|
|
344
|
-
export type DremioUserResponseState =
|
|
345
|
-
|
|
346
|
-
| "active"
|
|
347
|
-
| "deleting"
|
|
348
|
-
| "error";
|
|
349
|
-
export const DremioUserResponseState = /*@__PURE__*/ S.String;
|
|
326
|
+
export type DremioUserResponseState = "reconciling" | "active" | "deleting" | "error";
|
|
327
|
+
export const DremioUserResponseState = S.String;
|
|
350
328
|
|
|
351
329
|
export interface DremioUserResponse {
|
|
352
330
|
/** The point in time the resource was created. */
|
|
@@ -380,12 +358,10 @@ export const DremioUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
380
358
|
name: S.String,
|
|
381
359
|
state: DremioUserResponseState,
|
|
382
360
|
}),
|
|
383
|
-
).annotate({
|
|
384
|
-
identifier: "DremioUserResponse",
|
|
385
|
-
}) as any as S.Schema<DremioUserResponse>;
|
|
361
|
+
).annotate({ identifier: "DremioUserResponse" }) as any as S.Schema<DremioUserResponse>;
|
|
386
362
|
|
|
387
363
|
export type DeleteDremioInstanceRequestRegionId = "eu01" | "eu02";
|
|
388
|
-
export const DeleteDremioInstanceRequestRegionId =
|
|
364
|
+
export const DeleteDremioInstanceRequestRegionId = S.String;
|
|
389
365
|
|
|
390
366
|
export interface DeleteDremioInstanceRequest {
|
|
391
367
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -413,14 +389,12 @@ export const DeleteDremioInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
413
389
|
}) as any as S.Schema<DeleteDremioInstanceRequest>;
|
|
414
390
|
|
|
415
391
|
export interface DeleteDremioInstanceResponse {}
|
|
416
|
-
export const DeleteDremioInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
417
|
-
S.Struct({}),
|
|
418
|
-
).annotate({
|
|
392
|
+
export const DeleteDremioInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
419
393
|
identifier: "DeleteDremioInstanceResponse",
|
|
420
394
|
}) as any as S.Schema<DeleteDremioInstanceResponse>;
|
|
421
395
|
|
|
422
396
|
export type DeleteDremioUserRequestRegionId = "eu01" | "eu02";
|
|
423
|
-
export const DeleteDremioUserRequestRegionId =
|
|
397
|
+
export const DeleteDremioUserRequestRegionId = S.String;
|
|
424
398
|
|
|
425
399
|
export interface DeleteDremioUserRequest {
|
|
426
400
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -446,19 +420,15 @@ export const DeleteDremioUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
446
420
|
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
447
421
|
}),
|
|
448
422
|
),
|
|
449
|
-
).annotate({
|
|
450
|
-
identifier: "DeleteDremioUserRequest",
|
|
451
|
-
}) as any as S.Schema<DeleteDremioUserRequest>;
|
|
423
|
+
).annotate({ identifier: "DeleteDremioUserRequest" }) as any as S.Schema<DeleteDremioUserRequest>;
|
|
452
424
|
|
|
453
425
|
export interface DeleteDremioUserResponse {}
|
|
454
|
-
export const DeleteDremioUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
455
|
-
S.Struct({}),
|
|
456
|
-
).annotate({
|
|
426
|
+
export const DeleteDremioUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
457
427
|
identifier: "DeleteDremioUserResponse",
|
|
458
428
|
}) as any as S.Schema<DeleteDremioUserResponse>;
|
|
459
429
|
|
|
460
430
|
export type GetDremioInstanceRequestRegionId = "eu01" | "eu02";
|
|
461
|
-
export const GetDremioInstanceRequestRegionId =
|
|
431
|
+
export const GetDremioInstanceRequestRegionId = S.String;
|
|
462
432
|
|
|
463
433
|
export interface GetDremioInstanceRequest {
|
|
464
434
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -481,12 +451,10 @@ export const GetDremioInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
481
451
|
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
482
452
|
}),
|
|
483
453
|
),
|
|
484
|
-
).annotate({
|
|
485
|
-
identifier: "GetDremioInstanceRequest",
|
|
486
|
-
}) as any as S.Schema<GetDremioInstanceRequest>;
|
|
454
|
+
).annotate({ identifier: "GetDremioInstanceRequest" }) as any as S.Schema<GetDremioInstanceRequest>;
|
|
487
455
|
|
|
488
456
|
export type GetDremioUserRequestRegionId = "eu01" | "eu02";
|
|
489
|
-
export const GetDremioUserRequestRegionId =
|
|
457
|
+
export const GetDremioUserRequestRegionId = S.String;
|
|
490
458
|
|
|
491
459
|
export interface GetDremioUserRequest {
|
|
492
460
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -512,12 +480,10 @@ export const GetDremioUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
512
480
|
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
513
481
|
}),
|
|
514
482
|
),
|
|
515
|
-
).annotate({
|
|
516
|
-
identifier: "GetDremioUserRequest",
|
|
517
|
-
}) as any as S.Schema<GetDremioUserRequest>;
|
|
483
|
+
).annotate({ identifier: "GetDremioUserRequest" }) as any as S.Schema<GetDremioUserRequest>;
|
|
518
484
|
|
|
519
485
|
export type ListDremioInstancesRequestRegionId = "eu01" | "eu02";
|
|
520
|
-
export const ListDremioInstancesRequestRegionId =
|
|
486
|
+
export const ListDremioInstancesRequestRegionId = S.String;
|
|
521
487
|
|
|
522
488
|
export interface ListDremioInstancesRequest {
|
|
523
489
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -567,7 +533,7 @@ export const ListDremiosResponseOutput = /*@__PURE__*/ S.suspend(() =>
|
|
|
567
533
|
}) as any as S.Schema<ListDremiosResponseOutput>;
|
|
568
534
|
|
|
569
535
|
export type ListDremioUsersRequestRegionId = "eu01" | "eu02";
|
|
570
|
-
export const ListDremioUsersRequestRegionId =
|
|
536
|
+
export const ListDremioUsersRequestRegionId = S.String;
|
|
571
537
|
|
|
572
538
|
export interface ListDremioUsersRequest {
|
|
573
539
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -596,9 +562,7 @@ export const ListDremioUsersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
596
562
|
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
597
563
|
}),
|
|
598
564
|
),
|
|
599
|
-
).annotate({
|
|
600
|
-
identifier: "ListDremioUsersRequest",
|
|
601
|
-
}) as any as S.Schema<ListDremioUsersRequest>;
|
|
565
|
+
).annotate({ identifier: "ListDremioUsersRequest" }) as any as S.Schema<ListDremioUsersRequest>;
|
|
602
566
|
|
|
603
567
|
export type ListDremioUsersResponseDremioUsersList = Array<DremioUserResponse>;
|
|
604
568
|
export const ListDremioUsersResponseDremioUsersList = /*@__PURE__*/ S.Array(
|
|
@@ -615,12 +579,10 @@ export const ListDremioUsersResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
615
579
|
dremioUsers: ListDremioUsersResponseDremioUsersList,
|
|
616
580
|
nextPageToken: S.optional(S.String),
|
|
617
581
|
}),
|
|
618
|
-
).annotate({
|
|
619
|
-
identifier: "ListDremioUsersResponse",
|
|
620
|
-
}) as any as S.Schema<ListDremioUsersResponse>;
|
|
582
|
+
).annotate({ identifier: "ListDremioUsersResponse" }) as any as S.Schema<ListDremioUsersResponse>;
|
|
621
583
|
|
|
622
584
|
export type UpdateDremioInstanceRequestRegionId = "eu01" | "eu02";
|
|
623
|
-
export const UpdateDremioInstanceRequestRegionId =
|
|
585
|
+
export const UpdateDremioInstanceRequestRegionId = S.String;
|
|
624
586
|
|
|
625
587
|
export interface UpdateDremioInstanceRequest {
|
|
626
588
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -685,11 +647,7 @@ export const createDremioUser: API.OperationMethod<
|
|
|
685
647
|
retry: Retry.Retry,
|
|
686
648
|
}));
|
|
687
649
|
|
|
688
|
-
export type DeleteDremioInstanceError =
|
|
689
|
-
| BadRequest
|
|
690
|
-
| NotFound
|
|
691
|
-
| Conflict
|
|
692
|
-
| StackitOpError;
|
|
650
|
+
export type DeleteDremioInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
693
651
|
/** Deletes the given Dremio instance. */
|
|
694
652
|
export const deleteDremioInstance: API.OperationMethod<
|
|
695
653
|
DeleteDremioInstanceRequest,
|
|
@@ -704,11 +662,7 @@ export const deleteDremioInstance: API.OperationMethod<
|
|
|
704
662
|
retry: Retry.Retry,
|
|
705
663
|
}));
|
|
706
664
|
|
|
707
|
-
export type DeleteDremioUserError =
|
|
708
|
-
| BadRequest
|
|
709
|
-
| NotFound
|
|
710
|
-
| Conflict
|
|
711
|
-
| StackitOpError;
|
|
665
|
+
export type DeleteDremioUserError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
712
666
|
/** Deletes the given dremio admin user. */
|
|
713
667
|
export const deleteDremioUser: API.OperationMethod<
|
|
714
668
|
DeleteDremioUserRequest,
|
|
@@ -783,11 +737,7 @@ export const listDremioUsers: API.OperationMethod<
|
|
|
783
737
|
retry: Retry.Retry,
|
|
784
738
|
}));
|
|
785
739
|
|
|
786
|
-
export type UpdateDremioInstanceError =
|
|
787
|
-
| BadRequest
|
|
788
|
-
| NotFound
|
|
789
|
-
| Conflict
|
|
790
|
-
| StackitOpError;
|
|
740
|
+
export type UpdateDremioInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
791
741
|
/** Updates the given Dremio instance. Please note that changing certain fields will trigger a Dremio restart and will incur downtime. See the request body information for more details. */
|
|
792
742
|
export const updateDremioInstance: API.OperationMethod<
|
|
793
743
|
UpdateDremioInstanceRequest,
|
package/src/services/edge.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -67,9 +63,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
67
63
|
baseUrl: "https://edge.api.stackit.cloud",
|
|
68
64
|
}),
|
|
69
65
|
),
|
|
70
|
-
).annotate({
|
|
71
|
-
identifier: "CreateInstanceRequest",
|
|
72
|
-
}) as any as S.Schema<CreateInstanceRequest>;
|
|
66
|
+
).annotate({ identifier: "CreateInstanceRequest" }) as any as S.Schema<CreateInstanceRequest>;
|
|
73
67
|
|
|
74
68
|
export interface IpAllowListEntry {
|
|
75
69
|
/** ISO-8601 timestamp of when the entry was created. */
|
|
@@ -91,9 +85,7 @@ export const IpAllowListEntry = /*@__PURE__*/ S.suspend(() =>
|
|
|
91
85
|
updatedAt: S.optional(S.String),
|
|
92
86
|
uuid: S.String,
|
|
93
87
|
}),
|
|
94
|
-
).annotate({
|
|
95
|
-
identifier: "IpAllowListEntry",
|
|
96
|
-
}) as any as S.Schema<IpAllowListEntry>;
|
|
88
|
+
).annotate({ identifier: "IpAllowListEntry" }) as any as S.Schema<IpAllowListEntry>;
|
|
97
89
|
|
|
98
90
|
export type AclIpAllowListList = Array<IpAllowListEntry>;
|
|
99
91
|
export const AclIpAllowListList = /*@__PURE__*/ S.Array(
|
|
@@ -112,7 +104,7 @@ export const Acl = /*@__PURE__*/ S.suspend(() =>
|
|
|
112
104
|
|
|
113
105
|
/** The current status of the instance. */
|
|
114
106
|
export type InstanceStatus = "error" | "reconciling" | "active" | "deleting";
|
|
115
|
-
export const InstanceStatus =
|
|
107
|
+
export const InstanceStatus = S.String;
|
|
116
108
|
|
|
117
109
|
export interface Instance {
|
|
118
110
|
acl?: Acl;
|
|
@@ -165,14 +157,10 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
165
157
|
baseUrl: "https://edge.api.stackit.cloud",
|
|
166
158
|
}),
|
|
167
159
|
),
|
|
168
|
-
).annotate({
|
|
169
|
-
identifier: "DeleteInstanceRequest",
|
|
170
|
-
}) as any as S.Schema<DeleteInstanceRequest>;
|
|
160
|
+
).annotate({ identifier: "DeleteInstanceRequest" }) as any as S.Schema<DeleteInstanceRequest>;
|
|
171
161
|
|
|
172
162
|
export interface DeleteInstanceResponse {}
|
|
173
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
174
|
-
S.Struct({}),
|
|
175
|
-
).annotate({
|
|
163
|
+
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
176
164
|
identifier: "DeleteInstanceResponse",
|
|
177
165
|
}) as any as S.Schema<DeleteInstanceResponse>;
|
|
178
166
|
|
|
@@ -202,9 +190,7 @@ export const DeleteInstanceByNameRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
202
190
|
}) as any as S.Schema<DeleteInstanceByNameRequest>;
|
|
203
191
|
|
|
204
192
|
export interface DeleteInstanceByNameResponse {}
|
|
205
|
-
export const DeleteInstanceByNameResponse = /*@__PURE__*/ S.suspend(() =>
|
|
206
|
-
S.Struct({}),
|
|
207
|
-
).annotate({
|
|
193
|
+
export const DeleteInstanceByNameResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
208
194
|
identifier: "DeleteInstanceByNameResponse",
|
|
209
195
|
}) as any as S.Schema<DeleteInstanceByNameResponse>;
|
|
210
196
|
|
|
@@ -229,9 +215,7 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
229
215
|
baseUrl: "https://edge.api.stackit.cloud",
|
|
230
216
|
}),
|
|
231
217
|
),
|
|
232
|
-
).annotate({
|
|
233
|
-
identifier: "GetInstanceRequest",
|
|
234
|
-
}) as any as S.Schema<GetInstanceRequest>;
|
|
218
|
+
).annotate({ identifier: "GetInstanceRequest" }) as any as S.Schema<GetInstanceRequest>;
|
|
235
219
|
|
|
236
220
|
export interface GetInstanceByNameRequest {
|
|
237
221
|
/** The STACKIT portal project UUID the instance is part of. */
|
|
@@ -254,9 +238,7 @@ export const GetInstanceByNameRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
254
238
|
baseUrl: "https://edge.api.stackit.cloud",
|
|
255
239
|
}),
|
|
256
240
|
),
|
|
257
|
-
).annotate({
|
|
258
|
-
identifier: "GetInstanceByNameRequest",
|
|
259
|
-
}) as any as S.Schema<GetInstanceByNameRequest>;
|
|
241
|
+
).annotate({ identifier: "GetInstanceByNameRequest" }) as any as S.Schema<GetInstanceByNameRequest>;
|
|
260
242
|
|
|
261
243
|
export interface GetKubeconfigByInstanceIdRequest {
|
|
262
244
|
/** The STACKIT portal project UUID the instance is part of. */
|
|
@@ -399,18 +381,17 @@ export interface ListCompatibleKubernetesReleasesRequest {
|
|
|
399
381
|
/** The name of the Talos release. */
|
|
400
382
|
talosVersion: string;
|
|
401
383
|
}
|
|
402
|
-
export const ListCompatibleKubernetesReleasesRequest = /*@__PURE__*/ S.suspend(
|
|
403
|
-
(
|
|
404
|
-
S.
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
),
|
|
384
|
+
export const ListCompatibleKubernetesReleasesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
385
|
+
S.Struct({
|
|
386
|
+
talosVersion: S.String.pipe(T.Query()),
|
|
387
|
+
}).pipe(
|
|
388
|
+
T.Http({
|
|
389
|
+
method: "GET",
|
|
390
|
+
uri: "/v1beta1/listcompatiblekubernetesreleases",
|
|
391
|
+
code: 200,
|
|
392
|
+
baseUrl: "https://edge.api.stackit.cloud",
|
|
393
|
+
}),
|
|
394
|
+
),
|
|
414
395
|
).annotate({
|
|
415
396
|
identifier: "ListCompatibleKubernetesReleasesRequest",
|
|
416
397
|
}) as any as S.Schema<ListCompatibleKubernetesReleasesRequest>;
|
|
@@ -430,9 +411,7 @@ export const KubernetesReleaseList = /*@__PURE__*/ S.suspend(() =>
|
|
|
430
411
|
S.Struct({
|
|
431
412
|
k8s_releases: KubernetesReleaseListK8sReleasesList,
|
|
432
413
|
}),
|
|
433
|
-
).annotate({
|
|
434
|
-
identifier: "KubernetesReleaseList",
|
|
435
|
-
}) as any as S.Schema<KubernetesReleaseList>;
|
|
414
|
+
).annotate({ identifier: "KubernetesReleaseList" }) as any as S.Schema<KubernetesReleaseList>;
|
|
436
415
|
|
|
437
416
|
export interface ListInstancesRequest {
|
|
438
417
|
/** The STACKIT portal project UUID the instance is part of. */
|
|
@@ -452,9 +431,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
452
431
|
baseUrl: "https://edge.api.stackit.cloud",
|
|
453
432
|
}),
|
|
454
433
|
),
|
|
455
|
-
).annotate({
|
|
456
|
-
identifier: "ListInstancesRequest",
|
|
457
|
-
}) as any as S.Schema<ListInstancesRequest>;
|
|
434
|
+
).annotate({ identifier: "ListInstancesRequest" }) as any as S.Schema<ListInstancesRequest>;
|
|
458
435
|
|
|
459
436
|
export type InstanceListInstancesList = Array<Instance>;
|
|
460
437
|
export const InstanceListInstancesList = /*@__PURE__*/ S.Array(
|
|
@@ -485,9 +462,7 @@ export const ListPlansProjectRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
485
462
|
baseUrl: "https://edge.api.stackit.cloud",
|
|
486
463
|
}),
|
|
487
464
|
),
|
|
488
|
-
).annotate({
|
|
489
|
-
identifier: "ListPlansProjectRequest",
|
|
490
|
-
}) as any as S.Schema<ListPlansProjectRequest>;
|
|
465
|
+
).annotate({ identifier: "ListPlansProjectRequest" }) as any as S.Schema<ListPlansProjectRequest>;
|
|
491
466
|
|
|
492
467
|
export interface Plan {
|
|
493
468
|
/** Description */
|
|
@@ -552,14 +527,10 @@ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
552
527
|
baseUrl: "https://edge.api.stackit.cloud",
|
|
553
528
|
}),
|
|
554
529
|
),
|
|
555
|
-
).annotate({
|
|
556
|
-
identifier: "UpdateInstanceRequest",
|
|
557
|
-
}) as any as S.Schema<UpdateInstanceRequest>;
|
|
530
|
+
).annotate({ identifier: "UpdateInstanceRequest" }) as any as S.Schema<UpdateInstanceRequest>;
|
|
558
531
|
|
|
559
532
|
export interface UpdateInstanceResponse {}
|
|
560
|
-
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
561
|
-
S.Struct({}),
|
|
562
|
-
).annotate({
|
|
533
|
+
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
563
534
|
identifier: "UpdateInstanceResponse",
|
|
564
535
|
}) as any as S.Schema<UpdateInstanceResponse>;
|
|
565
536
|
|
|
@@ -595,9 +566,7 @@ export const UpdateInstanceByNameRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
595
566
|
}) as any as S.Schema<UpdateInstanceByNameRequest>;
|
|
596
567
|
|
|
597
568
|
export interface UpdateInstanceByNameResponse {}
|
|
598
|
-
export const UpdateInstanceByNameResponse = /*@__PURE__*/ S.suspend(() =>
|
|
599
|
-
S.Struct({}),
|
|
600
|
-
).annotate({
|
|
569
|
+
export const UpdateInstanceByNameResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
601
570
|
identifier: "UpdateInstanceByNameResponse",
|
|
602
571
|
}) as any as S.Schema<UpdateInstanceByNameResponse>;
|
|
603
572
|
|
|
@@ -616,11 +585,7 @@ export const createInstance: API.OperationMethod<
|
|
|
616
585
|
retry: Retry.Retry,
|
|
617
586
|
}));
|
|
618
587
|
|
|
619
|
-
export type DeleteInstanceError =
|
|
620
|
-
| BadRequest
|
|
621
|
-
| NotFound
|
|
622
|
-
| Conflict
|
|
623
|
-
| StackitOpError;
|
|
588
|
+
export type DeleteInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
624
589
|
/** Deletes the given instance. */
|
|
625
590
|
export const deleteInstance: API.OperationMethod<
|
|
626
591
|
DeleteInstanceRequest,
|
|
@@ -635,11 +600,7 @@ export const deleteInstance: API.OperationMethod<
|
|
|
635
600
|
retry: Retry.Retry,
|
|
636
601
|
}));
|
|
637
602
|
|
|
638
|
-
export type DeleteInstanceByNameError =
|
|
639
|
-
| BadRequest
|
|
640
|
-
| NotFound
|
|
641
|
-
| Conflict
|
|
642
|
-
| StackitOpError;
|
|
603
|
+
export type DeleteInstanceByNameError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
643
604
|
/** Deletes the given instance by name. */
|
|
644
605
|
export const deleteInstanceByName: API.OperationMethod<
|
|
645
606
|
DeleteInstanceByNameRequest,
|
|
@@ -684,10 +645,7 @@ export const getInstanceByName: API.OperationMethod<
|
|
|
684
645
|
retry: Retry.Retry,
|
|
685
646
|
}));
|
|
686
647
|
|
|
687
|
-
export type GetKubeconfigByInstanceIdError =
|
|
688
|
-
| BadRequest
|
|
689
|
-
| NotFound
|
|
690
|
-
| StackitOpError;
|
|
648
|
+
export type GetKubeconfigByInstanceIdError = BadRequest | NotFound | StackitOpError;
|
|
691
649
|
/** Returns the kubeconfig for the given instance. */
|
|
692
650
|
export const getKubeconfigByInstanceId: API.OperationMethod<
|
|
693
651
|
GetKubeconfigByInstanceIdRequest,
|
|
@@ -702,10 +660,7 @@ export const getKubeconfigByInstanceId: API.OperationMethod<
|
|
|
702
660
|
retry: Retry.Retry,
|
|
703
661
|
}));
|
|
704
662
|
|
|
705
|
-
export type GetKubeconfigByInstanceNameError =
|
|
706
|
-
| BadRequest
|
|
707
|
-
| NotFound
|
|
708
|
-
| StackitOpError;
|
|
663
|
+
export type GetKubeconfigByInstanceNameError = BadRequest | NotFound | StackitOpError;
|
|
709
664
|
/** Returns the kubeconfig for the given instance. */
|
|
710
665
|
export const getKubeconfigByInstanceName: API.OperationMethod<
|
|
711
666
|
GetKubeconfigByInstanceNameRequest,
|
|
@@ -735,10 +690,7 @@ export const getTokenByInstanceId: API.OperationMethod<
|
|
|
735
690
|
retry: Retry.Retry,
|
|
736
691
|
}));
|
|
737
692
|
|
|
738
|
-
export type GetTokenByInstanceNameError =
|
|
739
|
-
| BadRequest
|
|
740
|
-
| NotFound
|
|
741
|
-
| StackitOpError;
|
|
693
|
+
export type GetTokenByInstanceNameError = BadRequest | NotFound | StackitOpError;
|
|
742
694
|
/** Returns an ServiceAccount token. */
|
|
743
695
|
export const getTokenByInstanceName: API.OperationMethod<
|
|
744
696
|
GetTokenByInstanceNameRequest,
|
|
@@ -753,10 +705,7 @@ export const getTokenByInstanceName: API.OperationMethod<
|
|
|
753
705
|
retry: Retry.Retry,
|
|
754
706
|
}));
|
|
755
707
|
|
|
756
|
-
export type ListCompatibleKubernetesReleasesError =
|
|
757
|
-
| BadRequest
|
|
758
|
-
| NotFound
|
|
759
|
-
| StackitOpError;
|
|
708
|
+
export type ListCompatibleKubernetesReleasesError = BadRequest | NotFound | StackitOpError;
|
|
760
709
|
export const listCompatibleKubernetesReleases: API.OperationMethod<
|
|
761
710
|
ListCompatibleKubernetesReleasesRequest,
|
|
762
711
|
KubernetesReleaseList,
|
|
@@ -800,11 +749,7 @@ export const listPlansProject: API.OperationMethod<
|
|
|
800
749
|
retry: Retry.Retry,
|
|
801
750
|
}));
|
|
802
751
|
|
|
803
|
-
export type UpdateInstanceError =
|
|
804
|
-
| BadRequest
|
|
805
|
-
| NotFound
|
|
806
|
-
| Conflict
|
|
807
|
-
| StackitOpError;
|
|
752
|
+
export type UpdateInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
808
753
|
/** Updates the given instance. */
|
|
809
754
|
export const updateInstance: API.OperationMethod<
|
|
810
755
|
UpdateInstanceRequest,
|
|
@@ -819,11 +764,7 @@ export const updateInstance: API.OperationMethod<
|
|
|
819
764
|
retry: Retry.Retry,
|
|
820
765
|
}));
|
|
821
766
|
|
|
822
|
-
export type UpdateInstanceByNameError =
|
|
823
|
-
| BadRequest
|
|
824
|
-
| NotFound
|
|
825
|
-
| Conflict
|
|
826
|
-
| StackitOpError;
|
|
767
|
+
export type UpdateInstanceByNameError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
827
768
|
/** Updates the given instance. */
|
|
828
769
|
export const updateInstanceByName: API.OperationMethod<
|
|
829
770
|
UpdateInstanceByNameRequest,
|