@distilled.cloud/stackit 0.0.0-stage → 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/LICENSE +201 -0
- package/README.md +33 -2
- package/lib/credentials.d.ts +29 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +49 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +30 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +30 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +9 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +45 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +32 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +147 -0
- package/lib/protocol.js.map +1 -0
- 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 +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +31 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/alb.d.ts +603 -0
- package/lib/services/alb.d.ts.map +1 -0
- package/lib/services/alb.js +513 -0
- package/lib/services/alb.js.map +1 -0
- package/lib/services/alb_waf.d.ts +526 -0
- package/lib/services/alb_waf.d.ts.map +1 -0
- package/lib/services/alb_waf.js +521 -0
- package/lib/services/alb_waf.js.map +1 -0
- package/lib/services/authorization.d.ts +251 -0
- package/lib/services/authorization.d.ts.map +1 -0
- package/lib/services/authorization.js +323 -0
- package/lib/services/authorization.js.map +1 -0
- package/lib/services/automation.d.ts +321 -0
- package/lib/services/automation.d.ts.map +1 -0
- package/lib/services/automation.js +363 -0
- package/lib/services/automation.js.map +1 -0
- package/lib/services/cdn.d.ts +1239 -0
- package/lib/services/cdn.d.ts.map +1 -0
- package/lib/services/cdn.js +906 -0
- package/lib/services/cdn.js.map +1 -0
- package/lib/services/certificates.d.ts +201 -0
- package/lib/services/certificates.d.ts.map +1 -0
- package/lib/services/certificates.js +179 -0
- package/lib/services/certificates.js.map +1 -0
- package/lib/services/cost.d.ts +222 -0
- package/lib/services/cost.d.ts.map +1 -0
- package/lib/services/cost.js +177 -0
- package/lib/services/cost.js.map +1 -0
- package/lib/services/dns.d.ts +842 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +726 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/dremio.d.ts +358 -0
- package/lib/services/dremio.d.ts.map +1 -0
- package/lib/services/dremio.js +317 -0
- package/lib/services/dremio.js.map +1 -0
- package/lib/services/edge.d.ts +312 -0
- package/lib/services/edge.d.ts.map +1 -0
- package/lib/services/edge.js +357 -0
- package/lib/services/edge.js.map +1 -0
- package/lib/services/functions.d.ts +409 -0
- package/lib/services/functions.d.ts.map +1 -0
- package/lib/services/functions.js +399 -0
- package/lib/services/functions.js.map +1 -0
- package/lib/services/git.d.ts +497 -0
- package/lib/services/git.d.ts.map +1 -0
- package/lib/services/git.js +520 -0
- package/lib/services/git.js.map +1 -0
- package/lib/services/iaas.d.ts +2986 -0
- package/lib/services/iaas.d.ts.map +1 -0
- package/lib/services/iaas.js +3543 -0
- package/lib/services/iaas.js.map +1 -0
- package/lib/services/index.d.ts +51 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +52 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/intake.d.ts +555 -0
- package/lib/services/intake.d.ts.map +1 -0
- package/lib/services/intake.js +475 -0
- package/lib/services/intake.js.map +1 -0
- package/lib/services/kms.d.ts +654 -0
- package/lib/services/kms.d.ts.map +1 -0
- package/lib/services/kms.js +663 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/lb_ip_lists.d.ts +160 -0
- package/lib/services/lb_ip_lists.d.ts.map +1 -0
- package/lib/services/lb_ip_lists.js +154 -0
- package/lib/services/lb_ip_lists.js.map +1 -0
- package/lib/services/load_balancer.d.ts +563 -0
- package/lib/services/load_balancer.d.ts.map +1 -0
- package/lib/services/load_balancer.js +497 -0
- package/lib/services/load_balancer.js.map +1 -0
- package/lib/services/logme.d.ts +516 -0
- package/lib/services/logme.d.ts.map +1 -0
- package/lib/services/logme.js +574 -0
- package/lib/services/logme.js.map +1 -0
- package/lib/services/logs.d.ts +436 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +475 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/mariadb.d.ts +479 -0
- package/lib/services/mariadb.d.ts.map +1 -0
- package/lib/services/mariadb.js +551 -0
- package/lib/services/mariadb.js.map +1 -0
- package/lib/services/model_experiments.d.ts +306 -0
- package/lib/services/model_experiments.d.ts.map +1 -0
- package/lib/services/model_experiments.js +336 -0
- package/lib/services/model_experiments.js.map +1 -0
- package/lib/services/model_serving.d.ts +289 -0
- package/lib/services/model_serving.d.ts.map +1 -0
- package/lib/services/model_serving.js +287 -0
- package/lib/services/model_serving.js.map +1 -0
- package/lib/services/mongodb_flex.d.ts +826 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -0
- package/lib/services/mongodb_flex.js +803 -0
- package/lib/services/mongodb_flex.js.map +1 -0
- package/lib/services/object_storage.d.ts +470 -0
- package/lib/services/object_storage.d.ts.map +1 -0
- package/lib/services/object_storage.js +540 -0
- package/lib/services/object_storage.js.map +1 -0
- package/lib/services/observability.d.ts +2750 -0
- package/lib/services/observability.d.ts.map +1 -0
- package/lib/services/observability.js +3158 -0
- package/lib/services/observability.js.map +1 -0
- package/lib/services/opensearch.d.ts +505 -0
- package/lib/services/opensearch.d.ts.map +1 -0
- package/lib/services/opensearch.js +563 -0
- package/lib/services/opensearch.js.map +1 -0
- package/lib/services/pim.d.ts +997 -0
- package/lib/services/pim.d.ts.map +1 -0
- package/lib/services/pim.js +736 -0
- package/lib/services/pim.js.map +1 -0
- package/lib/services/postgres_flex.d.ts +854 -0
- package/lib/services/postgres_flex.d.ts.map +1 -0
- package/lib/services/postgres_flex.js +853 -0
- package/lib/services/postgres_flex.js.map +1 -0
- package/lib/services/pubsub.d.ts +489 -0
- package/lib/services/pubsub.d.ts.map +1 -0
- package/lib/services/pubsub.js +519 -0
- package/lib/services/pubsub.js.map +1 -0
- package/lib/services/rabbitmq.d.ts +523 -0
- package/lib/services/rabbitmq.d.ts.map +1 -0
- package/lib/services/rabbitmq.js +574 -0
- package/lib/services/rabbitmq.js.map +1 -0
- package/lib/services/registry.d.ts +212 -0
- package/lib/services/registry.d.ts.map +1 -0
- package/lib/services/registry.js +198 -0
- package/lib/services/registry.js.map +1 -0
- package/lib/services/resource_manager.d.ts +458 -0
- package/lib/services/resource_manager.d.ts.map +1 -0
- package/lib/services/resource_manager.js +473 -0
- package/lib/services/resource_manager.js.map +1 -0
- package/lib/services/run_command.d.ts +175 -0
- package/lib/services/run_command.d.ts.map +1 -0
- package/lib/services/run_command.js +185 -0
- package/lib/services/run_command.js.map +1 -0
- package/lib/services/sca.d.ts +553 -0
- package/lib/services/sca.d.ts.map +1 -0
- package/lib/services/sca.js +445 -0
- package/lib/services/sca.js.map +1 -0
- package/lib/services/scf.d.ts +498 -0
- package/lib/services/scf.d.ts.map +1 -0
- package/lib/services/scf.js +670 -0
- package/lib/services/scf.js.map +1 -0
- package/lib/services/secrets_manager.d.ts +505 -0
- package/lib/services/secrets_manager.d.ts.map +1 -0
- package/lib/services/secrets_manager.js +613 -0
- package/lib/services/secrets_manager.js.map +1 -0
- package/lib/services/server_backup.d.ts +380 -0
- package/lib/services/server_backup.d.ts.map +1 -0
- package/lib/services/server_backup.js +454 -0
- package/lib/services/server_backup.js.map +1 -0
- package/lib/services/server_update.d.ts +292 -0
- package/lib/services/server_update.d.ts.map +1 -0
- package/lib/services/server_update.js +352 -0
- package/lib/services/server_update.js.map +1 -0
- package/lib/services/service_account.d.ts +465 -0
- package/lib/services/service_account.d.ts.map +1 -0
- package/lib/services/service_account.js +506 -0
- package/lib/services/service_account.js.map +1 -0
- package/lib/services/service_enablement.d.ts +149 -0
- package/lib/services/service_enablement.d.ts.map +1 -0
- package/lib/services/service_enablement.js +157 -0
- package/lib/services/service_enablement.js.map +1 -0
- package/lib/services/sfs.d.ts +721 -0
- package/lib/services/sfs.d.ts.map +1 -0
- package/lib/services/sfs.js +790 -0
- package/lib/services/sfs.js.map +1 -0
- package/lib/services/ske.d.ts +562 -0
- package/lib/services/ske.d.ts.map +1 -0
- package/lib/services/ske.js +558 -0
- package/lib/services/ske.js.map +1 -0
- package/lib/services/sqlserverflex.d.ts +956 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -0
- package/lib/services/sqlserverflex.js +936 -0
- package/lib/services/sqlserverflex.js.map +1 -0
- package/lib/services/stackit_marketplace.d.ts +288 -0
- package/lib/services/stackit_marketplace.d.ts.map +1 -0
- package/lib/services/stackit_marketplace.js +379 -0
- package/lib/services/stackit_marketplace.js.map +1 -0
- package/lib/services/telemetry_link.d.ts +443 -0
- package/lib/services/telemetry_link.d.ts.map +1 -0
- package/lib/services/telemetry_link.js +532 -0
- package/lib/services/telemetry_link.js.map +1 -0
- package/lib/services/telemetry_router.d.ts +493 -0
- package/lib/services/telemetry_router.d.ts.map +1 -0
- package/lib/services/telemetry_router.js +484 -0
- package/lib/services/telemetry_router.js.map +1 -0
- package/lib/services/ufw.d.ts +295 -0
- package/lib/services/ufw.d.ts.map +1 -0
- package/lib/services/ufw.js +279 -0
- package/lib/services/ufw.js.map +1 -0
- package/lib/services/valkey.d.ts +505 -0
- package/lib/services/valkey.d.ts.map +1 -0
- package/lib/services/valkey.js +567 -0
- package/lib/services/valkey.js.map +1 -0
- package/lib/services/vpn.d.ts +1024 -0
- package/lib/services/vpn.d.ts.map +1 -0
- package/lib/services/vpn.js +931 -0
- package/lib/services/vpn.js.map +1 -0
- package/lib/services/workflows.d.ts +600 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +508 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/traits.d.ts +24 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +15 -0
- package/lib/traits.js.map +1 -0
- package/package.json +85 -3
- package/src/credentials.ts +84 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +34 -0
- package/src/pagination.ts +57 -0
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +225 -0
- package/src/retry.ts +47 -0
- package/src/services/alb.ts +1326 -0
- package/src/services/alb_waf.ts +1288 -0
- package/src/services/authorization.ts +704 -0
- package/src/services/automation.ts +796 -0
- package/src/services/cdn.ts +2576 -0
- package/src/services/certificates.ts +418 -0
- package/src/services/cost.ts +449 -0
- package/src/services/dns.ts +1936 -0
- package/src/services/dremio.ts +753 -0
- package/src/services/edge.ts +780 -0
- package/src/services/functions.ts +957 -0
- package/src/services/git.ts +1194 -0
- package/src/services/iaas.ts +7878 -0
- package/src/services/index.ts +51 -0
- package/src/services/intake.ts +1166 -0
- package/src/services/kms.ts +1537 -0
- package/src/services/lb_ip_lists.ts +342 -0
- package/src/services/load_balancer.ts +1266 -0
- package/src/services/logme.ts +1284 -0
- package/src/services/logs.ts +1049 -0
- package/src/services/mariadb.ts +1212 -0
- package/src/services/model_experiments.ts +741 -0
- package/src/services/model_serving.ts +654 -0
- package/src/services/mongodb_flex.ts +1932 -0
- package/src/services/object_storage.ts +1195 -0
- package/src/services/observability.ts +7364 -0
- package/src/services/opensearch.ts +1265 -0
- package/src/services/pim.ts +1985 -0
- package/src/services/postgres_flex.ts +2080 -0
- package/src/services/pubsub.ts +1193 -0
- package/src/services/rabbitmq.ts +1310 -0
- package/src/services/registry.ts +446 -0
- package/src/services/resource_manager.ts +1072 -0
- package/src/services/run_command.ts +413 -0
- package/src/services/sca.ts +1187 -0
- package/src/services/scf.ts +1396 -0
- package/src/services/secrets_manager.ts +1317 -0
- package/src/services/server_backup.ts +983 -0
- package/src/services/server_update.ts +738 -0
- package/src/services/service_account.ts +1121 -0
- package/src/services/service_enablement.ts +330 -0
- package/src/services/sfs.ts +1831 -0
- package/src/services/ske.ts +1386 -0
- package/src/services/sqlserverflex.ts +2307 -0
- package/src/services/stackit_marketplace.ts +787 -0
- package/src/services/telemetry_link.ts +1166 -0
- package/src/services/telemetry_router.ts +1110 -0
- package/src/services/ufw.ts +654 -0
- package/src/services/valkey.ts +1266 -0
- package/src/services/vpn.ts +2365 -0
- package/src/services/workflows.ts +1249 -0
- package/src/traits.ts +60 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
5
|
+
import * as Redacted from "effect/Redacted";
|
|
6
|
+
import { UnknownStackitError } from "../errors.js";
|
|
7
|
+
import { StackitProtocol } from "../protocol.js";
|
|
8
|
+
import * as Retry from "../retry.js";
|
|
9
|
+
import * as T from "../traits.js";
|
|
10
|
+
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
11
|
+
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
12
|
+
code: S.Number,
|
|
13
|
+
message: S.String,
|
|
14
|
+
}).pipe(C.withBadRequestError), [{ status: 400 }]) {
|
|
15
|
+
}
|
|
16
|
+
export class Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
|
+
/*@__PURE__*/ S.TaggedError()("Conflict", {
|
|
18
|
+
code: S.Number,
|
|
19
|
+
message: S.String,
|
|
20
|
+
}).pipe(C.withConflictError), [{ status: 409 }]) {
|
|
21
|
+
}
|
|
22
|
+
export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
23
|
+
/*@__PURE__*/ S.TaggedError()("NotFound", {
|
|
24
|
+
code: S.Number,
|
|
25
|
+
message: S.String,
|
|
26
|
+
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
27
|
+
}
|
|
28
|
+
export const CreateDremioInstanceRequestRegionId = S.String;
|
|
29
|
+
export const AzureadInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
30
|
+
authorityUrl: S.String,
|
|
31
|
+
clientId: S.String,
|
|
32
|
+
clientSecret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
33
|
+
})).annotate({ identifier: "AzureadInput" });
|
|
34
|
+
export const OauthInputJwtClaims = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
35
|
+
userName: S.String,
|
|
36
|
+
})).annotate({ identifier: "OauthInputJwtClaims" });
|
|
37
|
+
export const AuthParameters = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
38
|
+
name: S.String,
|
|
39
|
+
value: S.String,
|
|
40
|
+
})).annotate({ identifier: "AuthParameters" });
|
|
41
|
+
export const OauthInputParametersList = /*@__PURE__*/ S.Array(AuthParameters);
|
|
42
|
+
export const OauthInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
43
|
+
authorityUrl: S.String,
|
|
44
|
+
clientId: S.String,
|
|
45
|
+
clientSecret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
46
|
+
jwtClaims: OauthInputJwtClaims,
|
|
47
|
+
parameters: S.optional(OauthInputParametersList),
|
|
48
|
+
scope: S.optional(S.String),
|
|
49
|
+
})).annotate({ identifier: "OauthInput" });
|
|
50
|
+
export const AuthenticationInputType = S.String;
|
|
51
|
+
export const AuthenticationInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
52
|
+
azuread: S.optional(AzureadInput),
|
|
53
|
+
oauth: S.optional(OauthInput),
|
|
54
|
+
type: AuthenticationInputType,
|
|
55
|
+
})).annotate({ identifier: "AuthenticationInput" });
|
|
56
|
+
export const CreateDremioInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
57
|
+
projectId: S.String.pipe(T.Label()),
|
|
58
|
+
regionId: CreateDremioInstanceRequestRegionId.pipe(T.Label()),
|
|
59
|
+
authentication: S.optional(AuthenticationInput),
|
|
60
|
+
description: S.optional(S.String),
|
|
61
|
+
displayName: S.String,
|
|
62
|
+
}).pipe(T.Http({
|
|
63
|
+
method: "POST",
|
|
64
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios",
|
|
65
|
+
code: 200,
|
|
66
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
67
|
+
}))).annotate({
|
|
68
|
+
identifier: "CreateDremioInstanceRequest",
|
|
69
|
+
});
|
|
70
|
+
export const AzureadOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
71
|
+
authorityUrl: S.String,
|
|
72
|
+
clientId: S.String,
|
|
73
|
+
redirectUrl: S.optional(S.String),
|
|
74
|
+
})).annotate({ identifier: "AzureadOutput" });
|
|
75
|
+
export const OauthOutputJwtClaims = OauthInputJwtClaims;
|
|
76
|
+
export const OauthOutputParametersList = /*@__PURE__*/ S.Array(AuthParameters);
|
|
77
|
+
export const OauthOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
78
|
+
authorityUrl: S.String,
|
|
79
|
+
clientId: S.String,
|
|
80
|
+
jwtClaims: OauthInputJwtClaims,
|
|
81
|
+
parameters: S.optional(OauthOutputParametersList),
|
|
82
|
+
redirectUrl: S.optional(S.String),
|
|
83
|
+
scope: S.optional(S.String),
|
|
84
|
+
})).annotate({ identifier: "OauthOutput" });
|
|
85
|
+
export const AuthenticationOutputType = S.String;
|
|
86
|
+
export const AuthenticationOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
87
|
+
azuread: S.optional(AzureadOutput),
|
|
88
|
+
oauth: S.optional(OauthOutput),
|
|
89
|
+
type: AuthenticationOutputType,
|
|
90
|
+
})).annotate({ identifier: "AuthenticationOutput" });
|
|
91
|
+
export const Endpoints = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
92
|
+
arrowFlight: S.String,
|
|
93
|
+
catalog: S.String,
|
|
94
|
+
ui: S.String,
|
|
95
|
+
})).annotate({ identifier: "Endpoints" });
|
|
96
|
+
export const DremioResponseOutputState = S.String;
|
|
97
|
+
export const DremioResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
98
|
+
authentication: AuthenticationOutput,
|
|
99
|
+
create_time: S.String,
|
|
100
|
+
description: S.optional(S.String),
|
|
101
|
+
displayName: S.String,
|
|
102
|
+
endpoints: Endpoints,
|
|
103
|
+
errorMessage: S.optional(S.String),
|
|
104
|
+
id: S.String,
|
|
105
|
+
state: DremioResponseOutputState,
|
|
106
|
+
})).annotate({ identifier: "DremioResponseOutput" });
|
|
107
|
+
export const CreateDremioUserRequestRegionId = S.String;
|
|
108
|
+
export const CreateDremioUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
109
|
+
projectId: S.String.pipe(T.Label()),
|
|
110
|
+
regionId: CreateDremioUserRequestRegionId.pipe(T.Label()),
|
|
111
|
+
dremioId: S.String.pipe(T.Label()),
|
|
112
|
+
description: S.optional(S.String),
|
|
113
|
+
email: S.String,
|
|
114
|
+
firstName: S.String,
|
|
115
|
+
lastName: S.String,
|
|
116
|
+
name: S.String,
|
|
117
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
118
|
+
}).pipe(T.Http({
|
|
119
|
+
method: "POST",
|
|
120
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios/{dremioId}/users",
|
|
121
|
+
code: 200,
|
|
122
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
123
|
+
}))).annotate({ identifier: "CreateDremioUserRequest" });
|
|
124
|
+
export const DremioUserResponseState = S.String;
|
|
125
|
+
export const DremioUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
126
|
+
create_time: S.optional(S.String),
|
|
127
|
+
description: S.optional(S.String),
|
|
128
|
+
email: S.String,
|
|
129
|
+
errorMessage: S.optional(S.String),
|
|
130
|
+
firstName: S.String,
|
|
131
|
+
id: S.String,
|
|
132
|
+
lastName: S.String,
|
|
133
|
+
name: S.String,
|
|
134
|
+
state: DremioUserResponseState,
|
|
135
|
+
})).annotate({ identifier: "DremioUserResponse" });
|
|
136
|
+
export const DeleteDremioInstanceRequestRegionId = S.String;
|
|
137
|
+
export const DeleteDremioInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
138
|
+
projectId: S.String.pipe(T.Label()),
|
|
139
|
+
regionId: DeleteDremioInstanceRequestRegionId.pipe(T.Label()),
|
|
140
|
+
dremioId: S.String.pipe(T.Label()),
|
|
141
|
+
}).pipe(T.Http({
|
|
142
|
+
method: "DELETE",
|
|
143
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios/{dremioId}",
|
|
144
|
+
code: 200,
|
|
145
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
146
|
+
}))).annotate({
|
|
147
|
+
identifier: "DeleteDremioInstanceRequest",
|
|
148
|
+
});
|
|
149
|
+
export const DeleteDremioInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
150
|
+
identifier: "DeleteDremioInstanceResponse",
|
|
151
|
+
});
|
|
152
|
+
export const DeleteDremioUserRequestRegionId = S.String;
|
|
153
|
+
export const DeleteDremioUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
154
|
+
projectId: S.String.pipe(T.Label()),
|
|
155
|
+
regionId: DeleteDremioUserRequestRegionId.pipe(T.Label()),
|
|
156
|
+
dremioId: S.String.pipe(T.Label()),
|
|
157
|
+
dremioUserId: S.String.pipe(T.Label()),
|
|
158
|
+
}).pipe(T.Http({
|
|
159
|
+
method: "DELETE",
|
|
160
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios/{dremioId}/users/{dremioUserId}",
|
|
161
|
+
code: 200,
|
|
162
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
163
|
+
}))).annotate({ identifier: "DeleteDremioUserRequest" });
|
|
164
|
+
export const DeleteDremioUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
165
|
+
identifier: "DeleteDremioUserResponse",
|
|
166
|
+
});
|
|
167
|
+
export const GetDremioInstanceRequestRegionId = S.String;
|
|
168
|
+
export const GetDremioInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
169
|
+
projectId: S.String.pipe(T.Label()),
|
|
170
|
+
regionId: GetDremioInstanceRequestRegionId.pipe(T.Label()),
|
|
171
|
+
dremioId: S.String.pipe(T.Label()),
|
|
172
|
+
}).pipe(T.Http({
|
|
173
|
+
method: "GET",
|
|
174
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios/{dremioId}",
|
|
175
|
+
code: 200,
|
|
176
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
177
|
+
}))).annotate({ identifier: "GetDremioInstanceRequest" });
|
|
178
|
+
export const GetDremioUserRequestRegionId = S.String;
|
|
179
|
+
export const GetDremioUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
180
|
+
projectId: S.String.pipe(T.Label()),
|
|
181
|
+
regionId: GetDremioUserRequestRegionId.pipe(T.Label()),
|
|
182
|
+
dremioId: S.String.pipe(T.Label()),
|
|
183
|
+
dremioUserId: S.String.pipe(T.Label()),
|
|
184
|
+
}).pipe(T.Http({
|
|
185
|
+
method: "GET",
|
|
186
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios/{dremioId}/users/{dremioUserId}",
|
|
187
|
+
code: 200,
|
|
188
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
189
|
+
}))).annotate({ identifier: "GetDremioUserRequest" });
|
|
190
|
+
export const ListDremioInstancesRequestRegionId = S.String;
|
|
191
|
+
export const ListDremioInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
192
|
+
projectId: S.String.pipe(T.Label()),
|
|
193
|
+
regionId: ListDremioInstancesRequestRegionId.pipe(T.Label()),
|
|
194
|
+
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
195
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
196
|
+
}).pipe(T.Http({
|
|
197
|
+
method: "GET",
|
|
198
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios",
|
|
199
|
+
code: 200,
|
|
200
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
201
|
+
}))).annotate({
|
|
202
|
+
identifier: "ListDremioInstancesRequest",
|
|
203
|
+
});
|
|
204
|
+
export const ListDremiosResponseOutputDremiosList = /*@__PURE__*/ S.Array(DremioResponseOutput);
|
|
205
|
+
export const ListDremiosResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
206
|
+
dremios: ListDremiosResponseOutputDremiosList,
|
|
207
|
+
nextPageToken: S.optional(S.String),
|
|
208
|
+
})).annotate({
|
|
209
|
+
identifier: "ListDremiosResponseOutput",
|
|
210
|
+
});
|
|
211
|
+
export const ListDremioUsersRequestRegionId = S.String;
|
|
212
|
+
export const ListDremioUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
213
|
+
projectId: S.String.pipe(T.Label()),
|
|
214
|
+
regionId: ListDremioUsersRequestRegionId.pipe(T.Label()),
|
|
215
|
+
dremioId: S.String.pipe(T.Label()),
|
|
216
|
+
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
217
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
218
|
+
}).pipe(T.Http({
|
|
219
|
+
method: "GET",
|
|
220
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios/{dremioId}/users",
|
|
221
|
+
code: 200,
|
|
222
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
223
|
+
}))).annotate({ identifier: "ListDremioUsersRequest" });
|
|
224
|
+
export const ListDremioUsersResponseDremioUsersList = /*@__PURE__*/ S.Array(DremioUserResponse);
|
|
225
|
+
export const ListDremioUsersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
226
|
+
dremioUsers: ListDremioUsersResponseDremioUsersList,
|
|
227
|
+
nextPageToken: S.optional(S.String),
|
|
228
|
+
})).annotate({ identifier: "ListDremioUsersResponse" });
|
|
229
|
+
export const UpdateDremioInstanceRequestRegionId = S.String;
|
|
230
|
+
export const UpdateDremioInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
231
|
+
projectId: S.String.pipe(T.Label()),
|
|
232
|
+
regionId: UpdateDremioInstanceRequestRegionId.pipe(T.Label()),
|
|
233
|
+
dremioId: S.String.pipe(T.Label()),
|
|
234
|
+
authentication: S.optional(AuthenticationInput),
|
|
235
|
+
description: S.optional(S.String),
|
|
236
|
+
displayName: S.optional(S.String),
|
|
237
|
+
}).pipe(T.Http({
|
|
238
|
+
method: "PUT",
|
|
239
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios/{dremioId}",
|
|
240
|
+
code: 200,
|
|
241
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
242
|
+
}))).annotate({
|
|
243
|
+
identifier: "UpdateDremioInstanceRequest",
|
|
244
|
+
});
|
|
245
|
+
/** Creates a new Dremio instance within the project. */
|
|
246
|
+
export const createDremioInstance = /*@__PURE__*/ API.make(() => ({
|
|
247
|
+
input: CreateDremioInstanceRequest,
|
|
248
|
+
output: DremioResponseOutput,
|
|
249
|
+
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
250
|
+
protocol: StackitProtocol,
|
|
251
|
+
retry: Retry.Retry,
|
|
252
|
+
}));
|
|
253
|
+
/** Creates a new Dremio admin user for the given Dremio instance. */
|
|
254
|
+
export const createDremioUser = /*@__PURE__*/ API.make(() => ({
|
|
255
|
+
input: CreateDremioUserRequest,
|
|
256
|
+
output: DremioUserResponse,
|
|
257
|
+
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
258
|
+
protocol: StackitProtocol,
|
|
259
|
+
retry: Retry.Retry,
|
|
260
|
+
}));
|
|
261
|
+
/** Deletes the given Dremio instance. */
|
|
262
|
+
export const deleteDremioInstance = /*@__PURE__*/ API.make(() => ({
|
|
263
|
+
input: DeleteDremioInstanceRequest,
|
|
264
|
+
output: DeleteDremioInstanceResponse,
|
|
265
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
266
|
+
protocol: StackitProtocol,
|
|
267
|
+
retry: Retry.Retry,
|
|
268
|
+
}));
|
|
269
|
+
/** Deletes the given dremio admin user. */
|
|
270
|
+
export const deleteDremioUser = /*@__PURE__*/ API.make(() => ({
|
|
271
|
+
input: DeleteDremioUserRequest,
|
|
272
|
+
output: DeleteDremioUserResponse,
|
|
273
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
274
|
+
protocol: StackitProtocol,
|
|
275
|
+
retry: Retry.Retry,
|
|
276
|
+
}));
|
|
277
|
+
/** Returns the details for the given Dremio instance. */
|
|
278
|
+
export const getDremioInstance = /*@__PURE__*/ API.make(() => ({
|
|
279
|
+
input: GetDremioInstanceRequest,
|
|
280
|
+
output: DremioResponseOutput,
|
|
281
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
282
|
+
protocol: StackitProtocol,
|
|
283
|
+
retry: Retry.Retry,
|
|
284
|
+
}));
|
|
285
|
+
/** Returns the details for the given dremio admin user */
|
|
286
|
+
export const getDremioUser = /*@__PURE__*/ API.make(() => ({
|
|
287
|
+
input: GetDremioUserRequest,
|
|
288
|
+
output: DremioUserResponse,
|
|
289
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
290
|
+
protocol: StackitProtocol,
|
|
291
|
+
retry: Retry.Retry,
|
|
292
|
+
}));
|
|
293
|
+
/** Returns a list of all Dremio instances within the project. */
|
|
294
|
+
export const listDremioInstances = /*@__PURE__*/ API.make(() => ({
|
|
295
|
+
input: ListDremioInstancesRequest,
|
|
296
|
+
output: ListDremiosResponseOutput,
|
|
297
|
+
errors: [BadRequest, UnknownStackitError],
|
|
298
|
+
protocol: StackitProtocol,
|
|
299
|
+
retry: Retry.Retry,
|
|
300
|
+
}));
|
|
301
|
+
/** Returns a list of all Dremio admin users for the given dremio instance. */
|
|
302
|
+
export const listDremioUsers = /*@__PURE__*/ API.make(() => ({
|
|
303
|
+
input: ListDremioUsersRequest,
|
|
304
|
+
output: ListDremioUsersResponse,
|
|
305
|
+
errors: [BadRequest, UnknownStackitError],
|
|
306
|
+
protocol: StackitProtocol,
|
|
307
|
+
retry: Retry.Retry,
|
|
308
|
+
}));
|
|
309
|
+
/** 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. */
|
|
310
|
+
export const updateDremioInstance = /*@__PURE__*/ API.make(() => ({
|
|
311
|
+
input: UpdateDremioInstanceRequest,
|
|
312
|
+
output: DremioResponseOutput,
|
|
313
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
314
|
+
protocol: StackitProtocol,
|
|
315
|
+
retry: Retry.Retry,
|
|
316
|
+
}));
|
|
317
|
+
//# sourceMappingURL=dremio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dremio.js","sourceRoot":"","sources":["../../src/services/dremio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,gCAAgC,CAAC;AACpD,wGAAwG;AACxG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,eAAe,EAA8C,MAAM,gBAAgB,CAAC;AAC7F,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,OAAO,UACX,SAAQ,aAAa,CAAb,aAAa,CAAC,CAAC,CAAC,kBAAkB;AACxC,aAAa,CAAC,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EAAiE;AACjE,MAAM,CAAC,MAAM,mBAAmB,GAK5B,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,0BAA0B;IACjC,MAAM,EAAE,yBAAyB;IACjC,MAAM,EAAE,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,8EAA8E;AAC9E,MAAM,CAAC,MAAM,eAAe,GAKxB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,sBAAsB;IAC7B,MAAM,EAAE,uBAAuB;IAC/B,MAAM,EAAE,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,4LAA4L;AAC5L,MAAM,CAAC,MAAM,oBAAoB,GAK7B,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,2BAA2B;IAClC,MAAM,EAAE,oBAAoB;IAC5B,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,CAAC;IAC7D,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
4
|
+
export type { StackitOpError, StackitOpContext };
|
|
5
|
+
declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
|
|
6
|
+
readonly code: any;
|
|
7
|
+
readonly message: any;
|
|
8
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
9
|
+
"@distilled.cloud/error/categories": {
|
|
10
|
+
BadRequestError: true;
|
|
11
|
+
};
|
|
12
|
+
});
|
|
13
|
+
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
|
+
}
|
|
15
|
+
declare const Conflict_base: S.Class<Conflict, S.TaggedStruct<"Conflict", {
|
|
16
|
+
readonly code: any;
|
|
17
|
+
readonly message: any;
|
|
18
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
19
|
+
"@distilled.cloud/error/categories": {
|
|
20
|
+
ConflictError: true;
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
24
|
+
}
|
|
25
|
+
declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
|
|
26
|
+
readonly code: any;
|
|
27
|
+
readonly message: any;
|
|
28
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
29
|
+
"@distilled.cloud/error/categories": {
|
|
30
|
+
BadRequestError: true;
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
34
|
+
}
|
|
35
|
+
export interface CreateInstanceRequest {
|
|
36
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
37
|
+
projectId: string;
|
|
38
|
+
/** The STACKIT region the instance is part of. */
|
|
39
|
+
regionId: string;
|
|
40
|
+
/** A user chosen description to distinguish multiple instances. */
|
|
41
|
+
description?: string;
|
|
42
|
+
/** The displayed name to distinguish multiple instances. */
|
|
43
|
+
displayName: string;
|
|
44
|
+
/** Service Plan configures the size of the Instance. */
|
|
45
|
+
planId: string;
|
|
46
|
+
}
|
|
47
|
+
export declare const CreateInstanceRequest: S.Schema<CreateInstanceRequest>;
|
|
48
|
+
export interface IpAllowListEntry {
|
|
49
|
+
/** ISO-8601 timestamp of when the entry was created. */
|
|
50
|
+
createdAt?: string;
|
|
51
|
+
/** Some description of the entry. */
|
|
52
|
+
description?: string;
|
|
53
|
+
/** The IP CIDR range for the ACL entry. */
|
|
54
|
+
ipRange: string;
|
|
55
|
+
/** ISO-8601 timestamp of when the entry was last updated. */
|
|
56
|
+
updatedAt?: string;
|
|
57
|
+
/** The unique identifier for the ipAllowListEntry entry. This value is immutable, used to identify entries for updates, and cannot be changed after creation. */
|
|
58
|
+
uuid: string;
|
|
59
|
+
}
|
|
60
|
+
export declare const IpAllowListEntry: S.Schema<IpAllowListEntry>;
|
|
61
|
+
export type AclIpAllowListList = Array<IpAllowListEntry>;
|
|
62
|
+
export declare const AclIpAllowListList: S.Schema<AclIpAllowListList>;
|
|
63
|
+
/** The ACL config for the instances API. */
|
|
64
|
+
export interface Acl {
|
|
65
|
+
ipAllowList?: AclIpAllowListList;
|
|
66
|
+
}
|
|
67
|
+
export declare const Acl: S.Schema<Acl>;
|
|
68
|
+
/** The current status of the instance. */
|
|
69
|
+
export type InstanceStatus = "error" | "reconciling" | "active" | "deleting";
|
|
70
|
+
export declare const InstanceStatus: any;
|
|
71
|
+
export interface Instance {
|
|
72
|
+
acl?: Acl;
|
|
73
|
+
/** The date and time the creation of the instance was triggered. */
|
|
74
|
+
created: string;
|
|
75
|
+
/** A user chosen description to distinguish multiple instances. */
|
|
76
|
+
description?: string;
|
|
77
|
+
/** The displayed name of the instance. */
|
|
78
|
+
displayName: string;
|
|
79
|
+
/** URL to the Management UI of the Instance. */
|
|
80
|
+
frontendUrl: string;
|
|
81
|
+
/** A auto generated unique id which identifies the instance. */
|
|
82
|
+
id: string;
|
|
83
|
+
/** Service Plan configures the size of the Instance. */
|
|
84
|
+
planId: string;
|
|
85
|
+
/** The current status of the instance. */
|
|
86
|
+
status: InstanceStatus;
|
|
87
|
+
}
|
|
88
|
+
export declare const Instance: S.Schema<Instance>;
|
|
89
|
+
export interface DeleteInstanceRequest {
|
|
90
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
91
|
+
projectId: string;
|
|
92
|
+
/** The STACKIT region the instance is part of. */
|
|
93
|
+
regionId: string;
|
|
94
|
+
/** The full ID of the instance, <display_name>-<project_hash>. */
|
|
95
|
+
instanceId: string;
|
|
96
|
+
}
|
|
97
|
+
export declare const DeleteInstanceRequest: S.Schema<DeleteInstanceRequest>;
|
|
98
|
+
export interface DeleteInstanceResponse {
|
|
99
|
+
}
|
|
100
|
+
export declare const DeleteInstanceResponse: S.Schema<DeleteInstanceResponse>;
|
|
101
|
+
export interface DeleteInstanceByNameRequest {
|
|
102
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
103
|
+
projectId: string;
|
|
104
|
+
/** The STACKIT region the instance is part of. */
|
|
105
|
+
regionId: string;
|
|
106
|
+
/** The instance display name. */
|
|
107
|
+
displayName: string;
|
|
108
|
+
}
|
|
109
|
+
export declare const DeleteInstanceByNameRequest: S.Schema<DeleteInstanceByNameRequest>;
|
|
110
|
+
export interface DeleteInstanceByNameResponse {
|
|
111
|
+
}
|
|
112
|
+
export declare const DeleteInstanceByNameResponse: S.Schema<DeleteInstanceByNameResponse>;
|
|
113
|
+
export interface GetInstanceRequest {
|
|
114
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
115
|
+
projectId: string;
|
|
116
|
+
/** The STACKIT region the instance is part of. */
|
|
117
|
+
regionId: string;
|
|
118
|
+
/** The full ID of the instance, <display_name>-<project_hash>. */
|
|
119
|
+
instanceId: string;
|
|
120
|
+
}
|
|
121
|
+
export declare const GetInstanceRequest: S.Schema<GetInstanceRequest>;
|
|
122
|
+
export interface GetInstanceByNameRequest {
|
|
123
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
124
|
+
projectId: string;
|
|
125
|
+
/** The STACKIT region the instance is part of. */
|
|
126
|
+
regionId: string;
|
|
127
|
+
/** The instance display name. */
|
|
128
|
+
displayName: string;
|
|
129
|
+
}
|
|
130
|
+
export declare const GetInstanceByNameRequest: S.Schema<GetInstanceByNameRequest>;
|
|
131
|
+
export interface GetKubeconfigByInstanceIdRequest {
|
|
132
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
133
|
+
projectId: string;
|
|
134
|
+
/** The STACKIT region the instance is part of. */
|
|
135
|
+
regionId: string;
|
|
136
|
+
/** The full ID of the instance, <display_name>-<project_hash>. */
|
|
137
|
+
instanceId: string;
|
|
138
|
+
/** Expiration of the included token in seconds */
|
|
139
|
+
expirationSeconds?: number;
|
|
140
|
+
}
|
|
141
|
+
export declare const GetKubeconfigByInstanceIdRequest: S.Schema<GetKubeconfigByInstanceIdRequest>;
|
|
142
|
+
/** The kubeconfig for the instance. */
|
|
143
|
+
export type KubeconfigRaw = {
|
|
144
|
+
[key: string]: unknown | undefined;
|
|
145
|
+
};
|
|
146
|
+
export declare const KubeconfigRaw: S.Schema<KubeconfigRaw>;
|
|
147
|
+
export interface Kubeconfig {
|
|
148
|
+
kubeconfig: KubeconfigRaw;
|
|
149
|
+
}
|
|
150
|
+
export declare const Kubeconfig: S.Schema<Kubeconfig>;
|
|
151
|
+
export interface GetKubeconfigByInstanceNameRequest {
|
|
152
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
153
|
+
projectId: string;
|
|
154
|
+
/** The STACKIT region the instance is part of. */
|
|
155
|
+
regionId: string;
|
|
156
|
+
/** The instance display name. */
|
|
157
|
+
displayName: string;
|
|
158
|
+
/** Expiration of the included token in seconds */
|
|
159
|
+
expirationSeconds?: number;
|
|
160
|
+
}
|
|
161
|
+
export declare const GetKubeconfigByInstanceNameRequest: S.Schema<GetKubeconfigByInstanceNameRequest>;
|
|
162
|
+
export interface GetTokenByInstanceIdRequest {
|
|
163
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
164
|
+
projectId: string;
|
|
165
|
+
/** The STACKIT region the instance is part of. */
|
|
166
|
+
regionId: string;
|
|
167
|
+
/** The instance UUID. */
|
|
168
|
+
instanceId: string;
|
|
169
|
+
/** Expiration of the token in seconds */
|
|
170
|
+
expirationSeconds?: number;
|
|
171
|
+
}
|
|
172
|
+
export declare const GetTokenByInstanceIdRequest: S.Schema<GetTokenByInstanceIdRequest>;
|
|
173
|
+
export interface Token {
|
|
174
|
+
token: string;
|
|
175
|
+
}
|
|
176
|
+
export declare const Token: S.Schema<Token>;
|
|
177
|
+
export interface GetTokenByInstanceNameRequest {
|
|
178
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
179
|
+
projectId: string;
|
|
180
|
+
/** The STACKIT region the instance is part of. */
|
|
181
|
+
regionId: string;
|
|
182
|
+
/** The instance display name. */
|
|
183
|
+
displayName: string;
|
|
184
|
+
/** Expiration of the included token in seconds */
|
|
185
|
+
expirationSeconds?: number;
|
|
186
|
+
}
|
|
187
|
+
export declare const GetTokenByInstanceNameRequest: S.Schema<GetTokenByInstanceNameRequest>;
|
|
188
|
+
export interface ListCompatibleKubernetesReleasesRequest {
|
|
189
|
+
/** The name of the Talos release. */
|
|
190
|
+
talosVersion: string;
|
|
191
|
+
}
|
|
192
|
+
export declare const ListCompatibleKubernetesReleasesRequest: S.Schema<ListCompatibleKubernetesReleasesRequest>;
|
|
193
|
+
/** Array of Kubernetes version strings. */
|
|
194
|
+
export type KubernetesReleaseListK8sReleasesList = Array<string>;
|
|
195
|
+
export declare const KubernetesReleaseListK8sReleasesList: S.Schema<KubernetesReleaseListK8sReleasesList>;
|
|
196
|
+
/** A list of compatible Kubernetes releases. */
|
|
197
|
+
export interface KubernetesReleaseList {
|
|
198
|
+
/** Array of Kubernetes version strings. */
|
|
199
|
+
k8s_releases: KubernetesReleaseListK8sReleasesList;
|
|
200
|
+
}
|
|
201
|
+
export declare const KubernetesReleaseList: S.Schema<KubernetesReleaseList>;
|
|
202
|
+
export interface ListInstancesRequest {
|
|
203
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
204
|
+
projectId: string;
|
|
205
|
+
/** The STACKIT region the instance is part of. */
|
|
206
|
+
regionId: string;
|
|
207
|
+
}
|
|
208
|
+
export declare const ListInstancesRequest: S.Schema<ListInstancesRequest>;
|
|
209
|
+
export type InstanceListInstancesList = Array<Instance>;
|
|
210
|
+
export declare const InstanceListInstancesList: S.Schema<InstanceListInstancesList>;
|
|
211
|
+
export interface InstanceList {
|
|
212
|
+
instances: InstanceListInstancesList;
|
|
213
|
+
}
|
|
214
|
+
export declare const InstanceList: S.Schema<InstanceList>;
|
|
215
|
+
export interface ListPlansProjectRequest {
|
|
216
|
+
/** The STACKIT portal project UUID the plan is part of. */
|
|
217
|
+
projectId: string;
|
|
218
|
+
}
|
|
219
|
+
export declare const ListPlansProjectRequest: S.Schema<ListPlansProjectRequest>;
|
|
220
|
+
export interface Plan {
|
|
221
|
+
/** Description */
|
|
222
|
+
description?: string;
|
|
223
|
+
/** Service Plan Identifier */
|
|
224
|
+
id?: string;
|
|
225
|
+
/** Maximum number of EdgeHosts */
|
|
226
|
+
maxEdgeHosts?: number;
|
|
227
|
+
/** Minimum number of EdgeHosts charged */
|
|
228
|
+
minEdgeHosts?: number;
|
|
229
|
+
/** Service Plan Name */
|
|
230
|
+
name?: string;
|
|
231
|
+
}
|
|
232
|
+
export declare const Plan: S.Schema<Plan>;
|
|
233
|
+
export type PlanListValidPlansList = Array<Plan>;
|
|
234
|
+
export declare const PlanListValidPlansList: S.Schema<PlanListValidPlansList>;
|
|
235
|
+
export interface PlanList {
|
|
236
|
+
validPlans?: PlanListValidPlansList;
|
|
237
|
+
}
|
|
238
|
+
export declare const PlanList: S.Schema<PlanList>;
|
|
239
|
+
export interface UpdateInstanceRequest {
|
|
240
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
241
|
+
projectId: string;
|
|
242
|
+
/** The STACKIT region the instance is part of. */
|
|
243
|
+
regionId: string;
|
|
244
|
+
/** The full ID of the instance, <display_name>-<project_hash>. */
|
|
245
|
+
instanceId: string;
|
|
246
|
+
/** A user chosen description to distinguish multiple instances. */
|
|
247
|
+
description?: string;
|
|
248
|
+
/** Service Plan configures the size of the Instance. */
|
|
249
|
+
planId?: string;
|
|
250
|
+
}
|
|
251
|
+
export declare const UpdateInstanceRequest: S.Schema<UpdateInstanceRequest>;
|
|
252
|
+
export interface UpdateInstanceResponse {
|
|
253
|
+
}
|
|
254
|
+
export declare const UpdateInstanceResponse: S.Schema<UpdateInstanceResponse>;
|
|
255
|
+
export interface UpdateInstanceByNameRequest {
|
|
256
|
+
/** The STACKIT portal project UUID the instance is part of. */
|
|
257
|
+
projectId: string;
|
|
258
|
+
/** The STACKIT region the instance is part of. */
|
|
259
|
+
regionId: string;
|
|
260
|
+
/** The instance display name. */
|
|
261
|
+
displayName: string;
|
|
262
|
+
/** A user chosen description to distinguish multiple instances. */
|
|
263
|
+
description?: string;
|
|
264
|
+
/** Service Plan configures the size of the Instance. */
|
|
265
|
+
planId?: string;
|
|
266
|
+
}
|
|
267
|
+
export declare const UpdateInstanceByNameRequest: S.Schema<UpdateInstanceByNameRequest>;
|
|
268
|
+
export interface UpdateInstanceByNameResponse {
|
|
269
|
+
}
|
|
270
|
+
export declare const UpdateInstanceByNameResponse: S.Schema<UpdateInstanceByNameResponse>;
|
|
271
|
+
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
272
|
+
/** Creates a new instance within the project. */
|
|
273
|
+
export declare const createInstance: API.OperationMethod<CreateInstanceRequest, Instance, CreateInstanceError, StackitOpContext>;
|
|
274
|
+
export type DeleteInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
275
|
+
/** Deletes the given instance. */
|
|
276
|
+
export declare const deleteInstance: API.OperationMethod<DeleteInstanceRequest, DeleteInstanceResponse, DeleteInstanceError, StackitOpContext>;
|
|
277
|
+
export type DeleteInstanceByNameError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
278
|
+
/** Deletes the given instance by name. */
|
|
279
|
+
export declare const deleteInstanceByName: API.OperationMethod<DeleteInstanceByNameRequest, DeleteInstanceByNameResponse, DeleteInstanceByNameError, StackitOpContext>;
|
|
280
|
+
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
281
|
+
/** Returns the details for the given instance. */
|
|
282
|
+
export declare const getInstance: API.OperationMethod<GetInstanceRequest, Instance, GetInstanceError, StackitOpContext>;
|
|
283
|
+
export type GetInstanceByNameError = BadRequest | NotFound | StackitOpError;
|
|
284
|
+
/** Returns the details for the given instance by name. */
|
|
285
|
+
export declare const getInstanceByName: API.OperationMethod<GetInstanceByNameRequest, Instance, GetInstanceByNameError, StackitOpContext>;
|
|
286
|
+
export type GetKubeconfigByInstanceIdError = BadRequest | NotFound | StackitOpError;
|
|
287
|
+
/** Returns the kubeconfig for the given instance. */
|
|
288
|
+
export declare const getKubeconfigByInstanceId: API.OperationMethod<GetKubeconfigByInstanceIdRequest, Kubeconfig, GetKubeconfigByInstanceIdError, StackitOpContext>;
|
|
289
|
+
export type GetKubeconfigByInstanceNameError = BadRequest | NotFound | StackitOpError;
|
|
290
|
+
/** Returns the kubeconfig for the given instance. */
|
|
291
|
+
export declare const getKubeconfigByInstanceName: API.OperationMethod<GetKubeconfigByInstanceNameRequest, Kubeconfig, GetKubeconfigByInstanceNameError, StackitOpContext>;
|
|
292
|
+
export type GetTokenByInstanceIdError = BadRequest | NotFound | StackitOpError;
|
|
293
|
+
/** Returns an ServiceAccount token. */
|
|
294
|
+
export declare const getTokenByInstanceId: API.OperationMethod<GetTokenByInstanceIdRequest, Token, GetTokenByInstanceIdError, StackitOpContext>;
|
|
295
|
+
export type GetTokenByInstanceNameError = BadRequest | NotFound | StackitOpError;
|
|
296
|
+
/** Returns an ServiceAccount token. */
|
|
297
|
+
export declare const getTokenByInstanceName: API.OperationMethod<GetTokenByInstanceNameRequest, Token, GetTokenByInstanceNameError, StackitOpContext>;
|
|
298
|
+
export type ListCompatibleKubernetesReleasesError = BadRequest | NotFound | StackitOpError;
|
|
299
|
+
export declare const listCompatibleKubernetesReleases: API.OperationMethod<ListCompatibleKubernetesReleasesRequest, KubernetesReleaseList, ListCompatibleKubernetesReleasesError, StackitOpContext>;
|
|
300
|
+
export type ListInstancesError = BadRequest | StackitOpError;
|
|
301
|
+
/** Returns a list of all instances within the project. */
|
|
302
|
+
export declare const listInstances: API.OperationMethod<ListInstancesRequest, InstanceList, ListInstancesError, StackitOpContext>;
|
|
303
|
+
export type ListPlansProjectError = BadRequest | StackitOpError;
|
|
304
|
+
/** List all possible plans for the project. */
|
|
305
|
+
export declare const listPlansProject: API.OperationMethod<ListPlansProjectRequest, PlanList, ListPlansProjectError, StackitOpContext>;
|
|
306
|
+
export type UpdateInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
307
|
+
/** Updates the given instance. */
|
|
308
|
+
export declare const updateInstance: API.OperationMethod<UpdateInstanceRequest, UpdateInstanceResponse, UpdateInstanceError, StackitOpContext>;
|
|
309
|
+
export type UpdateInstanceByNameError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
310
|
+
/** Updates the given instance. */
|
|
311
|
+
export declare const updateInstanceByName: API.OperationMethod<UpdateInstanceByNameRequest, UpdateInstanceByNameResponse, UpdateInstanceByNameError, StackitOpContext>;
|
|
312
|
+
//# sourceMappingURL=edge.d.ts.map
|