@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
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/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "PostgresFlex",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -61,7 +74,7 @@ export class UnprocessableEntity
|
|
|
61
74
|
export type CloneInstanceRequestRegion = "eu01" | "eu02";
|
|
62
75
|
export interface CloneInstanceOverrides {
|
|
63
76
|
class: string;
|
|
64
|
-
name?: string;
|
|
77
|
+
name?: string | undefined;
|
|
65
78
|
size: number;
|
|
66
79
|
}
|
|
67
80
|
export interface CloneInstanceRequest {
|
|
@@ -86,7 +99,7 @@ export interface CreateDatabaseRequest {
|
|
|
86
99
|
/** The ID of the instance. */
|
|
87
100
|
instanceId: string;
|
|
88
101
|
name: string;
|
|
89
|
-
owner?: string;
|
|
102
|
+
owner?: string | undefined;
|
|
90
103
|
}
|
|
91
104
|
export interface CreateDatabaseResponse {
|
|
92
105
|
id: number;
|
|
@@ -106,11 +119,11 @@ export interface InstanceEncryption {
|
|
|
106
119
|
export type Labels = { [key: string]: string | null | undefined };
|
|
107
120
|
/** The access scope of the instance. It defines if the instance is public or airgapped. U+26A0 **Note:** "SNA" value for the "network.accessScope" field is only permitted for enabled accounts. If your account does not have access, the request will be rejected. */
|
|
108
121
|
export type InstanceNetworkAccessScope = "PUBLIC" | "SNA";
|
|
109
|
-
/** List of
|
|
122
|
+
/** List of IPv4 CIDR addresses. */
|
|
110
123
|
export type Acl = Array<string>;
|
|
111
124
|
/** The access configuration of the instance */
|
|
112
125
|
export interface InstanceNetworkCreate {
|
|
113
|
-
accessScope?: InstanceNetworkAccessScope | (string & {});
|
|
126
|
+
accessScope?: InstanceNetworkAccessScope | (string & {}) | undefined;
|
|
114
127
|
acl: Acl;
|
|
115
128
|
}
|
|
116
129
|
/** The object containing information about the storage size and class. */
|
|
@@ -124,9 +137,9 @@ export interface CreateInstanceRequest {
|
|
|
124
137
|
/** The region which should be addressed */
|
|
125
138
|
region: CreateInstanceRequestRegion | (string & {});
|
|
126
139
|
backupSchedule: string;
|
|
127
|
-
encryption?: InstanceEncryption;
|
|
140
|
+
encryption?: InstanceEncryption | undefined;
|
|
128
141
|
flavorId: string;
|
|
129
|
-
labels?: Labels;
|
|
142
|
+
labels?: Labels | undefined;
|
|
130
143
|
name: string;
|
|
131
144
|
network: InstanceNetworkCreate;
|
|
132
145
|
retentionDays: number | null;
|
|
@@ -148,7 +161,7 @@ export interface CreateUserRequest {
|
|
|
148
161
|
instanceId: string;
|
|
149
162
|
name: string;
|
|
150
163
|
/** A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles. */
|
|
151
|
-
roles?: CreateUserRequestRolesList;
|
|
164
|
+
roles?: CreateUserRequestRolesList | undefined;
|
|
152
165
|
}
|
|
153
166
|
export interface CreateUserResponse {
|
|
154
167
|
id: number;
|
|
@@ -247,26 +260,26 @@ export interface InstanceConnectionInfo {
|
|
|
247
260
|
}
|
|
248
261
|
/** The access configuration of the instance */
|
|
249
262
|
export interface InstanceNetwork {
|
|
250
|
-
accessScope?: InstanceNetworkAccessScope;
|
|
263
|
+
accessScope?: InstanceNetworkAccessScope | undefined;
|
|
251
264
|
acl: Acl;
|
|
252
|
-
instanceAddress?: string;
|
|
253
|
-
routerAddress?: string;
|
|
265
|
+
instanceAddress?: string | undefined;
|
|
266
|
+
routerAddress?: string | undefined;
|
|
254
267
|
}
|
|
255
268
|
/** The current state of the instance. */
|
|
256
269
|
export type State = "READY" | "PENDING" | "PROGRESSING" | "FAILURE" | "UNKNOWN" | "TERMINATING";
|
|
257
270
|
/** The object containing information about the storage size and class. */
|
|
258
271
|
export interface Storage {
|
|
259
|
-
class?: string;
|
|
260
|
-
size?: number;
|
|
272
|
+
class?: string | undefined;
|
|
273
|
+
size?: number | undefined;
|
|
261
274
|
}
|
|
262
275
|
export interface GetInstanceResponse {
|
|
263
276
|
backupSchedule: string;
|
|
264
277
|
connectionInfo: InstanceConnectionInfo;
|
|
265
|
-
encryption?: InstanceEncryption;
|
|
278
|
+
encryption?: InstanceEncryption | undefined;
|
|
266
279
|
flavorId: string;
|
|
267
280
|
id: string;
|
|
268
281
|
isDeletable: boolean;
|
|
269
|
-
labels?: Labels;
|
|
282
|
+
labels?: Labels | undefined;
|
|
270
283
|
name: string;
|
|
271
284
|
network: InstanceNetwork;
|
|
272
285
|
retentionDays: number | null;
|
|
@@ -316,11 +329,11 @@ export interface ListBackupsRequest {
|
|
|
316
329
|
/** The ID of the instance. */
|
|
317
330
|
instanceId: string;
|
|
318
331
|
/** Number of the page of items list to be returned. */
|
|
319
|
-
page?: number;
|
|
332
|
+
page?: number | undefined;
|
|
320
333
|
/** Number of items to be returned on each page. */
|
|
321
|
-
size?: number;
|
|
334
|
+
size?: number | undefined;
|
|
322
335
|
/** Sorting of the backups to be returned on each page. */
|
|
323
|
-
sort?: BackupSort | (string & {});
|
|
336
|
+
sort?: BackupSort | (string & {}) | undefined;
|
|
324
337
|
}
|
|
325
338
|
/** The list containing the information about the backups. */
|
|
326
339
|
export type ListBackupsResponseBackupsList = Array<BackupData>;
|
|
@@ -369,11 +382,11 @@ export interface ListDatabasesRequest {
|
|
|
369
382
|
/** The ID of the instance. */
|
|
370
383
|
instanceId: string;
|
|
371
384
|
/** Number of the page of items list to be returned. */
|
|
372
|
-
page?: number;
|
|
385
|
+
page?: number | undefined;
|
|
373
386
|
/** Number of items to be returned on each page. */
|
|
374
|
-
size?: number;
|
|
387
|
+
size?: number | undefined;
|
|
375
388
|
/** Sorting of the databases to be returned on each page. */
|
|
376
|
-
sort?: DatabaseSort | (string & {});
|
|
389
|
+
sort?: DatabaseSort | (string & {}) | undefined;
|
|
377
390
|
}
|
|
378
391
|
export interface ListDatabase {
|
|
379
392
|
id: number;
|
|
@@ -411,11 +424,11 @@ export interface ListFlavorsRequest {
|
|
|
411
424
|
/** The region which should be addressed */
|
|
412
425
|
region: ListFlavorsRequestRegion | (string & {});
|
|
413
426
|
/** Number of the page of items list to be returned. */
|
|
414
|
-
page?: number;
|
|
427
|
+
page?: number | undefined;
|
|
415
428
|
/** Number of items to be returned on each page. */
|
|
416
|
-
size?: number;
|
|
429
|
+
size?: number | undefined;
|
|
417
430
|
/** Sorting of the flavors to be returned on each page. */
|
|
418
|
-
sort?: FlavorSort | (string & {});
|
|
431
|
+
sort?: FlavorSort | (string & {}) | undefined;
|
|
419
432
|
}
|
|
420
433
|
/** a storageClass defines how efficient the storage can work */
|
|
421
434
|
export interface FlavorStorageClassesStorageClass {
|
|
@@ -423,7 +436,7 @@ export interface FlavorStorageClassesStorageClass {
|
|
|
423
436
|
maxIoPerSec: number;
|
|
424
437
|
maxThroughInMb: number;
|
|
425
438
|
}
|
|
426
|
-
/**
|
|
439
|
+
/** The storage classes available for the flavor. */
|
|
427
440
|
export type FlavorStorageClasses = Array<FlavorStorageClassesStorageClass>;
|
|
428
441
|
/** The flavor of the instance containing the technical features. */
|
|
429
442
|
export interface ListFlavors {
|
|
@@ -459,17 +472,21 @@ export interface ListInstancesRequest {
|
|
|
459
472
|
/** The region which should be addressed */
|
|
460
473
|
region: ListInstancesRequestRegion | (string & {});
|
|
461
474
|
/** Number of the page of items list to be returned. */
|
|
462
|
-
page?: number;
|
|
475
|
+
page?: number | undefined;
|
|
463
476
|
/** Number of items to be returned on each page. */
|
|
464
|
-
size?: number;
|
|
477
|
+
size?: number | undefined;
|
|
465
478
|
/** Sorting of the items to be returned on each page. */
|
|
466
|
-
sort?: InstanceSort | (string & {});
|
|
479
|
+
sort?: InstanceSort | (string & {}) | undefined;
|
|
467
480
|
}
|
|
468
481
|
export interface ListInstance {
|
|
482
|
+
created?: string | undefined;
|
|
483
|
+
flavorId?: string | undefined;
|
|
469
484
|
id: string;
|
|
470
485
|
isDeletable: boolean;
|
|
471
486
|
name: string;
|
|
472
487
|
state: State;
|
|
488
|
+
storage?: Storage | undefined;
|
|
489
|
+
version?: string | undefined;
|
|
473
490
|
}
|
|
474
491
|
/** List of owned instances and their current state. */
|
|
475
492
|
export type ListInstancesResponseInstancesList = Array<ListInstance>;
|
|
@@ -503,11 +520,11 @@ export interface ListUsersRequest {
|
|
|
503
520
|
/** The ID of the instance. */
|
|
504
521
|
instanceId: string;
|
|
505
522
|
/** Number of the page of items list to be returned. */
|
|
506
|
-
page?: number;
|
|
523
|
+
page?: number | undefined;
|
|
507
524
|
/** Number of items to be returned on each page. */
|
|
508
|
-
size?: number;
|
|
525
|
+
size?: number | undefined;
|
|
509
526
|
/** Sorting of the users to be returned on each page. */
|
|
510
|
-
sort?: UserSort | (string & {});
|
|
527
|
+
sort?: UserSort | (string & {}) | undefined;
|
|
511
528
|
}
|
|
512
529
|
export interface ListUser {
|
|
513
530
|
id: number;
|
|
@@ -530,11 +547,11 @@ export interface ListVersionsRequest {
|
|
|
530
547
|
}
|
|
531
548
|
/** The version of the postgres instance and more details. */
|
|
532
549
|
export interface Version {
|
|
533
|
-
/** Flag
|
|
550
|
+
/** Flag indicating whether the version is a beta version. Beta versions may contain bugs and are not fully tested. */
|
|
534
551
|
beta: boolean;
|
|
535
|
-
/** Timestamp in RFC3339 format
|
|
552
|
+
/** Timestamp in RFC3339 format indicating when the version will no longer be supported by STACKIT. */
|
|
536
553
|
deprecated: string;
|
|
537
|
-
/** Flag
|
|
554
|
+
/** Flag indicating whether the version is recommended by the STACKIT Team. */
|
|
538
555
|
recommend: boolean;
|
|
539
556
|
/** The postgres version used for the instance. */
|
|
540
557
|
version: string;
|
|
@@ -555,20 +572,20 @@ export interface PartialUpdateDatabaseRequest {
|
|
|
555
572
|
instanceId: string;
|
|
556
573
|
/** The ID of the database. */
|
|
557
574
|
databaseId: number;
|
|
558
|
-
name?: string;
|
|
559
|
-
owner?: string;
|
|
575
|
+
name?: string | undefined;
|
|
576
|
+
owner?: string | undefined;
|
|
560
577
|
}
|
|
561
578
|
export interface PartialUpdateDatabaseResponse {}
|
|
562
579
|
export type PartialUpdateInstanceRequestRegion = "eu01" | "eu02";
|
|
563
|
-
/** List of
|
|
580
|
+
/** List of IPv4 CIDR addresses. */
|
|
564
581
|
export type AclOpt = Array<string>;
|
|
565
582
|
/** The access configuration of the instance */
|
|
566
583
|
export interface InstanceNetworkOpt {
|
|
567
|
-
acl?: AclOpt;
|
|
584
|
+
acl?: AclOpt | undefined;
|
|
568
585
|
}
|
|
569
586
|
/** The object containing information about the storage size and class. */
|
|
570
587
|
export interface StorageUpdate {
|
|
571
|
-
size?: number;
|
|
588
|
+
size?: number | undefined;
|
|
572
589
|
}
|
|
573
590
|
export interface PartialUpdateInstanceRequest {
|
|
574
591
|
/** The STACKIT project ID. */
|
|
@@ -577,14 +594,14 @@ export interface PartialUpdateInstanceRequest {
|
|
|
577
594
|
region: PartialUpdateInstanceRequestRegion | (string & {});
|
|
578
595
|
/** The ID of the instance. */
|
|
579
596
|
instanceId: string;
|
|
580
|
-
backupSchedule?: string;
|
|
581
|
-
flavorId?: string;
|
|
582
|
-
labels?: Labels;
|
|
583
|
-
name?: string;
|
|
584
|
-
network?: InstanceNetworkOpt;
|
|
585
|
-
retentionDays?: number;
|
|
586
|
-
storage?: StorageUpdate;
|
|
587
|
-
version?: string;
|
|
597
|
+
backupSchedule?: string | undefined;
|
|
598
|
+
flavorId?: string | undefined;
|
|
599
|
+
labels?: Labels | undefined;
|
|
600
|
+
name?: string | undefined;
|
|
601
|
+
network?: InstanceNetworkOpt | undefined;
|
|
602
|
+
retentionDays?: number | undefined;
|
|
603
|
+
storage?: StorageUpdate | undefined;
|
|
604
|
+
version?: string | undefined;
|
|
588
605
|
}
|
|
589
606
|
export interface PartialUpdateInstanceResponse {}
|
|
590
607
|
export type PartialUpdateUserRequestRegion = "eu01" | "eu02";
|
|
@@ -599,9 +616,9 @@ export interface PartialUpdateUserRequest {
|
|
|
599
616
|
instanceId: string;
|
|
600
617
|
/** The ID of the user. */
|
|
601
618
|
userId: number;
|
|
602
|
-
name?: string;
|
|
619
|
+
name?: string | undefined;
|
|
603
620
|
/** A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles. */
|
|
604
|
-
roles?: PartialUpdateUserRequestRolesList;
|
|
621
|
+
roles?: PartialUpdateUserRequestRolesList | undefined;
|
|
605
622
|
}
|
|
606
623
|
export interface PartialUpdateUserResponse {}
|
|
607
624
|
export type ResetUserPasswordRequestRegion = "eu01" | "eu02";
|
|
@@ -648,7 +665,7 @@ export interface UpdateInstanceRequest {
|
|
|
648
665
|
instanceId: string;
|
|
649
666
|
backupSchedule: string;
|
|
650
667
|
flavorId: string;
|
|
651
|
-
labels?: Labels;
|
|
668
|
+
labels?: Labels | undefined;
|
|
652
669
|
name: string;
|
|
653
670
|
network: InstanceNetworkUpdate;
|
|
654
671
|
retentionDays: number | null;
|
|
@@ -681,7 +698,7 @@ export interface UpdateUserRequest {
|
|
|
681
698
|
instanceId: string;
|
|
682
699
|
/** The ID of the user. */
|
|
683
700
|
userId: number;
|
|
684
|
-
name?: string;
|
|
701
|
+
name?: string | undefined;
|
|
685
702
|
/** A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles. */
|
|
686
703
|
roles: UpdateUserRequestRolesList;
|
|
687
704
|
}
|
|
@@ -700,11 +717,13 @@ export const cloneInstance: API.OperationMethod<
|
|
|
700
717
|
CloneInstanceError,
|
|
701
718
|
StackitOpContext
|
|
702
719
|
> = /*@__PURE__*/ API.make(() => ({
|
|
703
|
-
input: __S(
|
|
704
|
-
output: __S(
|
|
720
|
+
input: __S(217, __c27, 1) as any as S.Schema<CloneInstanceRequest>,
|
|
721
|
+
output: __S(224, __c28, 0) as any as S.Schema<CloneInstanceResponse>,
|
|
705
722
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
706
723
|
protocol: StackitProtocol,
|
|
707
724
|
retry: Retry.Retry,
|
|
725
|
+
telemetry: TELEMETRY,
|
|
726
|
+
span: "CloneInstance",
|
|
708
727
|
}));
|
|
709
728
|
|
|
710
729
|
export type CreateDatabaseError =
|
|
@@ -721,11 +740,13 @@ export const createDatabase: API.OperationMethod<
|
|
|
721
740
|
CreateDatabaseError,
|
|
722
741
|
StackitOpContext
|
|
723
742
|
> = /*@__PURE__*/ API.make(() => ({
|
|
724
|
-
input: __S(
|
|
725
|
-
output: __S(
|
|
743
|
+
input: __S(232, __c29, 0) as any as S.Schema<CreateDatabaseRequest>,
|
|
744
|
+
output: __S(233, __c29, 1) as any as S.Schema<CreateDatabaseResponse>,
|
|
726
745
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
727
746
|
protocol: StackitProtocol,
|
|
728
747
|
retry: Retry.Retry,
|
|
748
|
+
telemetry: TELEMETRY,
|
|
749
|
+
span: "CreateDatabase",
|
|
729
750
|
}));
|
|
730
751
|
|
|
731
752
|
export type CreateInstanceError =
|
|
@@ -741,11 +762,13 @@ export const createInstance: API.OperationMethod<
|
|
|
741
762
|
CreateInstanceError,
|
|
742
763
|
StackitOpContext
|
|
743
764
|
> = /*@__PURE__*/ API.make(() => ({
|
|
744
|
-
input: __S(
|
|
745
|
-
output: __S(
|
|
765
|
+
input: __S(242, __c30, 2) as any as S.Schema<CreateInstanceRequest>,
|
|
766
|
+
output: __S(224, __c28, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
746
767
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
747
768
|
protocol: StackitProtocol,
|
|
748
769
|
retry: Retry.Retry,
|
|
770
|
+
telemetry: TELEMETRY,
|
|
771
|
+
span: "CreateInstance",
|
|
749
772
|
}));
|
|
750
773
|
|
|
751
774
|
export type CreateUserError =
|
|
@@ -762,14 +785,16 @@ export const createUser: API.OperationMethod<
|
|
|
762
785
|
CreateUserError,
|
|
763
786
|
StackitOpContext
|
|
764
787
|
> = /*@__PURE__*/ API.make(() => ({
|
|
765
|
-
input: __S(
|
|
766
|
-
output: __S(
|
|
788
|
+
input: __S(272, __c34, 0) as any as S.Schema<CreateUserRequest>,
|
|
789
|
+
output: __S(273, __c34, 1) as any as S.Schema<CreateUserResponse>,
|
|
767
790
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
768
791
|
protocol: StackitProtocol,
|
|
769
792
|
retry: Retry.Retry,
|
|
793
|
+
telemetry: TELEMETRY,
|
|
794
|
+
span: "CreateUser",
|
|
770
795
|
}));
|
|
771
796
|
|
|
772
|
-
export type DeleteDatabaseError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
797
|
+
export type DeleteDatabaseError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
773
798
|
/** Delete Database Delete database for an instance. */
|
|
774
799
|
export const deleteDatabase: API.OperationMethod<
|
|
775
800
|
DeleteDatabaseRequest,
|
|
@@ -777,11 +802,13 @@ export const deleteDatabase: API.OperationMethod<
|
|
|
777
802
|
DeleteDatabaseError,
|
|
778
803
|
StackitOpContext
|
|
779
804
|
> = /*@__PURE__*/ API.make(() => ({
|
|
780
|
-
input: __S(
|
|
781
|
-
output: __S(
|
|
782
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
805
|
+
input: __S(280, __c35, 0) as any as S.Schema<DeleteDatabaseRequest>,
|
|
806
|
+
output: __S(288, __c36, 0) as any as S.Schema<DeleteDatabaseResponse>,
|
|
807
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
783
808
|
protocol: StackitProtocol,
|
|
784
809
|
retry: Retry.Retry,
|
|
810
|
+
telemetry: TELEMETRY,
|
|
811
|
+
span: "DeleteDatabase",
|
|
785
812
|
}));
|
|
786
813
|
|
|
787
814
|
export type DeleteInstanceError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -793,14 +820,16 @@ export const deleteInstance: API.OperationMethod<
|
|
|
793
820
|
StackitOpContext
|
|
794
821
|
> = /*@__PURE__*/ API.make(() => ({
|
|
795
822
|
input: __S(0, __c0, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
796
|
-
output: __S(
|
|
823
|
+
output: __S(288, __c36, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
797
824
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
798
825
|
protocol: StackitProtocol,
|
|
799
826
|
retry: Retry.Retry,
|
|
827
|
+
telemetry: TELEMETRY,
|
|
828
|
+
span: "DeleteInstance",
|
|
800
829
|
}));
|
|
801
830
|
|
|
802
831
|
export type DeleteUserError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
803
|
-
/** Delete User Delete
|
|
832
|
+
/** Delete User Delete a user from a specific instance. */
|
|
804
833
|
export const deleteUser: API.OperationMethod<
|
|
805
834
|
DeleteUserRequest,
|
|
806
835
|
DeleteUserResponse,
|
|
@@ -808,10 +837,12 @@ export const deleteUser: API.OperationMethod<
|
|
|
808
837
|
StackitOpContext
|
|
809
838
|
> = /*@__PURE__*/ API.make(() => ({
|
|
810
839
|
input: __S(8, __c1, 0) as any as S.Schema<DeleteUserRequest>,
|
|
811
|
-
output: __S(
|
|
840
|
+
output: __S(288, __c36, 0) as any as S.Schema<DeleteUserResponse>,
|
|
812
841
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
813
842
|
protocol: StackitProtocol,
|
|
814
843
|
retry: Retry.Retry,
|
|
844
|
+
telemetry: TELEMETRY,
|
|
845
|
+
span: "DeleteUser",
|
|
815
846
|
}));
|
|
816
847
|
|
|
817
848
|
export type GetBackupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -827,6 +858,8 @@ export const getBackup: API.OperationMethod<
|
|
|
827
858
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
828
859
|
protocol: StackitProtocol,
|
|
829
860
|
retry: Retry.Retry,
|
|
861
|
+
telemetry: TELEMETRY,
|
|
862
|
+
span: "GetBackup",
|
|
830
863
|
}));
|
|
831
864
|
|
|
832
865
|
export type GetDatabaseError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -842,6 +875,8 @@ export const getDatabase: API.OperationMethod<
|
|
|
842
875
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
843
876
|
protocol: StackitProtocol,
|
|
844
877
|
retry: Retry.Retry,
|
|
878
|
+
telemetry: TELEMETRY,
|
|
879
|
+
span: "GetDatabase",
|
|
845
880
|
}));
|
|
846
881
|
|
|
847
882
|
export type GetInstanceError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -853,10 +888,12 @@ export const getInstance: API.OperationMethod<
|
|
|
853
888
|
StackitOpContext
|
|
854
889
|
> = /*@__PURE__*/ API.make(() => ({
|
|
855
890
|
input: __S(48, __c6, 0) as any as S.Schema<GetInstanceRequest>,
|
|
856
|
-
output: __S(
|
|
891
|
+
output: __S(52, __c6, 4) as any as S.Schema<GetInstanceResponse>,
|
|
857
892
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
858
893
|
protocol: StackitProtocol,
|
|
859
894
|
retry: Retry.Retry,
|
|
895
|
+
telemetry: TELEMETRY,
|
|
896
|
+
span: "GetInstance",
|
|
860
897
|
}));
|
|
861
898
|
|
|
862
899
|
export type GetUserError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -867,26 +904,30 @@ export const getUser: API.OperationMethod<
|
|
|
867
904
|
GetUserError,
|
|
868
905
|
StackitOpContext
|
|
869
906
|
> = /*@__PURE__*/ API.make(() => ({
|
|
870
|
-
input: __S(
|
|
871
|
-
output: __S(
|
|
907
|
+
input: __S(64, __c8, 0) as any as S.Schema<GetUserRequest>,
|
|
908
|
+
output: __S(65, __c8, 1) as any as S.Schema<GetUserResponse>,
|
|
872
909
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
873
910
|
protocol: StackitProtocol,
|
|
874
911
|
retry: Retry.Retry,
|
|
912
|
+
telemetry: TELEMETRY,
|
|
913
|
+
span: "GetUser",
|
|
875
914
|
}));
|
|
876
915
|
|
|
877
916
|
export type ListBackupsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
878
|
-
/** List
|
|
917
|
+
/** List Backups List all backups which are available for a specific instance. */
|
|
879
918
|
export const listBackups: API.OperationMethod<
|
|
880
919
|
ListBackupsRequest,
|
|
881
920
|
ListBackupsResponse,
|
|
882
921
|
ListBackupsError,
|
|
883
922
|
StackitOpContext
|
|
884
923
|
> = /*@__PURE__*/ API.make(() => ({
|
|
885
|
-
input: __S(
|
|
886
|
-
output: __S(
|
|
924
|
+
input: __S(72, __c9, 0) as any as S.Schema<ListBackupsRequest>,
|
|
925
|
+
output: __S(74, __c9, 2) as any as S.Schema<ListBackupsResponse>,
|
|
887
926
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
888
927
|
protocol: StackitProtocol,
|
|
889
928
|
retry: Retry.Retry,
|
|
929
|
+
telemetry: TELEMETRY,
|
|
930
|
+
span: "ListBackups",
|
|
890
931
|
}));
|
|
891
932
|
|
|
892
933
|
export type ListCollationsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -897,11 +938,13 @@ export const listCollations: API.OperationMethod<
|
|
|
897
938
|
ListCollationsError,
|
|
898
939
|
StackitOpContext
|
|
899
940
|
> = /*@__PURE__*/ API.make(() => ({
|
|
900
|
-
input: __S(
|
|
901
|
-
output: __S(
|
|
941
|
+
input: __S(88, __c11, 0) as any as S.Schema<ListCollationsRequest>,
|
|
942
|
+
output: __S(89, __c11, 1) as any as S.Schema<ListCollationsResponse>,
|
|
902
943
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
903
944
|
protocol: StackitProtocol,
|
|
904
945
|
retry: Retry.Retry,
|
|
946
|
+
telemetry: TELEMETRY,
|
|
947
|
+
span: "ListCollations",
|
|
905
948
|
}));
|
|
906
949
|
|
|
907
950
|
export type ListDatabasesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -912,11 +955,13 @@ export const listDatabases: API.OperationMethod<
|
|
|
912
955
|
ListDatabasesError,
|
|
913
956
|
StackitOpContext
|
|
914
957
|
> = /*@__PURE__*/ API.make(() => ({
|
|
915
|
-
input: __S(
|
|
916
|
-
output: __S(
|
|
958
|
+
input: __S(96, __c12, 0) as any as S.Schema<ListDatabasesRequest>,
|
|
959
|
+
output: __S(98, __c12, 2) as any as S.Schema<ListDatabasesResponse>,
|
|
917
960
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
918
961
|
protocol: StackitProtocol,
|
|
919
962
|
retry: Retry.Retry,
|
|
963
|
+
telemetry: TELEMETRY,
|
|
964
|
+
span: "ListDatabases",
|
|
920
965
|
}));
|
|
921
966
|
|
|
922
967
|
export type ListFlavors2Error = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -927,11 +972,13 @@ export const listFlavors2: API.OperationMethod<
|
|
|
927
972
|
ListFlavors2Error,
|
|
928
973
|
StackitOpContext
|
|
929
974
|
> = /*@__PURE__*/ API.make(() => ({
|
|
930
|
-
input: __S(
|
|
931
|
-
output: __S(
|
|
975
|
+
input: __S(104, __c13, 0) as any as S.Schema<ListFlavorsRequest>,
|
|
976
|
+
output: __S(109, __c13, 5) as any as S.Schema<ListFlavorsResponse>,
|
|
932
977
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
933
978
|
protocol: StackitProtocol,
|
|
934
979
|
retry: Retry.Retry,
|
|
980
|
+
telemetry: TELEMETRY,
|
|
981
|
+
span: "ListFlavors2",
|
|
935
982
|
}));
|
|
936
983
|
|
|
937
984
|
export type ListInstancesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -942,11 +989,13 @@ export const listInstances: API.OperationMethod<
|
|
|
942
989
|
ListInstancesError,
|
|
943
990
|
StackitOpContext
|
|
944
991
|
> = /*@__PURE__*/ API.make(() => ({
|
|
945
|
-
input: __S(
|
|
946
|
-
output: __S(
|
|
992
|
+
input: __S(112, __c14, 0) as any as S.Schema<ListInstancesRequest>,
|
|
993
|
+
output: __S(115, __c14, 3) as any as S.Schema<ListInstancesResponse>,
|
|
947
994
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
948
995
|
protocol: StackitProtocol,
|
|
949
996
|
retry: Retry.Retry,
|
|
997
|
+
telemetry: TELEMETRY,
|
|
998
|
+
span: "ListInstances",
|
|
950
999
|
}));
|
|
951
1000
|
|
|
952
1001
|
export type ListRolesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -957,11 +1006,13 @@ export const listRoles: API.OperationMethod<
|
|
|
957
1006
|
ListRolesError,
|
|
958
1007
|
StackitOpContext
|
|
959
1008
|
> = /*@__PURE__*/ API.make(() => ({
|
|
960
|
-
input: __S(
|
|
961
|
-
output: __S(
|
|
1009
|
+
input: __S(120, __c15, 0) as any as S.Schema<ListRolesRequest>,
|
|
1010
|
+
output: __S(121, __c15, 1) as any as S.Schema<ListRolesResponse>,
|
|
962
1011
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
963
1012
|
protocol: StackitProtocol,
|
|
964
1013
|
retry: Retry.Retry,
|
|
1014
|
+
telemetry: TELEMETRY,
|
|
1015
|
+
span: "ListRoles",
|
|
965
1016
|
}));
|
|
966
1017
|
|
|
967
1018
|
export type ListUsersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -972,11 +1023,13 @@ export const listUsers: API.OperationMethod<
|
|
|
972
1023
|
ListUsersError,
|
|
973
1024
|
StackitOpContext
|
|
974
1025
|
> = /*@__PURE__*/ API.make(() => ({
|
|
975
|
-
input: __S(
|
|
976
|
-
output: __S(
|
|
1026
|
+
input: __S(128, __c16, 0) as any as S.Schema<ListUsersRequest>,
|
|
1027
|
+
output: __S(131, __c16, 3) as any as S.Schema<ListUsersResponse>,
|
|
977
1028
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
978
1029
|
protocol: StackitProtocol,
|
|
979
1030
|
retry: Retry.Retry,
|
|
1031
|
+
telemetry: TELEMETRY,
|
|
1032
|
+
span: "ListUsers",
|
|
980
1033
|
}));
|
|
981
1034
|
|
|
982
1035
|
export type ListVersionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -987,11 +1040,13 @@ export const listVersions: API.OperationMethod<
|
|
|
987
1040
|
ListVersionsError,
|
|
988
1041
|
StackitOpContext
|
|
989
1042
|
> = /*@__PURE__*/ API.make(() => ({
|
|
990
|
-
input: __S(
|
|
991
|
-
output: __S(
|
|
1043
|
+
input: __S(136, __c17, 0) as any as S.Schema<ListVersionsRequest>,
|
|
1044
|
+
output: __S(139, __c17, 3) as any as S.Schema<ListVersionsResponse>,
|
|
992
1045
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
993
1046
|
protocol: StackitProtocol,
|
|
994
1047
|
retry: Retry.Retry,
|
|
1048
|
+
telemetry: TELEMETRY,
|
|
1049
|
+
span: "ListVersions",
|
|
995
1050
|
}));
|
|
996
1051
|
|
|
997
1052
|
export type PartialUpdateDatabaseError =
|
|
@@ -1007,11 +1062,13 @@ export const partialUpdateDatabase: API.OperationMethod<
|
|
|
1007
1062
|
PartialUpdateDatabaseError,
|
|
1008
1063
|
StackitOpContext
|
|
1009
1064
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1010
|
-
input: __S(
|
|
1011
|
-
output: __S(
|
|
1065
|
+
input: __S(144, __c18, 0) as any as S.Schema<PartialUpdateDatabaseRequest>,
|
|
1066
|
+
output: __S(288, __c36, 0) as any as S.Schema<PartialUpdateDatabaseResponse>,
|
|
1012
1067
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1013
1068
|
protocol: StackitProtocol,
|
|
1014
1069
|
retry: Retry.Retry,
|
|
1070
|
+
telemetry: TELEMETRY,
|
|
1071
|
+
span: "PartialUpdateDatabase",
|
|
1015
1072
|
}));
|
|
1016
1073
|
|
|
1017
1074
|
export type PartialUpdateInstanceError =
|
|
@@ -1027,11 +1084,13 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
1027
1084
|
PartialUpdateInstanceError,
|
|
1028
1085
|
StackitOpContext
|
|
1029
1086
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1030
|
-
input: __S(
|
|
1031
|
-
output: __S(
|
|
1087
|
+
input: __S(153, __c19, 1) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
1088
|
+
output: __S(288, __c36, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
1032
1089
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1033
1090
|
protocol: StackitProtocol,
|
|
1034
1091
|
retry: Retry.Retry,
|
|
1092
|
+
telemetry: TELEMETRY,
|
|
1093
|
+
span: "PartialUpdateInstance",
|
|
1035
1094
|
}));
|
|
1036
1095
|
|
|
1037
1096
|
export type PartialUpdateUserError =
|
|
@@ -1040,18 +1099,20 @@ export type PartialUpdateUserError =
|
|
|
1040
1099
|
| NotFound
|
|
1041
1100
|
| UnprocessableEntity
|
|
1042
1101
|
| StackitOpError;
|
|
1043
|
-
/** Update User Partially Update
|
|
1102
|
+
/** Update User Partially Update a user partially for an instance. */
|
|
1044
1103
|
export const partialUpdateUser: API.OperationMethod<
|
|
1045
1104
|
PartialUpdateUserRequest,
|
|
1046
1105
|
PartialUpdateUserResponse,
|
|
1047
1106
|
PartialUpdateUserError,
|
|
1048
1107
|
StackitOpContext
|
|
1049
1108
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1050
|
-
input: __S(
|
|
1051
|
-
output: __S(
|
|
1109
|
+
input: __S(168, __c21, 0) as any as S.Schema<PartialUpdateUserRequest>,
|
|
1110
|
+
output: __S(288, __c36, 0) as any as S.Schema<PartialUpdateUserResponse>,
|
|
1052
1111
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1053
1112
|
protocol: StackitProtocol,
|
|
1054
1113
|
retry: Retry.Retry,
|
|
1114
|
+
telemetry: TELEMETRY,
|
|
1115
|
+
span: "PartialUpdateUser",
|
|
1055
1116
|
}));
|
|
1056
1117
|
|
|
1057
1118
|
export type ResetUserPasswordError =
|
|
@@ -1060,18 +1121,20 @@ export type ResetUserPasswordError =
|
|
|
1060
1121
|
| NotFound
|
|
1061
1122
|
| UnprocessableEntity
|
|
1062
1123
|
| StackitOpError;
|
|
1063
|
-
/** Reset User Reset
|
|
1124
|
+
/** Reset User Reset a user from a specific instance. */
|
|
1064
1125
|
export const resetUserPassword: API.OperationMethod<
|
|
1065
1126
|
ResetUserPasswordRequest,
|
|
1066
1127
|
ResetUserPasswordResponse,
|
|
1067
1128
|
ResetUserPasswordError,
|
|
1068
1129
|
StackitOpContext
|
|
1069
1130
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1070
|
-
input: __S(
|
|
1071
|
-
output: __S(
|
|
1131
|
+
input: __S(176, __c22, 0) as any as S.Schema<ResetUserPasswordRequest>,
|
|
1132
|
+
output: __S(177, __c22, 1) as any as S.Schema<ResetUserPasswordResponse>,
|
|
1072
1133
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1073
1134
|
protocol: StackitProtocol,
|
|
1074
1135
|
retry: Retry.Retry,
|
|
1136
|
+
telemetry: TELEMETRY,
|
|
1137
|
+
span: "ResetUserPassword",
|
|
1075
1138
|
}));
|
|
1076
1139
|
|
|
1077
1140
|
export type UpdateDatabaseError =
|
|
@@ -1087,11 +1150,13 @@ export const updateDatabase: API.OperationMethod<
|
|
|
1087
1150
|
UpdateDatabaseError,
|
|
1088
1151
|
StackitOpContext
|
|
1089
1152
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1090
|
-
input: __S(
|
|
1091
|
-
output: __S(
|
|
1153
|
+
input: __S(184, __c23, 0) as any as S.Schema<UpdateDatabaseRequest>,
|
|
1154
|
+
output: __S(288, __c36, 0) as any as S.Schema<UpdateDatabaseResponse>,
|
|
1092
1155
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1093
1156
|
protocol: StackitProtocol,
|
|
1094
1157
|
retry: Retry.Retry,
|
|
1158
|
+
telemetry: TELEMETRY,
|
|
1159
|
+
span: "UpdateDatabase",
|
|
1095
1160
|
}));
|
|
1096
1161
|
|
|
1097
1162
|
export type UpdateInstanceError =
|
|
@@ -1107,11 +1172,13 @@ export const updateInstance: API.OperationMethod<
|
|
|
1107
1172
|
UpdateInstanceError,
|
|
1108
1173
|
StackitOpContext
|
|
1109
1174
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1110
|
-
input: __S(
|
|
1111
|
-
output: __S(
|
|
1175
|
+
input: __S(193, __c24, 1) as any as S.Schema<UpdateInstanceRequest>,
|
|
1176
|
+
output: __S(288, __c36, 0) as any as S.Schema<UpdateInstanceResponse>,
|
|
1112
1177
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1113
1178
|
protocol: StackitProtocol,
|
|
1114
1179
|
retry: Retry.Retry,
|
|
1180
|
+
telemetry: TELEMETRY,
|
|
1181
|
+
span: "UpdateInstance",
|
|
1115
1182
|
}));
|
|
1116
1183
|
|
|
1117
1184
|
export type UpdateInstanceProtectionError =
|
|
@@ -1127,11 +1194,13 @@ export const updateInstanceProtection: API.OperationMethod<
|
|
|
1127
1194
|
UpdateInstanceProtectionError,
|
|
1128
1195
|
StackitOpContext
|
|
1129
1196
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1130
|
-
input: __S(
|
|
1131
|
-
output: __S(
|
|
1197
|
+
input: __S(200, __c25, 0) as any as S.Schema<UpdateInstanceProtectionRequest>,
|
|
1198
|
+
output: __S(201, __c25, 1) as any as S.Schema<UpdateInstanceProtectionResponse>,
|
|
1132
1199
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1133
1200
|
protocol: StackitProtocol,
|
|
1134
1201
|
retry: Retry.Retry,
|
|
1202
|
+
telemetry: TELEMETRY,
|
|
1203
|
+
span: "UpdateInstanceProtection",
|
|
1135
1204
|
}));
|
|
1136
1205
|
|
|
1137
1206
|
export type UpdateUserError =
|
|
@@ -1147,11 +1216,13 @@ export const updateUser: API.OperationMethod<
|
|
|
1147
1216
|
UpdateUserError,
|
|
1148
1217
|
StackitOpContext
|
|
1149
1218
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1150
|
-
input: __S(
|
|
1151
|
-
output: __S(
|
|
1219
|
+
input: __S(208, __c26, 0) as any as S.Schema<UpdateUserRequest>,
|
|
1220
|
+
output: __S(288, __c36, 0) as any as S.Schema<UpdateUserResponse>,
|
|
1152
1221
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1153
1222
|
protocol: StackitProtocol,
|
|
1154
1223
|
retry: Retry.Retry,
|
|
1224
|
+
telemetry: TELEMETRY,
|
|
1225
|
+
span: "UpdateUser",
|
|
1155
1226
|
}));
|
|
1156
1227
|
|
|
1157
1228
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -1295,39 +1366,43 @@ function __c6(j: number): any {
|
|
|
1295
1366
|
return S.suspend(() =>
|
|
1296
1367
|
S.Struct({
|
|
1297
1368
|
accessScope: S.optional(S.String),
|
|
1298
|
-
acl: __S(
|
|
1369
|
+
acl: __S(264, __c33, 0),
|
|
1299
1370
|
instanceAddress: S.optional(S.String),
|
|
1300
1371
|
routerAddress: S.optional(S.String),
|
|
1301
1372
|
}),
|
|
1302
1373
|
).annotate({ identifier: "InstanceNetwork" });
|
|
1303
1374
|
case 4:
|
|
1304
|
-
return S.suspend(() =>
|
|
1305
|
-
S.Struct({
|
|
1306
|
-
class: S.optional(S.String),
|
|
1307
|
-
size: S.optional(S.Number),
|
|
1308
|
-
}),
|
|
1309
|
-
).annotate({ identifier: "Storage" });
|
|
1310
|
-
case 5:
|
|
1311
1375
|
return S.suspend(() =>
|
|
1312
1376
|
S.Struct({
|
|
1313
1377
|
backupSchedule: S.String,
|
|
1314
1378
|
connectionInfo: __S(50, __c6, 2),
|
|
1315
|
-
encryption: S.optional(__S(
|
|
1379
|
+
encryption: S.optional(__S(248, __c31, 0)),
|
|
1316
1380
|
flavorId: S.String,
|
|
1317
1381
|
id: S.String,
|
|
1318
1382
|
isDeletable: S.Boolean,
|
|
1319
|
-
labels: S.optional(__S(
|
|
1383
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
1320
1384
|
name: S.String,
|
|
1321
1385
|
network: __S(51, __c6, 3),
|
|
1322
1386
|
retentionDays: S.NullOr(S.Number),
|
|
1323
1387
|
state: S.String,
|
|
1324
|
-
storage: __S(
|
|
1388
|
+
storage: __S(56, __c7, 0),
|
|
1325
1389
|
version: S.String,
|
|
1326
1390
|
}),
|
|
1327
1391
|
).annotate({ identifier: "GetInstanceResponse" });
|
|
1328
1392
|
}
|
|
1329
1393
|
}
|
|
1330
1394
|
function __c7(j: number): any {
|
|
1395
|
+
switch (j) {
|
|
1396
|
+
case 0:
|
|
1397
|
+
return S.suspend(() =>
|
|
1398
|
+
S.Struct({
|
|
1399
|
+
class: S.optional(S.String),
|
|
1400
|
+
size: S.optional(S.Number),
|
|
1401
|
+
}),
|
|
1402
|
+
).annotate({ identifier: "Storage" });
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
function __c8(j: number): any {
|
|
1331
1406
|
switch (j) {
|
|
1332
1407
|
case 0:
|
|
1333
1408
|
return S.suspend(() =>
|
|
@@ -1350,13 +1425,13 @@ function __c7(j: number): any {
|
|
|
1350
1425
|
S.Struct({
|
|
1351
1426
|
id: S.Number,
|
|
1352
1427
|
name: S.String,
|
|
1353
|
-
roles: __S(
|
|
1428
|
+
roles: __S(264, __c33, 0),
|
|
1354
1429
|
state: S.String,
|
|
1355
1430
|
}),
|
|
1356
1431
|
).annotate({ identifier: "GetUserResponse" });
|
|
1357
1432
|
}
|
|
1358
1433
|
}
|
|
1359
|
-
function
|
|
1434
|
+
function __c9(j: number): any {
|
|
1360
1435
|
switch (j) {
|
|
1361
1436
|
case 0:
|
|
1362
1437
|
return S.suspend(() =>
|
|
@@ -1381,13 +1456,13 @@ function __c8(j: number): any {
|
|
|
1381
1456
|
case 2:
|
|
1382
1457
|
return S.suspend(() =>
|
|
1383
1458
|
S.Struct({
|
|
1384
|
-
backups: __S(
|
|
1385
|
-
pagination: __S(
|
|
1459
|
+
backups: __S(73, __c9, 1),
|
|
1460
|
+
pagination: __S(80, __c10, 0),
|
|
1386
1461
|
}),
|
|
1387
1462
|
).annotate({ identifier: "ListBackupsResponse" });
|
|
1388
1463
|
}
|
|
1389
1464
|
}
|
|
1390
|
-
function
|
|
1465
|
+
function __c10(j: number): any {
|
|
1391
1466
|
switch (j) {
|
|
1392
1467
|
case 0:
|
|
1393
1468
|
return S.suspend(() =>
|
|
@@ -1401,7 +1476,7 @@ function __c9(j: number): any {
|
|
|
1401
1476
|
).annotate({ identifier: "Pagination" });
|
|
1402
1477
|
}
|
|
1403
1478
|
}
|
|
1404
|
-
function
|
|
1479
|
+
function __c11(j: number): any {
|
|
1405
1480
|
switch (j) {
|
|
1406
1481
|
case 0:
|
|
1407
1482
|
return S.suspend(() =>
|
|
@@ -1421,12 +1496,12 @@ function __c10(j: number): any {
|
|
|
1421
1496
|
case 1:
|
|
1422
1497
|
return S.suspend(() =>
|
|
1423
1498
|
S.Struct({
|
|
1424
|
-
collations: __S(
|
|
1499
|
+
collations: __S(264, __c33, 0),
|
|
1425
1500
|
}),
|
|
1426
1501
|
).annotate({ identifier: "ListCollationsResponse" });
|
|
1427
1502
|
}
|
|
1428
1503
|
}
|
|
1429
|
-
function
|
|
1504
|
+
function __c12(j: number): any {
|
|
1430
1505
|
switch (j) {
|
|
1431
1506
|
case 0:
|
|
1432
1507
|
return S.suspend(() =>
|
|
@@ -1451,13 +1526,13 @@ function __c11(j: number): any {
|
|
|
1451
1526
|
case 2:
|
|
1452
1527
|
return S.suspend(() =>
|
|
1453
1528
|
S.Struct({
|
|
1454
|
-
databases: __S(
|
|
1455
|
-
pagination: __S(
|
|
1529
|
+
databases: __S(97, __c12, 1),
|
|
1530
|
+
pagination: __S(80, __c10, 0),
|
|
1456
1531
|
}),
|
|
1457
1532
|
).annotate({ identifier: "ListDatabasesResponse" });
|
|
1458
1533
|
}
|
|
1459
1534
|
}
|
|
1460
|
-
function
|
|
1535
|
+
function __c13(j: number): any {
|
|
1461
1536
|
switch (j) {
|
|
1462
1537
|
case 0:
|
|
1463
1538
|
return S.suspend(() =>
|
|
@@ -1485,7 +1560,7 @@ function __c12(j: number): any {
|
|
|
1485
1560
|
}),
|
|
1486
1561
|
).annotate({ identifier: "FlavorStorageClassesStorageClass" });
|
|
1487
1562
|
case 2:
|
|
1488
|
-
return S.Array(__S(
|
|
1563
|
+
return S.Array(__S(105, __c13, 1));
|
|
1489
1564
|
case 3:
|
|
1490
1565
|
return S.suspend(() =>
|
|
1491
1566
|
S.Struct({
|
|
@@ -1496,21 +1571,21 @@ function __c12(j: number): any {
|
|
|
1496
1571
|
memory: S.Number,
|
|
1497
1572
|
minGB: S.Number,
|
|
1498
1573
|
nodeType: S.String,
|
|
1499
|
-
storageClasses: __S(
|
|
1574
|
+
storageClasses: __S(106, __c13, 2),
|
|
1500
1575
|
}),
|
|
1501
1576
|
).annotate({ identifier: "ListFlavors" });
|
|
1502
1577
|
case 4:
|
|
1503
|
-
return S.Array(__S(
|
|
1578
|
+
return S.Array(__S(107, __c13, 3));
|
|
1504
1579
|
case 5:
|
|
1505
1580
|
return S.suspend(() =>
|
|
1506
1581
|
S.Struct({
|
|
1507
|
-
flavors: __S(
|
|
1508
|
-
pagination: __S(
|
|
1582
|
+
flavors: __S(108, __c13, 4),
|
|
1583
|
+
pagination: __S(80, __c10, 0),
|
|
1509
1584
|
}),
|
|
1510
1585
|
).annotate({ identifier: "ListFlavorsResponse" });
|
|
1511
1586
|
}
|
|
1512
1587
|
}
|
|
1513
|
-
function
|
|
1588
|
+
function __c14(j: number): any {
|
|
1514
1589
|
switch (j) {
|
|
1515
1590
|
case 0:
|
|
1516
1591
|
return S.suspend(() =>
|
|
@@ -1532,24 +1607,28 @@ function __c13(j: number): any {
|
|
|
1532
1607
|
case 1:
|
|
1533
1608
|
return S.suspend(() =>
|
|
1534
1609
|
S.Struct({
|
|
1610
|
+
created: S.optional(S.String),
|
|
1611
|
+
flavorId: S.optional(S.String),
|
|
1535
1612
|
id: S.String,
|
|
1536
1613
|
isDeletable: S.Boolean,
|
|
1537
1614
|
name: S.String,
|
|
1538
1615
|
state: S.String,
|
|
1616
|
+
storage: S.optional(__S(56, __c7, 0)),
|
|
1617
|
+
version: S.optional(S.String),
|
|
1539
1618
|
}),
|
|
1540
1619
|
).annotate({ identifier: "ListInstance" });
|
|
1541
1620
|
case 2:
|
|
1542
|
-
return S.Array(__S(
|
|
1621
|
+
return S.Array(__S(113, __c14, 1));
|
|
1543
1622
|
case 3:
|
|
1544
1623
|
return S.suspend(() =>
|
|
1545
1624
|
S.Struct({
|
|
1546
|
-
instances: __S(
|
|
1547
|
-
pagination: __S(
|
|
1625
|
+
instances: __S(114, __c14, 2),
|
|
1626
|
+
pagination: __S(80, __c10, 0),
|
|
1548
1627
|
}),
|
|
1549
1628
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1550
1629
|
}
|
|
1551
1630
|
}
|
|
1552
|
-
function
|
|
1631
|
+
function __c15(j: number): any {
|
|
1553
1632
|
switch (j) {
|
|
1554
1633
|
case 0:
|
|
1555
1634
|
return S.suspend(() =>
|
|
@@ -1569,12 +1648,12 @@ function __c14(j: number): any {
|
|
|
1569
1648
|
case 1:
|
|
1570
1649
|
return S.suspend(() =>
|
|
1571
1650
|
S.Struct({
|
|
1572
|
-
roles: __S(
|
|
1651
|
+
roles: __S(264, __c33, 0),
|
|
1573
1652
|
}),
|
|
1574
1653
|
).annotate({ identifier: "ListRolesResponse" });
|
|
1575
1654
|
}
|
|
1576
1655
|
}
|
|
1577
|
-
function
|
|
1656
|
+
function __c16(j: number): any {
|
|
1578
1657
|
switch (j) {
|
|
1579
1658
|
case 0:
|
|
1580
1659
|
return S.suspend(() =>
|
|
@@ -1603,17 +1682,17 @@ function __c15(j: number): any {
|
|
|
1603
1682
|
}),
|
|
1604
1683
|
).annotate({ identifier: "ListUser" });
|
|
1605
1684
|
case 2:
|
|
1606
|
-
return S.Array(__S(
|
|
1685
|
+
return S.Array(__S(129, __c16, 1));
|
|
1607
1686
|
case 3:
|
|
1608
1687
|
return S.suspend(() =>
|
|
1609
1688
|
S.Struct({
|
|
1610
|
-
pagination: __S(
|
|
1611
|
-
users: __S(
|
|
1689
|
+
pagination: __S(80, __c10, 0),
|
|
1690
|
+
users: __S(130, __c16, 2),
|
|
1612
1691
|
}),
|
|
1613
1692
|
).annotate({ identifier: "ListUsersResponse" });
|
|
1614
1693
|
}
|
|
1615
1694
|
}
|
|
1616
|
-
function
|
|
1695
|
+
function __c17(j: number): any {
|
|
1617
1696
|
switch (j) {
|
|
1618
1697
|
case 0:
|
|
1619
1698
|
return S.suspend(() =>
|
|
@@ -1639,16 +1718,16 @@ function __c16(j: number): any {
|
|
|
1639
1718
|
}),
|
|
1640
1719
|
).annotate({ identifier: "Version" });
|
|
1641
1720
|
case 2:
|
|
1642
|
-
return S.Array(__S(
|
|
1721
|
+
return S.Array(__S(137, __c17, 1));
|
|
1643
1722
|
case 3:
|
|
1644
1723
|
return S.suspend(() =>
|
|
1645
1724
|
S.Struct({
|
|
1646
|
-
versions: __S(
|
|
1725
|
+
versions: __S(138, __c17, 2),
|
|
1647
1726
|
}),
|
|
1648
1727
|
).annotate({ identifier: "ListVersionsResponse" });
|
|
1649
1728
|
}
|
|
1650
1729
|
}
|
|
1651
|
-
function
|
|
1730
|
+
function __c18(j: number): any {
|
|
1652
1731
|
switch (j) {
|
|
1653
1732
|
case 0:
|
|
1654
1733
|
return S.suspend(() =>
|
|
@@ -1670,12 +1749,12 @@ function __c17(j: number): any {
|
|
|
1670
1749
|
).annotate({ identifier: "PartialUpdateDatabaseRequest" });
|
|
1671
1750
|
}
|
|
1672
1751
|
}
|
|
1673
|
-
function
|
|
1752
|
+
function __c19(j: number): any {
|
|
1674
1753
|
switch (j) {
|
|
1675
1754
|
case 0:
|
|
1676
1755
|
return S.suspend(() =>
|
|
1677
1756
|
S.Struct({
|
|
1678
|
-
acl: S.optional(__S(
|
|
1757
|
+
acl: S.optional(__S(264, __c33, 0)),
|
|
1679
1758
|
}),
|
|
1680
1759
|
).annotate({ identifier: "InstanceNetworkOpt" });
|
|
1681
1760
|
case 1:
|
|
@@ -1686,11 +1765,11 @@ function __c18(j: number): any {
|
|
|
1686
1765
|
instanceId: S.String.pipe(T.Label()),
|
|
1687
1766
|
backupSchedule: S.optional(S.String),
|
|
1688
1767
|
flavorId: S.optional(S.String),
|
|
1689
|
-
labels: S.optional(__S(
|
|
1768
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
1690
1769
|
name: S.optional(S.String),
|
|
1691
|
-
network: S.optional(__S(
|
|
1770
|
+
network: S.optional(__S(152, __c19, 0)),
|
|
1692
1771
|
retentionDays: S.optional(S.Number),
|
|
1693
|
-
storage: S.optional(__S(
|
|
1772
|
+
storage: S.optional(__S(160, __c20, 0)),
|
|
1694
1773
|
version: S.optional(S.String),
|
|
1695
1774
|
}).pipe(
|
|
1696
1775
|
T.Http({
|
|
@@ -1703,7 +1782,7 @@ function __c18(j: number): any {
|
|
|
1703
1782
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1704
1783
|
}
|
|
1705
1784
|
}
|
|
1706
|
-
function
|
|
1785
|
+
function __c20(j: number): any {
|
|
1707
1786
|
switch (j) {
|
|
1708
1787
|
case 0:
|
|
1709
1788
|
return S.suspend(() =>
|
|
@@ -1713,7 +1792,7 @@ function __c19(j: number): any {
|
|
|
1713
1792
|
).annotate({ identifier: "StorageUpdate" });
|
|
1714
1793
|
}
|
|
1715
1794
|
}
|
|
1716
|
-
function
|
|
1795
|
+
function __c21(j: number): any {
|
|
1717
1796
|
switch (j) {
|
|
1718
1797
|
case 0:
|
|
1719
1798
|
return S.suspend(() =>
|
|
@@ -1723,7 +1802,7 @@ function __c20(j: number): any {
|
|
|
1723
1802
|
instanceId: S.String.pipe(T.Label()),
|
|
1724
1803
|
userId: S.Number.pipe(T.Label()),
|
|
1725
1804
|
name: S.optional(S.String),
|
|
1726
|
-
roles: S.optional(__S(
|
|
1805
|
+
roles: S.optional(__S(264, __c33, 0)),
|
|
1727
1806
|
}).pipe(
|
|
1728
1807
|
T.Http({
|
|
1729
1808
|
method: "PATCH",
|
|
@@ -1735,7 +1814,7 @@ function __c20(j: number): any {
|
|
|
1735
1814
|
).annotate({ identifier: "PartialUpdateUserRequest" });
|
|
1736
1815
|
}
|
|
1737
1816
|
}
|
|
1738
|
-
function
|
|
1817
|
+
function __c22(j: number): any {
|
|
1739
1818
|
switch (j) {
|
|
1740
1819
|
case 0:
|
|
1741
1820
|
return S.suspend(() =>
|
|
@@ -1763,7 +1842,7 @@ function __c21(j: number): any {
|
|
|
1763
1842
|
).annotate({ identifier: "ResetUserPasswordResponse" });
|
|
1764
1843
|
}
|
|
1765
1844
|
}
|
|
1766
|
-
function
|
|
1845
|
+
function __c23(j: number): any {
|
|
1767
1846
|
switch (j) {
|
|
1768
1847
|
case 0:
|
|
1769
1848
|
return S.suspend(() =>
|
|
@@ -1785,12 +1864,12 @@ function __c22(j: number): any {
|
|
|
1785
1864
|
).annotate({ identifier: "UpdateDatabaseRequest" });
|
|
1786
1865
|
}
|
|
1787
1866
|
}
|
|
1788
|
-
function
|
|
1867
|
+
function __c24(j: number): any {
|
|
1789
1868
|
switch (j) {
|
|
1790
1869
|
case 0:
|
|
1791
1870
|
return S.suspend(() =>
|
|
1792
1871
|
S.Struct({
|
|
1793
|
-
acl: __S(
|
|
1872
|
+
acl: __S(264, __c33, 0),
|
|
1794
1873
|
}),
|
|
1795
1874
|
).annotate({ identifier: "InstanceNetworkUpdate" });
|
|
1796
1875
|
case 1:
|
|
@@ -1801,11 +1880,11 @@ function __c23(j: number): any {
|
|
|
1801
1880
|
instanceId: S.String.pipe(T.Label()),
|
|
1802
1881
|
backupSchedule: S.String,
|
|
1803
1882
|
flavorId: S.String,
|
|
1804
|
-
labels: S.optional(__S(
|
|
1883
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
1805
1884
|
name: S.String,
|
|
1806
|
-
network: __S(
|
|
1885
|
+
network: __S(192, __c24, 0),
|
|
1807
1886
|
retentionDays: S.NullOr(S.Number),
|
|
1808
|
-
storage: __S(
|
|
1887
|
+
storage: __S(160, __c20, 0),
|
|
1809
1888
|
version: S.String,
|
|
1810
1889
|
}).pipe(
|
|
1811
1890
|
T.Http({
|
|
@@ -1818,7 +1897,7 @@ function __c23(j: number): any {
|
|
|
1818
1897
|
).annotate({ identifier: "UpdateInstanceRequest" });
|
|
1819
1898
|
}
|
|
1820
1899
|
}
|
|
1821
|
-
function
|
|
1900
|
+
function __c25(j: number): any {
|
|
1822
1901
|
switch (j) {
|
|
1823
1902
|
case 0:
|
|
1824
1903
|
return S.suspend(() =>
|
|
@@ -1844,7 +1923,7 @@ function __c24(j: number): any {
|
|
|
1844
1923
|
).annotate({ identifier: "UpdateInstanceProtectionResponse" });
|
|
1845
1924
|
}
|
|
1846
1925
|
}
|
|
1847
|
-
function
|
|
1926
|
+
function __c26(j: number): any {
|
|
1848
1927
|
switch (j) {
|
|
1849
1928
|
case 0:
|
|
1850
1929
|
return S.suspend(() =>
|
|
@@ -1854,7 +1933,7 @@ function __c25(j: number): any {
|
|
|
1854
1933
|
instanceId: S.String.pipe(T.Label()),
|
|
1855
1934
|
userId: S.Number.pipe(T.Label()),
|
|
1856
1935
|
name: S.optional(S.String),
|
|
1857
|
-
roles: __S(
|
|
1936
|
+
roles: __S(264, __c33, 0),
|
|
1858
1937
|
}).pipe(
|
|
1859
1938
|
T.Http({
|
|
1860
1939
|
method: "PUT",
|
|
@@ -1866,7 +1945,7 @@ function __c25(j: number): any {
|
|
|
1866
1945
|
).annotate({ identifier: "UpdateUserRequest" });
|
|
1867
1946
|
}
|
|
1868
1947
|
}
|
|
1869
|
-
function
|
|
1948
|
+
function __c27(j: number): any {
|
|
1870
1949
|
switch (j) {
|
|
1871
1950
|
case 0:
|
|
1872
1951
|
return S.suspend(() =>
|
|
@@ -1882,7 +1961,7 @@ function __c26(j: number): any {
|
|
|
1882
1961
|
projectId: S.String.pipe(T.Label()),
|
|
1883
1962
|
region: S.String.pipe(T.Label()),
|
|
1884
1963
|
instanceId: S.String.pipe(T.Label()),
|
|
1885
|
-
instanceOverrides: __S(
|
|
1964
|
+
instanceOverrides: __S(216, __c27, 0),
|
|
1886
1965
|
pointInTime: S.String,
|
|
1887
1966
|
}).pipe(
|
|
1888
1967
|
T.Http({
|
|
@@ -1895,7 +1974,7 @@ function __c26(j: number): any {
|
|
|
1895
1974
|
).annotate({ identifier: "CloneInstanceRequest" });
|
|
1896
1975
|
}
|
|
1897
1976
|
}
|
|
1898
|
-
function
|
|
1977
|
+
function __c28(j: number): any {
|
|
1899
1978
|
switch (j) {
|
|
1900
1979
|
case 0:
|
|
1901
1980
|
return S.suspend(() =>
|
|
@@ -1905,7 +1984,7 @@ function __c27(j: number): any {
|
|
|
1905
1984
|
).annotate({ identifier: "CloneInstanceResponse" });
|
|
1906
1985
|
}
|
|
1907
1986
|
}
|
|
1908
|
-
function
|
|
1987
|
+
function __c29(j: number): any {
|
|
1909
1988
|
switch (j) {
|
|
1910
1989
|
case 0:
|
|
1911
1990
|
return S.suspend(() =>
|
|
@@ -1932,13 +2011,13 @@ function __c28(j: number): any {
|
|
|
1932
2011
|
).annotate({ identifier: "CreateDatabaseResponse" });
|
|
1933
2012
|
}
|
|
1934
2013
|
}
|
|
1935
|
-
function
|
|
2014
|
+
function __c30(j: number): any {
|
|
1936
2015
|
switch (j) {
|
|
1937
2016
|
case 0:
|
|
1938
2017
|
return S.suspend(() =>
|
|
1939
2018
|
S.Struct({
|
|
1940
2019
|
accessScope: S.optional(S.String),
|
|
1941
|
-
acl: __S(
|
|
2020
|
+
acl: __S(264, __c33, 0),
|
|
1942
2021
|
}),
|
|
1943
2022
|
).annotate({ identifier: "InstanceNetworkCreate" });
|
|
1944
2023
|
case 1:
|
|
@@ -1954,13 +2033,13 @@ function __c29(j: number): any {
|
|
|
1954
2033
|
projectId: S.String.pipe(T.Label()),
|
|
1955
2034
|
region: S.String.pipe(T.Label()),
|
|
1956
2035
|
backupSchedule: S.String,
|
|
1957
|
-
encryption: S.optional(__S(
|
|
2036
|
+
encryption: S.optional(__S(248, __c31, 0)),
|
|
1958
2037
|
flavorId: S.String,
|
|
1959
|
-
labels: S.optional(__S(
|
|
2038
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
1960
2039
|
name: S.String,
|
|
1961
|
-
network: __S(
|
|
2040
|
+
network: __S(240, __c30, 0),
|
|
1962
2041
|
retentionDays: S.NullOr(S.Number),
|
|
1963
|
-
storage: __S(
|
|
2042
|
+
storage: __S(241, __c30, 1),
|
|
1964
2043
|
version: S.String,
|
|
1965
2044
|
}).pipe(
|
|
1966
2045
|
T.Http({
|
|
@@ -1973,7 +2052,7 @@ function __c29(j: number): any {
|
|
|
1973
2052
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1974
2053
|
}
|
|
1975
2054
|
}
|
|
1976
|
-
function
|
|
2055
|
+
function __c31(j: number): any {
|
|
1977
2056
|
switch (j) {
|
|
1978
2057
|
case 0:
|
|
1979
2058
|
return S.suspend(() =>
|
|
@@ -1986,19 +2065,19 @@ function __c30(j: number): any {
|
|
|
1986
2065
|
).annotate({ identifier: "InstanceEncryption" });
|
|
1987
2066
|
}
|
|
1988
2067
|
}
|
|
1989
|
-
function
|
|
2068
|
+
function __c32(j: number): any {
|
|
1990
2069
|
switch (j) {
|
|
1991
2070
|
case 0:
|
|
1992
2071
|
return S.Record(S.String, /*@__PURE__*/ S.NullOr(S.String));
|
|
1993
2072
|
}
|
|
1994
2073
|
}
|
|
1995
|
-
function
|
|
2074
|
+
function __c33(j: number): any {
|
|
1996
2075
|
switch (j) {
|
|
1997
2076
|
case 0:
|
|
1998
2077
|
return S.Array(S.String);
|
|
1999
2078
|
}
|
|
2000
2079
|
}
|
|
2001
|
-
function
|
|
2080
|
+
function __c34(j: number): any {
|
|
2002
2081
|
switch (j) {
|
|
2003
2082
|
case 0:
|
|
2004
2083
|
return S.suspend(() =>
|
|
@@ -2007,7 +2086,7 @@ function __c33(j: number): any {
|
|
|
2007
2086
|
region: S.String.pipe(T.Label()),
|
|
2008
2087
|
instanceId: S.String.pipe(T.Label()),
|
|
2009
2088
|
name: S.String,
|
|
2010
|
-
roles: S.optional(__S(
|
|
2089
|
+
roles: S.optional(__S(264, __c33, 0)),
|
|
2011
2090
|
}).pipe(
|
|
2012
2091
|
T.Http({
|
|
2013
2092
|
method: "POST",
|
|
@@ -2028,7 +2107,7 @@ function __c33(j: number): any {
|
|
|
2028
2107
|
).annotate({ identifier: "CreateUserResponse" });
|
|
2029
2108
|
}
|
|
2030
2109
|
}
|
|
2031
|
-
function
|
|
2110
|
+
function __c35(j: number): any {
|
|
2032
2111
|
switch (j) {
|
|
2033
2112
|
case 0:
|
|
2034
2113
|
return S.suspend(() =>
|
|
@@ -2048,7 +2127,7 @@ function __c34(j: number): any {
|
|
|
2048
2127
|
).annotate({ identifier: "DeleteDatabaseRequest" });
|
|
2049
2128
|
}
|
|
2050
2129
|
}
|
|
2051
|
-
function
|
|
2130
|
+
function __c36(j: number): any {
|
|
2052
2131
|
switch (j) {
|
|
2053
2132
|
case 0:
|
|
2054
2133
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteDatabaseResponse" });
|