@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/mariadb.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Mariadb",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -59,16 +72,16 @@ export interface CreateCredentialsRequest {
|
|
|
59
72
|
regionId: string;
|
|
60
73
|
/** Instance id */
|
|
61
74
|
instanceId: string;
|
|
62
|
-
parameters?: unknown;
|
|
75
|
+
parameters?: unknown | undefined;
|
|
63
76
|
}
|
|
64
77
|
export type CredentialsHostsList = Array<string>;
|
|
65
78
|
export interface Credentials {
|
|
66
79
|
host: string;
|
|
67
|
-
hosts?: CredentialsHostsList;
|
|
68
|
-
name?: string;
|
|
80
|
+
hosts?: CredentialsHostsList | undefined;
|
|
81
|
+
name?: string | undefined;
|
|
69
82
|
password: string | Redacted.Redacted<string>;
|
|
70
|
-
port?: number;
|
|
71
|
-
uri?: string;
|
|
83
|
+
port?: number | undefined;
|
|
84
|
+
uri?: string | undefined;
|
|
72
85
|
username: string;
|
|
73
86
|
}
|
|
74
87
|
export interface RawCredentials {
|
|
@@ -76,24 +89,24 @@ export interface RawCredentials {
|
|
|
76
89
|
}
|
|
77
90
|
export interface CredentialsResponse {
|
|
78
91
|
id: string;
|
|
79
|
-
raw?: RawCredentials;
|
|
92
|
+
raw?: RawCredentials | undefined;
|
|
80
93
|
uri: string;
|
|
81
94
|
}
|
|
82
95
|
export type InstanceParametersSyslogList = Array<string>;
|
|
83
96
|
export interface InstanceParameters {
|
|
84
|
-
enable_monitoring?: boolean;
|
|
97
|
+
enable_monitoring?: boolean | undefined;
|
|
85
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. */
|
|
86
|
-
graphite?: string;
|
|
99
|
+
graphite?: string | undefined;
|
|
87
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. */
|
|
88
|
-
max_disk_threshold?: number;
|
|
101
|
+
max_disk_threshold?: number | undefined;
|
|
89
102
|
/** Frequency of metrics being emitted in seconds */
|
|
90
|
-
metrics_frequency?: number;
|
|
103
|
+
metrics_frequency?: number | undefined;
|
|
91
104
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
92
|
-
metrics_prefix?: string;
|
|
93
|
-
monitoring_instance_id?: string;
|
|
105
|
+
metrics_prefix?: string | undefined;
|
|
106
|
+
monitoring_instance_id?: string | undefined;
|
|
94
107
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
95
|
-
sgw_acl?: string;
|
|
96
|
-
syslog?: InstanceParametersSyslogList;
|
|
108
|
+
sgw_acl?: string | undefined;
|
|
109
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
97
110
|
}
|
|
98
111
|
export interface CreateInstanceRequest {
|
|
99
112
|
/** Project id on which user has permissions */
|
|
@@ -101,7 +114,7 @@ export interface CreateInstanceRequest {
|
|
|
101
114
|
/** region in which the project resides */
|
|
102
115
|
regionId: string;
|
|
103
116
|
instanceName: string;
|
|
104
|
-
parameters?: InstanceParameters;
|
|
117
|
+
parameters?: InstanceParameters | undefined;
|
|
105
118
|
planId: string;
|
|
106
119
|
}
|
|
107
120
|
export interface CreateInstanceResponse {
|
|
@@ -156,6 +169,15 @@ export interface GetInstanceRequest {
|
|
|
156
169
|
/** Instance id */
|
|
157
170
|
instanceId: string;
|
|
158
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";
|
|
159
181
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
160
182
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
161
183
|
export interface InstanceLastOperation {
|
|
@@ -163,6 +185,7 @@ export interface InstanceLastOperation {
|
|
|
163
185
|
state: InstanceLastOperationState;
|
|
164
186
|
type: InstanceLastOperationType;
|
|
165
187
|
}
|
|
188
|
+
/** State of the last operation and this instance */
|
|
166
189
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
167
190
|
export interface Instance {
|
|
168
191
|
cfGuid: string;
|
|
@@ -170,7 +193,9 @@ export interface Instance {
|
|
|
170
193
|
cfSpaceGuid: string;
|
|
171
194
|
dashboardUrl: string;
|
|
172
195
|
imageUrl: string;
|
|
173
|
-
instanceId?: string;
|
|
196
|
+
instanceId?: string | undefined;
|
|
197
|
+
/** Current state of a service instance */
|
|
198
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
174
199
|
lastOperation: InstanceLastOperation;
|
|
175
200
|
name: string;
|
|
176
201
|
offeringName: string;
|
|
@@ -178,7 +203,8 @@ export interface Instance {
|
|
|
178
203
|
parameters: unknown;
|
|
179
204
|
planId: string;
|
|
180
205
|
planName: string;
|
|
181
|
-
|
|
206
|
+
/** State of the last operation and this instance */
|
|
207
|
+
status?: InstanceStatus | undefined;
|
|
182
208
|
}
|
|
183
209
|
export interface GetMetricsRequest {
|
|
184
210
|
/** Project id on which user has permissions */
|
|
@@ -189,10 +215,10 @@ export interface GetMetricsRequest {
|
|
|
189
215
|
instanceId: string;
|
|
190
216
|
}
|
|
191
217
|
export interface GetMetricsResponse {
|
|
192
|
-
cpuIdleTime?: number;
|
|
218
|
+
cpuIdleTime?: number | undefined;
|
|
193
219
|
cpuLoadPercent: number;
|
|
194
|
-
cpuSystemTime?: number;
|
|
195
|
-
cpuUserTime?: number;
|
|
220
|
+
cpuSystemTime?: number | undefined;
|
|
221
|
+
cpuUserTime?: number | undefined;
|
|
196
222
|
diskEphemeralTotal: number;
|
|
197
223
|
diskEphemeralUsed: number;
|
|
198
224
|
diskPersistentTotal: number;
|
|
@@ -213,6 +239,20 @@ export interface GetMetricsResponse {
|
|
|
213
239
|
parachuteDiskPersistentUsedPercent: number;
|
|
214
240
|
parachuteDiskPersistentUsedThreshold: number;
|
|
215
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
|
+
}
|
|
216
256
|
export interface ListBackupsRequest {
|
|
217
257
|
/** Project id on which user has permissions */
|
|
218
258
|
projectId: string;
|
|
@@ -222,12 +262,12 @@ export interface ListBackupsRequest {
|
|
|
222
262
|
instanceId: string;
|
|
223
263
|
}
|
|
224
264
|
export interface Backup {
|
|
225
|
-
downloadable?: boolean;
|
|
265
|
+
downloadable?: boolean | undefined;
|
|
226
266
|
finished_at: string;
|
|
227
267
|
id: number;
|
|
228
|
-
size?: number;
|
|
268
|
+
size?: number | undefined;
|
|
229
269
|
status: string;
|
|
230
|
-
triggered_at?: string;
|
|
270
|
+
triggered_at?: string | undefined;
|
|
231
271
|
}
|
|
232
272
|
export type ListBackupsResponse = Array<Backup>;
|
|
233
273
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -282,11 +322,11 @@ export interface Offering {
|
|
|
282
322
|
documentationUrl: string;
|
|
283
323
|
imageUrl: string;
|
|
284
324
|
latest: boolean;
|
|
285
|
-
lifecycle?: string;
|
|
325
|
+
lifecycle?: string | undefined;
|
|
286
326
|
name: string;
|
|
287
327
|
plans: OfferingPlansList;
|
|
288
328
|
quotaCount: number;
|
|
289
|
-
schema?: InstanceSchema;
|
|
329
|
+
schema?: InstanceSchema | undefined;
|
|
290
330
|
version: string;
|
|
291
331
|
}
|
|
292
332
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -306,7 +346,7 @@ export interface Restore {
|
|
|
306
346
|
finished_at: string;
|
|
307
347
|
id: number;
|
|
308
348
|
status: string;
|
|
309
|
-
triggered_at?: string;
|
|
349
|
+
triggered_at?: string | undefined;
|
|
310
350
|
}
|
|
311
351
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
312
352
|
export interface ListRestoresResponse {
|
|
@@ -319,9 +359,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
319
359
|
regionId: string;
|
|
320
360
|
/** Instance id */
|
|
321
361
|
instanceId: string;
|
|
322
|
-
instanceName?: string;
|
|
323
|
-
parameters?: InstanceParameters;
|
|
324
|
-
planId?: string;
|
|
362
|
+
instanceName?: string | undefined;
|
|
363
|
+
parameters?: InstanceParameters | undefined;
|
|
364
|
+
planId?: string | undefined;
|
|
325
365
|
}
|
|
326
366
|
export interface PartialUpdateInstanceResponse {}
|
|
327
367
|
export interface TriggerRecreateRequest {
|
|
@@ -353,6 +393,14 @@ export interface TriggerRestoreRequest {
|
|
|
353
393
|
export interface TriggerRestoreResponse {
|
|
354
394
|
id: number;
|
|
355
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
|
+
}
|
|
356
404
|
export interface UpdateBackupsConfigRequest {
|
|
357
405
|
/** Project id on which user has permissions */
|
|
358
406
|
projectId: string;
|
|
@@ -360,11 +408,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
360
408
|
regionId: string;
|
|
361
409
|
/** Instance id */
|
|
362
410
|
instanceId: string;
|
|
363
|
-
encryption_key?: string;
|
|
411
|
+
encryption_key?: string | undefined;
|
|
364
412
|
}
|
|
365
413
|
export interface UpdateBackupsConfigResponse {
|
|
366
414
|
message: string;
|
|
367
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
|
+
}
|
|
368
430
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
369
431
|
/** create a backup */
|
|
370
432
|
export const createBackup: API.OperationMethod<
|
|
@@ -373,11 +435,13 @@ export const createBackup: API.OperationMethod<
|
|
|
373
435
|
CreateBackupError,
|
|
374
436
|
StackitOpContext
|
|
375
437
|
> = /*@__PURE__*/ API.make(() => ({
|
|
376
|
-
input: __S(
|
|
377
|
-
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>,
|
|
378
440
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
379
441
|
protocol: StackitProtocol,
|
|
380
442
|
retry: Retry.Retry,
|
|
443
|
+
telemetry: TELEMETRY,
|
|
444
|
+
span: "CreateBackup",
|
|
381
445
|
}));
|
|
382
446
|
|
|
383
447
|
export type CreateCredentialsError = BadRequest | StackitOpError;
|
|
@@ -388,11 +452,13 @@ export const createCredentials: API.OperationMethod<
|
|
|
388
452
|
CreateCredentialsError,
|
|
389
453
|
StackitOpContext
|
|
390
454
|
> = /*@__PURE__*/ API.make(() => ({
|
|
391
|
-
input: __S(
|
|
392
|
-
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>,
|
|
393
457
|
errors: [BadRequest, UnknownStackitError],
|
|
394
458
|
protocol: StackitProtocol,
|
|
395
459
|
retry: Retry.Retry,
|
|
460
|
+
telemetry: TELEMETRY,
|
|
461
|
+
span: "CreateCredentials",
|
|
396
462
|
}));
|
|
397
463
|
|
|
398
464
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
@@ -403,11 +469,13 @@ export const createInstance: API.OperationMethod<
|
|
|
403
469
|
CreateInstanceError,
|
|
404
470
|
StackitOpContext
|
|
405
471
|
> = /*@__PURE__*/ API.make(() => ({
|
|
406
|
-
input: __S(
|
|
407
|
-
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>,
|
|
408
474
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
409
475
|
protocol: StackitProtocol,
|
|
410
476
|
retry: Retry.Retry,
|
|
477
|
+
telemetry: TELEMETRY,
|
|
478
|
+
span: "CreateInstance",
|
|
411
479
|
}));
|
|
412
480
|
|
|
413
481
|
export type DeleteCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -418,11 +486,13 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
418
486
|
DeleteCredentialsError,
|
|
419
487
|
StackitOpContext
|
|
420
488
|
> = /*@__PURE__*/ API.make(() => ({
|
|
421
|
-
input: __S(
|
|
422
|
-
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>,
|
|
423
491
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
424
492
|
protocol: StackitProtocol,
|
|
425
493
|
retry: Retry.Retry,
|
|
494
|
+
telemetry: TELEMETRY,
|
|
495
|
+
span: "DeleteCredentials",
|
|
426
496
|
}));
|
|
427
497
|
|
|
428
498
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -433,11 +503,13 @@ export const deleteInstance: API.OperationMethod<
|
|
|
433
503
|
DeleteInstanceError,
|
|
434
504
|
StackitOpContext
|
|
435
505
|
> = /*@__PURE__*/ API.make(() => ({
|
|
436
|
-
input: __S(
|
|
437
|
-
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>,
|
|
438
508
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
439
509
|
protocol: StackitProtocol,
|
|
440
510
|
retry: Retry.Retry,
|
|
511
|
+
telemetry: TELEMETRY,
|
|
512
|
+
span: "DeleteInstance",
|
|
441
513
|
}));
|
|
442
514
|
|
|
443
515
|
export type DownloadBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -448,11 +520,13 @@ export const downloadBackup: API.OperationMethod<
|
|
|
448
520
|
DownloadBackupError,
|
|
449
521
|
StackitOpContext
|
|
450
522
|
> = /*@__PURE__*/ API.make(() => ({
|
|
451
|
-
input: __S(
|
|
452
|
-
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>,
|
|
453
525
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
454
526
|
protocol: StackitProtocol,
|
|
455
527
|
retry: Retry.Retry,
|
|
528
|
+
telemetry: TELEMETRY,
|
|
529
|
+
span: "DownloadBackup",
|
|
456
530
|
}));
|
|
457
531
|
|
|
458
532
|
export type GetCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -463,11 +537,13 @@ export const getCredentials: API.OperationMethod<
|
|
|
463
537
|
GetCredentialsError,
|
|
464
538
|
StackitOpContext
|
|
465
539
|
> = /*@__PURE__*/ API.make(() => ({
|
|
466
|
-
input: __S(
|
|
467
|
-
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>,
|
|
468
542
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
469
543
|
protocol: StackitProtocol,
|
|
470
544
|
retry: Retry.Retry,
|
|
545
|
+
telemetry: TELEMETRY,
|
|
546
|
+
span: "GetCredentials",
|
|
471
547
|
}));
|
|
472
548
|
|
|
473
549
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -483,6 +559,8 @@ export const getInstance: API.OperationMethod<
|
|
|
483
559
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
484
560
|
protocol: StackitProtocol,
|
|
485
561
|
retry: Retry.Retry,
|
|
562
|
+
telemetry: TELEMETRY,
|
|
563
|
+
span: "GetInstance",
|
|
486
564
|
}));
|
|
487
565
|
|
|
488
566
|
export type GetMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -498,6 +576,25 @@ export const getMetrics: API.OperationMethod<
|
|
|
498
576
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
499
577
|
protocol: StackitProtocol,
|
|
500
578
|
retry: Retry.Retry,
|
|
579
|
+
telemetry: TELEMETRY,
|
|
580
|
+
span: "GetMetrics",
|
|
581
|
+
}));
|
|
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",
|
|
501
598
|
}));
|
|
502
599
|
|
|
503
600
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -508,11 +605,13 @@ export const listBackups: API.OperationMethod<
|
|
|
508
605
|
ListBackupsError,
|
|
509
606
|
StackitOpContext
|
|
510
607
|
> = /*@__PURE__*/ API.make(() => ({
|
|
511
|
-
input: __S(
|
|
512
|
-
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>,
|
|
513
610
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
514
611
|
protocol: StackitProtocol,
|
|
515
612
|
retry: Retry.Retry,
|
|
613
|
+
telemetry: TELEMETRY,
|
|
614
|
+
span: "ListBackups",
|
|
516
615
|
}));
|
|
517
616
|
|
|
518
617
|
export type ListCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -523,11 +622,13 @@ export const listCredentials: API.OperationMethod<
|
|
|
523
622
|
ListCredentialsError,
|
|
524
623
|
StackitOpContext
|
|
525
624
|
> = /*@__PURE__*/ API.make(() => ({
|
|
526
|
-
input: __S(
|
|
527
|
-
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>,
|
|
528
627
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
529
628
|
protocol: StackitProtocol,
|
|
530
629
|
retry: Retry.Retry,
|
|
630
|
+
telemetry: TELEMETRY,
|
|
631
|
+
span: "ListCredentials",
|
|
531
632
|
}));
|
|
532
633
|
|
|
533
634
|
export type ListInstancesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -538,11 +639,13 @@ export const listInstances: API.OperationMethod<
|
|
|
538
639
|
ListInstancesError,
|
|
539
640
|
StackitOpContext
|
|
540
641
|
> = /*@__PURE__*/ API.make(() => ({
|
|
541
|
-
input: __S(
|
|
542
|
-
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>,
|
|
543
644
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
544
645
|
protocol: StackitProtocol,
|
|
545
646
|
retry: Retry.Retry,
|
|
647
|
+
telemetry: TELEMETRY,
|
|
648
|
+
span: "ListInstances",
|
|
546
649
|
}));
|
|
547
650
|
|
|
548
651
|
export type ListOfferingsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -553,11 +656,13 @@ export const listOfferings: API.OperationMethod<
|
|
|
553
656
|
ListOfferingsError,
|
|
554
657
|
StackitOpContext
|
|
555
658
|
> = /*@__PURE__*/ API.make(() => ({
|
|
556
|
-
input: __S(
|
|
557
|
-
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>,
|
|
558
661
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
559
662
|
protocol: StackitProtocol,
|
|
560
663
|
retry: Retry.Retry,
|
|
664
|
+
telemetry: TELEMETRY,
|
|
665
|
+
span: "ListOfferings",
|
|
561
666
|
}));
|
|
562
667
|
|
|
563
668
|
export type ListRestoresError = BadRequest | NotFound | StackitOpError;
|
|
@@ -568,11 +673,13 @@ export const listRestores: API.OperationMethod<
|
|
|
568
673
|
ListRestoresError,
|
|
569
674
|
StackitOpContext
|
|
570
675
|
> = /*@__PURE__*/ API.make(() => ({
|
|
571
|
-
input: __S(
|
|
572
|
-
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>,
|
|
573
678
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
574
679
|
protocol: StackitProtocol,
|
|
575
680
|
retry: Retry.Retry,
|
|
681
|
+
telemetry: TELEMETRY,
|
|
682
|
+
span: "ListRestores",
|
|
576
683
|
}));
|
|
577
684
|
|
|
578
685
|
export type PartialUpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -583,11 +690,13 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
583
690
|
PartialUpdateInstanceError,
|
|
584
691
|
StackitOpContext
|
|
585
692
|
> = /*@__PURE__*/ API.make(() => ({
|
|
586
|
-
input: __S(
|
|
587
|
-
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>,
|
|
588
695
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
589
696
|
protocol: StackitProtocol,
|
|
590
697
|
retry: Retry.Retry,
|
|
698
|
+
telemetry: TELEMETRY,
|
|
699
|
+
span: "PartialUpdateInstance",
|
|
591
700
|
}));
|
|
592
701
|
|
|
593
702
|
export type TriggerRecreateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -598,11 +707,13 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
598
707
|
TriggerRecreateError,
|
|
599
708
|
StackitOpContext
|
|
600
709
|
> = /*@__PURE__*/ API.make(() => ({
|
|
601
|
-
input: __S(
|
|
602
|
-
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>,
|
|
603
712
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
604
713
|
protocol: StackitProtocol,
|
|
605
714
|
retry: Retry.Retry,
|
|
715
|
+
telemetry: TELEMETRY,
|
|
716
|
+
span: "TriggerRecreate",
|
|
606
717
|
}));
|
|
607
718
|
|
|
608
719
|
export type TriggerRestartError = BadRequest | NotFound | StackitOpError;
|
|
@@ -613,11 +724,13 @@ export const triggerRestart: API.OperationMethod<
|
|
|
613
724
|
TriggerRestartError,
|
|
614
725
|
StackitOpContext
|
|
615
726
|
> = /*@__PURE__*/ API.make(() => ({
|
|
616
|
-
input: __S(
|
|
617
|
-
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>,
|
|
618
729
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
619
730
|
protocol: StackitProtocol,
|
|
620
731
|
retry: Retry.Retry,
|
|
732
|
+
telemetry: TELEMETRY,
|
|
733
|
+
span: "TriggerRestart",
|
|
621
734
|
}));
|
|
622
735
|
|
|
623
736
|
export type TriggerRestoreError = BadRequest | NotFound | StackitOpError;
|
|
@@ -628,11 +741,30 @@ export const triggerRestore: API.OperationMethod<
|
|
|
628
741
|
TriggerRestoreError,
|
|
629
742
|
StackitOpContext
|
|
630
743
|
> = /*@__PURE__*/ API.make(() => ({
|
|
631
|
-
input: __S(
|
|
632
|
-
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>,
|
|
633
746
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
634
747
|
protocol: StackitProtocol,
|
|
635
748
|
retry: Retry.Retry,
|
|
749
|
+
telemetry: TELEMETRY,
|
|
750
|
+
span: "TriggerRestore",
|
|
751
|
+
}));
|
|
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",
|
|
636
768
|
}));
|
|
637
769
|
|
|
638
770
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
@@ -643,11 +775,30 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
643
775
|
UpdateBackupsConfigError,
|
|
644
776
|
StackitOpContext
|
|
645
777
|
> = /*@__PURE__*/ API.make(() => ({
|
|
646
|
-
input: __S(
|
|
647
|
-
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>,
|
|
648
780
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
649
781
|
protocol: StackitProtocol,
|
|
650
782
|
retry: Retry.Retry,
|
|
783
|
+
telemetry: TELEMETRY,
|
|
784
|
+
span: "UpdateBackupsConfig",
|
|
785
|
+
}));
|
|
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",
|
|
651
802
|
}));
|
|
652
803
|
|
|
653
804
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -689,6 +840,7 @@ function __c1(j: number): any {
|
|
|
689
840
|
dashboardUrl: S.String,
|
|
690
841
|
imageUrl: S.String,
|
|
691
842
|
instanceId: S.optional(S.String),
|
|
843
|
+
instanceStatus: S.optional(S.String),
|
|
692
844
|
lastOperation: __S(8, __c1, 0),
|
|
693
845
|
name: S.String,
|
|
694
846
|
offeringName: S.String,
|
|
@@ -749,6 +901,32 @@ function __c2(j: number): any {
|
|
|
749
901
|
}
|
|
750
902
|
}
|
|
751
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 {
|
|
752
930
|
switch (j) {
|
|
753
931
|
case 0:
|
|
754
932
|
return S.suspend(() =>
|
|
@@ -777,14 +955,14 @@ function __c3(j: number): any {
|
|
|
777
955
|
}),
|
|
778
956
|
).annotate({ identifier: "Backup" });
|
|
779
957
|
case 2:
|
|
780
|
-
return S.Array(__S(
|
|
958
|
+
return S.Array(__S(33, __c4, 1));
|
|
781
959
|
case 3:
|
|
782
|
-
return S.suspend(() => __S(
|
|
960
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
783
961
|
identifier: "ListBackupsResponse2",
|
|
784
962
|
});
|
|
785
963
|
}
|
|
786
964
|
}
|
|
787
|
-
function
|
|
965
|
+
function __c5(j: number): any {
|
|
788
966
|
switch (j) {
|
|
789
967
|
case 0:
|
|
790
968
|
return S.suspend(() =>
|
|
@@ -808,16 +986,16 @@ function __c4(j: number): any {
|
|
|
808
986
|
}),
|
|
809
987
|
).annotate({ identifier: "CredentialsListItem" });
|
|
810
988
|
case 2:
|
|
811
|
-
return S.Array(__S(
|
|
989
|
+
return S.Array(__S(41, __c5, 1));
|
|
812
990
|
case 3:
|
|
813
991
|
return S.suspend(() =>
|
|
814
992
|
S.Struct({
|
|
815
|
-
credentialsList: __S(
|
|
993
|
+
credentialsList: __S(42, __c5, 2),
|
|
816
994
|
}),
|
|
817
995
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
818
996
|
}
|
|
819
997
|
}
|
|
820
|
-
function
|
|
998
|
+
function __c6(j: number): any {
|
|
821
999
|
switch (j) {
|
|
822
1000
|
case 0:
|
|
823
1001
|
return S.suspend(() =>
|
|
@@ -838,12 +1016,12 @@ function __c5(j: number): any {
|
|
|
838
1016
|
case 2:
|
|
839
1017
|
return S.suspend(() =>
|
|
840
1018
|
S.Struct({
|
|
841
|
-
instances: __S(
|
|
1019
|
+
instances: __S(49, __c6, 1),
|
|
842
1020
|
}),
|
|
843
1021
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
844
1022
|
}
|
|
845
1023
|
}
|
|
846
|
-
function
|
|
1024
|
+
function __c7(j: number): any {
|
|
847
1025
|
switch (j) {
|
|
848
1026
|
case 0:
|
|
849
1027
|
return S.suspend(() =>
|
|
@@ -870,7 +1048,7 @@ function __c6(j: number): any {
|
|
|
870
1048
|
}),
|
|
871
1049
|
).annotate({ identifier: "Plan" });
|
|
872
1050
|
case 2:
|
|
873
|
-
return S.Array(__S(
|
|
1051
|
+
return S.Array(__S(57, __c7, 1));
|
|
874
1052
|
case 3:
|
|
875
1053
|
return S.suspend(() =>
|
|
876
1054
|
S.Struct({
|
|
@@ -880,8 +1058,8 @@ function __c6(j: number): any {
|
|
|
880
1058
|
case 4:
|
|
881
1059
|
return S.suspend(() =>
|
|
882
1060
|
S.Struct({
|
|
883
|
-
create: __S(
|
|
884
|
-
update: __S(
|
|
1061
|
+
create: __S(59, __c7, 3),
|
|
1062
|
+
update: __S(59, __c7, 3),
|
|
885
1063
|
}),
|
|
886
1064
|
).annotate({ identifier: "InstanceSchema" });
|
|
887
1065
|
case 5:
|
|
@@ -893,23 +1071,23 @@ function __c6(j: number): any {
|
|
|
893
1071
|
latest: S.Boolean,
|
|
894
1072
|
lifecycle: S.optional(S.String),
|
|
895
1073
|
name: S.String,
|
|
896
|
-
plans: __S(
|
|
1074
|
+
plans: __S(58, __c7, 2),
|
|
897
1075
|
quotaCount: S.Number,
|
|
898
|
-
schema: S.optional(__S(
|
|
1076
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
899
1077
|
version: S.String,
|
|
900
1078
|
}),
|
|
901
1079
|
).annotate({ identifier: "Offering" });
|
|
902
1080
|
case 6:
|
|
903
|
-
return S.Array(__S(
|
|
1081
|
+
return S.Array(__S(61, __c7, 5));
|
|
904
1082
|
case 7:
|
|
905
1083
|
return S.suspend(() =>
|
|
906
1084
|
S.Struct({
|
|
907
|
-
offerings: __S(
|
|
1085
|
+
offerings: __S(62, __c7, 6),
|
|
908
1086
|
}),
|
|
909
1087
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
910
1088
|
}
|
|
911
1089
|
}
|
|
912
|
-
function
|
|
1090
|
+
function __c8(j: number): any {
|
|
913
1091
|
switch (j) {
|
|
914
1092
|
case 0:
|
|
915
1093
|
return S.suspend(() =>
|
|
@@ -937,16 +1115,16 @@ function __c7(j: number): any {
|
|
|
937
1115
|
}),
|
|
938
1116
|
).annotate({ identifier: "Restore" });
|
|
939
1117
|
case 2:
|
|
940
|
-
return S.Array(__S(
|
|
1118
|
+
return S.Array(__S(65, __c8, 1));
|
|
941
1119
|
case 3:
|
|
942
1120
|
return S.suspend(() =>
|
|
943
1121
|
S.Struct({
|
|
944
|
-
instanceRestores: __S(
|
|
1122
|
+
instanceRestores: __S(66, __c8, 2),
|
|
945
1123
|
}),
|
|
946
1124
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
947
1125
|
}
|
|
948
1126
|
}
|
|
949
|
-
function
|
|
1127
|
+
function __c9(j: number): any {
|
|
950
1128
|
switch (j) {
|
|
951
1129
|
case 0:
|
|
952
1130
|
return S.suspend(() =>
|
|
@@ -955,7 +1133,7 @@ function __c8(j: number): any {
|
|
|
955
1133
|
regionId: S.String.pipe(T.Label()),
|
|
956
1134
|
instanceId: S.String.pipe(T.Label()),
|
|
957
1135
|
instanceName: S.optional(S.String),
|
|
958
|
-
parameters: S.optional(__S(
|
|
1136
|
+
parameters: S.optional(__S(168, __c21, 0)),
|
|
959
1137
|
planId: S.optional(S.String),
|
|
960
1138
|
}).pipe(
|
|
961
1139
|
T.Http({
|
|
@@ -968,7 +1146,7 @@ function __c8(j: number): any {
|
|
|
968
1146
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
969
1147
|
}
|
|
970
1148
|
}
|
|
971
|
-
function
|
|
1149
|
+
function __c10(j: number): any {
|
|
972
1150
|
switch (j) {
|
|
973
1151
|
case 0:
|
|
974
1152
|
return S.suspend(() =>
|
|
@@ -987,7 +1165,7 @@ function __c9(j: number): any {
|
|
|
987
1165
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
988
1166
|
}
|
|
989
1167
|
}
|
|
990
|
-
function
|
|
1168
|
+
function __c11(j: number): any {
|
|
991
1169
|
switch (j) {
|
|
992
1170
|
case 0:
|
|
993
1171
|
return S.suspend(() =>
|
|
@@ -1006,7 +1184,7 @@ function __c10(j: number): any {
|
|
|
1006
1184
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1007
1185
|
}
|
|
1008
1186
|
}
|
|
1009
|
-
function
|
|
1187
|
+
function __c12(j: number): any {
|
|
1010
1188
|
switch (j) {
|
|
1011
1189
|
case 0:
|
|
1012
1190
|
return S.suspend(() =>
|
|
@@ -1032,7 +1210,26 @@ function __c11(j: number): any {
|
|
|
1032
1210
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1033
1211
|
}
|
|
1034
1212
|
}
|
|
1035
|
-
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 {
|
|
1036
1233
|
switch (j) {
|
|
1037
1234
|
case 0:
|
|
1038
1235
|
return S.suspend(() =>
|
|
@@ -1058,7 +1255,33 @@ function __c12(j: number): any {
|
|
|
1058
1255
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1059
1256
|
}
|
|
1060
1257
|
}
|
|
1061
|
-
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 {
|
|
1062
1285
|
switch (j) {
|
|
1063
1286
|
case 0:
|
|
1064
1287
|
return S.suspend(() =>
|
|
@@ -1084,7 +1307,7 @@ function __c13(j: number): any {
|
|
|
1084
1307
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1085
1308
|
}
|
|
1086
1309
|
}
|
|
1087
|
-
function
|
|
1310
|
+
function __c17(j: number): any {
|
|
1088
1311
|
switch (j) {
|
|
1089
1312
|
case 0:
|
|
1090
1313
|
return S.suspend(() =>
|
|
@@ -1104,19 +1327,19 @@ function __c14(j: number): any {
|
|
|
1104
1327
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1105
1328
|
}
|
|
1106
1329
|
}
|
|
1107
|
-
function
|
|
1330
|
+
function __c18(j: number): any {
|
|
1108
1331
|
switch (j) {
|
|
1109
1332
|
case 0:
|
|
1110
1333
|
return S.Array(S.String);
|
|
1111
1334
|
}
|
|
1112
1335
|
}
|
|
1113
|
-
function
|
|
1336
|
+
function __c19(j: number): any {
|
|
1114
1337
|
switch (j) {
|
|
1115
1338
|
case 0:
|
|
1116
1339
|
return S.suspend(() =>
|
|
1117
1340
|
S.Struct({
|
|
1118
1341
|
host: S.String,
|
|
1119
|
-
hosts: S.optional(__S(
|
|
1342
|
+
hosts: S.optional(__S(144, __c18, 0)),
|
|
1120
1343
|
name: S.optional(S.String),
|
|
1121
1344
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1122
1345
|
port: S.optional(S.Number),
|
|
@@ -1127,20 +1350,20 @@ function __c16(j: number): any {
|
|
|
1127
1350
|
case 1:
|
|
1128
1351
|
return S.suspend(() =>
|
|
1129
1352
|
S.Struct({
|
|
1130
|
-
credentials: __S(
|
|
1353
|
+
credentials: __S(152, __c19, 0),
|
|
1131
1354
|
}),
|
|
1132
1355
|
).annotate({ identifier: "RawCredentials" });
|
|
1133
1356
|
case 2:
|
|
1134
1357
|
return S.suspend(() =>
|
|
1135
1358
|
S.Struct({
|
|
1136
1359
|
id: S.String,
|
|
1137
|
-
raw: S.optional(__S(
|
|
1360
|
+
raw: S.optional(__S(153, __c19, 1)),
|
|
1138
1361
|
uri: S.String,
|
|
1139
1362
|
}),
|
|
1140
1363
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1141
1364
|
}
|
|
1142
1365
|
}
|
|
1143
|
-
function
|
|
1366
|
+
function __c20(j: number): any {
|
|
1144
1367
|
switch (j) {
|
|
1145
1368
|
case 0:
|
|
1146
1369
|
return S.suspend(() =>
|
|
@@ -1148,7 +1371,7 @@ function __c17(j: number): any {
|
|
|
1148
1371
|
projectId: S.String.pipe(T.Label()),
|
|
1149
1372
|
regionId: S.String.pipe(T.Label()),
|
|
1150
1373
|
instanceName: S.String,
|
|
1151
|
-
parameters: S.optional(__S(
|
|
1374
|
+
parameters: S.optional(__S(168, __c21, 0)),
|
|
1152
1375
|
planId: S.String,
|
|
1153
1376
|
}).pipe(
|
|
1154
1377
|
T.Http({
|
|
@@ -1161,7 +1384,7 @@ function __c17(j: number): any {
|
|
|
1161
1384
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1162
1385
|
}
|
|
1163
1386
|
}
|
|
1164
|
-
function
|
|
1387
|
+
function __c21(j: number): any {
|
|
1165
1388
|
switch (j) {
|
|
1166
1389
|
case 0:
|
|
1167
1390
|
return S.suspend(() =>
|
|
@@ -1173,12 +1396,12 @@ function __c18(j: number): any {
|
|
|
1173
1396
|
metrics_prefix: S.optional(S.String),
|
|
1174
1397
|
monitoring_instance_id: S.optional(S.String),
|
|
1175
1398
|
sgw_acl: S.optional(S.String),
|
|
1176
|
-
syslog: S.optional(__S(
|
|
1399
|
+
syslog: S.optional(__S(144, __c18, 0)),
|
|
1177
1400
|
}),
|
|
1178
1401
|
).annotate({ identifier: "InstanceParameters" });
|
|
1179
1402
|
}
|
|
1180
1403
|
}
|
|
1181
|
-
function
|
|
1404
|
+
function __c22(j: number): any {
|
|
1182
1405
|
switch (j) {
|
|
1183
1406
|
case 0:
|
|
1184
1407
|
return S.suspend(() =>
|
|
@@ -1188,7 +1411,7 @@ function __c19(j: number): any {
|
|
|
1188
1411
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1189
1412
|
}
|
|
1190
1413
|
}
|
|
1191
|
-
function
|
|
1414
|
+
function __c23(j: number): any {
|
|
1192
1415
|
switch (j) {
|
|
1193
1416
|
case 0:
|
|
1194
1417
|
return S.suspend(() =>
|
|
@@ -1208,13 +1431,13 @@ function __c20(j: number): any {
|
|
|
1208
1431
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1209
1432
|
}
|
|
1210
1433
|
}
|
|
1211
|
-
function
|
|
1434
|
+
function __c24(j: number): any {
|
|
1212
1435
|
switch (j) {
|
|
1213
1436
|
case 0:
|
|
1214
1437
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1215
1438
|
}
|
|
1216
1439
|
}
|
|
1217
|
-
function
|
|
1440
|
+
function __c25(j: number): any {
|
|
1218
1441
|
switch (j) {
|
|
1219
1442
|
case 0:
|
|
1220
1443
|
return S.suspend(() =>
|
|
@@ -1233,7 +1456,7 @@ function __c22(j: number): any {
|
|
|
1233
1456
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1234
1457
|
}
|
|
1235
1458
|
}
|
|
1236
|
-
function
|
|
1459
|
+
function __c26(j: number): any {
|
|
1237
1460
|
switch (j) {
|
|
1238
1461
|
case 0:
|
|
1239
1462
|
return S.suspend(() =>
|
|
@@ -1253,7 +1476,7 @@ function __c23(j: number): any {
|
|
|
1253
1476
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1254
1477
|
}
|
|
1255
1478
|
}
|
|
1256
|
-
function
|
|
1479
|
+
function __c27(j: number): any {
|
|
1257
1480
|
switch (j) {
|
|
1258
1481
|
case 0:
|
|
1259
1482
|
return S.suspend(() =>
|