@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.20
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/errors.d.ts +5 -8
- package/lib/errors.d.ts.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- 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 +24 -24
- 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 +29 -29
- 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 +22 -22
- 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 +27 -27
- 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 -39
- 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 +23 -23
- 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 +24 -24
- 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 +37 -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 +179 -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 +25 -25
- 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 +37 -37
- 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 +25 -25
- 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 +34 -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 -33
- 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 +35 -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 +38 -38
- 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 +34 -34
- 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 +155 -155
- 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 +35 -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 +27 -27
- 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 -46
- 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 +33 -33
- 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 +36 -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 +32 -32
- 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 +31 -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 +36 -36
- 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 +39 -39
- 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 +25 -25
- 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 +26 -26
- 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 -45
- 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 +23 -23
- 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 +42 -42
- 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 +22 -22
- 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 -33
- 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 -28
- 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 +35 -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 +40 -40
- 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 +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- 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/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/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/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/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.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/package.json +5 -5
- package/src/errors.ts +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +11 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
|
@@ -74,7 +74,7 @@ export class UnprocessableEntity
|
|
|
74
74
|
export type CloneInstanceRequestRegion = "eu01" | "eu02";
|
|
75
75
|
export interface CloneInstanceOverrides {
|
|
76
76
|
class: string;
|
|
77
|
-
name?: string;
|
|
77
|
+
name?: string | undefined;
|
|
78
78
|
size: number;
|
|
79
79
|
}
|
|
80
80
|
export interface CloneInstanceRequest {
|
|
@@ -99,7 +99,7 @@ export interface CreateDatabaseRequest {
|
|
|
99
99
|
/** The ID of the instance. */
|
|
100
100
|
instanceId: string;
|
|
101
101
|
name: string;
|
|
102
|
-
owner?: string;
|
|
102
|
+
owner?: string | undefined;
|
|
103
103
|
}
|
|
104
104
|
export interface CreateDatabaseResponse {
|
|
105
105
|
id: number;
|
|
@@ -119,11 +119,11 @@ export interface InstanceEncryption {
|
|
|
119
119
|
export type Labels = { [key: string]: string | null | undefined };
|
|
120
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. */
|
|
121
121
|
export type InstanceNetworkAccessScope = "PUBLIC" | "SNA";
|
|
122
|
-
/** List of
|
|
122
|
+
/** List of IPv4 CIDR addresses. */
|
|
123
123
|
export type Acl = Array<string>;
|
|
124
124
|
/** The access configuration of the instance */
|
|
125
125
|
export interface InstanceNetworkCreate {
|
|
126
|
-
accessScope?: InstanceNetworkAccessScope | (string & {});
|
|
126
|
+
accessScope?: InstanceNetworkAccessScope | (string & {}) | undefined;
|
|
127
127
|
acl: Acl;
|
|
128
128
|
}
|
|
129
129
|
/** The object containing information about the storage size and class. */
|
|
@@ -137,9 +137,9 @@ export interface CreateInstanceRequest {
|
|
|
137
137
|
/** The region which should be addressed */
|
|
138
138
|
region: CreateInstanceRequestRegion | (string & {});
|
|
139
139
|
backupSchedule: string;
|
|
140
|
-
encryption?: InstanceEncryption;
|
|
140
|
+
encryption?: InstanceEncryption | undefined;
|
|
141
141
|
flavorId: string;
|
|
142
|
-
labels?: Labels;
|
|
142
|
+
labels?: Labels | undefined;
|
|
143
143
|
name: string;
|
|
144
144
|
network: InstanceNetworkCreate;
|
|
145
145
|
retentionDays: number | null;
|
|
@@ -161,7 +161,7 @@ export interface CreateUserRequest {
|
|
|
161
161
|
instanceId: string;
|
|
162
162
|
name: string;
|
|
163
163
|
/** A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles. */
|
|
164
|
-
roles?: CreateUserRequestRolesList;
|
|
164
|
+
roles?: CreateUserRequestRolesList | undefined;
|
|
165
165
|
}
|
|
166
166
|
export interface CreateUserResponse {
|
|
167
167
|
id: number;
|
|
@@ -260,26 +260,26 @@ export interface InstanceConnectionInfo {
|
|
|
260
260
|
}
|
|
261
261
|
/** The access configuration of the instance */
|
|
262
262
|
export interface InstanceNetwork {
|
|
263
|
-
accessScope?: InstanceNetworkAccessScope;
|
|
263
|
+
accessScope?: InstanceNetworkAccessScope | undefined;
|
|
264
264
|
acl: Acl;
|
|
265
|
-
instanceAddress?: string;
|
|
266
|
-
routerAddress?: string;
|
|
265
|
+
instanceAddress?: string | undefined;
|
|
266
|
+
routerAddress?: string | undefined;
|
|
267
267
|
}
|
|
268
268
|
/** The current state of the instance. */
|
|
269
269
|
export type State = "READY" | "PENDING" | "PROGRESSING" | "FAILURE" | "UNKNOWN" | "TERMINATING";
|
|
270
270
|
/** The object containing information about the storage size and class. */
|
|
271
271
|
export interface Storage {
|
|
272
|
-
class?: string;
|
|
273
|
-
size?: number;
|
|
272
|
+
class?: string | undefined;
|
|
273
|
+
size?: number | undefined;
|
|
274
274
|
}
|
|
275
275
|
export interface GetInstanceResponse {
|
|
276
276
|
backupSchedule: string;
|
|
277
277
|
connectionInfo: InstanceConnectionInfo;
|
|
278
|
-
encryption?: InstanceEncryption;
|
|
278
|
+
encryption?: InstanceEncryption | undefined;
|
|
279
279
|
flavorId: string;
|
|
280
280
|
id: string;
|
|
281
281
|
isDeletable: boolean;
|
|
282
|
-
labels?: Labels;
|
|
282
|
+
labels?: Labels | undefined;
|
|
283
283
|
name: string;
|
|
284
284
|
network: InstanceNetwork;
|
|
285
285
|
retentionDays: number | null;
|
|
@@ -329,11 +329,11 @@ export interface ListBackupsRequest {
|
|
|
329
329
|
/** The ID of the instance. */
|
|
330
330
|
instanceId: string;
|
|
331
331
|
/** Number of the page of items list to be returned. */
|
|
332
|
-
page?: number;
|
|
332
|
+
page?: number | undefined;
|
|
333
333
|
/** Number of items to be returned on each page. */
|
|
334
|
-
size?: number;
|
|
334
|
+
size?: number | undefined;
|
|
335
335
|
/** Sorting of the backups to be returned on each page. */
|
|
336
|
-
sort?: BackupSort | (string & {});
|
|
336
|
+
sort?: BackupSort | (string & {}) | undefined;
|
|
337
337
|
}
|
|
338
338
|
/** The list containing the information about the backups. */
|
|
339
339
|
export type ListBackupsResponseBackupsList = Array<BackupData>;
|
|
@@ -382,11 +382,11 @@ export interface ListDatabasesRequest {
|
|
|
382
382
|
/** The ID of the instance. */
|
|
383
383
|
instanceId: string;
|
|
384
384
|
/** Number of the page of items list to be returned. */
|
|
385
|
-
page?: number;
|
|
385
|
+
page?: number | undefined;
|
|
386
386
|
/** Number of items to be returned on each page. */
|
|
387
|
-
size?: number;
|
|
387
|
+
size?: number | undefined;
|
|
388
388
|
/** Sorting of the databases to be returned on each page. */
|
|
389
|
-
sort?: DatabaseSort | (string & {});
|
|
389
|
+
sort?: DatabaseSort | (string & {}) | undefined;
|
|
390
390
|
}
|
|
391
391
|
export interface ListDatabase {
|
|
392
392
|
id: number;
|
|
@@ -424,11 +424,11 @@ export interface ListFlavorsRequest {
|
|
|
424
424
|
/** The region which should be addressed */
|
|
425
425
|
region: ListFlavorsRequestRegion | (string & {});
|
|
426
426
|
/** Number of the page of items list to be returned. */
|
|
427
|
-
page?: number;
|
|
427
|
+
page?: number | undefined;
|
|
428
428
|
/** Number of items to be returned on each page. */
|
|
429
|
-
size?: number;
|
|
429
|
+
size?: number | undefined;
|
|
430
430
|
/** Sorting of the flavors to be returned on each page. */
|
|
431
|
-
sort?: FlavorSort | (string & {});
|
|
431
|
+
sort?: FlavorSort | (string & {}) | undefined;
|
|
432
432
|
}
|
|
433
433
|
/** a storageClass defines how efficient the storage can work */
|
|
434
434
|
export interface FlavorStorageClassesStorageClass {
|
|
@@ -436,7 +436,7 @@ export interface FlavorStorageClassesStorageClass {
|
|
|
436
436
|
maxIoPerSec: number;
|
|
437
437
|
maxThroughInMb: number;
|
|
438
438
|
}
|
|
439
|
-
/**
|
|
439
|
+
/** The storage classes available for the flavor. */
|
|
440
440
|
export type FlavorStorageClasses = Array<FlavorStorageClassesStorageClass>;
|
|
441
441
|
/** The flavor of the instance containing the technical features. */
|
|
442
442
|
export interface ListFlavors {
|
|
@@ -472,17 +472,21 @@ export interface ListInstancesRequest {
|
|
|
472
472
|
/** The region which should be addressed */
|
|
473
473
|
region: ListInstancesRequestRegion | (string & {});
|
|
474
474
|
/** Number of the page of items list to be returned. */
|
|
475
|
-
page?: number;
|
|
475
|
+
page?: number | undefined;
|
|
476
476
|
/** Number of items to be returned on each page. */
|
|
477
|
-
size?: number;
|
|
477
|
+
size?: number | undefined;
|
|
478
478
|
/** Sorting of the items to be returned on each page. */
|
|
479
|
-
sort?: InstanceSort | (string & {});
|
|
479
|
+
sort?: InstanceSort | (string & {}) | undefined;
|
|
480
480
|
}
|
|
481
481
|
export interface ListInstance {
|
|
482
|
+
created?: string | undefined;
|
|
483
|
+
flavorId?: string | undefined;
|
|
482
484
|
id: string;
|
|
483
485
|
isDeletable: boolean;
|
|
484
486
|
name: string;
|
|
485
487
|
state: State;
|
|
488
|
+
storage?: Storage | undefined;
|
|
489
|
+
version?: string | undefined;
|
|
486
490
|
}
|
|
487
491
|
/** List of owned instances and their current state. */
|
|
488
492
|
export type ListInstancesResponseInstancesList = Array<ListInstance>;
|
|
@@ -516,11 +520,11 @@ export interface ListUsersRequest {
|
|
|
516
520
|
/** The ID of the instance. */
|
|
517
521
|
instanceId: string;
|
|
518
522
|
/** Number of the page of items list to be returned. */
|
|
519
|
-
page?: number;
|
|
523
|
+
page?: number | undefined;
|
|
520
524
|
/** Number of items to be returned on each page. */
|
|
521
|
-
size?: number;
|
|
525
|
+
size?: number | undefined;
|
|
522
526
|
/** Sorting of the users to be returned on each page. */
|
|
523
|
-
sort?: UserSort | (string & {});
|
|
527
|
+
sort?: UserSort | (string & {}) | undefined;
|
|
524
528
|
}
|
|
525
529
|
export interface ListUser {
|
|
526
530
|
id: number;
|
|
@@ -543,11 +547,11 @@ export interface ListVersionsRequest {
|
|
|
543
547
|
}
|
|
544
548
|
/** The version of the postgres instance and more details. */
|
|
545
549
|
export interface Version {
|
|
546
|
-
/** Flag
|
|
550
|
+
/** Flag indicating whether the version is a beta version. Beta versions may contain bugs and are not fully tested. */
|
|
547
551
|
beta: boolean;
|
|
548
|
-
/** Timestamp in RFC3339 format
|
|
552
|
+
/** Timestamp in RFC3339 format indicating when the version will no longer be supported by STACKIT. */
|
|
549
553
|
deprecated: string;
|
|
550
|
-
/** Flag
|
|
554
|
+
/** Flag indicating whether the version is recommended by the STACKIT Team. */
|
|
551
555
|
recommend: boolean;
|
|
552
556
|
/** The postgres version used for the instance. */
|
|
553
557
|
version: string;
|
|
@@ -568,20 +572,20 @@ export interface PartialUpdateDatabaseRequest {
|
|
|
568
572
|
instanceId: string;
|
|
569
573
|
/** The ID of the database. */
|
|
570
574
|
databaseId: number;
|
|
571
|
-
name?: string;
|
|
572
|
-
owner?: string;
|
|
575
|
+
name?: string | undefined;
|
|
576
|
+
owner?: string | undefined;
|
|
573
577
|
}
|
|
574
578
|
export interface PartialUpdateDatabaseResponse {}
|
|
575
579
|
export type PartialUpdateInstanceRequestRegion = "eu01" | "eu02";
|
|
576
|
-
/** List of
|
|
580
|
+
/** List of IPv4 CIDR addresses. */
|
|
577
581
|
export type AclOpt = Array<string>;
|
|
578
582
|
/** The access configuration of the instance */
|
|
579
583
|
export interface InstanceNetworkOpt {
|
|
580
|
-
acl?: AclOpt;
|
|
584
|
+
acl?: AclOpt | undefined;
|
|
581
585
|
}
|
|
582
586
|
/** The object containing information about the storage size and class. */
|
|
583
587
|
export interface StorageUpdate {
|
|
584
|
-
size?: number;
|
|
588
|
+
size?: number | undefined;
|
|
585
589
|
}
|
|
586
590
|
export interface PartialUpdateInstanceRequest {
|
|
587
591
|
/** The STACKIT project ID. */
|
|
@@ -590,14 +594,14 @@ export interface PartialUpdateInstanceRequest {
|
|
|
590
594
|
region: PartialUpdateInstanceRequestRegion | (string & {});
|
|
591
595
|
/** The ID of the instance. */
|
|
592
596
|
instanceId: string;
|
|
593
|
-
backupSchedule?: string;
|
|
594
|
-
flavorId?: string;
|
|
595
|
-
labels?: Labels;
|
|
596
|
-
name?: string;
|
|
597
|
-
network?: InstanceNetworkOpt;
|
|
598
|
-
retentionDays?: number;
|
|
599
|
-
storage?: StorageUpdate;
|
|
600
|
-
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;
|
|
601
605
|
}
|
|
602
606
|
export interface PartialUpdateInstanceResponse {}
|
|
603
607
|
export type PartialUpdateUserRequestRegion = "eu01" | "eu02";
|
|
@@ -612,9 +616,9 @@ export interface PartialUpdateUserRequest {
|
|
|
612
616
|
instanceId: string;
|
|
613
617
|
/** The ID of the user. */
|
|
614
618
|
userId: number;
|
|
615
|
-
name?: string;
|
|
619
|
+
name?: string | undefined;
|
|
616
620
|
/** A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles. */
|
|
617
|
-
roles?: PartialUpdateUserRequestRolesList;
|
|
621
|
+
roles?: PartialUpdateUserRequestRolesList | undefined;
|
|
618
622
|
}
|
|
619
623
|
export interface PartialUpdateUserResponse {}
|
|
620
624
|
export type ResetUserPasswordRequestRegion = "eu01" | "eu02";
|
|
@@ -661,7 +665,7 @@ export interface UpdateInstanceRequest {
|
|
|
661
665
|
instanceId: string;
|
|
662
666
|
backupSchedule: string;
|
|
663
667
|
flavorId: string;
|
|
664
|
-
labels?: Labels;
|
|
668
|
+
labels?: Labels | undefined;
|
|
665
669
|
name: string;
|
|
666
670
|
network: InstanceNetworkUpdate;
|
|
667
671
|
retentionDays: number | null;
|
|
@@ -694,7 +698,7 @@ export interface UpdateUserRequest {
|
|
|
694
698
|
instanceId: string;
|
|
695
699
|
/** The ID of the user. */
|
|
696
700
|
userId: number;
|
|
697
|
-
name?: string;
|
|
701
|
+
name?: string | undefined;
|
|
698
702
|
/** A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles. */
|
|
699
703
|
roles: UpdateUserRequestRolesList;
|
|
700
704
|
}
|
|
@@ -713,8 +717,8 @@ export const cloneInstance: API.OperationMethod<
|
|
|
713
717
|
CloneInstanceError,
|
|
714
718
|
StackitOpContext
|
|
715
719
|
> = /*@__PURE__*/ API.make(() => ({
|
|
716
|
-
input: __S(
|
|
717
|
-
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>,
|
|
718
722
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
719
723
|
protocol: StackitProtocol,
|
|
720
724
|
retry: Retry.Retry,
|
|
@@ -736,8 +740,8 @@ export const createDatabase: API.OperationMethod<
|
|
|
736
740
|
CreateDatabaseError,
|
|
737
741
|
StackitOpContext
|
|
738
742
|
> = /*@__PURE__*/ API.make(() => ({
|
|
739
|
-
input: __S(
|
|
740
|
-
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>,
|
|
741
745
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
742
746
|
protocol: StackitProtocol,
|
|
743
747
|
retry: Retry.Retry,
|
|
@@ -758,8 +762,8 @@ export const createInstance: API.OperationMethod<
|
|
|
758
762
|
CreateInstanceError,
|
|
759
763
|
StackitOpContext
|
|
760
764
|
> = /*@__PURE__*/ API.make(() => ({
|
|
761
|
-
input: __S(
|
|
762
|
-
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>,
|
|
763
767
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
764
768
|
protocol: StackitProtocol,
|
|
765
769
|
retry: Retry.Retry,
|
|
@@ -781,8 +785,8 @@ export const createUser: API.OperationMethod<
|
|
|
781
785
|
CreateUserError,
|
|
782
786
|
StackitOpContext
|
|
783
787
|
> = /*@__PURE__*/ API.make(() => ({
|
|
784
|
-
input: __S(
|
|
785
|
-
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>,
|
|
786
790
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
787
791
|
protocol: StackitProtocol,
|
|
788
792
|
retry: Retry.Retry,
|
|
@@ -790,7 +794,7 @@ export const createUser: API.OperationMethod<
|
|
|
790
794
|
span: "CreateUser",
|
|
791
795
|
}));
|
|
792
796
|
|
|
793
|
-
export type DeleteDatabaseError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
797
|
+
export type DeleteDatabaseError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
794
798
|
/** Delete Database Delete database for an instance. */
|
|
795
799
|
export const deleteDatabase: API.OperationMethod<
|
|
796
800
|
DeleteDatabaseRequest,
|
|
@@ -798,9 +802,9 @@ export const deleteDatabase: API.OperationMethod<
|
|
|
798
802
|
DeleteDatabaseError,
|
|
799
803
|
StackitOpContext
|
|
800
804
|
> = /*@__PURE__*/ API.make(() => ({
|
|
801
|
-
input: __S(
|
|
802
|
-
output: __S(
|
|
803
|
-
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],
|
|
804
808
|
protocol: StackitProtocol,
|
|
805
809
|
retry: Retry.Retry,
|
|
806
810
|
telemetry: TELEMETRY,
|
|
@@ -816,7 +820,7 @@ export const deleteInstance: API.OperationMethod<
|
|
|
816
820
|
StackitOpContext
|
|
817
821
|
> = /*@__PURE__*/ API.make(() => ({
|
|
818
822
|
input: __S(0, __c0, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
819
|
-
output: __S(
|
|
823
|
+
output: __S(288, __c36, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
820
824
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
821
825
|
protocol: StackitProtocol,
|
|
822
826
|
retry: Retry.Retry,
|
|
@@ -825,7 +829,7 @@ export const deleteInstance: API.OperationMethod<
|
|
|
825
829
|
}));
|
|
826
830
|
|
|
827
831
|
export type DeleteUserError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
828
|
-
/** Delete User Delete
|
|
832
|
+
/** Delete User Delete a user from a specific instance. */
|
|
829
833
|
export const deleteUser: API.OperationMethod<
|
|
830
834
|
DeleteUserRequest,
|
|
831
835
|
DeleteUserResponse,
|
|
@@ -833,7 +837,7 @@ export const deleteUser: API.OperationMethod<
|
|
|
833
837
|
StackitOpContext
|
|
834
838
|
> = /*@__PURE__*/ API.make(() => ({
|
|
835
839
|
input: __S(8, __c1, 0) as any as S.Schema<DeleteUserRequest>,
|
|
836
|
-
output: __S(
|
|
840
|
+
output: __S(288, __c36, 0) as any as S.Schema<DeleteUserResponse>,
|
|
837
841
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
838
842
|
protocol: StackitProtocol,
|
|
839
843
|
retry: Retry.Retry,
|
|
@@ -884,7 +888,7 @@ export const getInstance: API.OperationMethod<
|
|
|
884
888
|
StackitOpContext
|
|
885
889
|
> = /*@__PURE__*/ API.make(() => ({
|
|
886
890
|
input: __S(48, __c6, 0) as any as S.Schema<GetInstanceRequest>,
|
|
887
|
-
output: __S(
|
|
891
|
+
output: __S(52, __c6, 4) as any as S.Schema<GetInstanceResponse>,
|
|
888
892
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
889
893
|
protocol: StackitProtocol,
|
|
890
894
|
retry: Retry.Retry,
|
|
@@ -900,8 +904,8 @@ export const getUser: API.OperationMethod<
|
|
|
900
904
|
GetUserError,
|
|
901
905
|
StackitOpContext
|
|
902
906
|
> = /*@__PURE__*/ API.make(() => ({
|
|
903
|
-
input: __S(
|
|
904
|
-
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>,
|
|
905
909
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
906
910
|
protocol: StackitProtocol,
|
|
907
911
|
retry: Retry.Retry,
|
|
@@ -910,15 +914,15 @@ export const getUser: API.OperationMethod<
|
|
|
910
914
|
}));
|
|
911
915
|
|
|
912
916
|
export type ListBackupsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
913
|
-
/** List
|
|
917
|
+
/** List Backups List all backups which are available for a specific instance. */
|
|
914
918
|
export const listBackups: API.OperationMethod<
|
|
915
919
|
ListBackupsRequest,
|
|
916
920
|
ListBackupsResponse,
|
|
917
921
|
ListBackupsError,
|
|
918
922
|
StackitOpContext
|
|
919
923
|
> = /*@__PURE__*/ API.make(() => ({
|
|
920
|
-
input: __S(
|
|
921
|
-
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>,
|
|
922
926
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
923
927
|
protocol: StackitProtocol,
|
|
924
928
|
retry: Retry.Retry,
|
|
@@ -934,8 +938,8 @@ export const listCollations: API.OperationMethod<
|
|
|
934
938
|
ListCollationsError,
|
|
935
939
|
StackitOpContext
|
|
936
940
|
> = /*@__PURE__*/ API.make(() => ({
|
|
937
|
-
input: __S(
|
|
938
|
-
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>,
|
|
939
943
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
940
944
|
protocol: StackitProtocol,
|
|
941
945
|
retry: Retry.Retry,
|
|
@@ -951,8 +955,8 @@ export const listDatabases: API.OperationMethod<
|
|
|
951
955
|
ListDatabasesError,
|
|
952
956
|
StackitOpContext
|
|
953
957
|
> = /*@__PURE__*/ API.make(() => ({
|
|
954
|
-
input: __S(
|
|
955
|
-
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>,
|
|
956
960
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
957
961
|
protocol: StackitProtocol,
|
|
958
962
|
retry: Retry.Retry,
|
|
@@ -968,8 +972,8 @@ export const listFlavors2: API.OperationMethod<
|
|
|
968
972
|
ListFlavors2Error,
|
|
969
973
|
StackitOpContext
|
|
970
974
|
> = /*@__PURE__*/ API.make(() => ({
|
|
971
|
-
input: __S(
|
|
972
|
-
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>,
|
|
973
977
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
974
978
|
protocol: StackitProtocol,
|
|
975
979
|
retry: Retry.Retry,
|
|
@@ -985,8 +989,8 @@ export const listInstances: API.OperationMethod<
|
|
|
985
989
|
ListInstancesError,
|
|
986
990
|
StackitOpContext
|
|
987
991
|
> = /*@__PURE__*/ API.make(() => ({
|
|
988
|
-
input: __S(
|
|
989
|
-
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>,
|
|
990
994
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
991
995
|
protocol: StackitProtocol,
|
|
992
996
|
retry: Retry.Retry,
|
|
@@ -1002,8 +1006,8 @@ export const listRoles: API.OperationMethod<
|
|
|
1002
1006
|
ListRolesError,
|
|
1003
1007
|
StackitOpContext
|
|
1004
1008
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1005
|
-
input: __S(
|
|
1006
|
-
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>,
|
|
1007
1011
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1008
1012
|
protocol: StackitProtocol,
|
|
1009
1013
|
retry: Retry.Retry,
|
|
@@ -1019,8 +1023,8 @@ export const listUsers: API.OperationMethod<
|
|
|
1019
1023
|
ListUsersError,
|
|
1020
1024
|
StackitOpContext
|
|
1021
1025
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1022
|
-
input: __S(
|
|
1023
|
-
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>,
|
|
1024
1028
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1025
1029
|
protocol: StackitProtocol,
|
|
1026
1030
|
retry: Retry.Retry,
|
|
@@ -1036,8 +1040,8 @@ export const listVersions: API.OperationMethod<
|
|
|
1036
1040
|
ListVersionsError,
|
|
1037
1041
|
StackitOpContext
|
|
1038
1042
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1039
|
-
input: __S(
|
|
1040
|
-
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>,
|
|
1041
1045
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1042
1046
|
protocol: StackitProtocol,
|
|
1043
1047
|
retry: Retry.Retry,
|
|
@@ -1058,8 +1062,8 @@ export const partialUpdateDatabase: API.OperationMethod<
|
|
|
1058
1062
|
PartialUpdateDatabaseError,
|
|
1059
1063
|
StackitOpContext
|
|
1060
1064
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1061
|
-
input: __S(
|
|
1062
|
-
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>,
|
|
1063
1067
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1064
1068
|
protocol: StackitProtocol,
|
|
1065
1069
|
retry: Retry.Retry,
|
|
@@ -1080,8 +1084,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
1080
1084
|
PartialUpdateInstanceError,
|
|
1081
1085
|
StackitOpContext
|
|
1082
1086
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1083
|
-
input: __S(
|
|
1084
|
-
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>,
|
|
1085
1089
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1086
1090
|
protocol: StackitProtocol,
|
|
1087
1091
|
retry: Retry.Retry,
|
|
@@ -1095,15 +1099,15 @@ export type PartialUpdateUserError =
|
|
|
1095
1099
|
| NotFound
|
|
1096
1100
|
| UnprocessableEntity
|
|
1097
1101
|
| StackitOpError;
|
|
1098
|
-
/** Update User Partially Update
|
|
1102
|
+
/** Update User Partially Update a user partially for an instance. */
|
|
1099
1103
|
export const partialUpdateUser: API.OperationMethod<
|
|
1100
1104
|
PartialUpdateUserRequest,
|
|
1101
1105
|
PartialUpdateUserResponse,
|
|
1102
1106
|
PartialUpdateUserError,
|
|
1103
1107
|
StackitOpContext
|
|
1104
1108
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1105
|
-
input: __S(
|
|
1106
|
-
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>,
|
|
1107
1111
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1108
1112
|
protocol: StackitProtocol,
|
|
1109
1113
|
retry: Retry.Retry,
|
|
@@ -1117,15 +1121,15 @@ export type ResetUserPasswordError =
|
|
|
1117
1121
|
| NotFound
|
|
1118
1122
|
| UnprocessableEntity
|
|
1119
1123
|
| StackitOpError;
|
|
1120
|
-
/** Reset User Reset
|
|
1124
|
+
/** Reset User Reset a user from a specific instance. */
|
|
1121
1125
|
export const resetUserPassword: API.OperationMethod<
|
|
1122
1126
|
ResetUserPasswordRequest,
|
|
1123
1127
|
ResetUserPasswordResponse,
|
|
1124
1128
|
ResetUserPasswordError,
|
|
1125
1129
|
StackitOpContext
|
|
1126
1130
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1127
|
-
input: __S(
|
|
1128
|
-
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>,
|
|
1129
1133
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1130
1134
|
protocol: StackitProtocol,
|
|
1131
1135
|
retry: Retry.Retry,
|
|
@@ -1146,8 +1150,8 @@ export const updateDatabase: API.OperationMethod<
|
|
|
1146
1150
|
UpdateDatabaseError,
|
|
1147
1151
|
StackitOpContext
|
|
1148
1152
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1149
|
-
input: __S(
|
|
1150
|
-
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>,
|
|
1151
1155
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1152
1156
|
protocol: StackitProtocol,
|
|
1153
1157
|
retry: Retry.Retry,
|
|
@@ -1168,8 +1172,8 @@ export const updateInstance: API.OperationMethod<
|
|
|
1168
1172
|
UpdateInstanceError,
|
|
1169
1173
|
StackitOpContext
|
|
1170
1174
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1171
|
-
input: __S(
|
|
1172
|
-
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>,
|
|
1173
1177
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1174
1178
|
protocol: StackitProtocol,
|
|
1175
1179
|
retry: Retry.Retry,
|
|
@@ -1190,8 +1194,8 @@ export const updateInstanceProtection: API.OperationMethod<
|
|
|
1190
1194
|
UpdateInstanceProtectionError,
|
|
1191
1195
|
StackitOpContext
|
|
1192
1196
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1193
|
-
input: __S(
|
|
1194
|
-
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>,
|
|
1195
1199
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1196
1200
|
protocol: StackitProtocol,
|
|
1197
1201
|
retry: Retry.Retry,
|
|
@@ -1212,8 +1216,8 @@ export const updateUser: API.OperationMethod<
|
|
|
1212
1216
|
UpdateUserError,
|
|
1213
1217
|
StackitOpContext
|
|
1214
1218
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1215
|
-
input: __S(
|
|
1216
|
-
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>,
|
|
1217
1221
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1218
1222
|
protocol: StackitProtocol,
|
|
1219
1223
|
retry: Retry.Retry,
|
|
@@ -1362,39 +1366,43 @@ function __c6(j: number): any {
|
|
|
1362
1366
|
return S.suspend(() =>
|
|
1363
1367
|
S.Struct({
|
|
1364
1368
|
accessScope: S.optional(S.String),
|
|
1365
|
-
acl: __S(
|
|
1369
|
+
acl: __S(264, __c33, 0),
|
|
1366
1370
|
instanceAddress: S.optional(S.String),
|
|
1367
1371
|
routerAddress: S.optional(S.String),
|
|
1368
1372
|
}),
|
|
1369
1373
|
).annotate({ identifier: "InstanceNetwork" });
|
|
1370
1374
|
case 4:
|
|
1371
|
-
return S.suspend(() =>
|
|
1372
|
-
S.Struct({
|
|
1373
|
-
class: S.optional(S.String),
|
|
1374
|
-
size: S.optional(S.Number),
|
|
1375
|
-
}),
|
|
1376
|
-
).annotate({ identifier: "Storage" });
|
|
1377
|
-
case 5:
|
|
1378
1375
|
return S.suspend(() =>
|
|
1379
1376
|
S.Struct({
|
|
1380
1377
|
backupSchedule: S.String,
|
|
1381
1378
|
connectionInfo: __S(50, __c6, 2),
|
|
1382
|
-
encryption: S.optional(__S(
|
|
1379
|
+
encryption: S.optional(__S(248, __c31, 0)),
|
|
1383
1380
|
flavorId: S.String,
|
|
1384
1381
|
id: S.String,
|
|
1385
1382
|
isDeletable: S.Boolean,
|
|
1386
|
-
labels: S.optional(__S(
|
|
1383
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
1387
1384
|
name: S.String,
|
|
1388
1385
|
network: __S(51, __c6, 3),
|
|
1389
1386
|
retentionDays: S.NullOr(S.Number),
|
|
1390
1387
|
state: S.String,
|
|
1391
|
-
storage: __S(
|
|
1388
|
+
storage: __S(56, __c7, 0),
|
|
1392
1389
|
version: S.String,
|
|
1393
1390
|
}),
|
|
1394
1391
|
).annotate({ identifier: "GetInstanceResponse" });
|
|
1395
1392
|
}
|
|
1396
1393
|
}
|
|
1397
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 {
|
|
1398
1406
|
switch (j) {
|
|
1399
1407
|
case 0:
|
|
1400
1408
|
return S.suspend(() =>
|
|
@@ -1417,13 +1425,13 @@ function __c7(j: number): any {
|
|
|
1417
1425
|
S.Struct({
|
|
1418
1426
|
id: S.Number,
|
|
1419
1427
|
name: S.String,
|
|
1420
|
-
roles: __S(
|
|
1428
|
+
roles: __S(264, __c33, 0),
|
|
1421
1429
|
state: S.String,
|
|
1422
1430
|
}),
|
|
1423
1431
|
).annotate({ identifier: "GetUserResponse" });
|
|
1424
1432
|
}
|
|
1425
1433
|
}
|
|
1426
|
-
function
|
|
1434
|
+
function __c9(j: number): any {
|
|
1427
1435
|
switch (j) {
|
|
1428
1436
|
case 0:
|
|
1429
1437
|
return S.suspend(() =>
|
|
@@ -1448,13 +1456,13 @@ function __c8(j: number): any {
|
|
|
1448
1456
|
case 2:
|
|
1449
1457
|
return S.suspend(() =>
|
|
1450
1458
|
S.Struct({
|
|
1451
|
-
backups: __S(
|
|
1452
|
-
pagination: __S(
|
|
1459
|
+
backups: __S(73, __c9, 1),
|
|
1460
|
+
pagination: __S(80, __c10, 0),
|
|
1453
1461
|
}),
|
|
1454
1462
|
).annotate({ identifier: "ListBackupsResponse" });
|
|
1455
1463
|
}
|
|
1456
1464
|
}
|
|
1457
|
-
function
|
|
1465
|
+
function __c10(j: number): any {
|
|
1458
1466
|
switch (j) {
|
|
1459
1467
|
case 0:
|
|
1460
1468
|
return S.suspend(() =>
|
|
@@ -1468,7 +1476,7 @@ function __c9(j: number): any {
|
|
|
1468
1476
|
).annotate({ identifier: "Pagination" });
|
|
1469
1477
|
}
|
|
1470
1478
|
}
|
|
1471
|
-
function
|
|
1479
|
+
function __c11(j: number): any {
|
|
1472
1480
|
switch (j) {
|
|
1473
1481
|
case 0:
|
|
1474
1482
|
return S.suspend(() =>
|
|
@@ -1488,12 +1496,12 @@ function __c10(j: number): any {
|
|
|
1488
1496
|
case 1:
|
|
1489
1497
|
return S.suspend(() =>
|
|
1490
1498
|
S.Struct({
|
|
1491
|
-
collations: __S(
|
|
1499
|
+
collations: __S(264, __c33, 0),
|
|
1492
1500
|
}),
|
|
1493
1501
|
).annotate({ identifier: "ListCollationsResponse" });
|
|
1494
1502
|
}
|
|
1495
1503
|
}
|
|
1496
|
-
function
|
|
1504
|
+
function __c12(j: number): any {
|
|
1497
1505
|
switch (j) {
|
|
1498
1506
|
case 0:
|
|
1499
1507
|
return S.suspend(() =>
|
|
@@ -1518,13 +1526,13 @@ function __c11(j: number): any {
|
|
|
1518
1526
|
case 2:
|
|
1519
1527
|
return S.suspend(() =>
|
|
1520
1528
|
S.Struct({
|
|
1521
|
-
databases: __S(
|
|
1522
|
-
pagination: __S(
|
|
1529
|
+
databases: __S(97, __c12, 1),
|
|
1530
|
+
pagination: __S(80, __c10, 0),
|
|
1523
1531
|
}),
|
|
1524
1532
|
).annotate({ identifier: "ListDatabasesResponse" });
|
|
1525
1533
|
}
|
|
1526
1534
|
}
|
|
1527
|
-
function
|
|
1535
|
+
function __c13(j: number): any {
|
|
1528
1536
|
switch (j) {
|
|
1529
1537
|
case 0:
|
|
1530
1538
|
return S.suspend(() =>
|
|
@@ -1552,7 +1560,7 @@ function __c12(j: number): any {
|
|
|
1552
1560
|
}),
|
|
1553
1561
|
).annotate({ identifier: "FlavorStorageClassesStorageClass" });
|
|
1554
1562
|
case 2:
|
|
1555
|
-
return S.Array(__S(
|
|
1563
|
+
return S.Array(__S(105, __c13, 1));
|
|
1556
1564
|
case 3:
|
|
1557
1565
|
return S.suspend(() =>
|
|
1558
1566
|
S.Struct({
|
|
@@ -1563,21 +1571,21 @@ function __c12(j: number): any {
|
|
|
1563
1571
|
memory: S.Number,
|
|
1564
1572
|
minGB: S.Number,
|
|
1565
1573
|
nodeType: S.String,
|
|
1566
|
-
storageClasses: __S(
|
|
1574
|
+
storageClasses: __S(106, __c13, 2),
|
|
1567
1575
|
}),
|
|
1568
1576
|
).annotate({ identifier: "ListFlavors" });
|
|
1569
1577
|
case 4:
|
|
1570
|
-
return S.Array(__S(
|
|
1578
|
+
return S.Array(__S(107, __c13, 3));
|
|
1571
1579
|
case 5:
|
|
1572
1580
|
return S.suspend(() =>
|
|
1573
1581
|
S.Struct({
|
|
1574
|
-
flavors: __S(
|
|
1575
|
-
pagination: __S(
|
|
1582
|
+
flavors: __S(108, __c13, 4),
|
|
1583
|
+
pagination: __S(80, __c10, 0),
|
|
1576
1584
|
}),
|
|
1577
1585
|
).annotate({ identifier: "ListFlavorsResponse" });
|
|
1578
1586
|
}
|
|
1579
1587
|
}
|
|
1580
|
-
function
|
|
1588
|
+
function __c14(j: number): any {
|
|
1581
1589
|
switch (j) {
|
|
1582
1590
|
case 0:
|
|
1583
1591
|
return S.suspend(() =>
|
|
@@ -1599,24 +1607,28 @@ function __c13(j: number): any {
|
|
|
1599
1607
|
case 1:
|
|
1600
1608
|
return S.suspend(() =>
|
|
1601
1609
|
S.Struct({
|
|
1610
|
+
created: S.optional(S.String),
|
|
1611
|
+
flavorId: S.optional(S.String),
|
|
1602
1612
|
id: S.String,
|
|
1603
1613
|
isDeletable: S.Boolean,
|
|
1604
1614
|
name: S.String,
|
|
1605
1615
|
state: S.String,
|
|
1616
|
+
storage: S.optional(__S(56, __c7, 0)),
|
|
1617
|
+
version: S.optional(S.String),
|
|
1606
1618
|
}),
|
|
1607
1619
|
).annotate({ identifier: "ListInstance" });
|
|
1608
1620
|
case 2:
|
|
1609
|
-
return S.Array(__S(
|
|
1621
|
+
return S.Array(__S(113, __c14, 1));
|
|
1610
1622
|
case 3:
|
|
1611
1623
|
return S.suspend(() =>
|
|
1612
1624
|
S.Struct({
|
|
1613
|
-
instances: __S(
|
|
1614
|
-
pagination: __S(
|
|
1625
|
+
instances: __S(114, __c14, 2),
|
|
1626
|
+
pagination: __S(80, __c10, 0),
|
|
1615
1627
|
}),
|
|
1616
1628
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1617
1629
|
}
|
|
1618
1630
|
}
|
|
1619
|
-
function
|
|
1631
|
+
function __c15(j: number): any {
|
|
1620
1632
|
switch (j) {
|
|
1621
1633
|
case 0:
|
|
1622
1634
|
return S.suspend(() =>
|
|
@@ -1636,12 +1648,12 @@ function __c14(j: number): any {
|
|
|
1636
1648
|
case 1:
|
|
1637
1649
|
return S.suspend(() =>
|
|
1638
1650
|
S.Struct({
|
|
1639
|
-
roles: __S(
|
|
1651
|
+
roles: __S(264, __c33, 0),
|
|
1640
1652
|
}),
|
|
1641
1653
|
).annotate({ identifier: "ListRolesResponse" });
|
|
1642
1654
|
}
|
|
1643
1655
|
}
|
|
1644
|
-
function
|
|
1656
|
+
function __c16(j: number): any {
|
|
1645
1657
|
switch (j) {
|
|
1646
1658
|
case 0:
|
|
1647
1659
|
return S.suspend(() =>
|
|
@@ -1670,17 +1682,17 @@ function __c15(j: number): any {
|
|
|
1670
1682
|
}),
|
|
1671
1683
|
).annotate({ identifier: "ListUser" });
|
|
1672
1684
|
case 2:
|
|
1673
|
-
return S.Array(__S(
|
|
1685
|
+
return S.Array(__S(129, __c16, 1));
|
|
1674
1686
|
case 3:
|
|
1675
1687
|
return S.suspend(() =>
|
|
1676
1688
|
S.Struct({
|
|
1677
|
-
pagination: __S(
|
|
1678
|
-
users: __S(
|
|
1689
|
+
pagination: __S(80, __c10, 0),
|
|
1690
|
+
users: __S(130, __c16, 2),
|
|
1679
1691
|
}),
|
|
1680
1692
|
).annotate({ identifier: "ListUsersResponse" });
|
|
1681
1693
|
}
|
|
1682
1694
|
}
|
|
1683
|
-
function
|
|
1695
|
+
function __c17(j: number): any {
|
|
1684
1696
|
switch (j) {
|
|
1685
1697
|
case 0:
|
|
1686
1698
|
return S.suspend(() =>
|
|
@@ -1706,16 +1718,16 @@ function __c16(j: number): any {
|
|
|
1706
1718
|
}),
|
|
1707
1719
|
).annotate({ identifier: "Version" });
|
|
1708
1720
|
case 2:
|
|
1709
|
-
return S.Array(__S(
|
|
1721
|
+
return S.Array(__S(137, __c17, 1));
|
|
1710
1722
|
case 3:
|
|
1711
1723
|
return S.suspend(() =>
|
|
1712
1724
|
S.Struct({
|
|
1713
|
-
versions: __S(
|
|
1725
|
+
versions: __S(138, __c17, 2),
|
|
1714
1726
|
}),
|
|
1715
1727
|
).annotate({ identifier: "ListVersionsResponse" });
|
|
1716
1728
|
}
|
|
1717
1729
|
}
|
|
1718
|
-
function
|
|
1730
|
+
function __c18(j: number): any {
|
|
1719
1731
|
switch (j) {
|
|
1720
1732
|
case 0:
|
|
1721
1733
|
return S.suspend(() =>
|
|
@@ -1737,12 +1749,12 @@ function __c17(j: number): any {
|
|
|
1737
1749
|
).annotate({ identifier: "PartialUpdateDatabaseRequest" });
|
|
1738
1750
|
}
|
|
1739
1751
|
}
|
|
1740
|
-
function
|
|
1752
|
+
function __c19(j: number): any {
|
|
1741
1753
|
switch (j) {
|
|
1742
1754
|
case 0:
|
|
1743
1755
|
return S.suspend(() =>
|
|
1744
1756
|
S.Struct({
|
|
1745
|
-
acl: S.optional(__S(
|
|
1757
|
+
acl: S.optional(__S(264, __c33, 0)),
|
|
1746
1758
|
}),
|
|
1747
1759
|
).annotate({ identifier: "InstanceNetworkOpt" });
|
|
1748
1760
|
case 1:
|
|
@@ -1753,11 +1765,11 @@ function __c18(j: number): any {
|
|
|
1753
1765
|
instanceId: S.String.pipe(T.Label()),
|
|
1754
1766
|
backupSchedule: S.optional(S.String),
|
|
1755
1767
|
flavorId: S.optional(S.String),
|
|
1756
|
-
labels: S.optional(__S(
|
|
1768
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
1757
1769
|
name: S.optional(S.String),
|
|
1758
|
-
network: S.optional(__S(
|
|
1770
|
+
network: S.optional(__S(152, __c19, 0)),
|
|
1759
1771
|
retentionDays: S.optional(S.Number),
|
|
1760
|
-
storage: S.optional(__S(
|
|
1772
|
+
storage: S.optional(__S(160, __c20, 0)),
|
|
1761
1773
|
version: S.optional(S.String),
|
|
1762
1774
|
}).pipe(
|
|
1763
1775
|
T.Http({
|
|
@@ -1770,7 +1782,7 @@ function __c18(j: number): any {
|
|
|
1770
1782
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1771
1783
|
}
|
|
1772
1784
|
}
|
|
1773
|
-
function
|
|
1785
|
+
function __c20(j: number): any {
|
|
1774
1786
|
switch (j) {
|
|
1775
1787
|
case 0:
|
|
1776
1788
|
return S.suspend(() =>
|
|
@@ -1780,7 +1792,7 @@ function __c19(j: number): any {
|
|
|
1780
1792
|
).annotate({ identifier: "StorageUpdate" });
|
|
1781
1793
|
}
|
|
1782
1794
|
}
|
|
1783
|
-
function
|
|
1795
|
+
function __c21(j: number): any {
|
|
1784
1796
|
switch (j) {
|
|
1785
1797
|
case 0:
|
|
1786
1798
|
return S.suspend(() =>
|
|
@@ -1790,7 +1802,7 @@ function __c20(j: number): any {
|
|
|
1790
1802
|
instanceId: S.String.pipe(T.Label()),
|
|
1791
1803
|
userId: S.Number.pipe(T.Label()),
|
|
1792
1804
|
name: S.optional(S.String),
|
|
1793
|
-
roles: S.optional(__S(
|
|
1805
|
+
roles: S.optional(__S(264, __c33, 0)),
|
|
1794
1806
|
}).pipe(
|
|
1795
1807
|
T.Http({
|
|
1796
1808
|
method: "PATCH",
|
|
@@ -1802,7 +1814,7 @@ function __c20(j: number): any {
|
|
|
1802
1814
|
).annotate({ identifier: "PartialUpdateUserRequest" });
|
|
1803
1815
|
}
|
|
1804
1816
|
}
|
|
1805
|
-
function
|
|
1817
|
+
function __c22(j: number): any {
|
|
1806
1818
|
switch (j) {
|
|
1807
1819
|
case 0:
|
|
1808
1820
|
return S.suspend(() =>
|
|
@@ -1830,7 +1842,7 @@ function __c21(j: number): any {
|
|
|
1830
1842
|
).annotate({ identifier: "ResetUserPasswordResponse" });
|
|
1831
1843
|
}
|
|
1832
1844
|
}
|
|
1833
|
-
function
|
|
1845
|
+
function __c23(j: number): any {
|
|
1834
1846
|
switch (j) {
|
|
1835
1847
|
case 0:
|
|
1836
1848
|
return S.suspend(() =>
|
|
@@ -1852,12 +1864,12 @@ function __c22(j: number): any {
|
|
|
1852
1864
|
).annotate({ identifier: "UpdateDatabaseRequest" });
|
|
1853
1865
|
}
|
|
1854
1866
|
}
|
|
1855
|
-
function
|
|
1867
|
+
function __c24(j: number): any {
|
|
1856
1868
|
switch (j) {
|
|
1857
1869
|
case 0:
|
|
1858
1870
|
return S.suspend(() =>
|
|
1859
1871
|
S.Struct({
|
|
1860
|
-
acl: __S(
|
|
1872
|
+
acl: __S(264, __c33, 0),
|
|
1861
1873
|
}),
|
|
1862
1874
|
).annotate({ identifier: "InstanceNetworkUpdate" });
|
|
1863
1875
|
case 1:
|
|
@@ -1868,11 +1880,11 @@ function __c23(j: number): any {
|
|
|
1868
1880
|
instanceId: S.String.pipe(T.Label()),
|
|
1869
1881
|
backupSchedule: S.String,
|
|
1870
1882
|
flavorId: S.String,
|
|
1871
|
-
labels: S.optional(__S(
|
|
1883
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
1872
1884
|
name: S.String,
|
|
1873
|
-
network: __S(
|
|
1885
|
+
network: __S(192, __c24, 0),
|
|
1874
1886
|
retentionDays: S.NullOr(S.Number),
|
|
1875
|
-
storage: __S(
|
|
1887
|
+
storage: __S(160, __c20, 0),
|
|
1876
1888
|
version: S.String,
|
|
1877
1889
|
}).pipe(
|
|
1878
1890
|
T.Http({
|
|
@@ -1885,7 +1897,7 @@ function __c23(j: number): any {
|
|
|
1885
1897
|
).annotate({ identifier: "UpdateInstanceRequest" });
|
|
1886
1898
|
}
|
|
1887
1899
|
}
|
|
1888
|
-
function
|
|
1900
|
+
function __c25(j: number): any {
|
|
1889
1901
|
switch (j) {
|
|
1890
1902
|
case 0:
|
|
1891
1903
|
return S.suspend(() =>
|
|
@@ -1911,7 +1923,7 @@ function __c24(j: number): any {
|
|
|
1911
1923
|
).annotate({ identifier: "UpdateInstanceProtectionResponse" });
|
|
1912
1924
|
}
|
|
1913
1925
|
}
|
|
1914
|
-
function
|
|
1926
|
+
function __c26(j: number): any {
|
|
1915
1927
|
switch (j) {
|
|
1916
1928
|
case 0:
|
|
1917
1929
|
return S.suspend(() =>
|
|
@@ -1921,7 +1933,7 @@ function __c25(j: number): any {
|
|
|
1921
1933
|
instanceId: S.String.pipe(T.Label()),
|
|
1922
1934
|
userId: S.Number.pipe(T.Label()),
|
|
1923
1935
|
name: S.optional(S.String),
|
|
1924
|
-
roles: __S(
|
|
1936
|
+
roles: __S(264, __c33, 0),
|
|
1925
1937
|
}).pipe(
|
|
1926
1938
|
T.Http({
|
|
1927
1939
|
method: "PUT",
|
|
@@ -1933,7 +1945,7 @@ function __c25(j: number): any {
|
|
|
1933
1945
|
).annotate({ identifier: "UpdateUserRequest" });
|
|
1934
1946
|
}
|
|
1935
1947
|
}
|
|
1936
|
-
function
|
|
1948
|
+
function __c27(j: number): any {
|
|
1937
1949
|
switch (j) {
|
|
1938
1950
|
case 0:
|
|
1939
1951
|
return S.suspend(() =>
|
|
@@ -1949,7 +1961,7 @@ function __c26(j: number): any {
|
|
|
1949
1961
|
projectId: S.String.pipe(T.Label()),
|
|
1950
1962
|
region: S.String.pipe(T.Label()),
|
|
1951
1963
|
instanceId: S.String.pipe(T.Label()),
|
|
1952
|
-
instanceOverrides: __S(
|
|
1964
|
+
instanceOverrides: __S(216, __c27, 0),
|
|
1953
1965
|
pointInTime: S.String,
|
|
1954
1966
|
}).pipe(
|
|
1955
1967
|
T.Http({
|
|
@@ -1962,7 +1974,7 @@ function __c26(j: number): any {
|
|
|
1962
1974
|
).annotate({ identifier: "CloneInstanceRequest" });
|
|
1963
1975
|
}
|
|
1964
1976
|
}
|
|
1965
|
-
function
|
|
1977
|
+
function __c28(j: number): any {
|
|
1966
1978
|
switch (j) {
|
|
1967
1979
|
case 0:
|
|
1968
1980
|
return S.suspend(() =>
|
|
@@ -1972,7 +1984,7 @@ function __c27(j: number): any {
|
|
|
1972
1984
|
).annotate({ identifier: "CloneInstanceResponse" });
|
|
1973
1985
|
}
|
|
1974
1986
|
}
|
|
1975
|
-
function
|
|
1987
|
+
function __c29(j: number): any {
|
|
1976
1988
|
switch (j) {
|
|
1977
1989
|
case 0:
|
|
1978
1990
|
return S.suspend(() =>
|
|
@@ -1999,13 +2011,13 @@ function __c28(j: number): any {
|
|
|
1999
2011
|
).annotate({ identifier: "CreateDatabaseResponse" });
|
|
2000
2012
|
}
|
|
2001
2013
|
}
|
|
2002
|
-
function
|
|
2014
|
+
function __c30(j: number): any {
|
|
2003
2015
|
switch (j) {
|
|
2004
2016
|
case 0:
|
|
2005
2017
|
return S.suspend(() =>
|
|
2006
2018
|
S.Struct({
|
|
2007
2019
|
accessScope: S.optional(S.String),
|
|
2008
|
-
acl: __S(
|
|
2020
|
+
acl: __S(264, __c33, 0),
|
|
2009
2021
|
}),
|
|
2010
2022
|
).annotate({ identifier: "InstanceNetworkCreate" });
|
|
2011
2023
|
case 1:
|
|
@@ -2021,13 +2033,13 @@ function __c29(j: number): any {
|
|
|
2021
2033
|
projectId: S.String.pipe(T.Label()),
|
|
2022
2034
|
region: S.String.pipe(T.Label()),
|
|
2023
2035
|
backupSchedule: S.String,
|
|
2024
|
-
encryption: S.optional(__S(
|
|
2036
|
+
encryption: S.optional(__S(248, __c31, 0)),
|
|
2025
2037
|
flavorId: S.String,
|
|
2026
|
-
labels: S.optional(__S(
|
|
2038
|
+
labels: S.optional(__S(256, __c32, 0)),
|
|
2027
2039
|
name: S.String,
|
|
2028
|
-
network: __S(
|
|
2040
|
+
network: __S(240, __c30, 0),
|
|
2029
2041
|
retentionDays: S.NullOr(S.Number),
|
|
2030
|
-
storage: __S(
|
|
2042
|
+
storage: __S(241, __c30, 1),
|
|
2031
2043
|
version: S.String,
|
|
2032
2044
|
}).pipe(
|
|
2033
2045
|
T.Http({
|
|
@@ -2040,7 +2052,7 @@ function __c29(j: number): any {
|
|
|
2040
2052
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
2041
2053
|
}
|
|
2042
2054
|
}
|
|
2043
|
-
function
|
|
2055
|
+
function __c31(j: number): any {
|
|
2044
2056
|
switch (j) {
|
|
2045
2057
|
case 0:
|
|
2046
2058
|
return S.suspend(() =>
|
|
@@ -2053,19 +2065,19 @@ function __c30(j: number): any {
|
|
|
2053
2065
|
).annotate({ identifier: "InstanceEncryption" });
|
|
2054
2066
|
}
|
|
2055
2067
|
}
|
|
2056
|
-
function
|
|
2068
|
+
function __c32(j: number): any {
|
|
2057
2069
|
switch (j) {
|
|
2058
2070
|
case 0:
|
|
2059
2071
|
return S.Record(S.String, /*@__PURE__*/ S.NullOr(S.String));
|
|
2060
2072
|
}
|
|
2061
2073
|
}
|
|
2062
|
-
function
|
|
2074
|
+
function __c33(j: number): any {
|
|
2063
2075
|
switch (j) {
|
|
2064
2076
|
case 0:
|
|
2065
2077
|
return S.Array(S.String);
|
|
2066
2078
|
}
|
|
2067
2079
|
}
|
|
2068
|
-
function
|
|
2080
|
+
function __c34(j: number): any {
|
|
2069
2081
|
switch (j) {
|
|
2070
2082
|
case 0:
|
|
2071
2083
|
return S.suspend(() =>
|
|
@@ -2074,7 +2086,7 @@ function __c33(j: number): any {
|
|
|
2074
2086
|
region: S.String.pipe(T.Label()),
|
|
2075
2087
|
instanceId: S.String.pipe(T.Label()),
|
|
2076
2088
|
name: S.String,
|
|
2077
|
-
roles: S.optional(__S(
|
|
2089
|
+
roles: S.optional(__S(264, __c33, 0)),
|
|
2078
2090
|
}).pipe(
|
|
2079
2091
|
T.Http({
|
|
2080
2092
|
method: "POST",
|
|
@@ -2095,7 +2107,7 @@ function __c33(j: number): any {
|
|
|
2095
2107
|
).annotate({ identifier: "CreateUserResponse" });
|
|
2096
2108
|
}
|
|
2097
2109
|
}
|
|
2098
|
-
function
|
|
2110
|
+
function __c35(j: number): any {
|
|
2099
2111
|
switch (j) {
|
|
2100
2112
|
case 0:
|
|
2101
2113
|
return S.suspend(() =>
|
|
@@ -2115,7 +2127,7 @@ function __c34(j: number): any {
|
|
|
2115
2127
|
).annotate({ identifier: "DeleteDatabaseRequest" });
|
|
2116
2128
|
}
|
|
2117
2129
|
}
|
|
2118
|
-
function
|
|
2130
|
+
function __c36(j: number): any {
|
|
2119
2131
|
switch (j) {
|
|
2120
2132
|
case 0:
|
|
2121
2133
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteDatabaseResponse" });
|