@distilled.cloud/stackit 0.0.0-stage → 1.0.0-rc.13
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 +48 -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 +148 -0
- package/lib/protocol.js.map +1 -0
- package/lib/response-validation.test.d.ts +4 -0
- package/lib/response-validation.test.d.ts.map +1 -0
- package/lib/response-validation.test.js +31 -0
- package/lib/response-validation.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 +562 -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 +545 -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 +353 -0
- package/lib/services/authorization.js.map +1 -0
- package/lib/services/automation.d.ts +358 -0
- package/lib/services/automation.d.ts.map +1 -0
- package/lib/services/automation.js +426 -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 +992 -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 +197 -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 +188 -0
- package/lib/services/cost.js.map +1 -0
- package/lib/services/dns.d.ts +875 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +854 -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 +339 -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 +375 -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 +423 -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 +552 -0
- package/lib/services/git.js.map +1 -0
- package/lib/services/iaas.d.ts +2965 -0
- package/lib/services/iaas.d.ts.map +1 -0
- package/lib/services/iaas.js +3768 -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 +513 -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 +703 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/lb_ip_lists.d.ts +162 -0
- package/lib/services/lb_ip_lists.d.ts.map +1 -0
- package/lib/services/lb_ip_lists.js +173 -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 +542 -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 +636 -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 +498 -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 +611 -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 +356 -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 +319 -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 +889 -0
- package/lib/services/mongodb_flex.js.map +1 -0
- package/lib/services/object_storage.d.ts +446 -0
- package/lib/services/object_storage.d.ts.map +1 -0
- package/lib/services/object_storage.js +577 -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 +3407 -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 +623 -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 +789 -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 +1018 -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 +614 -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 +636 -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 +221 -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 +503 -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 +203 -0
- package/lib/services/run_command.js.map +1 -0
- package/lib/services/sca.d.ts +541 -0
- package/lib/services/sca.d.ts.map +1 -0
- package/lib/services/sca.js +478 -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 +718 -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 +659 -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 +474 -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 +364 -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 +523 -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 +159 -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 +845 -0
- package/lib/services/sfs.js.map +1 -0
- package/lib/services/ske.d.ts +536 -0
- package/lib/services/ske.d.ts.map +1 -0
- package/lib/services/ske.js +598 -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 +1087 -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 +393 -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 +550 -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 +523 -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 +301 -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 +627 -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 +1013 -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 +556 -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 +83 -3
- package/src/credentials.ts +90 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +34 -0
- package/src/pagination.ts +73 -0
- package/src/protocol.ts +243 -0
- package/src/response-validation.test.ts +45 -0
- package/src/retry.ts +53 -0
- package/src/services/alb.ts +1409 -0
- package/src/services/alb_waf.ts +1347 -0
- package/src/services/authorization.ts +740 -0
- package/src/services/automation.ts +966 -0
- package/src/services/cdn.ts +2736 -0
- package/src/services/certificates.ts +450 -0
- package/src/services/cost.ts +484 -0
- package/src/services/dns.ts +2271 -0
- package/src/services/dremio.ts +803 -0
- package/src/services/edge.ts +839 -0
- package/src/services/functions.ts +1010 -0
- package/src/services/git.ts +1275 -0
- package/src/services/iaas.ts +8670 -0
- package/src/services/index.ts +51 -0
- package/src/services/intake.ts +1233 -0
- package/src/services/kms.ts +1638 -0
- package/src/services/lb_ip_lists.ts +377 -0
- package/src/services/load_balancer.ts +1342 -0
- package/src/services/logme.ts +1379 -0
- package/src/services/logs.ts +1150 -0
- package/src/services/mariadb.ts +1293 -0
- package/src/services/model_experiments.ts +797 -0
- package/src/services/model_serving.ts +697 -0
- package/src/services/mongodb_flex.ts +2078 -0
- package/src/services/object_storage.ts +1248 -0
- package/src/services/observability.ts +7856 -0
- package/src/services/opensearch.ts +1354 -0
- package/src/services/pim.ts +2090 -0
- package/src/services/postgres_flex.ts +2326 -0
- package/src/services/pubsub.ts +1336 -0
- package/src/services/rabbitmq.ts +1402 -0
- package/src/services/registry.ts +494 -0
- package/src/services/resource_manager.ts +1155 -0
- package/src/services/run_command.ts +441 -0
- package/src/services/sca.ts +1222 -0
- package/src/services/scf.ts +1537 -0
- package/src/services/secrets_manager.ts +1399 -0
- package/src/services/server_backup.ts +1032 -0
- package/src/services/server_update.ts +767 -0
- package/src/services/service_account.ts +1208 -0
- package/src/services/service_enablement.ts +359 -0
- package/src/services/sfs.ts +1913 -0
- package/src/services/ske.ts +1408 -0
- package/src/services/sqlserverflex.ts +2543 -0
- package/src/services/stackit_marketplace.ts +853 -0
- package/src/services/telemetry_link.ts +1245 -0
- package/src/services/telemetry_router.ts +1205 -0
- package/src/services/ufw.ts +704 -0
- package/src/services/valkey.ts +1357 -0
- package/src/services/vpn.ts +2554 -0
- package/src/services/workflows.ts +1361 -0
- package/src/traits.ts +65 -0
|
@@ -0,0 +1,636 @@
|
|
|
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
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as C from "@distilled.cloud/core/category";
|
|
6
|
+
import * as T from "../traits.js";
|
|
7
|
+
import { StackitProtocol, } from "../protocol.js";
|
|
8
|
+
import { UnknownStackitError } from "../errors.js";
|
|
9
|
+
import * as Retry from "../retry.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 CreateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
29
|
+
projectId: S.String.pipe(T.Label()),
|
|
30
|
+
regionId: S.String.pipe(T.Label()),
|
|
31
|
+
instanceId: S.String.pipe(T.Label()),
|
|
32
|
+
}).pipe(T.Http({
|
|
33
|
+
method: "POST",
|
|
34
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/backups",
|
|
35
|
+
code: 200,
|
|
36
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
37
|
+
}))).annotate({
|
|
38
|
+
identifier: "CreateBackupRequest",
|
|
39
|
+
});
|
|
40
|
+
export const CreateBackupResponseItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
41
|
+
id: S.Number,
|
|
42
|
+
message: S.String,
|
|
43
|
+
})).annotate({
|
|
44
|
+
identifier: "CreateBackupResponseItem",
|
|
45
|
+
});
|
|
46
|
+
export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
47
|
+
projectId: S.String.pipe(T.Label()),
|
|
48
|
+
regionId: S.String.pipe(T.Label()),
|
|
49
|
+
instanceId: S.String.pipe(T.Label()),
|
|
50
|
+
parameters: S.optional(S.Unknown),
|
|
51
|
+
}).pipe(T.Http({
|
|
52
|
+
method: "POST",
|
|
53
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/credentials",
|
|
54
|
+
code: 200,
|
|
55
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
56
|
+
}))).annotate({
|
|
57
|
+
identifier: "CreateCredentialsRequest",
|
|
58
|
+
});
|
|
59
|
+
export const Credentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
60
|
+
host: S.String,
|
|
61
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
62
|
+
port: S.optional(S.Number),
|
|
63
|
+
syslog_drain_url: S.optional(S.String),
|
|
64
|
+
uri: S.optional(S.String),
|
|
65
|
+
username: S.String,
|
|
66
|
+
})).annotate({ identifier: "Credentials" });
|
|
67
|
+
export const RawCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
68
|
+
credentials: Credentials,
|
|
69
|
+
})).annotate({ identifier: "RawCredentials" });
|
|
70
|
+
export const CredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
71
|
+
id: S.String,
|
|
72
|
+
raw: S.optional(RawCredentials),
|
|
73
|
+
uri: S.String,
|
|
74
|
+
})).annotate({
|
|
75
|
+
identifier: "CredentialsResponse",
|
|
76
|
+
});
|
|
77
|
+
export const InstanceParametersGroksItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
78
|
+
pattern: S.optional(S.String),
|
|
79
|
+
})).annotate({
|
|
80
|
+
identifier: "InstanceParametersGroksItem",
|
|
81
|
+
});
|
|
82
|
+
export const InstanceParametersGroksList = /*@__PURE__*/ S.Array(InstanceParametersGroksItem);
|
|
83
|
+
export const InstanceParametersOpensearchTlsCiphersItem =
|
|
84
|
+
/*@__PURE__*/ S.String;
|
|
85
|
+
export const InstanceParametersOpensearchTlsCiphersList = /*@__PURE__*/ S.Array(InstanceParametersOpensearchTlsCiphersItem);
|
|
86
|
+
export const InstanceParametersOpensearchTlsProtocolsList =
|
|
87
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
88
|
+
export const InstanceParametersSyslogList = /*@__PURE__*/ S.Array(S.String);
|
|
89
|
+
export const InstanceParameters = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
90
|
+
enable_monitoring: S.optional(S.Boolean),
|
|
91
|
+
fluentd_tcp: S.optional(S.Number.pipe(T.Body("fluentd-tcp"))),
|
|
92
|
+
fluentd_tls: S.optional(S.Number.pipe(T.Body("fluentd-tls"))),
|
|
93
|
+
fluentd_tls_ciphers: S.optional(S.String.pipe(T.Body("fluentd-tls-ciphers"))),
|
|
94
|
+
fluentd_tls_max_version: S.optional(S.String.pipe(T.Body("fluentd-tls-max-version"))),
|
|
95
|
+
fluentd_tls_min_version: S.optional(S.String.pipe(T.Body("fluentd-tls-min-version"))),
|
|
96
|
+
fluentd_tls_version: S.optional(S.String.pipe(T.Body("fluentd-tls-version"))),
|
|
97
|
+
fluentd_udp: S.optional(S.Number.pipe(T.Body("fluentd-udp"))),
|
|
98
|
+
graphite: S.optional(S.String),
|
|
99
|
+
groks: S.optional(InstanceParametersGroksList),
|
|
100
|
+
ism_deletion_after: S.optional(S.String),
|
|
101
|
+
ism_jitter: S.optional(S.Number),
|
|
102
|
+
ism_job_interval: S.optional(S.Number),
|
|
103
|
+
java_heapspace: S.optional(S.Number),
|
|
104
|
+
java_maxmetaspace: S.optional(S.Number),
|
|
105
|
+
max_disk_threshold: S.optional(S.Number),
|
|
106
|
+
metrics_frequency: S.optional(S.Number),
|
|
107
|
+
metrics_prefix: S.optional(S.String),
|
|
108
|
+
monitoring_instance_id: S.optional(S.String),
|
|
109
|
+
opensearch_tls_ciphers: S.optional(InstanceParametersOpensearchTlsCiphersList.pipe(T.Body("opensearch-tls-ciphers"))),
|
|
110
|
+
opensearch_tls_protocols: S.optional(InstanceParametersOpensearchTlsProtocolsList.pipe(T.Body("opensearch-tls-protocols"))),
|
|
111
|
+
sgw_acl: S.optional(S.String),
|
|
112
|
+
syslog: S.optional(InstanceParametersSyslogList),
|
|
113
|
+
})).annotate({
|
|
114
|
+
identifier: "InstanceParameters",
|
|
115
|
+
});
|
|
116
|
+
export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
117
|
+
projectId: S.String.pipe(T.Label()),
|
|
118
|
+
regionId: S.String.pipe(T.Label()),
|
|
119
|
+
instanceName: S.String,
|
|
120
|
+
parameters: S.optional(InstanceParameters),
|
|
121
|
+
planId: S.String,
|
|
122
|
+
}).pipe(T.Http({
|
|
123
|
+
method: "POST",
|
|
124
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances",
|
|
125
|
+
code: 200,
|
|
126
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
127
|
+
}))).annotate({
|
|
128
|
+
identifier: "CreateInstanceRequest",
|
|
129
|
+
});
|
|
130
|
+
export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
131
|
+
instanceId: S.String,
|
|
132
|
+
})).annotate({
|
|
133
|
+
identifier: "CreateInstanceResponse",
|
|
134
|
+
});
|
|
135
|
+
export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
136
|
+
projectId: S.String.pipe(T.Label()),
|
|
137
|
+
regionId: S.String.pipe(T.Label()),
|
|
138
|
+
instanceId: S.String.pipe(T.Label()),
|
|
139
|
+
credentialsId: S.String.pipe(T.Label()),
|
|
140
|
+
}).pipe(T.Http({
|
|
141
|
+
method: "DELETE",
|
|
142
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/credentials/{credentialsId}",
|
|
143
|
+
code: 200,
|
|
144
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
145
|
+
}))).annotate({
|
|
146
|
+
identifier: "DeleteCredentialsRequest",
|
|
147
|
+
});
|
|
148
|
+
export const DeleteCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
149
|
+
identifier: "DeleteCredentialsResponse",
|
|
150
|
+
});
|
|
151
|
+
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
152
|
+
projectId: S.String.pipe(T.Label()),
|
|
153
|
+
regionId: S.String.pipe(T.Label()),
|
|
154
|
+
instanceId: S.String.pipe(T.Label()),
|
|
155
|
+
}).pipe(T.Http({
|
|
156
|
+
method: "DELETE",
|
|
157
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}",
|
|
158
|
+
code: 200,
|
|
159
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
160
|
+
}))).annotate({
|
|
161
|
+
identifier: "DeleteInstanceRequest",
|
|
162
|
+
});
|
|
163
|
+
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
164
|
+
identifier: "DeleteInstanceResponse",
|
|
165
|
+
});
|
|
166
|
+
export const DownloadBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
167
|
+
projectId: S.String.pipe(T.Label()),
|
|
168
|
+
regionId: S.String.pipe(T.Label()),
|
|
169
|
+
instanceId: S.String.pipe(T.Label()),
|
|
170
|
+
backupId: S.Number.pipe(T.Label()),
|
|
171
|
+
}).pipe(T.Http({
|
|
172
|
+
method: "GET",
|
|
173
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/backups/{backupId}/download",
|
|
174
|
+
code: 200,
|
|
175
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
176
|
+
}))).annotate({
|
|
177
|
+
identifier: "DownloadBackupRequest",
|
|
178
|
+
});
|
|
179
|
+
export const DownloadBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
180
|
+
identifier: "DownloadBackupResponse",
|
|
181
|
+
});
|
|
182
|
+
export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
183
|
+
projectId: S.String.pipe(T.Label()),
|
|
184
|
+
regionId: S.String.pipe(T.Label()),
|
|
185
|
+
instanceId: S.String.pipe(T.Label()),
|
|
186
|
+
credentialsId: S.String.pipe(T.Label()),
|
|
187
|
+
}).pipe(T.Http({
|
|
188
|
+
method: "GET",
|
|
189
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/credentials/{credentialsId}",
|
|
190
|
+
code: 200,
|
|
191
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
192
|
+
}))).annotate({
|
|
193
|
+
identifier: "GetCredentialsRequest",
|
|
194
|
+
});
|
|
195
|
+
export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
196
|
+
projectId: S.String.pipe(T.Label()),
|
|
197
|
+
regionId: S.String.pipe(T.Label()),
|
|
198
|
+
instanceId: S.String.pipe(T.Label()),
|
|
199
|
+
}).pipe(T.Http({
|
|
200
|
+
method: "GET",
|
|
201
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}",
|
|
202
|
+
code: 200,
|
|
203
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
204
|
+
}))).annotate({
|
|
205
|
+
identifier: "GetInstanceRequest",
|
|
206
|
+
});
|
|
207
|
+
export const InstanceLastOperationState = /*@__PURE__*/ S.String;
|
|
208
|
+
export const InstanceLastOperationType = /*@__PURE__*/ S.String;
|
|
209
|
+
export const InstanceLastOperation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
210
|
+
description: S.String,
|
|
211
|
+
state: InstanceLastOperationState,
|
|
212
|
+
type: InstanceLastOperationType,
|
|
213
|
+
})).annotate({
|
|
214
|
+
identifier: "InstanceLastOperation",
|
|
215
|
+
});
|
|
216
|
+
export const InstanceStatus = /*@__PURE__*/ S.String;
|
|
217
|
+
export const Instance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
218
|
+
cfGuid: S.String,
|
|
219
|
+
cfOrganizationGuid: S.String,
|
|
220
|
+
cfSpaceGuid: S.String,
|
|
221
|
+
dashboardUrl: S.String,
|
|
222
|
+
imageUrl: S.String,
|
|
223
|
+
instanceId: S.optional(S.String),
|
|
224
|
+
lastOperation: InstanceLastOperation,
|
|
225
|
+
name: S.String,
|
|
226
|
+
offeringName: S.String,
|
|
227
|
+
offeringVersion: S.String,
|
|
228
|
+
parameters: S.Unknown,
|
|
229
|
+
planId: S.String,
|
|
230
|
+
planName: S.String,
|
|
231
|
+
status: S.optional(InstanceStatus),
|
|
232
|
+
})).annotate({ identifier: "Instance" });
|
|
233
|
+
export const GetMetricsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
234
|
+
projectId: S.String.pipe(T.Label()),
|
|
235
|
+
regionId: S.String.pipe(T.Label()),
|
|
236
|
+
instanceId: S.String.pipe(T.Label()),
|
|
237
|
+
}).pipe(T.Http({
|
|
238
|
+
method: "GET",
|
|
239
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/metrics",
|
|
240
|
+
code: 200,
|
|
241
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
242
|
+
}))).annotate({
|
|
243
|
+
identifier: "GetMetricsRequest",
|
|
244
|
+
});
|
|
245
|
+
export const GetMetricsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
246
|
+
cpuIdleTime: S.optional(S.Number),
|
|
247
|
+
cpuLoadPercent: S.Number,
|
|
248
|
+
cpuSystemTime: S.optional(S.Number),
|
|
249
|
+
cpuUserTime: S.optional(S.Number),
|
|
250
|
+
diskEphemeralTotal: S.Number,
|
|
251
|
+
diskEphemeralUsed: S.Number,
|
|
252
|
+
diskPersistentTotal: S.Number,
|
|
253
|
+
diskPersistentUsed: S.Number,
|
|
254
|
+
load1: S.Number,
|
|
255
|
+
load15: S.Number,
|
|
256
|
+
load5: S.Number,
|
|
257
|
+
memoryTotal: S.Number,
|
|
258
|
+
memoryUsed: S.Number,
|
|
259
|
+
opensearchDashboardURL: S.String,
|
|
260
|
+
parachuteDiskEphemeralActivated: S.Boolean,
|
|
261
|
+
parachuteDiskEphemeralTotal: S.Number,
|
|
262
|
+
parachuteDiskEphemeralUsed: S.Number,
|
|
263
|
+
parachuteDiskEphemeralUsedPercent: S.Number,
|
|
264
|
+
parachuteDiskEphemeralUsedThreshold: S.Number,
|
|
265
|
+
parachuteDiskPersistentActivated: S.Boolean,
|
|
266
|
+
parachuteDiskPersistentTotal: S.Number,
|
|
267
|
+
parachuteDiskPersistentUsed: S.Number,
|
|
268
|
+
parachuteDiskPersistentUsedPercent: S.Number,
|
|
269
|
+
parachuteDiskPersistentUsedThreshold: S.Number,
|
|
270
|
+
})).annotate({
|
|
271
|
+
identifier: "GetMetricsResponse",
|
|
272
|
+
});
|
|
273
|
+
export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
274
|
+
projectId: S.String.pipe(T.Label()),
|
|
275
|
+
regionId: S.String.pipe(T.Label()),
|
|
276
|
+
instanceId: S.String.pipe(T.Label()),
|
|
277
|
+
}).pipe(T.Http({
|
|
278
|
+
method: "GET",
|
|
279
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/backups",
|
|
280
|
+
code: 200,
|
|
281
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
282
|
+
}))).annotate({
|
|
283
|
+
identifier: "ListBackupsRequest",
|
|
284
|
+
});
|
|
285
|
+
export const Backup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
286
|
+
downloadable: S.optional(S.Boolean),
|
|
287
|
+
finished_at: S.String,
|
|
288
|
+
id: S.Number,
|
|
289
|
+
size: S.optional(S.Number),
|
|
290
|
+
status: S.String,
|
|
291
|
+
triggered_at: S.optional(S.String),
|
|
292
|
+
})).annotate({ identifier: "Backup" });
|
|
293
|
+
export const ListBackupsResponse = /*@__PURE__*/ S.Array(Backup);
|
|
294
|
+
export const ListBackupsResponse2 = /*@__PURE__*/ S.suspend(() => ListBackupsResponse.pipe(T.RawResponseRoot())).annotate({
|
|
295
|
+
identifier: "ListBackupsResponse2",
|
|
296
|
+
});
|
|
297
|
+
export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
298
|
+
projectId: S.String.pipe(T.Label()),
|
|
299
|
+
regionId: S.String.pipe(T.Label()),
|
|
300
|
+
instanceId: S.String.pipe(T.Label()),
|
|
301
|
+
}).pipe(T.Http({
|
|
302
|
+
method: "GET",
|
|
303
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/credentials",
|
|
304
|
+
code: 200,
|
|
305
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
306
|
+
}))).annotate({
|
|
307
|
+
identifier: "ListCredentialsRequest",
|
|
308
|
+
});
|
|
309
|
+
export const CredentialsListItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
310
|
+
id: S.String,
|
|
311
|
+
})).annotate({
|
|
312
|
+
identifier: "CredentialsListItem",
|
|
313
|
+
});
|
|
314
|
+
export const ListCredentialsResponseCredentialsListList = /*@__PURE__*/ S.Array(CredentialsListItem);
|
|
315
|
+
export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
316
|
+
credentialsList: ListCredentialsResponseCredentialsListList,
|
|
317
|
+
})).annotate({
|
|
318
|
+
identifier: "ListCredentialsResponse",
|
|
319
|
+
});
|
|
320
|
+
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
321
|
+
projectId: S.String.pipe(T.Label()),
|
|
322
|
+
regionId: S.String.pipe(T.Label()),
|
|
323
|
+
}).pipe(T.Http({
|
|
324
|
+
method: "GET",
|
|
325
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances",
|
|
326
|
+
code: 200,
|
|
327
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
328
|
+
}))).annotate({
|
|
329
|
+
identifier: "ListInstancesRequest",
|
|
330
|
+
});
|
|
331
|
+
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(Instance);
|
|
332
|
+
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
333
|
+
instances: ListInstancesResponseInstancesList,
|
|
334
|
+
})).annotate({
|
|
335
|
+
identifier: "ListInstancesResponse",
|
|
336
|
+
});
|
|
337
|
+
export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
338
|
+
projectId: S.String.pipe(T.Label()),
|
|
339
|
+
regionId: S.String.pipe(T.Label()),
|
|
340
|
+
}).pipe(T.Http({
|
|
341
|
+
method: "GET",
|
|
342
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/offerings",
|
|
343
|
+
code: 200,
|
|
344
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
345
|
+
}))).annotate({
|
|
346
|
+
identifier: "ListOfferingsRequest",
|
|
347
|
+
});
|
|
348
|
+
export const Plan = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
349
|
+
description: S.String,
|
|
350
|
+
free: S.Boolean,
|
|
351
|
+
id: S.String,
|
|
352
|
+
name: S.String,
|
|
353
|
+
skuName: S.String,
|
|
354
|
+
})).annotate({ identifier: "Plan" });
|
|
355
|
+
export const OfferingPlansList = /*@__PURE__*/ S.Array(Plan);
|
|
356
|
+
export const Schema = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
357
|
+
parameters: S.Unknown,
|
|
358
|
+
})).annotate({ identifier: "Schema" });
|
|
359
|
+
export const InstanceSchema = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
360
|
+
create: Schema,
|
|
361
|
+
update: Schema,
|
|
362
|
+
})).annotate({ identifier: "InstanceSchema" });
|
|
363
|
+
export const Offering = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
364
|
+
description: S.String,
|
|
365
|
+
documentationUrl: S.String,
|
|
366
|
+
imageUrl: S.String,
|
|
367
|
+
latest: S.Boolean,
|
|
368
|
+
lifecycle: S.optional(S.String),
|
|
369
|
+
name: S.String,
|
|
370
|
+
plans: OfferingPlansList,
|
|
371
|
+
quotaCount: S.Number,
|
|
372
|
+
schema: S.optional(InstanceSchema),
|
|
373
|
+
version: S.String,
|
|
374
|
+
})).annotate({ identifier: "Offering" });
|
|
375
|
+
export const ListOfferingsResponseOfferingsList = /*@__PURE__*/ S.Array(Offering);
|
|
376
|
+
export const ListOfferingsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
377
|
+
offerings: ListOfferingsResponseOfferingsList,
|
|
378
|
+
})).annotate({
|
|
379
|
+
identifier: "ListOfferingsResponse",
|
|
380
|
+
});
|
|
381
|
+
export const ListRestoresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
382
|
+
projectId: S.String.pipe(T.Label()),
|
|
383
|
+
regionId: S.String.pipe(T.Label()),
|
|
384
|
+
instanceId: S.String.pipe(T.Label()),
|
|
385
|
+
}).pipe(T.Http({
|
|
386
|
+
method: "GET",
|
|
387
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/restores",
|
|
388
|
+
code: 200,
|
|
389
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
390
|
+
}))).annotate({
|
|
391
|
+
identifier: "ListRestoresRequest",
|
|
392
|
+
});
|
|
393
|
+
export const Restore = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
394
|
+
backup_id: S.Number,
|
|
395
|
+
finished_at: S.String,
|
|
396
|
+
id: S.Number,
|
|
397
|
+
status: S.String,
|
|
398
|
+
triggered_at: S.optional(S.String),
|
|
399
|
+
})).annotate({ identifier: "Restore" });
|
|
400
|
+
export const ListRestoresResponseInstanceRestoresList = /*@__PURE__*/ S.Array(Restore);
|
|
401
|
+
export const ListRestoresResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
402
|
+
instanceRestores: ListRestoresResponseInstanceRestoresList,
|
|
403
|
+
})).annotate({
|
|
404
|
+
identifier: "ListRestoresResponse",
|
|
405
|
+
});
|
|
406
|
+
export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
407
|
+
projectId: S.String.pipe(T.Label()),
|
|
408
|
+
regionId: S.String.pipe(T.Label()),
|
|
409
|
+
instanceId: S.String.pipe(T.Label()),
|
|
410
|
+
instanceName: S.optional(S.String),
|
|
411
|
+
parameters: S.optional(InstanceParameters),
|
|
412
|
+
planId: S.optional(S.String),
|
|
413
|
+
}).pipe(T.Http({
|
|
414
|
+
method: "PATCH",
|
|
415
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}",
|
|
416
|
+
code: 200,
|
|
417
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
418
|
+
}))).annotate({
|
|
419
|
+
identifier: "PartialUpdateInstanceRequest",
|
|
420
|
+
});
|
|
421
|
+
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
422
|
+
identifier: "PartialUpdateInstanceResponse",
|
|
423
|
+
});
|
|
424
|
+
export const TriggerRecreateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
425
|
+
projectId: S.String.pipe(T.Label()),
|
|
426
|
+
regionId: S.String.pipe(T.Label()),
|
|
427
|
+
instanceId: S.String.pipe(T.Label()),
|
|
428
|
+
}).pipe(T.Http({
|
|
429
|
+
method: "PATCH",
|
|
430
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/recreate",
|
|
431
|
+
code: 200,
|
|
432
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
433
|
+
}))).annotate({
|
|
434
|
+
identifier: "TriggerRecreateRequest",
|
|
435
|
+
});
|
|
436
|
+
export const TriggerRestartRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
437
|
+
projectId: S.String.pipe(T.Label()),
|
|
438
|
+
regionId: S.String.pipe(T.Label()),
|
|
439
|
+
instanceId: S.String.pipe(T.Label()),
|
|
440
|
+
}).pipe(T.Http({
|
|
441
|
+
method: "PATCH",
|
|
442
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/restart",
|
|
443
|
+
code: 200,
|
|
444
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
445
|
+
}))).annotate({
|
|
446
|
+
identifier: "TriggerRestartRequest",
|
|
447
|
+
});
|
|
448
|
+
export const TriggerRestoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
449
|
+
projectId: S.String.pipe(T.Label()),
|
|
450
|
+
regionId: S.String.pipe(T.Label()),
|
|
451
|
+
instanceId: S.String.pipe(T.Label()),
|
|
452
|
+
backupId: S.Number.pipe(T.Label()),
|
|
453
|
+
}).pipe(T.Http({
|
|
454
|
+
method: "POST",
|
|
455
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/backups/{backupId}/restore",
|
|
456
|
+
code: 200,
|
|
457
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
458
|
+
}))).annotate({
|
|
459
|
+
identifier: "TriggerRestoreRequest",
|
|
460
|
+
});
|
|
461
|
+
export const TriggerRestoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
462
|
+
id: S.Number,
|
|
463
|
+
})).annotate({
|
|
464
|
+
identifier: "TriggerRestoreResponse",
|
|
465
|
+
});
|
|
466
|
+
export const UpdateBackupsConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
467
|
+
projectId: S.String.pipe(T.Label()),
|
|
468
|
+
regionId: S.String.pipe(T.Label()),
|
|
469
|
+
instanceId: S.String.pipe(T.Label()),
|
|
470
|
+
encryption_key: S.optional(S.String),
|
|
471
|
+
}).pipe(T.Http({
|
|
472
|
+
method: "PATCH",
|
|
473
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/backups-config",
|
|
474
|
+
code: 200,
|
|
475
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
476
|
+
}))).annotate({
|
|
477
|
+
identifier: "UpdateBackupsConfigRequest",
|
|
478
|
+
});
|
|
479
|
+
export const UpdateBackupsConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
480
|
+
message: S.String,
|
|
481
|
+
})).annotate({
|
|
482
|
+
identifier: "UpdateBackupsConfigResponse",
|
|
483
|
+
});
|
|
484
|
+
/** create a backup */
|
|
485
|
+
export const createBackup = /*@__PURE__*/ API.make(() => ({
|
|
486
|
+
input: CreateBackupRequest,
|
|
487
|
+
output: CreateBackupResponseItem,
|
|
488
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
489
|
+
protocol: StackitProtocol,
|
|
490
|
+
retry: Retry.Retry,
|
|
491
|
+
}));
|
|
492
|
+
/** create new credentials Create new service credentials */
|
|
493
|
+
export const createCredentials = /*@__PURE__*/ API.make(() => ({
|
|
494
|
+
input: CreateCredentialsRequest,
|
|
495
|
+
output: CredentialsResponse,
|
|
496
|
+
errors: [BadRequest, UnknownStackitError],
|
|
497
|
+
protocol: StackitProtocol,
|
|
498
|
+
retry: Retry.Retry,
|
|
499
|
+
}));
|
|
500
|
+
/** provision Provision a service instance. */
|
|
501
|
+
export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
502
|
+
input: CreateInstanceRequest,
|
|
503
|
+
output: CreateInstanceResponse,
|
|
504
|
+
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
505
|
+
protocol: StackitProtocol,
|
|
506
|
+
retry: Retry.Retry,
|
|
507
|
+
}));
|
|
508
|
+
/** delete credentials by id Delete a service credentials. */
|
|
509
|
+
export const deleteCredentials = /*@__PURE__*/ API.make(() => ({
|
|
510
|
+
input: DeleteCredentialsRequest,
|
|
511
|
+
output: DeleteCredentialsResponse,
|
|
512
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
513
|
+
protocol: StackitProtocol,
|
|
514
|
+
retry: Retry.Retry,
|
|
515
|
+
}));
|
|
516
|
+
/** delete service instance Deprovision a service instance. */
|
|
517
|
+
export const deleteInstance = /*@__PURE__*/ API.make(() => ({
|
|
518
|
+
input: DeleteInstanceRequest,
|
|
519
|
+
output: DeleteInstanceResponse,
|
|
520
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
521
|
+
protocol: StackitProtocol,
|
|
522
|
+
retry: Retry.Retry,
|
|
523
|
+
}));
|
|
524
|
+
/** download backup */
|
|
525
|
+
export const downloadBackup = /*@__PURE__*/ API.make(() => ({
|
|
526
|
+
input: DownloadBackupRequest,
|
|
527
|
+
output: DownloadBackupResponse,
|
|
528
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
529
|
+
protocol: StackitProtocol,
|
|
530
|
+
retry: Retry.Retry,
|
|
531
|
+
}));
|
|
532
|
+
/** get credentials by id get a service credentials by credentials id */
|
|
533
|
+
export const getCredentials = /*@__PURE__*/ API.make(() => ({
|
|
534
|
+
input: GetCredentialsRequest,
|
|
535
|
+
output: CredentialsResponse,
|
|
536
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
537
|
+
protocol: StackitProtocol,
|
|
538
|
+
retry: Retry.Retry,
|
|
539
|
+
}));
|
|
540
|
+
/** get a service instance get a service instance */
|
|
541
|
+
export const getInstance = /*@__PURE__*/ API.make(() => ({
|
|
542
|
+
input: GetInstanceRequest,
|
|
543
|
+
output: Instance,
|
|
544
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
545
|
+
protocol: StackitProtocol,
|
|
546
|
+
retry: Retry.Retry,
|
|
547
|
+
}));
|
|
548
|
+
/** get latest metrics for cpu load, memory and disk usage */
|
|
549
|
+
export const getMetrics = /*@__PURE__*/ API.make(() => ({
|
|
550
|
+
input: GetMetricsRequest,
|
|
551
|
+
output: GetMetricsResponse,
|
|
552
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
553
|
+
protocol: StackitProtocol,
|
|
554
|
+
retry: Retry.Retry,
|
|
555
|
+
}));
|
|
556
|
+
/** get latest backup information for provided instanceId */
|
|
557
|
+
export const listBackups = /*@__PURE__*/ API.make(() => ({
|
|
558
|
+
input: ListBackupsRequest,
|
|
559
|
+
output: ListBackupsResponse2,
|
|
560
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
561
|
+
protocol: StackitProtocol,
|
|
562
|
+
retry: Retry.Retry,
|
|
563
|
+
}));
|
|
564
|
+
/** get list of credentials ids get list all credentials ids for instance */
|
|
565
|
+
export const listCredentials = /*@__PURE__*/ API.make(() => ({
|
|
566
|
+
input: ListCredentialsRequest,
|
|
567
|
+
output: ListCredentialsResponse,
|
|
568
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
569
|
+
protocol: StackitProtocol,
|
|
570
|
+
retry: Retry.Retry,
|
|
571
|
+
}));
|
|
572
|
+
/** get service instances list Get a list of available instances */
|
|
573
|
+
export const listInstances = /*@__PURE__*/ API.make(() => ({
|
|
574
|
+
input: ListInstancesRequest,
|
|
575
|
+
output: ListInstancesResponse,
|
|
576
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
577
|
+
protocol: StackitProtocol,
|
|
578
|
+
retry: Retry.Retry,
|
|
579
|
+
}));
|
|
580
|
+
/** get the service offerings Get the service offerings that the service broker offers. */
|
|
581
|
+
export const listOfferings = /*@__PURE__*/ API.make(() => ({
|
|
582
|
+
input: ListOfferingsRequest,
|
|
583
|
+
output: ListOfferingsResponse,
|
|
584
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
585
|
+
protocol: StackitProtocol,
|
|
586
|
+
retry: Retry.Retry,
|
|
587
|
+
}));
|
|
588
|
+
/** get latest restore information for provided instanceId */
|
|
589
|
+
export const listRestores = /*@__PURE__*/ API.make(() => ({
|
|
590
|
+
input: ListRestoresRequest,
|
|
591
|
+
output: ListRestoresResponse,
|
|
592
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
593
|
+
protocol: StackitProtocol,
|
|
594
|
+
retry: Retry.Retry,
|
|
595
|
+
}));
|
|
596
|
+
/** update a service instance Update a service instance. This could be a sgw acl update or a plan upgrade. */
|
|
597
|
+
export const partialUpdateInstance = /*@__PURE__*/ API.make(() => ({
|
|
598
|
+
input: PartialUpdateInstanceRequest,
|
|
599
|
+
output: PartialUpdateInstanceResponse,
|
|
600
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
601
|
+
protocol: StackitProtocol,
|
|
602
|
+
retry: Retry.Retry,
|
|
603
|
+
}));
|
|
604
|
+
/** trigger a recreate */
|
|
605
|
+
export const triggerRecreate = /*@__PURE__*/ API.make(() => ({
|
|
606
|
+
input: TriggerRecreateRequest,
|
|
607
|
+
output: CreateInstanceResponse,
|
|
608
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
609
|
+
protocol: StackitProtocol,
|
|
610
|
+
retry: Retry.Retry,
|
|
611
|
+
}));
|
|
612
|
+
/** trigger a restart */
|
|
613
|
+
export const triggerRestart = /*@__PURE__*/ API.make(() => ({
|
|
614
|
+
input: TriggerRestartRequest,
|
|
615
|
+
output: CreateInstanceResponse,
|
|
616
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
617
|
+
protocol: StackitProtocol,
|
|
618
|
+
retry: Retry.Retry,
|
|
619
|
+
}));
|
|
620
|
+
/** trigger a restore */
|
|
621
|
+
export const triggerRestore = /*@__PURE__*/ API.make(() => ({
|
|
622
|
+
input: TriggerRestoreRequest,
|
|
623
|
+
output: TriggerRestoreResponse,
|
|
624
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
625
|
+
protocol: StackitProtocol,
|
|
626
|
+
retry: Retry.Retry,
|
|
627
|
+
}));
|
|
628
|
+
/** backups configuration update Update the configuration for backups for your instance. */
|
|
629
|
+
export const updateBackupsConfig = /*@__PURE__*/ API.make(() => ({
|
|
630
|
+
input: UpdateBackupsConfigRequest,
|
|
631
|
+
output: UpdateBackupsConfigResponse,
|
|
632
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
633
|
+
protocol: StackitProtocol,
|
|
634
|
+
retry: Retry.Retry,
|
|
635
|
+
}));
|
|
636
|
+
//# sourceMappingURL=logme.js.map
|