@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
|
@@ -1,16 +1,12 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
1
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
4
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
5
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import * as API from "@distilled.cloud/core/api";
|
|
5
|
-
import * as C from "@distilled.cloud/core/category";
|
|
6
|
-
import * as T from "../traits.ts";
|
|
7
|
-
import {
|
|
8
|
-
StackitProtocol,
|
|
9
|
-
type StackitOpError,
|
|
10
|
-
type StackitOpContext,
|
|
11
|
-
} from "../protocol.ts";
|
|
12
6
|
import { UnknownStackitError } from "../errors.ts";
|
|
7
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
13
8
|
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
14
10
|
|
|
15
11
|
export type { StackitOpError, StackitOpContext };
|
|
16
12
|
|
|
@@ -51,7 +47,7 @@ export class UnprocessableEntity
|
|
|
51
47
|
) {}
|
|
52
48
|
|
|
53
49
|
export type CreateDatabaseRequestRegion = "eu01";
|
|
54
|
-
export const CreateDatabaseRequestRegion =
|
|
50
|
+
export const CreateDatabaseRequestRegion = S.String;
|
|
55
51
|
|
|
56
52
|
export interface CreateDatabaseRequest {
|
|
57
53
|
/** The STACKIT project ID. */
|
|
@@ -82,9 +78,7 @@ export const CreateDatabaseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
82
78
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
83
79
|
}),
|
|
84
80
|
),
|
|
85
|
-
).annotate({
|
|
86
|
-
identifier: "CreateDatabaseRequest",
|
|
87
|
-
}) as any as S.Schema<CreateDatabaseRequest>;
|
|
81
|
+
).annotate({ identifier: "CreateDatabaseRequest" }) as any as S.Schema<CreateDatabaseRequest>;
|
|
88
82
|
|
|
89
83
|
export interface CreateDatabaseResponse {
|
|
90
84
|
id: number;
|
|
@@ -93,12 +87,10 @@ export const CreateDatabaseResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
93
87
|
S.Struct({
|
|
94
88
|
id: S.Number,
|
|
95
89
|
}),
|
|
96
|
-
).annotate({
|
|
97
|
-
identifier: "CreateDatabaseResponse",
|
|
98
|
-
}) as any as S.Schema<CreateDatabaseResponse>;
|
|
90
|
+
).annotate({ identifier: "CreateDatabaseResponse" }) as any as S.Schema<CreateDatabaseResponse>;
|
|
99
91
|
|
|
100
92
|
export type CreateInstanceRequestRegion = "eu01";
|
|
101
|
-
export const CreateInstanceRequestRegion =
|
|
93
|
+
export const CreateInstanceRequestRegion = S.String;
|
|
102
94
|
|
|
103
95
|
/** this defines which key to use for storage encryption */
|
|
104
96
|
export interface InstanceEncryption {
|
|
@@ -117,20 +109,18 @@ export const InstanceEncryption = /*@__PURE__*/ S.suspend(() =>
|
|
|
117
109
|
kekKeyVersion: S.String,
|
|
118
110
|
serviceAccount: S.String,
|
|
119
111
|
}),
|
|
120
|
-
).annotate({
|
|
121
|
-
identifier: "InstanceEncryption",
|
|
122
|
-
}) as any as S.Schema<InstanceEncryption>;
|
|
112
|
+
).annotate({ identifier: "InstanceEncryption" }) as any as S.Schema<InstanceEncryption>;
|
|
123
113
|
|
|
124
114
|
/** A dictionary of user-defined key-value pairs used to categorize or organize the resource. **Rules for Keys:** * Must be between 1 and 63 characters long. * Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$` * **Restriction:** The prefix `stackit-` is strictly reserved and cannot be used. **Rules for Values:** * Must be between 0 (empty string) and 63 characters long. * If not empty, must begin and end with an alphanumeric character. * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$` */
|
|
125
|
-
export type Labels = { [key: string]: string | undefined };
|
|
115
|
+
export type Labels = { [key: string]: string | null | undefined };
|
|
126
116
|
export const Labels = /*@__PURE__*/ S.Record(
|
|
127
117
|
S.String,
|
|
128
|
-
S.String,
|
|
118
|
+
S.NullOr(S.String),
|
|
129
119
|
) as any as S.Schema<Labels>;
|
|
130
120
|
|
|
131
121
|
/** The network access scope of the instance ⚠️ **Note:** This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. */
|
|
132
122
|
export type InstanceNetworkAccessScope = "PUBLIC" | "SNA";
|
|
133
|
-
export const InstanceNetworkAccessScope =
|
|
123
|
+
export const InstanceNetworkAccessScope = S.String;
|
|
134
124
|
|
|
135
125
|
/** List of IPV4 cidr. */
|
|
136
126
|
export type Acl = Array<string>;
|
|
@@ -164,7 +154,7 @@ export const StorageCreate = /*@__PURE__*/ S.suspend(() =>
|
|
|
164
154
|
|
|
165
155
|
/** The sqlserver version used for the instance. */
|
|
166
156
|
export type InstanceVersion = "2022";
|
|
167
|
-
export const InstanceVersion =
|
|
157
|
+
export const InstanceVersion = S.String;
|
|
168
158
|
|
|
169
159
|
export interface CreateInstanceRequest {
|
|
170
160
|
/** The STACKIT project ID. */
|
|
@@ -203,9 +193,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
203
193
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
204
194
|
}),
|
|
205
195
|
),
|
|
206
|
-
).annotate({
|
|
207
|
-
identifier: "CreateInstanceRequest",
|
|
208
|
-
}) as any as S.Schema<CreateInstanceRequest>;
|
|
196
|
+
).annotate({ identifier: "CreateInstanceRequest" }) as any as S.Schema<CreateInstanceRequest>;
|
|
209
197
|
|
|
210
198
|
export interface CreateInstanceResponse {
|
|
211
199
|
id: string;
|
|
@@ -214,12 +202,10 @@ export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
214
202
|
S.Struct({
|
|
215
203
|
id: S.String,
|
|
216
204
|
}),
|
|
217
|
-
).annotate({
|
|
218
|
-
identifier: "CreateInstanceResponse",
|
|
219
|
-
}) as any as S.Schema<CreateInstanceResponse>;
|
|
205
|
+
).annotate({ identifier: "CreateInstanceResponse" }) as any as S.Schema<CreateInstanceResponse>;
|
|
220
206
|
|
|
221
207
|
export type CreateUserRequestRegion = "eu01";
|
|
222
|
-
export const CreateUserRequestRegion =
|
|
208
|
+
export const CreateUserRequestRegion = S.String;
|
|
223
209
|
|
|
224
210
|
/** A list containing the user roles for the instance. A list with the valid user roles can be retrieved using the List Roles endpoint. */
|
|
225
211
|
export type CreateUserRequestRolesList = Array<string>;
|
|
@@ -255,9 +241,7 @@ export const CreateUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
255
241
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
256
242
|
}),
|
|
257
243
|
),
|
|
258
|
-
).annotate({
|
|
259
|
-
identifier: "CreateUserRequest",
|
|
260
|
-
}) as any as S.Schema<CreateUserRequest>;
|
|
244
|
+
).annotate({ identifier: "CreateUserRequest" }) as any as S.Schema<CreateUserRequest>;
|
|
261
245
|
|
|
262
246
|
export type CreateUserResponseRolesList = Array<string>;
|
|
263
247
|
export const CreateUserResponseRolesList = /*@__PURE__*/ S.Array(
|
|
@@ -287,12 +271,10 @@ export const CreateUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
287
271
|
uri: S.String,
|
|
288
272
|
username: S.String,
|
|
289
273
|
}),
|
|
290
|
-
).annotate({
|
|
291
|
-
identifier: "CreateUserResponse",
|
|
292
|
-
}) as any as S.Schema<CreateUserResponse>;
|
|
274
|
+
).annotate({ identifier: "CreateUserResponse" }) as any as S.Schema<CreateUserResponse>;
|
|
293
275
|
|
|
294
276
|
export type DeleteDatabaseRequestRegion = "eu01";
|
|
295
|
-
export const DeleteDatabaseRequestRegion =
|
|
277
|
+
export const DeleteDatabaseRequestRegion = S.String;
|
|
296
278
|
|
|
297
279
|
export interface DeleteDatabaseRequest {
|
|
298
280
|
/** The STACKIT project ID. */
|
|
@@ -318,19 +300,15 @@ export const DeleteDatabaseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
318
300
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
319
301
|
}),
|
|
320
302
|
),
|
|
321
|
-
).annotate({
|
|
322
|
-
identifier: "DeleteDatabaseRequest",
|
|
323
|
-
}) as any as S.Schema<DeleteDatabaseRequest>;
|
|
303
|
+
).annotate({ identifier: "DeleteDatabaseRequest" }) as any as S.Schema<DeleteDatabaseRequest>;
|
|
324
304
|
|
|
325
305
|
export interface DeleteDatabaseResponse {}
|
|
326
|
-
export const DeleteDatabaseResponse = /*@__PURE__*/ S.suspend(() =>
|
|
327
|
-
S.Struct({}),
|
|
328
|
-
).annotate({
|
|
306
|
+
export const DeleteDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
329
307
|
identifier: "DeleteDatabaseResponse",
|
|
330
308
|
}) as any as S.Schema<DeleteDatabaseResponse>;
|
|
331
309
|
|
|
332
310
|
export type DeleteInstanceRequestRegion = "eu01";
|
|
333
|
-
export const DeleteInstanceRequestRegion =
|
|
311
|
+
export const DeleteInstanceRequestRegion = S.String;
|
|
334
312
|
|
|
335
313
|
export interface DeleteInstanceRequest {
|
|
336
314
|
/** The STACKIT project ID. */
|
|
@@ -353,19 +331,15 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
353
331
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
354
332
|
}),
|
|
355
333
|
),
|
|
356
|
-
).annotate({
|
|
357
|
-
identifier: "DeleteInstanceRequest",
|
|
358
|
-
}) as any as S.Schema<DeleteInstanceRequest>;
|
|
334
|
+
).annotate({ identifier: "DeleteInstanceRequest" }) as any as S.Schema<DeleteInstanceRequest>;
|
|
359
335
|
|
|
360
336
|
export interface DeleteInstanceResponse {}
|
|
361
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
362
|
-
S.Struct({}),
|
|
363
|
-
).annotate({
|
|
337
|
+
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
364
338
|
identifier: "DeleteInstanceResponse",
|
|
365
339
|
}) as any as S.Schema<DeleteInstanceResponse>;
|
|
366
340
|
|
|
367
341
|
export type DeleteUserRequestRegion = "eu01";
|
|
368
|
-
export const DeleteUserRequestRegion =
|
|
342
|
+
export const DeleteUserRequestRegion = S.String;
|
|
369
343
|
|
|
370
344
|
export interface DeleteUserRequest {
|
|
371
345
|
/** The STACKIT project ID. */
|
|
@@ -391,19 +365,15 @@ export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
391
365
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
392
366
|
}),
|
|
393
367
|
),
|
|
394
|
-
).annotate({
|
|
395
|
-
identifier: "DeleteUserRequest",
|
|
396
|
-
}) as any as S.Schema<DeleteUserRequest>;
|
|
368
|
+
).annotate({ identifier: "DeleteUserRequest" }) as any as S.Schema<DeleteUserRequest>;
|
|
397
369
|
|
|
398
370
|
export interface DeleteUserResponse {}
|
|
399
|
-
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
400
|
-
S.Struct({}),
|
|
401
|
-
).annotate({
|
|
371
|
+
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
402
372
|
identifier: "DeleteUserResponse",
|
|
403
373
|
}) as any as S.Schema<DeleteUserResponse>;
|
|
404
374
|
|
|
405
375
|
export type GetBackupRequestRegion = "eu01";
|
|
406
|
-
export const GetBackupRequestRegion =
|
|
376
|
+
export const GetBackupRequestRegion = S.String;
|
|
407
377
|
|
|
408
378
|
export interface GetBackupRequest {
|
|
409
379
|
/** The STACKIT project ID. */
|
|
@@ -429,9 +399,7 @@ export const GetBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
429
399
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
430
400
|
}),
|
|
431
401
|
),
|
|
432
|
-
).annotate({
|
|
433
|
-
identifier: "GetBackupRequest",
|
|
434
|
-
}) as any as S.Schema<GetBackupRequest>;
|
|
402
|
+
).annotate({ identifier: "GetBackupRequest" }) as any as S.Schema<GetBackupRequest>;
|
|
435
403
|
|
|
436
404
|
export interface GetBackupResponse {
|
|
437
405
|
completionTime: string;
|
|
@@ -450,12 +418,10 @@ export const GetBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
450
418
|
size: S.Number,
|
|
451
419
|
type: S.String,
|
|
452
420
|
}),
|
|
453
|
-
).annotate({
|
|
454
|
-
identifier: "GetBackupResponse",
|
|
455
|
-
}) as any as S.Schema<GetBackupResponse>;
|
|
421
|
+
).annotate({ identifier: "GetBackupResponse" }) as any as S.Schema<GetBackupResponse>;
|
|
456
422
|
|
|
457
423
|
export type GetDatabaseRequestRegion = "eu01";
|
|
458
|
-
export const GetDatabaseRequestRegion =
|
|
424
|
+
export const GetDatabaseRequestRegion = S.String;
|
|
459
425
|
|
|
460
426
|
export interface GetDatabaseRequest {
|
|
461
427
|
/** The STACKIT project ID. */
|
|
@@ -481,9 +447,7 @@ export const GetDatabaseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
481
447
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
482
448
|
}),
|
|
483
449
|
),
|
|
484
|
-
).annotate({
|
|
485
|
-
identifier: "GetDatabaseRequest",
|
|
486
|
-
}) as any as S.Schema<GetDatabaseRequest>;
|
|
450
|
+
).annotate({ identifier: "GetDatabaseRequest" }) as any as S.Schema<GetDatabaseRequest>;
|
|
487
451
|
|
|
488
452
|
export interface GetDatabaseResponse {
|
|
489
453
|
collationName: string;
|
|
@@ -500,12 +464,10 @@ export const GetDatabaseResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
500
464
|
name: S.String,
|
|
501
465
|
owner: S.String,
|
|
502
466
|
}),
|
|
503
|
-
).annotate({
|
|
504
|
-
identifier: "GetDatabaseResponse",
|
|
505
|
-
}) as any as S.Schema<GetDatabaseResponse>;
|
|
467
|
+
).annotate({ identifier: "GetDatabaseResponse" }) as any as S.Schema<GetDatabaseResponse>;
|
|
506
468
|
|
|
507
469
|
export type GetInstanceRequestRegion = "eu01";
|
|
508
|
-
export const GetInstanceRequestRegion =
|
|
470
|
+
export const GetInstanceRequestRegion = S.String;
|
|
509
471
|
|
|
510
472
|
export interface GetInstanceRequest {
|
|
511
473
|
/** The STACKIT project ID. */
|
|
@@ -528,13 +490,11 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
528
490
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
529
491
|
}),
|
|
530
492
|
),
|
|
531
|
-
).annotate({
|
|
532
|
-
identifier: "GetInstanceRequest",
|
|
533
|
-
}) as any as S.Schema<GetInstanceRequest>;
|
|
493
|
+
).annotate({ identifier: "GetInstanceRequest" }) as any as S.Schema<GetInstanceRequest>;
|
|
534
494
|
|
|
535
495
|
/** Edition of the MSSQL server instance */
|
|
536
496
|
export type InstanceEdition = "Standard" | "EnterpriseCore" | "developer";
|
|
537
|
-
export const InstanceEdition =
|
|
497
|
+
export const InstanceEdition = S.String;
|
|
538
498
|
|
|
539
499
|
/** The access configuration of the instance */
|
|
540
500
|
export interface InstanceNetwork {
|
|
@@ -550,22 +510,14 @@ export const InstanceNetwork = /*@__PURE__*/ S.suspend(() =>
|
|
|
550
510
|
instanceAddress: S.optional(S.String),
|
|
551
511
|
routerAddress: S.optional(S.String),
|
|
552
512
|
}),
|
|
553
|
-
).annotate({
|
|
554
|
-
identifier: "InstanceNetwork",
|
|
555
|
-
}) as any as S.Schema<InstanceNetwork>;
|
|
513
|
+
).annotate({ identifier: "InstanceNetwork" }) as any as S.Schema<InstanceNetwork>;
|
|
556
514
|
|
|
557
515
|
/** How many replicas the instance should have. */
|
|
558
516
|
export type Replicas = 1 | 3;
|
|
559
|
-
export const Replicas =
|
|
517
|
+
export const Replicas = S.Number;
|
|
560
518
|
|
|
561
|
-
export type State =
|
|
562
|
-
|
|
563
|
-
| "PENDING"
|
|
564
|
-
| "PROGRESSING"
|
|
565
|
-
| "FAILURE"
|
|
566
|
-
| "UNKNOWN"
|
|
567
|
-
| "TERMINATING";
|
|
568
|
-
export const State = /*@__PURE__*/ S.String;
|
|
519
|
+
export type State = "READY" | "PENDING" | "PROGRESSING" | "FAILURE" | "UNKNOWN" | "TERMINATING";
|
|
520
|
+
export const State = S.String;
|
|
569
521
|
|
|
570
522
|
/** The object containing information about the storage size and class. */
|
|
571
523
|
export interface Storage {
|
|
@@ -612,12 +564,10 @@ export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
612
564
|
storage: Storage,
|
|
613
565
|
version: InstanceVersion,
|
|
614
566
|
}),
|
|
615
|
-
).annotate({
|
|
616
|
-
identifier: "GetInstanceResponse",
|
|
617
|
-
}) as any as S.Schema<GetInstanceResponse>;
|
|
567
|
+
).annotate({ identifier: "GetInstanceResponse" }) as any as S.Schema<GetInstanceResponse>;
|
|
618
568
|
|
|
619
569
|
export type GetUserRequestRegion = "eu01";
|
|
620
|
-
export const GetUserRequestRegion =
|
|
570
|
+
export const GetUserRequestRegion = S.String;
|
|
621
571
|
|
|
622
572
|
export interface GetUserRequest {
|
|
623
573
|
/** The STACKIT project ID. */
|
|
@@ -671,12 +621,10 @@ export const GetUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
671
621
|
status: S.String,
|
|
672
622
|
username: S.String,
|
|
673
623
|
}),
|
|
674
|
-
).annotate({
|
|
675
|
-
identifier: "GetUserResponse",
|
|
676
|
-
}) as any as S.Schema<GetUserResponse>;
|
|
624
|
+
).annotate({ identifier: "GetUserResponse" }) as any as S.Schema<GetUserResponse>;
|
|
677
625
|
|
|
678
626
|
export type ListBackupsRequestRegion = "eu01";
|
|
679
|
-
export const ListBackupsRequestRegion =
|
|
627
|
+
export const ListBackupsRequestRegion = S.String;
|
|
680
628
|
|
|
681
629
|
export type BackupSort =
|
|
682
630
|
| "end_time.desc"
|
|
@@ -691,7 +639,7 @@ export type BackupSort =
|
|
|
691
639
|
| "size.asc"
|
|
692
640
|
| "type.desc"
|
|
693
641
|
| "type.asc";
|
|
694
|
-
export const BackupSort =
|
|
642
|
+
export const BackupSort = S.String;
|
|
695
643
|
|
|
696
644
|
export interface ListBackupsRequest {
|
|
697
645
|
/** The STACKIT project ID. */
|
|
@@ -723,9 +671,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
723
671
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
724
672
|
}),
|
|
725
673
|
),
|
|
726
|
-
).annotate({
|
|
727
|
-
identifier: "ListBackupsRequest",
|
|
728
|
-
}) as any as S.Schema<ListBackupsRequest>;
|
|
674
|
+
).annotate({ identifier: "ListBackupsRequest" }) as any as S.Schema<ListBackupsRequest>;
|
|
729
675
|
|
|
730
676
|
export interface ListBackup {
|
|
731
677
|
completionTime: string;
|
|
@@ -763,9 +709,7 @@ export const ListBackupsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
763
709
|
backups: ListBackupsResponseBackupsList,
|
|
764
710
|
databaseName: S.String,
|
|
765
711
|
}),
|
|
766
|
-
).annotate({
|
|
767
|
-
identifier: "ListBackupsResponse",
|
|
768
|
-
}) as any as S.Schema<ListBackupsResponse>;
|
|
712
|
+
).annotate({ identifier: "ListBackupsResponse" }) as any as S.Schema<ListBackupsResponse>;
|
|
769
713
|
|
|
770
714
|
/** The list containing the information about the backups. */
|
|
771
715
|
export type ListBackupResponseBackupsList = Array<ListBackupsResponse>;
|
|
@@ -800,12 +744,10 @@ export const ListBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
800
744
|
backups: ListBackupResponseBackupsList,
|
|
801
745
|
pagination: Pagination,
|
|
802
746
|
}),
|
|
803
|
-
).annotate({
|
|
804
|
-
identifier: "ListBackupResponse",
|
|
805
|
-
}) as any as S.Schema<ListBackupResponse>;
|
|
747
|
+
).annotate({ identifier: "ListBackupResponse" }) as any as S.Schema<ListBackupResponse>;
|
|
806
748
|
|
|
807
749
|
export type ListCollationsRequestRegion = "eu01";
|
|
808
|
-
export const ListCollationsRequestRegion =
|
|
750
|
+
export const ListCollationsRequestRegion = S.String;
|
|
809
751
|
|
|
810
752
|
export interface ListCollationsRequest {
|
|
811
753
|
/** The STACKIT project ID. */
|
|
@@ -828,9 +770,7 @@ export const ListCollationsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
828
770
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
829
771
|
}),
|
|
830
772
|
),
|
|
831
|
-
).annotate({
|
|
832
|
-
identifier: "ListCollationsRequest",
|
|
833
|
-
}) as any as S.Schema<ListCollationsRequest>;
|
|
773
|
+
).annotate({ identifier: "ListCollationsRequest" }) as any as S.Schema<ListCollationsRequest>;
|
|
834
774
|
|
|
835
775
|
export interface DatabaseGetcollation {
|
|
836
776
|
collation_name?: string;
|
|
@@ -841,9 +781,7 @@ export const DatabaseGetcollation = /*@__PURE__*/ S.suspend(() =>
|
|
|
841
781
|
collation_name: S.optional(S.String),
|
|
842
782
|
description: S.optional(S.String),
|
|
843
783
|
}),
|
|
844
|
-
).annotate({
|
|
845
|
-
identifier: "DatabaseGetcollation",
|
|
846
|
-
}) as any as S.Schema<DatabaseGetcollation>;
|
|
784
|
+
).annotate({ identifier: "DatabaseGetcollation" }) as any as S.Schema<DatabaseGetcollation>;
|
|
847
785
|
|
|
848
786
|
/** List of collations available for the instance. */
|
|
849
787
|
export type ListCollationsResponseCollationsList = Array<DatabaseGetcollation>;
|
|
@@ -859,12 +797,10 @@ export const ListCollationsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
859
797
|
S.Struct({
|
|
860
798
|
collations: ListCollationsResponseCollationsList,
|
|
861
799
|
}),
|
|
862
|
-
).annotate({
|
|
863
|
-
identifier: "ListCollationsResponse",
|
|
864
|
-
}) as any as S.Schema<ListCollationsResponse>;
|
|
800
|
+
).annotate({ identifier: "ListCollationsResponse" }) as any as S.Schema<ListCollationsResponse>;
|
|
865
801
|
|
|
866
802
|
export type ListCompatibilitiesRequestRegion = "eu01";
|
|
867
|
-
export const ListCompatibilitiesRequestRegion =
|
|
803
|
+
export const ListCompatibilitiesRequestRegion = S.String;
|
|
868
804
|
|
|
869
805
|
export interface ListCompatibilitiesRequest {
|
|
870
806
|
/** The STACKIT project ID. */
|
|
@@ -900,17 +836,13 @@ export const DatabaseGetcompatibility = /*@__PURE__*/ S.suspend(() =>
|
|
|
900
836
|
compatibility_level: S.optional(S.Number),
|
|
901
837
|
description: S.optional(S.String),
|
|
902
838
|
}),
|
|
903
|
-
).annotate({
|
|
904
|
-
identifier: "DatabaseGetcompatibility",
|
|
905
|
-
}) as any as S.Schema<DatabaseGetcompatibility>;
|
|
839
|
+
).annotate({ identifier: "DatabaseGetcompatibility" }) as any as S.Schema<DatabaseGetcompatibility>;
|
|
906
840
|
|
|
907
841
|
/** List of compatibilities available for a d */
|
|
908
|
-
export type ListCompatibilityResponseCompatibilitiesList =
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
DatabaseGetcompatibility,
|
|
913
|
-
) as any as S.Schema<ListCompatibilityResponseCompatibilitiesList>;
|
|
842
|
+
export type ListCompatibilityResponseCompatibilitiesList = Array<DatabaseGetcompatibility>;
|
|
843
|
+
export const ListCompatibilityResponseCompatibilitiesList = /*@__PURE__*/ S.Array(
|
|
844
|
+
DatabaseGetcompatibility,
|
|
845
|
+
) as any as S.Schema<ListCompatibilityResponseCompatibilitiesList>;
|
|
914
846
|
|
|
915
847
|
export interface ListCompatibilityResponse {
|
|
916
848
|
/** List of compatibilities available for a d */
|
|
@@ -925,8 +857,7 @@ export const ListCompatibilityResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
925
857
|
}) as any as S.Schema<ListCompatibilityResponse>;
|
|
926
858
|
|
|
927
859
|
export type ListCurrentRunningRestoreJobsRequestRegion = "eu01";
|
|
928
|
-
export const ListCurrentRunningRestoreJobsRequestRegion =
|
|
929
|
-
/*@__PURE__*/ S.String;
|
|
860
|
+
export const ListCurrentRunningRestoreJobsRequestRegion = S.String;
|
|
930
861
|
|
|
931
862
|
export interface ListCurrentRunningRestoreJobsRequest {
|
|
932
863
|
/** The STACKIT project ID. */
|
|
@@ -936,20 +867,19 @@ export interface ListCurrentRunningRestoreJobsRequest {
|
|
|
936
867
|
/** The ID of the instance. */
|
|
937
868
|
instanceId: string;
|
|
938
869
|
}
|
|
939
|
-
export const ListCurrentRunningRestoreJobsRequest = /*@__PURE__*/ S.suspend(
|
|
940
|
-
(
|
|
941
|
-
S.
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
),
|
|
870
|
+
export const ListCurrentRunningRestoreJobsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
871
|
+
S.Struct({
|
|
872
|
+
projectId: S.String.pipe(T.Label()),
|
|
873
|
+
region: ListCurrentRunningRestoreJobsRequestRegion.pipe(T.Label()),
|
|
874
|
+
instanceId: S.String.pipe(T.Label()),
|
|
875
|
+
}).pipe(
|
|
876
|
+
T.Http({
|
|
877
|
+
method: "GET",
|
|
878
|
+
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/restore-jobs",
|
|
879
|
+
code: 200,
|
|
880
|
+
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
881
|
+
}),
|
|
882
|
+
),
|
|
953
883
|
).annotate({
|
|
954
884
|
identifier: "ListCurrentRunningRestoreJobsRequest",
|
|
955
885
|
}) as any as S.Schema<ListCurrentRunningRestoreJobsRequest>;
|
|
@@ -974,17 +904,13 @@ export const BackupRunningRestore = /*@__PURE__*/ S.suspend(() =>
|
|
|
974
904
|
percent_complete: S.Number,
|
|
975
905
|
start_time: S.String,
|
|
976
906
|
}),
|
|
977
|
-
).annotate({
|
|
978
|
-
identifier: "BackupRunningRestore",
|
|
979
|
-
}) as any as S.Schema<BackupRunningRestore>;
|
|
907
|
+
).annotate({ identifier: "BackupRunningRestore" }) as any as S.Schema<BackupRunningRestore>;
|
|
980
908
|
|
|
981
909
|
/** List of the currently running Restore jobs */
|
|
982
|
-
export type ListCurrentRunningRestoreJobsRunningRestoresList =
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
BackupRunningRestore,
|
|
987
|
-
) as any as S.Schema<ListCurrentRunningRestoreJobsRunningRestoresList>;
|
|
910
|
+
export type ListCurrentRunningRestoreJobsRunningRestoresList = Array<BackupRunningRestore>;
|
|
911
|
+
export const ListCurrentRunningRestoreJobsRunningRestoresList = /*@__PURE__*/ S.Array(
|
|
912
|
+
BackupRunningRestore,
|
|
913
|
+
) as any as S.Schema<ListCurrentRunningRestoreJobsRunningRestoresList>;
|
|
988
914
|
|
|
989
915
|
export interface ListCurrentRunningRestoreJobs {
|
|
990
916
|
/** List of the currently running Restore jobs */
|
|
@@ -999,7 +925,7 @@ export const ListCurrentRunningRestoreJobs = /*@__PURE__*/ S.suspend(() =>
|
|
|
999
925
|
}) as any as S.Schema<ListCurrentRunningRestoreJobs>;
|
|
1000
926
|
|
|
1001
927
|
export type ListDatabasesRequestRegion = "eu01";
|
|
1002
|
-
export const ListDatabasesRequestRegion =
|
|
928
|
+
export const ListDatabasesRequestRegion = S.String;
|
|
1003
929
|
|
|
1004
930
|
export type DatabaseSort =
|
|
1005
931
|
| "created_at.desc"
|
|
@@ -1012,7 +938,7 @@ export type DatabaseSort =
|
|
|
1012
938
|
| "database_owner.asc"
|
|
1013
939
|
| "index.asc"
|
|
1014
940
|
| "index.desc";
|
|
1015
|
-
export const DatabaseSort =
|
|
941
|
+
export const DatabaseSort = S.String;
|
|
1016
942
|
|
|
1017
943
|
export interface ListDatabasesRequest {
|
|
1018
944
|
/** The STACKIT project ID. */
|
|
@@ -1044,9 +970,7 @@ export const ListDatabasesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1044
970
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1045
971
|
}),
|
|
1046
972
|
),
|
|
1047
|
-
).annotate({
|
|
1048
|
-
identifier: "ListDatabasesRequest",
|
|
1049
|
-
}) as any as S.Schema<ListDatabasesRequest>;
|
|
973
|
+
).annotate({ identifier: "ListDatabasesRequest" }) as any as S.Schema<ListDatabasesRequest>;
|
|
1050
974
|
|
|
1051
975
|
export interface ListDatabase {
|
|
1052
976
|
created: string;
|
|
@@ -1079,12 +1003,10 @@ export const ListDatabasesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1079
1003
|
databases: ListDatabasesResponseDatabasesList,
|
|
1080
1004
|
pagination: Pagination,
|
|
1081
1005
|
}),
|
|
1082
|
-
).annotate({
|
|
1083
|
-
identifier: "ListDatabasesResponse",
|
|
1084
|
-
}) as any as S.Schema<ListDatabasesResponse>;
|
|
1006
|
+
).annotate({ identifier: "ListDatabasesResponse" }) as any as S.Schema<ListDatabasesResponse>;
|
|
1085
1007
|
|
|
1086
1008
|
export type ListFlavorsRequestRegion = "eu01";
|
|
1087
|
-
export const ListFlavorsRequestRegion =
|
|
1009
|
+
export const ListFlavorsRequestRegion = S.String;
|
|
1088
1010
|
|
|
1089
1011
|
export type FlavorSort =
|
|
1090
1012
|
| "index.desc"
|
|
@@ -1105,7 +1027,7 @@ export type FlavorSort =
|
|
|
1105
1027
|
| "storage_class.desc"
|
|
1106
1028
|
| "node_type.asc"
|
|
1107
1029
|
| "node_type.desc";
|
|
1108
|
-
export const FlavorSort =
|
|
1030
|
+
export const FlavorSort = S.String;
|
|
1109
1031
|
|
|
1110
1032
|
export interface ListFlavorsRequest {
|
|
1111
1033
|
/** The STACKIT project ID. */
|
|
@@ -1134,9 +1056,7 @@ export const ListFlavorsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1134
1056
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1135
1057
|
}),
|
|
1136
1058
|
),
|
|
1137
|
-
).annotate({
|
|
1138
|
-
identifier: "ListFlavorsRequest",
|
|
1139
|
-
}) as any as S.Schema<ListFlavorsRequest>;
|
|
1059
|
+
).annotate({ identifier: "ListFlavorsRequest" }) as any as S.Schema<ListFlavorsRequest>;
|
|
1140
1060
|
|
|
1141
1061
|
/** a storageClass defines how efficient the storage can work */
|
|
1142
1062
|
export interface FlavorStorageClassesStorageClass {
|
|
@@ -1200,12 +1120,10 @@ export const ListFlavorsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1200
1120
|
flavors: ListFlavorsResponseFlavorsList,
|
|
1201
1121
|
pagination: Pagination,
|
|
1202
1122
|
}),
|
|
1203
|
-
).annotate({
|
|
1204
|
-
identifier: "ListFlavorsResponse",
|
|
1205
|
-
}) as any as S.Schema<ListFlavorsResponse>;
|
|
1123
|
+
).annotate({ identifier: "ListFlavorsResponse" }) as any as S.Schema<ListFlavorsResponse>;
|
|
1206
1124
|
|
|
1207
1125
|
export type ListInstancesRequestRegion = "eu01";
|
|
1208
|
-
export const ListInstancesRequestRegion =
|
|
1126
|
+
export const ListInstancesRequestRegion = S.String;
|
|
1209
1127
|
|
|
1210
1128
|
export type InstanceSort =
|
|
1211
1129
|
| "index.desc"
|
|
@@ -1218,7 +1136,7 @@ export type InstanceSort =
|
|
|
1218
1136
|
| "name.desc"
|
|
1219
1137
|
| "state.asc"
|
|
1220
1138
|
| "state.desc";
|
|
1221
|
-
export const InstanceSort =
|
|
1139
|
+
export const InstanceSort = S.String;
|
|
1222
1140
|
|
|
1223
1141
|
export interface ListInstancesRequest {
|
|
1224
1142
|
/** The STACKIT project ID. */
|
|
@@ -1247,9 +1165,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1247
1165
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1248
1166
|
}),
|
|
1249
1167
|
),
|
|
1250
|
-
).annotate({
|
|
1251
|
-
identifier: "ListInstancesRequest",
|
|
1252
|
-
}) as any as S.Schema<ListInstancesRequest>;
|
|
1168
|
+
).annotate({ identifier: "ListInstancesRequest" }) as any as S.Schema<ListInstancesRequest>;
|
|
1253
1169
|
|
|
1254
1170
|
export interface ListInstance {
|
|
1255
1171
|
id: string;
|
|
@@ -1282,12 +1198,10 @@ export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1282
1198
|
instances: ListInstancesResponseInstancesList,
|
|
1283
1199
|
pagination: Pagination,
|
|
1284
1200
|
}),
|
|
1285
|
-
).annotate({
|
|
1286
|
-
identifier: "ListInstancesResponse",
|
|
1287
|
-
}) as any as S.Schema<ListInstancesResponse>;
|
|
1201
|
+
).annotate({ identifier: "ListInstancesResponse" }) as any as S.Schema<ListInstancesResponse>;
|
|
1288
1202
|
|
|
1289
1203
|
export type ListRolesRequestRegion = "eu01";
|
|
1290
|
-
export const ListRolesRequestRegion =
|
|
1204
|
+
export const ListRolesRequestRegion = S.String;
|
|
1291
1205
|
|
|
1292
1206
|
export interface ListRolesRequest {
|
|
1293
1207
|
/** The STACKIT project ID. */
|
|
@@ -1310,9 +1224,7 @@ export const ListRolesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1310
1224
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1311
1225
|
}),
|
|
1312
1226
|
),
|
|
1313
|
-
).annotate({
|
|
1314
|
-
identifier: "ListRolesRequest",
|
|
1315
|
-
}) as any as S.Schema<ListRolesRequest>;
|
|
1227
|
+
).annotate({ identifier: "ListRolesRequest" }) as any as S.Schema<ListRolesRequest>;
|
|
1316
1228
|
|
|
1317
1229
|
/** List of roles available for an instance. */
|
|
1318
1230
|
export type ListRolesResponseRolesList = Array<string>;
|
|
@@ -1328,12 +1240,10 @@ export const ListRolesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1328
1240
|
S.Struct({
|
|
1329
1241
|
roles: ListRolesResponseRolesList,
|
|
1330
1242
|
}),
|
|
1331
|
-
).annotate({
|
|
1332
|
-
identifier: "ListRolesResponse",
|
|
1333
|
-
}) as any as S.Schema<ListRolesResponse>;
|
|
1243
|
+
).annotate({ identifier: "ListRolesResponse" }) as any as S.Schema<ListRolesResponse>;
|
|
1334
1244
|
|
|
1335
1245
|
export type ListStoragesRequestRegion = "eu01";
|
|
1336
|
-
export const ListStoragesRequestRegion =
|
|
1246
|
+
export const ListStoragesRequestRegion = S.String;
|
|
1337
1247
|
|
|
1338
1248
|
export interface ListStoragesRequest {
|
|
1339
1249
|
/** The STACKIT project ID. */
|
|
@@ -1356,9 +1266,7 @@ export const ListStoragesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1356
1266
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1357
1267
|
}),
|
|
1358
1268
|
),
|
|
1359
|
-
).annotate({
|
|
1360
|
-
identifier: "ListStoragesRequest",
|
|
1361
|
-
}) as any as S.Schema<ListStoragesRequest>;
|
|
1269
|
+
).annotate({ identifier: "ListStoragesRequest" }) as any as S.Schema<ListStoragesRequest>;
|
|
1362
1270
|
|
|
1363
1271
|
/** range of maximum and minimum storage which can be ordered for the flavor in Gigabyte. */
|
|
1364
1272
|
export interface FlavorStorageRange {
|
|
@@ -1370,9 +1278,7 @@ export const FlavorStorageRange = /*@__PURE__*/ S.suspend(() =>
|
|
|
1370
1278
|
max: S.Number,
|
|
1371
1279
|
min: S.Number,
|
|
1372
1280
|
}),
|
|
1373
|
-
).annotate({
|
|
1374
|
-
identifier: "FlavorStorageRange",
|
|
1375
|
-
}) as any as S.Schema<FlavorStorageRange>;
|
|
1281
|
+
).annotate({ identifier: "FlavorStorageRange" }) as any as S.Schema<FlavorStorageRange>;
|
|
1376
1282
|
|
|
1377
1283
|
export interface ListStoragesResponse {
|
|
1378
1284
|
storageClasses: FlavorStorageClasses;
|
|
@@ -1383,12 +1289,10 @@ export const ListStoragesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1383
1289
|
storageClasses: FlavorStorageClasses,
|
|
1384
1290
|
storageRange: FlavorStorageRange,
|
|
1385
1291
|
}),
|
|
1386
|
-
).annotate({
|
|
1387
|
-
identifier: "ListStoragesResponse",
|
|
1388
|
-
}) as any as S.Schema<ListStoragesResponse>;
|
|
1292
|
+
).annotate({ identifier: "ListStoragesResponse" }) as any as S.Schema<ListStoragesResponse>;
|
|
1389
1293
|
|
|
1390
1294
|
export type ListUsersRequestRegion = "eu01";
|
|
1391
|
-
export const ListUsersRequestRegion =
|
|
1295
|
+
export const ListUsersRequestRegion = S.String;
|
|
1392
1296
|
|
|
1393
1297
|
export type UserSort =
|
|
1394
1298
|
| "id.asc"
|
|
@@ -1399,7 +1303,7 @@ export type UserSort =
|
|
|
1399
1303
|
| "name.asc"
|
|
1400
1304
|
| "status.desc"
|
|
1401
1305
|
| "status.asc";
|
|
1402
|
-
export const UserSort =
|
|
1306
|
+
export const UserSort = S.String;
|
|
1403
1307
|
|
|
1404
1308
|
export interface ListUsersRequest {
|
|
1405
1309
|
/** The STACKIT project ID. */
|
|
@@ -1431,9 +1335,7 @@ export const ListUsersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1431
1335
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1432
1336
|
}),
|
|
1433
1337
|
),
|
|
1434
|
-
).annotate({
|
|
1435
|
-
identifier: "ListUsersRequest",
|
|
1436
|
-
}) as any as S.Schema<ListUsersRequest>;
|
|
1338
|
+
).annotate({ identifier: "ListUsersRequest" }) as any as S.Schema<ListUsersRequest>;
|
|
1437
1339
|
|
|
1438
1340
|
export interface ListUser {
|
|
1439
1341
|
id: number;
|
|
@@ -1464,12 +1366,10 @@ export const ListUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1464
1366
|
pagination: Pagination,
|
|
1465
1367
|
users: ListUserResponseUsersList,
|
|
1466
1368
|
}),
|
|
1467
|
-
).annotate({
|
|
1468
|
-
identifier: "ListUserResponse",
|
|
1469
|
-
}) as any as S.Schema<ListUserResponse>;
|
|
1369
|
+
).annotate({ identifier: "ListUserResponse" }) as any as S.Schema<ListUserResponse>;
|
|
1470
1370
|
|
|
1471
1371
|
export type ListVersionsRequestRegion = "eu01";
|
|
1472
|
-
export const ListVersionsRequestRegion =
|
|
1372
|
+
export const ListVersionsRequestRegion = S.String;
|
|
1473
1373
|
|
|
1474
1374
|
export interface ListVersionsRequest {
|
|
1475
1375
|
/** The STACKIT project ID. */
|
|
@@ -1489,9 +1389,7 @@ export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1489
1389
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1490
1390
|
}),
|
|
1491
1391
|
),
|
|
1492
|
-
).annotate({
|
|
1493
|
-
identifier: "ListVersionsRequest",
|
|
1494
|
-
}) as any as S.Schema<ListVersionsRequest>;
|
|
1392
|
+
).annotate({ identifier: "ListVersionsRequest" }) as any as S.Schema<ListVersionsRequest>;
|
|
1495
1393
|
|
|
1496
1394
|
/** The version of the sqlserver instance and more details. */
|
|
1497
1395
|
export interface Version {
|
|
@@ -1527,12 +1425,10 @@ export const ListVersionsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1527
1425
|
S.Struct({
|
|
1528
1426
|
versions: ListVersionsResponseVersionsList,
|
|
1529
1427
|
}),
|
|
1530
|
-
).annotate({
|
|
1531
|
-
identifier: "ListVersionsResponse",
|
|
1532
|
-
}) as any as S.Schema<ListVersionsResponse>;
|
|
1428
|
+
).annotate({ identifier: "ListVersionsResponse" }) as any as S.Schema<ListVersionsResponse>;
|
|
1533
1429
|
|
|
1534
1430
|
export type PartialUpdateInstanceRequestRegion = "eu01";
|
|
1535
|
-
export const PartialUpdateInstanceRequestRegion =
|
|
1431
|
+
export const PartialUpdateInstanceRequestRegion = S.String;
|
|
1536
1432
|
|
|
1537
1433
|
/** the network configuration of the instance. */
|
|
1538
1434
|
export interface PartialUpdateInstanceRequestNetwork {
|
|
@@ -1557,7 +1453,7 @@ export const StorageUpdate = /*@__PURE__*/ S.suspend(() =>
|
|
|
1557
1453
|
).annotate({ identifier: "StorageUpdate" }) as any as S.Schema<StorageUpdate>;
|
|
1558
1454
|
|
|
1559
1455
|
export type InstanceVersionOpt = "2022";
|
|
1560
|
-
export const InstanceVersionOpt =
|
|
1456
|
+
export const InstanceVersionOpt = S.String;
|
|
1561
1457
|
|
|
1562
1458
|
export interface PartialUpdateInstanceRequest {
|
|
1563
1459
|
/** The STACKIT project ID. */
|
|
@@ -1602,14 +1498,12 @@ export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1602
1498
|
}) as any as S.Schema<PartialUpdateInstanceRequest>;
|
|
1603
1499
|
|
|
1604
1500
|
export interface PartialUpdateInstanceResponse {}
|
|
1605
|
-
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1606
|
-
S.Struct({}),
|
|
1607
|
-
).annotate({
|
|
1501
|
+
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1608
1502
|
identifier: "PartialUpdateInstanceResponse",
|
|
1609
1503
|
}) as any as S.Schema<PartialUpdateInstanceResponse>;
|
|
1610
1504
|
|
|
1611
1505
|
export type ResetUserRequestRegion = "eu01";
|
|
1612
|
-
export const ResetUserRequestRegion =
|
|
1506
|
+
export const ResetUserRequestRegion = S.String;
|
|
1613
1507
|
|
|
1614
1508
|
export interface ResetUserRequest {
|
|
1615
1509
|
/** The STACKIT project ID. */
|
|
@@ -1635,9 +1529,7 @@ export const ResetUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1635
1529
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1636
1530
|
}),
|
|
1637
1531
|
),
|
|
1638
|
-
).annotate({
|
|
1639
|
-
identifier: "ResetUserRequest",
|
|
1640
|
-
}) as any as S.Schema<ResetUserRequest>;
|
|
1532
|
+
).annotate({ identifier: "ResetUserRequest" }) as any as S.Schema<ResetUserRequest>;
|
|
1641
1533
|
|
|
1642
1534
|
export interface ResetUserResponse {
|
|
1643
1535
|
password: string | Redacted.Redacted<string>;
|
|
@@ -1652,15 +1544,13 @@ export const ResetUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1652
1544
|
uri: S.String,
|
|
1653
1545
|
username: S.String,
|
|
1654
1546
|
}),
|
|
1655
|
-
).annotate({
|
|
1656
|
-
identifier: "ResetUserResponse",
|
|
1657
|
-
}) as any as S.Schema<ResetUserResponse>;
|
|
1547
|
+
).annotate({ identifier: "ResetUserResponse" }) as any as S.Schema<ResetUserResponse>;
|
|
1658
1548
|
|
|
1659
1549
|
export type RestoreDatabaseFromBackupRequestRegion = "eu01";
|
|
1660
|
-
export const RestoreDatabaseFromBackupRequestRegion =
|
|
1550
|
+
export const RestoreDatabaseFromBackupRequestRegion = S.String;
|
|
1661
1551
|
|
|
1662
1552
|
export type SourceBackupType = "BACKUP";
|
|
1663
|
-
export const SourceBackupType =
|
|
1553
|
+
export const SourceBackupType = S.String;
|
|
1664
1554
|
|
|
1665
1555
|
/** Restore from an existing managed backup. */
|
|
1666
1556
|
export interface SourceBackup {
|
|
@@ -1712,7 +1602,7 @@ export const ExternalS3 = /*@__PURE__*/ S.suspend(() =>
|
|
|
1712
1602
|
).annotate({ identifier: "ExternalS3" }) as any as S.Schema<ExternalS3>;
|
|
1713
1603
|
|
|
1714
1604
|
export type SourceExternalS3Type = "EXTERNAL_S3";
|
|
1715
|
-
export const SourceExternalS3Type =
|
|
1605
|
+
export const SourceExternalS3Type = S.String;
|
|
1716
1606
|
|
|
1717
1607
|
/** Restore from an external S3 backup file. */
|
|
1718
1608
|
export interface SourceExternalS3 {
|
|
@@ -1729,14 +1619,10 @@ export const SourceExternalS3 = /*@__PURE__*/ S.suspend(() =>
|
|
|
1729
1619
|
s3_details: ExternalS3,
|
|
1730
1620
|
type: SourceExternalS3Type,
|
|
1731
1621
|
}),
|
|
1732
|
-
).annotate({
|
|
1733
|
-
identifier: "SourceExternalS3",
|
|
1734
|
-
}) as any as S.Schema<SourceExternalS3>;
|
|
1622
|
+
).annotate({ identifier: "SourceExternalS3" }) as any as S.Schema<SourceExternalS3>;
|
|
1735
1623
|
|
|
1736
1624
|
/** The source of the restore. */
|
|
1737
|
-
export type RestoreDatabaseFromBackupRequestSource =
|
|
1738
|
-
| SourceBackup
|
|
1739
|
-
| SourceExternalS3;
|
|
1625
|
+
export type RestoreDatabaseFromBackupRequestSource = SourceBackup | SourceExternalS3;
|
|
1740
1626
|
export const RestoreDatabaseFromBackupRequestSource =
|
|
1741
1627
|
/*@__PURE__*/ S.Unknown as any as S.Schema<RestoreDatabaseFromBackupRequestSource>;
|
|
1742
1628
|
|
|
@@ -1779,7 +1665,7 @@ export const RestoreDatabaseFromBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1779
1665
|
}) as any as S.Schema<RestoreDatabaseFromBackupResponse>;
|
|
1780
1666
|
|
|
1781
1667
|
export type TriggerBackupRequestRegion = "eu01";
|
|
1782
|
-
export const TriggerBackupRequestRegion =
|
|
1668
|
+
export const TriggerBackupRequestRegion = S.String;
|
|
1783
1669
|
|
|
1784
1670
|
export interface TriggerBackupRequest {
|
|
1785
1671
|
/** The STACKIT project ID. */
|
|
@@ -1805,19 +1691,15 @@ export const TriggerBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1805
1691
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1806
1692
|
}),
|
|
1807
1693
|
),
|
|
1808
|
-
).annotate({
|
|
1809
|
-
identifier: "TriggerBackupRequest",
|
|
1810
|
-
}) as any as S.Schema<TriggerBackupRequest>;
|
|
1694
|
+
).annotate({ identifier: "TriggerBackupRequest" }) as any as S.Schema<TriggerBackupRequest>;
|
|
1811
1695
|
|
|
1812
1696
|
export interface TriggerBackupResponse {}
|
|
1813
|
-
export const TriggerBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1814
|
-
S.Struct({}),
|
|
1815
|
-
).annotate({
|
|
1697
|
+
export const TriggerBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1816
1698
|
identifier: "TriggerBackupResponse",
|
|
1817
1699
|
}) as any as S.Schema<TriggerBackupResponse>;
|
|
1818
1700
|
|
|
1819
1701
|
export type TriggerRestoreRequestRegion = "eu01";
|
|
1820
|
-
export const TriggerRestoreRequestRegion =
|
|
1702
|
+
export const TriggerRestoreRequestRegion = S.String;
|
|
1821
1703
|
|
|
1822
1704
|
export interface TriggerRestoreRequest {
|
|
1823
1705
|
/** The STACKIT project ID. */
|
|
@@ -1847,19 +1729,15 @@ export const TriggerRestoreRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1847
1729
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1848
1730
|
}),
|
|
1849
1731
|
),
|
|
1850
|
-
).annotate({
|
|
1851
|
-
identifier: "TriggerRestoreRequest",
|
|
1852
|
-
}) as any as S.Schema<TriggerRestoreRequest>;
|
|
1732
|
+
).annotate({ identifier: "TriggerRestoreRequest" }) as any as S.Schema<TriggerRestoreRequest>;
|
|
1853
1733
|
|
|
1854
1734
|
export interface TriggerRestoreResponse {}
|
|
1855
|
-
export const TriggerRestoreResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1856
|
-
S.Struct({}),
|
|
1857
|
-
).annotate({
|
|
1735
|
+
export const TriggerRestoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1858
1736
|
identifier: "TriggerRestoreResponse",
|
|
1859
1737
|
}) as any as S.Schema<TriggerRestoreResponse>;
|
|
1860
1738
|
|
|
1861
1739
|
export type UpdateInstanceRequestRegion = "eu01";
|
|
1862
|
-
export const UpdateInstanceRequestRegion =
|
|
1740
|
+
export const UpdateInstanceRequestRegion = S.String;
|
|
1863
1741
|
|
|
1864
1742
|
/** the network configuration of the instance. */
|
|
1865
1743
|
export interface UpdateInstanceRequestNetwork {
|
|
@@ -1911,19 +1789,15 @@ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1911
1789
|
baseUrl: "https://mssql-flex-service.api.stackit.cloud",
|
|
1912
1790
|
}),
|
|
1913
1791
|
),
|
|
1914
|
-
).annotate({
|
|
1915
|
-
identifier: "UpdateInstanceRequest",
|
|
1916
|
-
}) as any as S.Schema<UpdateInstanceRequest>;
|
|
1792
|
+
).annotate({ identifier: "UpdateInstanceRequest" }) as any as S.Schema<UpdateInstanceRequest>;
|
|
1917
1793
|
|
|
1918
1794
|
export interface UpdateInstanceResponse {}
|
|
1919
|
-
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1920
|
-
S.Struct({}),
|
|
1921
|
-
).annotate({
|
|
1795
|
+
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1922
1796
|
identifier: "UpdateInstanceResponse",
|
|
1923
1797
|
}) as any as S.Schema<UpdateInstanceResponse>;
|
|
1924
1798
|
|
|
1925
1799
|
export type UpdateInstanceProtectionRequestRegion = "eu01";
|
|
1926
|
-
export const UpdateInstanceProtectionRequestRegion =
|
|
1800
|
+
export const UpdateInstanceProtectionRequestRegion = S.String;
|
|
1927
1801
|
|
|
1928
1802
|
export interface UpdateInstanceProtectionRequest {
|
|
1929
1803
|
/** The STACKIT project ID. */
|
|
@@ -1978,13 +1852,7 @@ export const createDatabase: API.OperationMethod<
|
|
|
1978
1852
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1979
1853
|
input: CreateDatabaseRequest,
|
|
1980
1854
|
output: CreateDatabaseResponse,
|
|
1981
|
-
errors: [
|
|
1982
|
-
BadRequest,
|
|
1983
|
-
Forbidden,
|
|
1984
|
-
NotFound,
|
|
1985
|
-
UnprocessableEntity,
|
|
1986
|
-
UnknownStackitError,
|
|
1987
|
-
],
|
|
1855
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1988
1856
|
protocol: StackitProtocol,
|
|
1989
1857
|
retry: Retry.Retry,
|
|
1990
1858
|
}));
|
|
@@ -2004,13 +1872,7 @@ export const createInstance: API.OperationMethod<
|
|
|
2004
1872
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2005
1873
|
input: CreateInstanceRequest,
|
|
2006
1874
|
output: CreateInstanceResponse,
|
|
2007
|
-
errors: [
|
|
2008
|
-
BadRequest,
|
|
2009
|
-
Forbidden,
|
|
2010
|
-
NotFound,
|
|
2011
|
-
UnprocessableEntity,
|
|
2012
|
-
UnknownStackitError,
|
|
2013
|
-
],
|
|
1875
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2014
1876
|
protocol: StackitProtocol,
|
|
2015
1877
|
retry: Retry.Retry,
|
|
2016
1878
|
}));
|
|
@@ -2030,22 +1892,12 @@ export const createUser: API.OperationMethod<
|
|
|
2030
1892
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2031
1893
|
input: CreateUserRequest,
|
|
2032
1894
|
output: CreateUserResponse,
|
|
2033
|
-
errors: [
|
|
2034
|
-
BadRequest,
|
|
2035
|
-
Forbidden,
|
|
2036
|
-
NotFound,
|
|
2037
|
-
UnprocessableEntity,
|
|
2038
|
-
UnknownStackitError,
|
|
2039
|
-
],
|
|
1895
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2040
1896
|
protocol: StackitProtocol,
|
|
2041
1897
|
retry: Retry.Retry,
|
|
2042
1898
|
}));
|
|
2043
1899
|
|
|
2044
|
-
export type DeleteDatabaseError =
|
|
2045
|
-
| BadRequest
|
|
2046
|
-
| Forbidden
|
|
2047
|
-
| NotFound
|
|
2048
|
-
| StackitOpError;
|
|
1900
|
+
export type DeleteDatabaseError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2049
1901
|
/** Delete Database Delete database for an instance. */
|
|
2050
1902
|
export const deleteDatabase: API.OperationMethod<
|
|
2051
1903
|
DeleteDatabaseRequest,
|
|
@@ -2060,11 +1912,7 @@ export const deleteDatabase: API.OperationMethod<
|
|
|
2060
1912
|
retry: Retry.Retry,
|
|
2061
1913
|
}));
|
|
2062
1914
|
|
|
2063
|
-
export type DeleteInstanceError =
|
|
2064
|
-
| BadRequest
|
|
2065
|
-
| Forbidden
|
|
2066
|
-
| NotFound
|
|
2067
|
-
| StackitOpError;
|
|
1915
|
+
export type DeleteInstanceError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2068
1916
|
/** Delete Instance Delete an available sqlserver instance. */
|
|
2069
1917
|
export const deleteInstance: API.OperationMethod<
|
|
2070
1918
|
DeleteInstanceRequest,
|
|
@@ -2079,11 +1927,7 @@ export const deleteInstance: API.OperationMethod<
|
|
|
2079
1927
|
retry: Retry.Retry,
|
|
2080
1928
|
}));
|
|
2081
1929
|
|
|
2082
|
-
export type DeleteUserError =
|
|
2083
|
-
| BadRequest
|
|
2084
|
-
| Forbidden
|
|
2085
|
-
| NotFound
|
|
2086
|
-
| StackitOpError;
|
|
1930
|
+
export type DeleteUserError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2087
1931
|
/** Delete User Delete an user from a specific instance. */
|
|
2088
1932
|
export const deleteUser: API.OperationMethod<
|
|
2089
1933
|
DeleteUserRequest,
|
|
@@ -2113,11 +1957,7 @@ export const getBackup: API.OperationMethod<
|
|
|
2113
1957
|
retry: Retry.Retry,
|
|
2114
1958
|
}));
|
|
2115
1959
|
|
|
2116
|
-
export type GetDatabaseError =
|
|
2117
|
-
| BadRequest
|
|
2118
|
-
| Forbidden
|
|
2119
|
-
| NotFound
|
|
2120
|
-
| StackitOpError;
|
|
1960
|
+
export type GetDatabaseError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2121
1961
|
/** Get Database Get specific available database */
|
|
2122
1962
|
export const getDatabase: API.OperationMethod<
|
|
2123
1963
|
GetDatabaseRequest,
|
|
@@ -2132,11 +1972,7 @@ export const getDatabase: API.OperationMethod<
|
|
|
2132
1972
|
retry: Retry.Retry,
|
|
2133
1973
|
}));
|
|
2134
1974
|
|
|
2135
|
-
export type GetInstanceError =
|
|
2136
|
-
| BadRequest
|
|
2137
|
-
| Forbidden
|
|
2138
|
-
| NotFound
|
|
2139
|
-
| StackitOpError;
|
|
1975
|
+
export type GetInstanceError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2140
1976
|
/** Get Specific Instance Get information about a specific available instance */
|
|
2141
1977
|
export const getInstance: API.OperationMethod<
|
|
2142
1978
|
GetInstanceRequest,
|
|
@@ -2166,11 +2002,7 @@ export const getUser: API.OperationMethod<
|
|
|
2166
2002
|
retry: Retry.Retry,
|
|
2167
2003
|
}));
|
|
2168
2004
|
|
|
2169
|
-
export type ListBackupsError =
|
|
2170
|
-
| BadRequest
|
|
2171
|
-
| Forbidden
|
|
2172
|
-
| NotFound
|
|
2173
|
-
| StackitOpError;
|
|
2005
|
+
export type ListBackupsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2174
2006
|
/** List backups List all backups which are available for a specific instance. */
|
|
2175
2007
|
export const listBackups: API.OperationMethod<
|
|
2176
2008
|
ListBackupsRequest,
|
|
@@ -2185,11 +2017,7 @@ export const listBackups: API.OperationMethod<
|
|
|
2185
2017
|
retry: Retry.Retry,
|
|
2186
2018
|
}));
|
|
2187
2019
|
|
|
2188
|
-
export type ListCollationsError =
|
|
2189
|
-
| BadRequest
|
|
2190
|
-
| Forbidden
|
|
2191
|
-
| NotFound
|
|
2192
|
-
| StackitOpError;
|
|
2020
|
+
export type ListCollationsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2193
2021
|
/** Get database collation list Returns a list of collations for an instance */
|
|
2194
2022
|
export const listCollations: API.OperationMethod<
|
|
2195
2023
|
ListCollationsRequest,
|
|
@@ -2204,11 +2032,7 @@ export const listCollations: API.OperationMethod<
|
|
|
2204
2032
|
retry: Retry.Retry,
|
|
2205
2033
|
}));
|
|
2206
2034
|
|
|
2207
|
-
export type ListCompatibilitiesError =
|
|
2208
|
-
| BadRequest
|
|
2209
|
-
| Forbidden
|
|
2210
|
-
| NotFound
|
|
2211
|
-
| StackitOpError;
|
|
2035
|
+
export type ListCompatibilitiesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2212
2036
|
/** Get database compatibility list Returns a list of compatibility levels for creating a new database */
|
|
2213
2037
|
export const listCompatibilities: API.OperationMethod<
|
|
2214
2038
|
ListCompatibilitiesRequest,
|
|
@@ -2242,11 +2066,7 @@ export const listCurrentRunningRestoreJobs2: API.OperationMethod<
|
|
|
2242
2066
|
retry: Retry.Retry,
|
|
2243
2067
|
}));
|
|
2244
2068
|
|
|
2245
|
-
export type ListDatabasesError =
|
|
2246
|
-
| BadRequest
|
|
2247
|
-
| Forbidden
|
|
2248
|
-
| NotFound
|
|
2249
|
-
| StackitOpError;
|
|
2069
|
+
export type ListDatabasesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2250
2070
|
/** List Databases List available databases for an instance. */
|
|
2251
2071
|
export const listDatabases: API.OperationMethod<
|
|
2252
2072
|
ListDatabasesRequest,
|
|
@@ -2261,11 +2081,7 @@ export const listDatabases: API.OperationMethod<
|
|
|
2261
2081
|
retry: Retry.Retry,
|
|
2262
2082
|
}));
|
|
2263
2083
|
|
|
2264
|
-
export type ListFlavors2Error =
|
|
2265
|
-
| BadRequest
|
|
2266
|
-
| Forbidden
|
|
2267
|
-
| NotFound
|
|
2268
|
-
| StackitOpError;
|
|
2084
|
+
export type ListFlavors2Error = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2269
2085
|
/** Get Flavors Get all available flavors for a project. */
|
|
2270
2086
|
export const listFlavors2: API.OperationMethod<
|
|
2271
2087
|
ListFlavorsRequest,
|
|
@@ -2280,11 +2096,7 @@ export const listFlavors2: API.OperationMethod<
|
|
|
2280
2096
|
retry: Retry.Retry,
|
|
2281
2097
|
}));
|
|
2282
2098
|
|
|
2283
|
-
export type ListInstancesError =
|
|
2284
|
-
| BadRequest
|
|
2285
|
-
| Forbidden
|
|
2286
|
-
| NotFound
|
|
2287
|
-
| StackitOpError;
|
|
2099
|
+
export type ListInstancesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2288
2100
|
/** List Instances List all available instances for your project. */
|
|
2289
2101
|
export const listInstances: API.OperationMethod<
|
|
2290
2102
|
ListInstancesRequest,
|
|
@@ -2314,11 +2126,7 @@ export const listRoles: API.OperationMethod<
|
|
|
2314
2126
|
retry: Retry.Retry,
|
|
2315
2127
|
}));
|
|
2316
2128
|
|
|
2317
|
-
export type ListStoragesError =
|
|
2318
|
-
| BadRequest
|
|
2319
|
-
| Forbidden
|
|
2320
|
-
| NotFound
|
|
2321
|
-
| StackitOpError;
|
|
2129
|
+
export type ListStoragesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2322
2130
|
/** Get Storages Get available storages for a specific flavor */
|
|
2323
2131
|
export const listStorages: API.OperationMethod<
|
|
2324
2132
|
ListStoragesRequest,
|
|
@@ -2348,11 +2156,7 @@ export const listUsers: API.OperationMethod<
|
|
|
2348
2156
|
retry: Retry.Retry,
|
|
2349
2157
|
}));
|
|
2350
2158
|
|
|
2351
|
-
export type ListVersionsError =
|
|
2352
|
-
| BadRequest
|
|
2353
|
-
| Forbidden
|
|
2354
|
-
| NotFound
|
|
2355
|
-
| StackitOpError;
|
|
2159
|
+
export type ListVersionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2356
2160
|
/** Get Versions Get the sqlserver available versions for the project. */
|
|
2357
2161
|
export const listVersions: API.OperationMethod<
|
|
2358
2162
|
ListVersionsRequest,
|
|
@@ -2382,13 +2186,7 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
2382
2186
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2383
2187
|
input: PartialUpdateInstanceRequest,
|
|
2384
2188
|
output: PartialUpdateInstanceResponse,
|
|
2385
|
-
errors: [
|
|
2386
|
-
BadRequest,
|
|
2387
|
-
Forbidden,
|
|
2388
|
-
NotFound,
|
|
2389
|
-
UnprocessableEntity,
|
|
2390
|
-
UnknownStackitError,
|
|
2391
|
-
],
|
|
2189
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2392
2190
|
protocol: StackitProtocol,
|
|
2393
2191
|
retry: Retry.Retry,
|
|
2394
2192
|
}));
|
|
@@ -2408,22 +2206,12 @@ export const resetUser: API.OperationMethod<
|
|
|
2408
2206
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2409
2207
|
input: ResetUserRequest,
|
|
2410
2208
|
output: ResetUserResponse,
|
|
2411
|
-
errors: [
|
|
2412
|
-
BadRequest,
|
|
2413
|
-
Forbidden,
|
|
2414
|
-
NotFound,
|
|
2415
|
-
UnprocessableEntity,
|
|
2416
|
-
UnknownStackitError,
|
|
2417
|
-
],
|
|
2209
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2418
2210
|
protocol: StackitProtocol,
|
|
2419
2211
|
retry: Retry.Retry,
|
|
2420
2212
|
}));
|
|
2421
2213
|
|
|
2422
|
-
export type RestoreDatabaseFromBackupError =
|
|
2423
|
-
| BadRequest
|
|
2424
|
-
| Forbidden
|
|
2425
|
-
| NotFound
|
|
2426
|
-
| StackitOpError;
|
|
2214
|
+
export type RestoreDatabaseFromBackupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2427
2215
|
/** Create a Restore Operation Triggers a new restore operation for the specified instance. The request body defines the source (e.g., internal backup, external S3) and the target database. */
|
|
2428
2216
|
export const restoreDatabaseFromBackup: API.OperationMethod<
|
|
2429
2217
|
RestoreDatabaseFromBackupRequest,
|
|
@@ -2453,13 +2241,7 @@ export const triggerBackup: API.OperationMethod<
|
|
|
2453
2241
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2454
2242
|
input: TriggerBackupRequest,
|
|
2455
2243
|
output: TriggerBackupResponse,
|
|
2456
|
-
errors: [
|
|
2457
|
-
BadRequest,
|
|
2458
|
-
Forbidden,
|
|
2459
|
-
NotFound,
|
|
2460
|
-
UnprocessableEntity,
|
|
2461
|
-
UnknownStackitError,
|
|
2462
|
-
],
|
|
2244
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2463
2245
|
protocol: StackitProtocol,
|
|
2464
2246
|
retry: Retry.Retry,
|
|
2465
2247
|
}));
|
|
@@ -2479,13 +2261,7 @@ export const triggerRestore: API.OperationMethod<
|
|
|
2479
2261
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2480
2262
|
input: TriggerRestoreRequest,
|
|
2481
2263
|
output: TriggerRestoreResponse,
|
|
2482
|
-
errors: [
|
|
2483
|
-
BadRequest,
|
|
2484
|
-
Forbidden,
|
|
2485
|
-
NotFound,
|
|
2486
|
-
UnprocessableEntity,
|
|
2487
|
-
UnknownStackitError,
|
|
2488
|
-
],
|
|
2264
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2489
2265
|
protocol: StackitProtocol,
|
|
2490
2266
|
retry: Retry.Retry,
|
|
2491
2267
|
}));
|
|
@@ -2505,13 +2281,7 @@ export const updateInstance: API.OperationMethod<
|
|
|
2505
2281
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2506
2282
|
input: UpdateInstanceRequest,
|
|
2507
2283
|
output: UpdateInstanceResponse,
|
|
2508
|
-
errors: [
|
|
2509
|
-
BadRequest,
|
|
2510
|
-
Forbidden,
|
|
2511
|
-
NotFound,
|
|
2512
|
-
UnprocessableEntity,
|
|
2513
|
-
UnknownStackitError,
|
|
2514
|
-
],
|
|
2284
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2515
2285
|
protocol: StackitProtocol,
|
|
2516
2286
|
retry: Retry.Retry,
|
|
2517
2287
|
}));
|
|
@@ -2531,13 +2301,7 @@ export const updateInstanceProtection: API.OperationMethod<
|
|
|
2531
2301
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2532
2302
|
input: UpdateInstanceProtectionRequest,
|
|
2533
2303
|
output: UpdateInstanceProtectionResponse,
|
|
2534
|
-
errors: [
|
|
2535
|
-
BadRequest,
|
|
2536
|
-
Forbidden,
|
|
2537
|
-
NotFound,
|
|
2538
|
-
UnprocessableEntity,
|
|
2539
|
-
UnknownStackitError,
|
|
2540
|
-
],
|
|
2304
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
2541
2305
|
protocol: StackitProtocol,
|
|
2542
2306
|
retry: Retry.Retry,
|
|
2543
2307
|
}));
|