@distilled.cloud/stackit 1.0.0-rc.18 → 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/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 +22 -22
- 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 +147 -147
- 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 +24 -24
- 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 +33 -33
- 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 +21 -21
- 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 +36 -36
- 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/pagination.ts +7 -3
- package/src/protocol.ts +10 -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
package/src/services/mariadb.ts
CHANGED
|
@@ -72,16 +72,16 @@ export interface CreateCredentialsRequest {
|
|
|
72
72
|
regionId: string;
|
|
73
73
|
/** Instance id */
|
|
74
74
|
instanceId: string;
|
|
75
|
-
parameters?: unknown;
|
|
75
|
+
parameters?: unknown | undefined;
|
|
76
76
|
}
|
|
77
77
|
export type CredentialsHostsList = Array<string>;
|
|
78
78
|
export interface Credentials {
|
|
79
79
|
host: string;
|
|
80
|
-
hosts?: CredentialsHostsList;
|
|
81
|
-
name?: string;
|
|
80
|
+
hosts?: CredentialsHostsList | undefined;
|
|
81
|
+
name?: string | undefined;
|
|
82
82
|
password: string | Redacted.Redacted<string>;
|
|
83
|
-
port?: number;
|
|
84
|
-
uri?: string;
|
|
83
|
+
port?: number | undefined;
|
|
84
|
+
uri?: string | undefined;
|
|
85
85
|
username: string;
|
|
86
86
|
}
|
|
87
87
|
export interface RawCredentials {
|
|
@@ -89,24 +89,24 @@ export interface RawCredentials {
|
|
|
89
89
|
}
|
|
90
90
|
export interface CredentialsResponse {
|
|
91
91
|
id: string;
|
|
92
|
-
raw?: RawCredentials;
|
|
92
|
+
raw?: RawCredentials | undefined;
|
|
93
93
|
uri: string;
|
|
94
94
|
}
|
|
95
95
|
export type InstanceParametersSyslogList = Array<string>;
|
|
96
96
|
export interface InstanceParameters {
|
|
97
|
-
enable_monitoring?: boolean;
|
|
97
|
+
enable_monitoring?: boolean | undefined;
|
|
98
98
|
/** If you want to monitor your service with Graphite, you can set the custom parameter graphite. It expects the host and port where the Graphite metrics should be sent to. */
|
|
99
|
-
graphite?: string;
|
|
99
|
+
graphite?: string | undefined;
|
|
100
100
|
/** This component monitors ephemeral and persistent disk usage. If one of these disk usages reaches the default configured threshold of 80%, the a9s Parachute stops all processes on that node. */
|
|
101
|
-
max_disk_threshold?: number;
|
|
101
|
+
max_disk_threshold?: number | undefined;
|
|
102
102
|
/** Frequency of metrics being emitted in seconds */
|
|
103
|
-
metrics_frequency?: number;
|
|
103
|
+
metrics_frequency?: number | undefined;
|
|
104
104
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
105
|
-
metrics_prefix?: string;
|
|
106
|
-
monitoring_instance_id?: string;
|
|
105
|
+
metrics_prefix?: string | undefined;
|
|
106
|
+
monitoring_instance_id?: string | undefined;
|
|
107
107
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
108
|
-
sgw_acl?: string;
|
|
109
|
-
syslog?: InstanceParametersSyslogList;
|
|
108
|
+
sgw_acl?: string | undefined;
|
|
109
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
110
110
|
}
|
|
111
111
|
export interface CreateInstanceRequest {
|
|
112
112
|
/** Project id on which user has permissions */
|
|
@@ -114,7 +114,7 @@ export interface CreateInstanceRequest {
|
|
|
114
114
|
/** region in which the project resides */
|
|
115
115
|
regionId: string;
|
|
116
116
|
instanceName: string;
|
|
117
|
-
parameters?: InstanceParameters;
|
|
117
|
+
parameters?: InstanceParameters | undefined;
|
|
118
118
|
planId: string;
|
|
119
119
|
}
|
|
120
120
|
export interface CreateInstanceResponse {
|
|
@@ -169,6 +169,15 @@ export interface GetInstanceRequest {
|
|
|
169
169
|
/** Instance id */
|
|
170
170
|
instanceId: string;
|
|
171
171
|
}
|
|
172
|
+
/** Current state of a service instance */
|
|
173
|
+
export type InstanceInstanceStatus =
|
|
174
|
+
| "provisioned"
|
|
175
|
+
| "available"
|
|
176
|
+
| "deleted"
|
|
177
|
+
| "deploying"
|
|
178
|
+
| "failed"
|
|
179
|
+
| "stopped"
|
|
180
|
+
| "unknown";
|
|
172
181
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
173
182
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
174
183
|
export interface InstanceLastOperation {
|
|
@@ -176,6 +185,7 @@ export interface InstanceLastOperation {
|
|
|
176
185
|
state: InstanceLastOperationState;
|
|
177
186
|
type: InstanceLastOperationType;
|
|
178
187
|
}
|
|
188
|
+
/** State of the last operation and this instance */
|
|
179
189
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
180
190
|
export interface Instance {
|
|
181
191
|
cfGuid: string;
|
|
@@ -183,7 +193,9 @@ export interface Instance {
|
|
|
183
193
|
cfSpaceGuid: string;
|
|
184
194
|
dashboardUrl: string;
|
|
185
195
|
imageUrl: string;
|
|
186
|
-
instanceId?: string;
|
|
196
|
+
instanceId?: string | undefined;
|
|
197
|
+
/** Current state of a service instance */
|
|
198
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
187
199
|
lastOperation: InstanceLastOperation;
|
|
188
200
|
name: string;
|
|
189
201
|
offeringName: string;
|
|
@@ -191,7 +203,8 @@ export interface Instance {
|
|
|
191
203
|
parameters: unknown;
|
|
192
204
|
planId: string;
|
|
193
205
|
planName: string;
|
|
194
|
-
|
|
206
|
+
/** State of the last operation and this instance */
|
|
207
|
+
status?: InstanceStatus | undefined;
|
|
195
208
|
}
|
|
196
209
|
export interface GetMetricsRequest {
|
|
197
210
|
/** Project id on which user has permissions */
|
|
@@ -202,10 +215,10 @@ export interface GetMetricsRequest {
|
|
|
202
215
|
instanceId: string;
|
|
203
216
|
}
|
|
204
217
|
export interface GetMetricsResponse {
|
|
205
|
-
cpuIdleTime?: number;
|
|
218
|
+
cpuIdleTime?: number | undefined;
|
|
206
219
|
cpuLoadPercent: number;
|
|
207
|
-
cpuSystemTime?: number;
|
|
208
|
-
cpuUserTime?: number;
|
|
220
|
+
cpuSystemTime?: number | undefined;
|
|
221
|
+
cpuUserTime?: number | undefined;
|
|
209
222
|
diskEphemeralTotal: number;
|
|
210
223
|
diskEphemeralUsed: number;
|
|
211
224
|
diskPersistentTotal: number;
|
|
@@ -226,6 +239,20 @@ export interface GetMetricsResponse {
|
|
|
226
239
|
parachuteDiskPersistentUsedPercent: number;
|
|
227
240
|
parachuteDiskPersistentUsedThreshold: number;
|
|
228
241
|
}
|
|
242
|
+
export interface GetUpdatesRequest {
|
|
243
|
+
/** Project id on which user has permissions */
|
|
244
|
+
projectId: string;
|
|
245
|
+
/** region in which the project resides */
|
|
246
|
+
regionId: string;
|
|
247
|
+
/** Instance id */
|
|
248
|
+
instanceId: string;
|
|
249
|
+
}
|
|
250
|
+
export interface GetUpdatesResponse {
|
|
251
|
+
/** Whether automatic updates are allowed. */
|
|
252
|
+
automaticUpdatesEnabled: boolean;
|
|
253
|
+
/** Number of available update components. */
|
|
254
|
+
availableUpdates: number;
|
|
255
|
+
}
|
|
229
256
|
export interface ListBackupsRequest {
|
|
230
257
|
/** Project id on which user has permissions */
|
|
231
258
|
projectId: string;
|
|
@@ -235,12 +262,12 @@ export interface ListBackupsRequest {
|
|
|
235
262
|
instanceId: string;
|
|
236
263
|
}
|
|
237
264
|
export interface Backup {
|
|
238
|
-
downloadable?: boolean;
|
|
265
|
+
downloadable?: boolean | undefined;
|
|
239
266
|
finished_at: string;
|
|
240
267
|
id: number;
|
|
241
|
-
size?: number;
|
|
268
|
+
size?: number | undefined;
|
|
242
269
|
status: string;
|
|
243
|
-
triggered_at?: string;
|
|
270
|
+
triggered_at?: string | undefined;
|
|
244
271
|
}
|
|
245
272
|
export type ListBackupsResponse = Array<Backup>;
|
|
246
273
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -295,11 +322,11 @@ export interface Offering {
|
|
|
295
322
|
documentationUrl: string;
|
|
296
323
|
imageUrl: string;
|
|
297
324
|
latest: boolean;
|
|
298
|
-
lifecycle?: string;
|
|
325
|
+
lifecycle?: string | undefined;
|
|
299
326
|
name: string;
|
|
300
327
|
plans: OfferingPlansList;
|
|
301
328
|
quotaCount: number;
|
|
302
|
-
schema?: InstanceSchema;
|
|
329
|
+
schema?: InstanceSchema | undefined;
|
|
303
330
|
version: string;
|
|
304
331
|
}
|
|
305
332
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -319,7 +346,7 @@ export interface Restore {
|
|
|
319
346
|
finished_at: string;
|
|
320
347
|
id: number;
|
|
321
348
|
status: string;
|
|
322
|
-
triggered_at?: string;
|
|
349
|
+
triggered_at?: string | undefined;
|
|
323
350
|
}
|
|
324
351
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
325
352
|
export interface ListRestoresResponse {
|
|
@@ -332,9 +359,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
332
359
|
regionId: string;
|
|
333
360
|
/** Instance id */
|
|
334
361
|
instanceId: string;
|
|
335
|
-
instanceName?: string;
|
|
336
|
-
parameters?: InstanceParameters;
|
|
337
|
-
planId?: string;
|
|
362
|
+
instanceName?: string | undefined;
|
|
363
|
+
parameters?: InstanceParameters | undefined;
|
|
364
|
+
planId?: string | undefined;
|
|
338
365
|
}
|
|
339
366
|
export interface PartialUpdateInstanceResponse {}
|
|
340
367
|
export interface TriggerRecreateRequest {
|
|
@@ -366,6 +393,14 @@ export interface TriggerRestoreRequest {
|
|
|
366
393
|
export interface TriggerRestoreResponse {
|
|
367
394
|
id: number;
|
|
368
395
|
}
|
|
396
|
+
export interface TriggerUpdateRequest {
|
|
397
|
+
/** Project id on which user has permissions */
|
|
398
|
+
projectId: string;
|
|
399
|
+
/** region in which the project resides */
|
|
400
|
+
regionId: string;
|
|
401
|
+
/** Instance id */
|
|
402
|
+
instanceId: string;
|
|
403
|
+
}
|
|
369
404
|
export interface UpdateBackupsConfigRequest {
|
|
370
405
|
/** Project id on which user has permissions */
|
|
371
406
|
projectId: string;
|
|
@@ -373,11 +408,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
373
408
|
regionId: string;
|
|
374
409
|
/** Instance id */
|
|
375
410
|
instanceId: string;
|
|
376
|
-
encryption_key?: string;
|
|
411
|
+
encryption_key?: string | undefined;
|
|
377
412
|
}
|
|
378
413
|
export interface UpdateBackupsConfigResponse {
|
|
379
414
|
message: string;
|
|
380
415
|
}
|
|
416
|
+
export interface UpdateUpdatesSettingsRequest {
|
|
417
|
+
/** Project id on which user has permissions */
|
|
418
|
+
projectId: string;
|
|
419
|
+
/** region in which the project resides */
|
|
420
|
+
regionId: string;
|
|
421
|
+
/** Instance id */
|
|
422
|
+
instanceId: string;
|
|
423
|
+
/** Set to true to enable automatic updates or false to disable them. */
|
|
424
|
+
automaticUpdatesEnabled: boolean;
|
|
425
|
+
}
|
|
426
|
+
export interface UpdateUpdatesSettingsResponse {
|
|
427
|
+
/** Whether automatic updates are allowed. */
|
|
428
|
+
automaticUpdatesEnabled: boolean;
|
|
429
|
+
}
|
|
381
430
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
382
431
|
/** create a backup */
|
|
383
432
|
export const createBackup: API.OperationMethod<
|
|
@@ -386,8 +435,8 @@ export const createBackup: API.OperationMethod<
|
|
|
386
435
|
CreateBackupError,
|
|
387
436
|
StackitOpContext
|
|
388
437
|
> = /*@__PURE__*/ API.make(() => ({
|
|
389
|
-
input: __S(
|
|
390
|
-
output: __S(
|
|
438
|
+
input: __S(128, __c16, 0) as any as S.Schema<CreateBackupRequest>,
|
|
439
|
+
output: __S(129, __c16, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
391
440
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
392
441
|
protocol: StackitProtocol,
|
|
393
442
|
retry: Retry.Retry,
|
|
@@ -403,8 +452,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
403
452
|
CreateCredentialsError,
|
|
404
453
|
StackitOpContext
|
|
405
454
|
> = /*@__PURE__*/ API.make(() => ({
|
|
406
|
-
input: __S(
|
|
407
|
-
output: __S(
|
|
455
|
+
input: __S(136, __c17, 0) as any as S.Schema<CreateCredentialsRequest>,
|
|
456
|
+
output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
|
|
408
457
|
errors: [BadRequest, UnknownStackitError],
|
|
409
458
|
protocol: StackitProtocol,
|
|
410
459
|
retry: Retry.Retry,
|
|
@@ -420,8 +469,8 @@ export const createInstance: API.OperationMethod<
|
|
|
420
469
|
CreateInstanceError,
|
|
421
470
|
StackitOpContext
|
|
422
471
|
> = /*@__PURE__*/ API.make(() => ({
|
|
423
|
-
input: __S(
|
|
424
|
-
output: __S(
|
|
472
|
+
input: __S(160, __c20, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
473
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
425
474
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
426
475
|
protocol: StackitProtocol,
|
|
427
476
|
retry: Retry.Retry,
|
|
@@ -437,8 +486,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
437
486
|
DeleteCredentialsError,
|
|
438
487
|
StackitOpContext
|
|
439
488
|
> = /*@__PURE__*/ API.make(() => ({
|
|
440
|
-
input: __S(
|
|
441
|
-
output: __S(
|
|
489
|
+
input: __S(184, __c23, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
490
|
+
output: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
442
491
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
443
492
|
protocol: StackitProtocol,
|
|
444
493
|
retry: Retry.Retry,
|
|
@@ -454,8 +503,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
454
503
|
DeleteInstanceError,
|
|
455
504
|
StackitOpContext
|
|
456
505
|
> = /*@__PURE__*/ API.make(() => ({
|
|
457
|
-
input: __S(
|
|
458
|
-
output: __S(
|
|
506
|
+
input: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
507
|
+
output: __S(192, __c24, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
459
508
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
460
509
|
protocol: StackitProtocol,
|
|
461
510
|
retry: Retry.Retry,
|
|
@@ -471,8 +520,8 @@ export const downloadBackup: API.OperationMethod<
|
|
|
471
520
|
DownloadBackupError,
|
|
472
521
|
StackitOpContext
|
|
473
522
|
> = /*@__PURE__*/ API.make(() => ({
|
|
474
|
-
input: __S(
|
|
475
|
-
output: __S(
|
|
523
|
+
input: __S(208, __c26, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
524
|
+
output: __S(192, __c24, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
476
525
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
477
526
|
protocol: StackitProtocol,
|
|
478
527
|
retry: Retry.Retry,
|
|
@@ -488,8 +537,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
488
537
|
GetCredentialsError,
|
|
489
538
|
StackitOpContext
|
|
490
539
|
> = /*@__PURE__*/ API.make(() => ({
|
|
491
|
-
input: __S(
|
|
492
|
-
output: __S(
|
|
540
|
+
input: __S(216, __c27, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
541
|
+
output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
|
|
493
542
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
494
543
|
protocol: StackitProtocol,
|
|
495
544
|
retry: Retry.Retry,
|
|
@@ -531,6 +580,23 @@ export const getMetrics: API.OperationMethod<
|
|
|
531
580
|
span: "GetMetrics",
|
|
532
581
|
}));
|
|
533
582
|
|
|
583
|
+
export type GetUpdatesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
584
|
+
/** get update settings Returns whether automatic updates are enabled and the number of available updates. */
|
|
585
|
+
export const getUpdates: API.OperationMethod<
|
|
586
|
+
GetUpdatesRequest,
|
|
587
|
+
GetUpdatesResponse,
|
|
588
|
+
GetUpdatesError,
|
|
589
|
+
StackitOpContext
|
|
590
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
591
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
592
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
593
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
594
|
+
protocol: StackitProtocol,
|
|
595
|
+
retry: Retry.Retry,
|
|
596
|
+
telemetry: TELEMETRY,
|
|
597
|
+
span: "GetUpdates",
|
|
598
|
+
}));
|
|
599
|
+
|
|
534
600
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
535
601
|
/** get latest backup information for provided instanceId */
|
|
536
602
|
export const listBackups: API.OperationMethod<
|
|
@@ -539,8 +605,8 @@ export const listBackups: API.OperationMethod<
|
|
|
539
605
|
ListBackupsError,
|
|
540
606
|
StackitOpContext
|
|
541
607
|
> = /*@__PURE__*/ API.make(() => ({
|
|
542
|
-
input: __S(
|
|
543
|
-
output: __S(
|
|
608
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListBackupsRequest>,
|
|
609
|
+
output: __S(35, __c4, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
544
610
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
545
611
|
protocol: StackitProtocol,
|
|
546
612
|
retry: Retry.Retry,
|
|
@@ -556,8 +622,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
556
622
|
ListCredentialsError,
|
|
557
623
|
StackitOpContext
|
|
558
624
|
> = /*@__PURE__*/ API.make(() => ({
|
|
559
|
-
input: __S(
|
|
560
|
-
output: __S(
|
|
625
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
626
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
561
627
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
562
628
|
protocol: StackitProtocol,
|
|
563
629
|
retry: Retry.Retry,
|
|
@@ -573,8 +639,8 @@ export const listInstances: API.OperationMethod<
|
|
|
573
639
|
ListInstancesError,
|
|
574
640
|
StackitOpContext
|
|
575
641
|
> = /*@__PURE__*/ API.make(() => ({
|
|
576
|
-
input: __S(
|
|
577
|
-
output: __S(
|
|
642
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListInstancesRequest>,
|
|
643
|
+
output: __S(50, __c6, 2) as any as S.Schema<ListInstancesResponse>,
|
|
578
644
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
579
645
|
protocol: StackitProtocol,
|
|
580
646
|
retry: Retry.Retry,
|
|
@@ -590,8 +656,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
590
656
|
ListOfferingsError,
|
|
591
657
|
StackitOpContext
|
|
592
658
|
> = /*@__PURE__*/ API.make(() => ({
|
|
593
|
-
input: __S(
|
|
594
|
-
output: __S(
|
|
659
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
660
|
+
output: __S(63, __c7, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
595
661
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
596
662
|
protocol: StackitProtocol,
|
|
597
663
|
retry: Retry.Retry,
|
|
@@ -607,8 +673,8 @@ export const listRestores: API.OperationMethod<
|
|
|
607
673
|
ListRestoresError,
|
|
608
674
|
StackitOpContext
|
|
609
675
|
> = /*@__PURE__*/ API.make(() => ({
|
|
610
|
-
input: __S(
|
|
611
|
-
output: __S(
|
|
676
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListRestoresRequest>,
|
|
677
|
+
output: __S(67, __c8, 3) as any as S.Schema<ListRestoresResponse>,
|
|
612
678
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
613
679
|
protocol: StackitProtocol,
|
|
614
680
|
retry: Retry.Retry,
|
|
@@ -624,8 +690,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
624
690
|
PartialUpdateInstanceError,
|
|
625
691
|
StackitOpContext
|
|
626
692
|
> = /*@__PURE__*/ API.make(() => ({
|
|
627
|
-
input: __S(
|
|
628
|
-
output: __S(
|
|
693
|
+
input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
694
|
+
output: __S(192, __c24, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
629
695
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
630
696
|
protocol: StackitProtocol,
|
|
631
697
|
retry: Retry.Retry,
|
|
@@ -641,8 +707,8 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
641
707
|
TriggerRecreateError,
|
|
642
708
|
StackitOpContext
|
|
643
709
|
> = /*@__PURE__*/ API.make(() => ({
|
|
644
|
-
input: __S(
|
|
645
|
-
output: __S(
|
|
710
|
+
input: __S(80, __c10, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
711
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
646
712
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
647
713
|
protocol: StackitProtocol,
|
|
648
714
|
retry: Retry.Retry,
|
|
@@ -658,8 +724,8 @@ export const triggerRestart: API.OperationMethod<
|
|
|
658
724
|
TriggerRestartError,
|
|
659
725
|
StackitOpContext
|
|
660
726
|
> = /*@__PURE__*/ API.make(() => ({
|
|
661
|
-
input: __S(
|
|
662
|
-
output: __S(
|
|
727
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
728
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
663
729
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
664
730
|
protocol: StackitProtocol,
|
|
665
731
|
retry: Retry.Retry,
|
|
@@ -675,8 +741,8 @@ export const triggerRestore: API.OperationMethod<
|
|
|
675
741
|
TriggerRestoreError,
|
|
676
742
|
StackitOpContext
|
|
677
743
|
> = /*@__PURE__*/ API.make(() => ({
|
|
678
|
-
input: __S(
|
|
679
|
-
output: __S(
|
|
744
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
745
|
+
output: __S(97, __c12, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
680
746
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
681
747
|
protocol: StackitProtocol,
|
|
682
748
|
retry: Retry.Retry,
|
|
@@ -684,6 +750,23 @@ export const triggerRestore: API.OperationMethod<
|
|
|
684
750
|
span: "TriggerRestore",
|
|
685
751
|
}));
|
|
686
752
|
|
|
753
|
+
export type TriggerUpdateError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
754
|
+
/** start updates Starts all available updates asynchronously using the instance's service offering. No request body is required. */
|
|
755
|
+
export const triggerUpdate: API.OperationMethod<
|
|
756
|
+
TriggerUpdateRequest,
|
|
757
|
+
CreateInstanceResponse,
|
|
758
|
+
TriggerUpdateError,
|
|
759
|
+
StackitOpContext
|
|
760
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
761
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
762
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
763
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
764
|
+
protocol: StackitProtocol,
|
|
765
|
+
retry: Retry.Retry,
|
|
766
|
+
telemetry: TELEMETRY,
|
|
767
|
+
span: "TriggerUpdate",
|
|
768
|
+
}));
|
|
769
|
+
|
|
687
770
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
688
771
|
/** backups configuration update Update the configuration for backups for your instance. */
|
|
689
772
|
export const updateBackupsConfig: API.OperationMethod<
|
|
@@ -692,8 +775,8 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
692
775
|
UpdateBackupsConfigError,
|
|
693
776
|
StackitOpContext
|
|
694
777
|
> = /*@__PURE__*/ API.make(() => ({
|
|
695
|
-
input: __S(
|
|
696
|
-
output: __S(
|
|
778
|
+
input: __S(112, __c14, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
779
|
+
output: __S(113, __c14, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
697
780
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
698
781
|
protocol: StackitProtocol,
|
|
699
782
|
retry: Retry.Retry,
|
|
@@ -701,6 +784,23 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
701
784
|
span: "UpdateBackupsConfig",
|
|
702
785
|
}));
|
|
703
786
|
|
|
787
|
+
export type UpdateUpdatesSettingsError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
788
|
+
/** update update settings Enables or disables automatic updates. The platform operator must allow changing this setting. */
|
|
789
|
+
export const updateUpdatesSettings: API.OperationMethod<
|
|
790
|
+
UpdateUpdatesSettingsRequest,
|
|
791
|
+
UpdateUpdatesSettingsResponse,
|
|
792
|
+
UpdateUpdatesSettingsError,
|
|
793
|
+
StackitOpContext
|
|
794
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
795
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
796
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
797
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
798
|
+
protocol: StackitProtocol,
|
|
799
|
+
retry: Retry.Retry,
|
|
800
|
+
telemetry: TELEMETRY,
|
|
801
|
+
span: "UpdateUpdatesSettings",
|
|
802
|
+
}));
|
|
803
|
+
|
|
704
804
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
705
805
|
function __c0(j: number): any {
|
|
706
806
|
switch (j) {
|
|
@@ -740,6 +840,7 @@ function __c1(j: number): any {
|
|
|
740
840
|
dashboardUrl: S.String,
|
|
741
841
|
imageUrl: S.String,
|
|
742
842
|
instanceId: S.optional(S.String),
|
|
843
|
+
instanceStatus: S.optional(S.String),
|
|
743
844
|
lastOperation: __S(8, __c1, 0),
|
|
744
845
|
name: S.String,
|
|
745
846
|
offeringName: S.String,
|
|
@@ -800,6 +901,32 @@ function __c2(j: number): any {
|
|
|
800
901
|
}
|
|
801
902
|
}
|
|
802
903
|
function __c3(j: number): any {
|
|
904
|
+
switch (j) {
|
|
905
|
+
case 0:
|
|
906
|
+
return S.suspend(() =>
|
|
907
|
+
S.Struct({
|
|
908
|
+
projectId: S.String.pipe(T.Label()),
|
|
909
|
+
regionId: S.String.pipe(T.Label()),
|
|
910
|
+
instanceId: S.String.pipe(T.Label()),
|
|
911
|
+
}).pipe(
|
|
912
|
+
T.Http({
|
|
913
|
+
method: "GET",
|
|
914
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
915
|
+
code: 200,
|
|
916
|
+
baseUrl: "https://mariadb.api.stackit.cloud",
|
|
917
|
+
}),
|
|
918
|
+
),
|
|
919
|
+
).annotate({ identifier: "GetUpdatesRequest" });
|
|
920
|
+
case 1:
|
|
921
|
+
return S.suspend(() =>
|
|
922
|
+
S.Struct({
|
|
923
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
924
|
+
availableUpdates: S.Number,
|
|
925
|
+
}),
|
|
926
|
+
).annotate({ identifier: "GetUpdatesResponse" });
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
function __c4(j: number): any {
|
|
803
930
|
switch (j) {
|
|
804
931
|
case 0:
|
|
805
932
|
return S.suspend(() =>
|
|
@@ -828,14 +955,14 @@ function __c3(j: number): any {
|
|
|
828
955
|
}),
|
|
829
956
|
).annotate({ identifier: "Backup" });
|
|
830
957
|
case 2:
|
|
831
|
-
return S.Array(__S(
|
|
958
|
+
return S.Array(__S(33, __c4, 1));
|
|
832
959
|
case 3:
|
|
833
|
-
return S.suspend(() => __S(
|
|
960
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
834
961
|
identifier: "ListBackupsResponse2",
|
|
835
962
|
});
|
|
836
963
|
}
|
|
837
964
|
}
|
|
838
|
-
function
|
|
965
|
+
function __c5(j: number): any {
|
|
839
966
|
switch (j) {
|
|
840
967
|
case 0:
|
|
841
968
|
return S.suspend(() =>
|
|
@@ -859,16 +986,16 @@ function __c4(j: number): any {
|
|
|
859
986
|
}),
|
|
860
987
|
).annotate({ identifier: "CredentialsListItem" });
|
|
861
988
|
case 2:
|
|
862
|
-
return S.Array(__S(
|
|
989
|
+
return S.Array(__S(41, __c5, 1));
|
|
863
990
|
case 3:
|
|
864
991
|
return S.suspend(() =>
|
|
865
992
|
S.Struct({
|
|
866
|
-
credentialsList: __S(
|
|
993
|
+
credentialsList: __S(42, __c5, 2),
|
|
867
994
|
}),
|
|
868
995
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
869
996
|
}
|
|
870
997
|
}
|
|
871
|
-
function
|
|
998
|
+
function __c6(j: number): any {
|
|
872
999
|
switch (j) {
|
|
873
1000
|
case 0:
|
|
874
1001
|
return S.suspend(() =>
|
|
@@ -889,12 +1016,12 @@ function __c5(j: number): any {
|
|
|
889
1016
|
case 2:
|
|
890
1017
|
return S.suspend(() =>
|
|
891
1018
|
S.Struct({
|
|
892
|
-
instances: __S(
|
|
1019
|
+
instances: __S(49, __c6, 1),
|
|
893
1020
|
}),
|
|
894
1021
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
895
1022
|
}
|
|
896
1023
|
}
|
|
897
|
-
function
|
|
1024
|
+
function __c7(j: number): any {
|
|
898
1025
|
switch (j) {
|
|
899
1026
|
case 0:
|
|
900
1027
|
return S.suspend(() =>
|
|
@@ -921,7 +1048,7 @@ function __c6(j: number): any {
|
|
|
921
1048
|
}),
|
|
922
1049
|
).annotate({ identifier: "Plan" });
|
|
923
1050
|
case 2:
|
|
924
|
-
return S.Array(__S(
|
|
1051
|
+
return S.Array(__S(57, __c7, 1));
|
|
925
1052
|
case 3:
|
|
926
1053
|
return S.suspend(() =>
|
|
927
1054
|
S.Struct({
|
|
@@ -931,8 +1058,8 @@ function __c6(j: number): any {
|
|
|
931
1058
|
case 4:
|
|
932
1059
|
return S.suspend(() =>
|
|
933
1060
|
S.Struct({
|
|
934
|
-
create: __S(
|
|
935
|
-
update: __S(
|
|
1061
|
+
create: __S(59, __c7, 3),
|
|
1062
|
+
update: __S(59, __c7, 3),
|
|
936
1063
|
}),
|
|
937
1064
|
).annotate({ identifier: "InstanceSchema" });
|
|
938
1065
|
case 5:
|
|
@@ -944,23 +1071,23 @@ function __c6(j: number): any {
|
|
|
944
1071
|
latest: S.Boolean,
|
|
945
1072
|
lifecycle: S.optional(S.String),
|
|
946
1073
|
name: S.String,
|
|
947
|
-
plans: __S(
|
|
1074
|
+
plans: __S(58, __c7, 2),
|
|
948
1075
|
quotaCount: S.Number,
|
|
949
|
-
schema: S.optional(__S(
|
|
1076
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
950
1077
|
version: S.String,
|
|
951
1078
|
}),
|
|
952
1079
|
).annotate({ identifier: "Offering" });
|
|
953
1080
|
case 6:
|
|
954
|
-
return S.Array(__S(
|
|
1081
|
+
return S.Array(__S(61, __c7, 5));
|
|
955
1082
|
case 7:
|
|
956
1083
|
return S.suspend(() =>
|
|
957
1084
|
S.Struct({
|
|
958
|
-
offerings: __S(
|
|
1085
|
+
offerings: __S(62, __c7, 6),
|
|
959
1086
|
}),
|
|
960
1087
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
961
1088
|
}
|
|
962
1089
|
}
|
|
963
|
-
function
|
|
1090
|
+
function __c8(j: number): any {
|
|
964
1091
|
switch (j) {
|
|
965
1092
|
case 0:
|
|
966
1093
|
return S.suspend(() =>
|
|
@@ -988,16 +1115,16 @@ function __c7(j: number): any {
|
|
|
988
1115
|
}),
|
|
989
1116
|
).annotate({ identifier: "Restore" });
|
|
990
1117
|
case 2:
|
|
991
|
-
return S.Array(__S(
|
|
1118
|
+
return S.Array(__S(65, __c8, 1));
|
|
992
1119
|
case 3:
|
|
993
1120
|
return S.suspend(() =>
|
|
994
1121
|
S.Struct({
|
|
995
|
-
instanceRestores: __S(
|
|
1122
|
+
instanceRestores: __S(66, __c8, 2),
|
|
996
1123
|
}),
|
|
997
1124
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
998
1125
|
}
|
|
999
1126
|
}
|
|
1000
|
-
function
|
|
1127
|
+
function __c9(j: number): any {
|
|
1001
1128
|
switch (j) {
|
|
1002
1129
|
case 0:
|
|
1003
1130
|
return S.suspend(() =>
|
|
@@ -1006,7 +1133,7 @@ function __c8(j: number): any {
|
|
|
1006
1133
|
regionId: S.String.pipe(T.Label()),
|
|
1007
1134
|
instanceId: S.String.pipe(T.Label()),
|
|
1008
1135
|
instanceName: S.optional(S.String),
|
|
1009
|
-
parameters: S.optional(__S(
|
|
1136
|
+
parameters: S.optional(__S(168, __c21, 0)),
|
|
1010
1137
|
planId: S.optional(S.String),
|
|
1011
1138
|
}).pipe(
|
|
1012
1139
|
T.Http({
|
|
@@ -1019,7 +1146,7 @@ function __c8(j: number): any {
|
|
|
1019
1146
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1020
1147
|
}
|
|
1021
1148
|
}
|
|
1022
|
-
function
|
|
1149
|
+
function __c10(j: number): any {
|
|
1023
1150
|
switch (j) {
|
|
1024
1151
|
case 0:
|
|
1025
1152
|
return S.suspend(() =>
|
|
@@ -1038,7 +1165,7 @@ function __c9(j: number): any {
|
|
|
1038
1165
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1039
1166
|
}
|
|
1040
1167
|
}
|
|
1041
|
-
function
|
|
1168
|
+
function __c11(j: number): any {
|
|
1042
1169
|
switch (j) {
|
|
1043
1170
|
case 0:
|
|
1044
1171
|
return S.suspend(() =>
|
|
@@ -1057,7 +1184,7 @@ function __c10(j: number): any {
|
|
|
1057
1184
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1058
1185
|
}
|
|
1059
1186
|
}
|
|
1060
|
-
function
|
|
1187
|
+
function __c12(j: number): any {
|
|
1061
1188
|
switch (j) {
|
|
1062
1189
|
case 0:
|
|
1063
1190
|
return S.suspend(() =>
|
|
@@ -1083,7 +1210,26 @@ function __c11(j: number): any {
|
|
|
1083
1210
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1084
1211
|
}
|
|
1085
1212
|
}
|
|
1086
|
-
function
|
|
1213
|
+
function __c13(j: number): any {
|
|
1214
|
+
switch (j) {
|
|
1215
|
+
case 0:
|
|
1216
|
+
return S.suspend(() =>
|
|
1217
|
+
S.Struct({
|
|
1218
|
+
projectId: S.String.pipe(T.Label()),
|
|
1219
|
+
regionId: S.String.pipe(T.Label()),
|
|
1220
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1221
|
+
}).pipe(
|
|
1222
|
+
T.Http({
|
|
1223
|
+
method: "POST",
|
|
1224
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates/start",
|
|
1225
|
+
code: 200,
|
|
1226
|
+
baseUrl: "https://mariadb.api.stackit.cloud",
|
|
1227
|
+
}),
|
|
1228
|
+
),
|
|
1229
|
+
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
function __c14(j: number): any {
|
|
1087
1233
|
switch (j) {
|
|
1088
1234
|
case 0:
|
|
1089
1235
|
return S.suspend(() =>
|
|
@@ -1109,7 +1255,33 @@ function __c12(j: number): any {
|
|
|
1109
1255
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1110
1256
|
}
|
|
1111
1257
|
}
|
|
1112
|
-
function
|
|
1258
|
+
function __c15(j: number): any {
|
|
1259
|
+
switch (j) {
|
|
1260
|
+
case 0:
|
|
1261
|
+
return S.suspend(() =>
|
|
1262
|
+
S.Struct({
|
|
1263
|
+
projectId: S.String.pipe(T.Label()),
|
|
1264
|
+
regionId: S.String.pipe(T.Label()),
|
|
1265
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1266
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1267
|
+
}).pipe(
|
|
1268
|
+
T.Http({
|
|
1269
|
+
method: "PATCH",
|
|
1270
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
1271
|
+
code: 200,
|
|
1272
|
+
baseUrl: "https://mariadb.api.stackit.cloud",
|
|
1273
|
+
}),
|
|
1274
|
+
),
|
|
1275
|
+
).annotate({ identifier: "UpdateUpdatesSettingsRequest" });
|
|
1276
|
+
case 1:
|
|
1277
|
+
return S.suspend(() =>
|
|
1278
|
+
S.Struct({
|
|
1279
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1280
|
+
}),
|
|
1281
|
+
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
function __c16(j: number): any {
|
|
1113
1285
|
switch (j) {
|
|
1114
1286
|
case 0:
|
|
1115
1287
|
return S.suspend(() =>
|
|
@@ -1135,7 +1307,7 @@ function __c13(j: number): any {
|
|
|
1135
1307
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1136
1308
|
}
|
|
1137
1309
|
}
|
|
1138
|
-
function
|
|
1310
|
+
function __c17(j: number): any {
|
|
1139
1311
|
switch (j) {
|
|
1140
1312
|
case 0:
|
|
1141
1313
|
return S.suspend(() =>
|
|
@@ -1155,19 +1327,19 @@ function __c14(j: number): any {
|
|
|
1155
1327
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1156
1328
|
}
|
|
1157
1329
|
}
|
|
1158
|
-
function
|
|
1330
|
+
function __c18(j: number): any {
|
|
1159
1331
|
switch (j) {
|
|
1160
1332
|
case 0:
|
|
1161
1333
|
return S.Array(S.String);
|
|
1162
1334
|
}
|
|
1163
1335
|
}
|
|
1164
|
-
function
|
|
1336
|
+
function __c19(j: number): any {
|
|
1165
1337
|
switch (j) {
|
|
1166
1338
|
case 0:
|
|
1167
1339
|
return S.suspend(() =>
|
|
1168
1340
|
S.Struct({
|
|
1169
1341
|
host: S.String,
|
|
1170
|
-
hosts: S.optional(__S(
|
|
1342
|
+
hosts: S.optional(__S(144, __c18, 0)),
|
|
1171
1343
|
name: S.optional(S.String),
|
|
1172
1344
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1173
1345
|
port: S.optional(S.Number),
|
|
@@ -1178,20 +1350,20 @@ function __c16(j: number): any {
|
|
|
1178
1350
|
case 1:
|
|
1179
1351
|
return S.suspend(() =>
|
|
1180
1352
|
S.Struct({
|
|
1181
|
-
credentials: __S(
|
|
1353
|
+
credentials: __S(152, __c19, 0),
|
|
1182
1354
|
}),
|
|
1183
1355
|
).annotate({ identifier: "RawCredentials" });
|
|
1184
1356
|
case 2:
|
|
1185
1357
|
return S.suspend(() =>
|
|
1186
1358
|
S.Struct({
|
|
1187
1359
|
id: S.String,
|
|
1188
|
-
raw: S.optional(__S(
|
|
1360
|
+
raw: S.optional(__S(153, __c19, 1)),
|
|
1189
1361
|
uri: S.String,
|
|
1190
1362
|
}),
|
|
1191
1363
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1192
1364
|
}
|
|
1193
1365
|
}
|
|
1194
|
-
function
|
|
1366
|
+
function __c20(j: number): any {
|
|
1195
1367
|
switch (j) {
|
|
1196
1368
|
case 0:
|
|
1197
1369
|
return S.suspend(() =>
|
|
@@ -1199,7 +1371,7 @@ function __c17(j: number): any {
|
|
|
1199
1371
|
projectId: S.String.pipe(T.Label()),
|
|
1200
1372
|
regionId: S.String.pipe(T.Label()),
|
|
1201
1373
|
instanceName: S.String,
|
|
1202
|
-
parameters: S.optional(__S(
|
|
1374
|
+
parameters: S.optional(__S(168, __c21, 0)),
|
|
1203
1375
|
planId: S.String,
|
|
1204
1376
|
}).pipe(
|
|
1205
1377
|
T.Http({
|
|
@@ -1212,7 +1384,7 @@ function __c17(j: number): any {
|
|
|
1212
1384
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1213
1385
|
}
|
|
1214
1386
|
}
|
|
1215
|
-
function
|
|
1387
|
+
function __c21(j: number): any {
|
|
1216
1388
|
switch (j) {
|
|
1217
1389
|
case 0:
|
|
1218
1390
|
return S.suspend(() =>
|
|
@@ -1224,12 +1396,12 @@ function __c18(j: number): any {
|
|
|
1224
1396
|
metrics_prefix: S.optional(S.String),
|
|
1225
1397
|
monitoring_instance_id: S.optional(S.String),
|
|
1226
1398
|
sgw_acl: S.optional(S.String),
|
|
1227
|
-
syslog: S.optional(__S(
|
|
1399
|
+
syslog: S.optional(__S(144, __c18, 0)),
|
|
1228
1400
|
}),
|
|
1229
1401
|
).annotate({ identifier: "InstanceParameters" });
|
|
1230
1402
|
}
|
|
1231
1403
|
}
|
|
1232
|
-
function
|
|
1404
|
+
function __c22(j: number): any {
|
|
1233
1405
|
switch (j) {
|
|
1234
1406
|
case 0:
|
|
1235
1407
|
return S.suspend(() =>
|
|
@@ -1239,7 +1411,7 @@ function __c19(j: number): any {
|
|
|
1239
1411
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1240
1412
|
}
|
|
1241
1413
|
}
|
|
1242
|
-
function
|
|
1414
|
+
function __c23(j: number): any {
|
|
1243
1415
|
switch (j) {
|
|
1244
1416
|
case 0:
|
|
1245
1417
|
return S.suspend(() =>
|
|
@@ -1259,13 +1431,13 @@ function __c20(j: number): any {
|
|
|
1259
1431
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1260
1432
|
}
|
|
1261
1433
|
}
|
|
1262
|
-
function
|
|
1434
|
+
function __c24(j: number): any {
|
|
1263
1435
|
switch (j) {
|
|
1264
1436
|
case 0:
|
|
1265
1437
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1266
1438
|
}
|
|
1267
1439
|
}
|
|
1268
|
-
function
|
|
1440
|
+
function __c25(j: number): any {
|
|
1269
1441
|
switch (j) {
|
|
1270
1442
|
case 0:
|
|
1271
1443
|
return S.suspend(() =>
|
|
@@ -1284,7 +1456,7 @@ function __c22(j: number): any {
|
|
|
1284
1456
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1285
1457
|
}
|
|
1286
1458
|
}
|
|
1287
|
-
function
|
|
1459
|
+
function __c26(j: number): any {
|
|
1288
1460
|
switch (j) {
|
|
1289
1461
|
case 0:
|
|
1290
1462
|
return S.suspend(() =>
|
|
@@ -1304,7 +1476,7 @@ function __c23(j: number): any {
|
|
|
1304
1476
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1305
1477
|
}
|
|
1306
1478
|
}
|
|
1307
|
-
function
|
|
1479
|
+
function __c27(j: number): any {
|
|
1308
1480
|
switch (j) {
|
|
1309
1481
|
case 0:
|
|
1310
1482
|
return S.suspend(() =>
|