@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/errors.d.ts +5 -8
- package/lib/errors.d.ts.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +24 -24
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +29 -29
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +22 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +27 -27
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -39
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +23 -23
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +24 -24
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +37 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +179 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +25 -25
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +37 -37
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +25 -25
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +34 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -33
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +35 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +38 -38
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +34 -34
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +155 -155
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +35 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +27 -27
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -46
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +33 -33
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +36 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +32 -32
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +31 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +36 -36
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +39 -39
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +25 -25
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +26 -26
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -45
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +23 -23
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +42 -42
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +22 -22
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -33
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -28
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +35 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +40 -40
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/package.json +5 -5
- package/src/errors.ts +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +11 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
|
@@ -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;
|
|
80
|
+
hosts?: CredentialsHostsList | undefined;
|
|
81
81
|
password: string | Redacted.Redacted<string>;
|
|
82
|
-
port?: number;
|
|
83
|
-
scheme?: string;
|
|
84
|
-
uri?: string;
|
|
82
|
+
port?: number | undefined;
|
|
83
|
+
scheme?: string | undefined;
|
|
84
|
+
uri?: string | undefined;
|
|
85
85
|
username: string;
|
|
86
86
|
}
|
|
87
87
|
export interface RawCredentials {
|
|
@@ -89,7 +89,7 @@ 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 InstanceParametersJavaGarbageCollector =
|
|
@@ -112,30 +112,30 @@ export type InstanceParametersTlsProtocolsList = Array<
|
|
|
112
112
|
InstanceParametersTlsProtocolsItem | (string & {})
|
|
113
113
|
>;
|
|
114
114
|
export interface InstanceParameters {
|
|
115
|
-
enable_monitoring?: boolean;
|
|
115
|
+
enable_monitoring?: boolean | undefined;
|
|
116
116
|
/** 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. */
|
|
117
|
-
graphite?: string;
|
|
118
|
-
java_garbage_collector?: InstanceParametersJavaGarbageCollector | (string & {});
|
|
117
|
+
graphite?: string | undefined;
|
|
118
|
+
java_garbage_collector?: InstanceParametersJavaGarbageCollector | (string & {}) | undefined;
|
|
119
119
|
/** Default: not set, 46% of available memory will be used. The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. */
|
|
120
|
-
java_heapspace?: number;
|
|
120
|
+
java_heapspace?: number | undefined;
|
|
121
121
|
/** The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. */
|
|
122
|
-
java_maxmetaspace?: number;
|
|
122
|
+
java_maxmetaspace?: number | undefined;
|
|
123
123
|
/** 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. */
|
|
124
|
-
max_disk_threshold?: number;
|
|
124
|
+
max_disk_threshold?: number | undefined;
|
|
125
125
|
/** Frequency of metrics being emitted in seconds */
|
|
126
|
-
metrics_frequency?: number;
|
|
126
|
+
metrics_frequency?: number | undefined;
|
|
127
127
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
128
|
-
metrics_prefix?: string;
|
|
129
|
-
monitoring_instance_id?: string;
|
|
128
|
+
metrics_prefix?: string | undefined;
|
|
129
|
+
monitoring_instance_id?: string | undefined;
|
|
130
130
|
/** The plugins repository-s3 and repository-azure are enabled by default and cannot be disabled. */
|
|
131
|
-
plugins?: InstanceParametersPluginsList;
|
|
131
|
+
plugins?: InstanceParametersPluginsList | undefined;
|
|
132
132
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
133
|
-
sgw_acl?: string;
|
|
134
|
-
syslog?: InstanceParametersSyslogList;
|
|
133
|
+
sgw_acl?: string | undefined;
|
|
134
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
135
135
|
/** This property is deprecated and will be removed in a future release. */
|
|
136
|
-
tls_ciphers?: InstanceParametersTlsCiphersList;
|
|
136
|
+
tls_ciphers?: InstanceParametersTlsCiphersList | undefined;
|
|
137
137
|
/** This property is deprecated and will be removed in a future release. */
|
|
138
|
-
tls_protocols?: InstanceParametersTlsProtocolsList;
|
|
138
|
+
tls_protocols?: InstanceParametersTlsProtocolsList | undefined;
|
|
139
139
|
}
|
|
140
140
|
export interface CreateInstanceRequest {
|
|
141
141
|
/** Project id on which user has permissions */
|
|
@@ -143,7 +143,7 @@ export interface CreateInstanceRequest {
|
|
|
143
143
|
/** region in which the project resides */
|
|
144
144
|
regionId: string;
|
|
145
145
|
instanceName: string;
|
|
146
|
-
parameters?: InstanceParameters;
|
|
146
|
+
parameters?: InstanceParameters | undefined;
|
|
147
147
|
planId: string;
|
|
148
148
|
}
|
|
149
149
|
export interface CreateInstanceResponse {
|
|
@@ -198,6 +198,15 @@ export interface GetInstanceRequest {
|
|
|
198
198
|
/** Instance id */
|
|
199
199
|
instanceId: string;
|
|
200
200
|
}
|
|
201
|
+
/** Current state of a service instance */
|
|
202
|
+
export type InstanceInstanceStatus =
|
|
203
|
+
| "provisioned"
|
|
204
|
+
| "available"
|
|
205
|
+
| "deleted"
|
|
206
|
+
| "deploying"
|
|
207
|
+
| "failed"
|
|
208
|
+
| "stopped"
|
|
209
|
+
| "unknown";
|
|
201
210
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
202
211
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
203
212
|
export interface InstanceLastOperation {
|
|
@@ -205,6 +214,7 @@ export interface InstanceLastOperation {
|
|
|
205
214
|
state: InstanceLastOperationState;
|
|
206
215
|
type: InstanceLastOperationType;
|
|
207
216
|
}
|
|
217
|
+
/** State of the last operation and this instance */
|
|
208
218
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
209
219
|
export interface Instance {
|
|
210
220
|
cfGuid: string;
|
|
@@ -212,7 +222,9 @@ export interface Instance {
|
|
|
212
222
|
cfSpaceGuid: string;
|
|
213
223
|
dashboardUrl: string;
|
|
214
224
|
imageUrl: string;
|
|
215
|
-
instanceId?: string;
|
|
225
|
+
instanceId?: string | undefined;
|
|
226
|
+
/** Current state of a service instance */
|
|
227
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
216
228
|
lastOperation: InstanceLastOperation;
|
|
217
229
|
name: string;
|
|
218
230
|
offeringName: string;
|
|
@@ -220,7 +232,8 @@ export interface Instance {
|
|
|
220
232
|
parameters: unknown;
|
|
221
233
|
planId: string;
|
|
222
234
|
planName: string;
|
|
223
|
-
|
|
235
|
+
/** State of the last operation and this instance */
|
|
236
|
+
status?: InstanceStatus | undefined;
|
|
224
237
|
}
|
|
225
238
|
export interface GetMetricsRequest {
|
|
226
239
|
/** Project id on which user has permissions */
|
|
@@ -231,10 +244,10 @@ export interface GetMetricsRequest {
|
|
|
231
244
|
instanceId: string;
|
|
232
245
|
}
|
|
233
246
|
export interface GetMetricsResponse {
|
|
234
|
-
cpuIdleTime?: number;
|
|
247
|
+
cpuIdleTime?: number | undefined;
|
|
235
248
|
cpuLoadPercent: number;
|
|
236
|
-
cpuSystemTime?: number;
|
|
237
|
-
cpuUserTime?: number;
|
|
249
|
+
cpuSystemTime?: number | undefined;
|
|
250
|
+
cpuUserTime?: number | undefined;
|
|
238
251
|
diskEphemeralTotal: number;
|
|
239
252
|
diskEphemeralUsed: number;
|
|
240
253
|
diskPersistentTotal: number;
|
|
@@ -255,6 +268,20 @@ export interface GetMetricsResponse {
|
|
|
255
268
|
parachuteDiskPersistentUsedPercent: number;
|
|
256
269
|
parachuteDiskPersistentUsedThreshold: number;
|
|
257
270
|
}
|
|
271
|
+
export interface GetUpdatesRequest {
|
|
272
|
+
/** Project id on which user has permissions */
|
|
273
|
+
projectId: string;
|
|
274
|
+
/** region in which the project resides */
|
|
275
|
+
regionId: string;
|
|
276
|
+
/** Instance id */
|
|
277
|
+
instanceId: string;
|
|
278
|
+
}
|
|
279
|
+
export interface GetUpdatesResponse {
|
|
280
|
+
/** Whether automatic updates are allowed. */
|
|
281
|
+
automaticUpdatesEnabled: boolean;
|
|
282
|
+
/** Number of available update components. */
|
|
283
|
+
availableUpdates: number;
|
|
284
|
+
}
|
|
258
285
|
export interface ListBackupsRequest {
|
|
259
286
|
/** Project id on which user has permissions */
|
|
260
287
|
projectId: string;
|
|
@@ -264,12 +291,12 @@ export interface ListBackupsRequest {
|
|
|
264
291
|
instanceId: string;
|
|
265
292
|
}
|
|
266
293
|
export interface Backup {
|
|
267
|
-
downloadable?: boolean;
|
|
294
|
+
downloadable?: boolean | undefined;
|
|
268
295
|
finished_at: string;
|
|
269
296
|
id: number;
|
|
270
|
-
size?: number;
|
|
297
|
+
size?: number | undefined;
|
|
271
298
|
status: string;
|
|
272
|
-
triggered_at?: string;
|
|
299
|
+
triggered_at?: string | undefined;
|
|
273
300
|
}
|
|
274
301
|
export type ListBackupsResponse = Array<Backup>;
|
|
275
302
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -324,11 +351,11 @@ export interface Offering {
|
|
|
324
351
|
documentationUrl: string;
|
|
325
352
|
imageUrl: string;
|
|
326
353
|
latest: boolean;
|
|
327
|
-
lifecycle?: string;
|
|
354
|
+
lifecycle?: string | undefined;
|
|
328
355
|
name: string;
|
|
329
356
|
plans: OfferingPlansList;
|
|
330
357
|
quotaCount: number;
|
|
331
|
-
schema?: InstanceSchema;
|
|
358
|
+
schema?: InstanceSchema | undefined;
|
|
332
359
|
version: string;
|
|
333
360
|
}
|
|
334
361
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -348,7 +375,7 @@ export interface Restore {
|
|
|
348
375
|
finished_at: string;
|
|
349
376
|
id: number;
|
|
350
377
|
status: string;
|
|
351
|
-
triggered_at?: string;
|
|
378
|
+
triggered_at?: string | undefined;
|
|
352
379
|
}
|
|
353
380
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
354
381
|
export interface ListRestoresResponse {
|
|
@@ -361,9 +388,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
361
388
|
regionId: string;
|
|
362
389
|
/** Instance id */
|
|
363
390
|
instanceId: string;
|
|
364
|
-
instanceName?: string;
|
|
365
|
-
parameters?: InstanceParameters;
|
|
366
|
-
planId?: string;
|
|
391
|
+
instanceName?: string | undefined;
|
|
392
|
+
parameters?: InstanceParameters | undefined;
|
|
393
|
+
planId?: string | undefined;
|
|
367
394
|
}
|
|
368
395
|
export interface PartialUpdateInstanceResponse {}
|
|
369
396
|
export interface TriggerRecreateRequest {
|
|
@@ -395,6 +422,14 @@ export interface TriggerRestoreRequest {
|
|
|
395
422
|
export interface TriggerRestoreResponse {
|
|
396
423
|
id: number;
|
|
397
424
|
}
|
|
425
|
+
export interface TriggerUpdateRequest {
|
|
426
|
+
/** Project id on which user has permissions */
|
|
427
|
+
projectId: string;
|
|
428
|
+
/** region in which the project resides */
|
|
429
|
+
regionId: string;
|
|
430
|
+
/** Instance id */
|
|
431
|
+
instanceId: string;
|
|
432
|
+
}
|
|
398
433
|
export interface UpdateBackupsConfigRequest {
|
|
399
434
|
/** Project id on which user has permissions */
|
|
400
435
|
projectId: string;
|
|
@@ -402,11 +437,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
402
437
|
regionId: string;
|
|
403
438
|
/** Instance id */
|
|
404
439
|
instanceId: string;
|
|
405
|
-
encryption_key?: string;
|
|
440
|
+
encryption_key?: string | undefined;
|
|
406
441
|
}
|
|
407
442
|
export interface UpdateBackupsConfigResponse {
|
|
408
443
|
message: string;
|
|
409
444
|
}
|
|
445
|
+
export interface UpdateUpdatesSettingsRequest {
|
|
446
|
+
/** Project id on which user has permissions */
|
|
447
|
+
projectId: string;
|
|
448
|
+
/** region in which the project resides */
|
|
449
|
+
regionId: string;
|
|
450
|
+
/** Instance id */
|
|
451
|
+
instanceId: string;
|
|
452
|
+
/** Set to true to enable automatic updates or false to disable them. */
|
|
453
|
+
automaticUpdatesEnabled: boolean;
|
|
454
|
+
}
|
|
455
|
+
export interface UpdateUpdatesSettingsResponse {
|
|
456
|
+
/** Whether automatic updates are allowed. */
|
|
457
|
+
automaticUpdatesEnabled: boolean;
|
|
458
|
+
}
|
|
410
459
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
411
460
|
/** create a backup */
|
|
412
461
|
export const createBackup: API.OperationMethod<
|
|
@@ -415,8 +464,8 @@ export const createBackup: API.OperationMethod<
|
|
|
415
464
|
CreateBackupError,
|
|
416
465
|
StackitOpContext
|
|
417
466
|
> = /*@__PURE__*/ API.make(() => ({
|
|
418
|
-
input: __S(
|
|
419
|
-
output: __S(
|
|
467
|
+
input: __S(128, __c16, 0) as any as S.Schema<CreateBackupRequest>,
|
|
468
|
+
output: __S(129, __c16, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
420
469
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
421
470
|
protocol: StackitProtocol,
|
|
422
471
|
retry: Retry.Retry,
|
|
@@ -432,8 +481,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
432
481
|
CreateCredentialsError,
|
|
433
482
|
StackitOpContext
|
|
434
483
|
> = /*@__PURE__*/ API.make(() => ({
|
|
435
|
-
input: __S(
|
|
436
|
-
output: __S(
|
|
484
|
+
input: __S(136, __c17, 0) as any as S.Schema<CreateCredentialsRequest>,
|
|
485
|
+
output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
|
|
437
486
|
errors: [BadRequest, UnknownStackitError],
|
|
438
487
|
protocol: StackitProtocol,
|
|
439
488
|
retry: Retry.Retry,
|
|
@@ -449,8 +498,8 @@ export const createInstance: API.OperationMethod<
|
|
|
449
498
|
CreateInstanceError,
|
|
450
499
|
StackitOpContext
|
|
451
500
|
> = /*@__PURE__*/ API.make(() => ({
|
|
452
|
-
input: __S(
|
|
453
|
-
output: __S(
|
|
501
|
+
input: __S(160, __c20, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
502
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
454
503
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
455
504
|
protocol: StackitProtocol,
|
|
456
505
|
retry: Retry.Retry,
|
|
@@ -466,8 +515,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
466
515
|
DeleteCredentialsError,
|
|
467
516
|
StackitOpContext
|
|
468
517
|
> = /*@__PURE__*/ API.make(() => ({
|
|
469
|
-
input: __S(
|
|
470
|
-
output: __S(
|
|
518
|
+
input: __S(184, __c23, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
519
|
+
output: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
471
520
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
472
521
|
protocol: StackitProtocol,
|
|
473
522
|
retry: Retry.Retry,
|
|
@@ -483,8 +532,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
483
532
|
DeleteInstanceError,
|
|
484
533
|
StackitOpContext
|
|
485
534
|
> = /*@__PURE__*/ API.make(() => ({
|
|
486
|
-
input: __S(
|
|
487
|
-
output: __S(
|
|
535
|
+
input: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
536
|
+
output: __S(192, __c24, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
488
537
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
489
538
|
protocol: StackitProtocol,
|
|
490
539
|
retry: Retry.Retry,
|
|
@@ -500,8 +549,8 @@ export const downloadBackup: API.OperationMethod<
|
|
|
500
549
|
DownloadBackupError,
|
|
501
550
|
StackitOpContext
|
|
502
551
|
> = /*@__PURE__*/ API.make(() => ({
|
|
503
|
-
input: __S(
|
|
504
|
-
output: __S(
|
|
552
|
+
input: __S(208, __c26, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
553
|
+
output: __S(192, __c24, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
505
554
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
506
555
|
protocol: StackitProtocol,
|
|
507
556
|
retry: Retry.Retry,
|
|
@@ -517,8 +566,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
517
566
|
GetCredentialsError,
|
|
518
567
|
StackitOpContext
|
|
519
568
|
> = /*@__PURE__*/ API.make(() => ({
|
|
520
|
-
input: __S(
|
|
521
|
-
output: __S(
|
|
569
|
+
input: __S(216, __c27, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
570
|
+
output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
|
|
522
571
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
523
572
|
protocol: StackitProtocol,
|
|
524
573
|
retry: Retry.Retry,
|
|
@@ -560,6 +609,23 @@ export const getMetrics: API.OperationMethod<
|
|
|
560
609
|
span: "GetMetrics",
|
|
561
610
|
}));
|
|
562
611
|
|
|
612
|
+
export type GetUpdatesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
613
|
+
/** get update settings Returns whether automatic updates are enabled and the number of available updates. */
|
|
614
|
+
export const getUpdates: API.OperationMethod<
|
|
615
|
+
GetUpdatesRequest,
|
|
616
|
+
GetUpdatesResponse,
|
|
617
|
+
GetUpdatesError,
|
|
618
|
+
StackitOpContext
|
|
619
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
620
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
621
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
622
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
623
|
+
protocol: StackitProtocol,
|
|
624
|
+
retry: Retry.Retry,
|
|
625
|
+
telemetry: TELEMETRY,
|
|
626
|
+
span: "GetUpdates",
|
|
627
|
+
}));
|
|
628
|
+
|
|
563
629
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
564
630
|
/** get latest backup information for provided instanceId */
|
|
565
631
|
export const listBackups: API.OperationMethod<
|
|
@@ -568,8 +634,8 @@ export const listBackups: API.OperationMethod<
|
|
|
568
634
|
ListBackupsError,
|
|
569
635
|
StackitOpContext
|
|
570
636
|
> = /*@__PURE__*/ API.make(() => ({
|
|
571
|
-
input: __S(
|
|
572
|
-
output: __S(
|
|
637
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListBackupsRequest>,
|
|
638
|
+
output: __S(35, __c4, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
573
639
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
574
640
|
protocol: StackitProtocol,
|
|
575
641
|
retry: Retry.Retry,
|
|
@@ -585,8 +651,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
585
651
|
ListCredentialsError,
|
|
586
652
|
StackitOpContext
|
|
587
653
|
> = /*@__PURE__*/ API.make(() => ({
|
|
588
|
-
input: __S(
|
|
589
|
-
output: __S(
|
|
654
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
655
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
590
656
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
591
657
|
protocol: StackitProtocol,
|
|
592
658
|
retry: Retry.Retry,
|
|
@@ -602,8 +668,8 @@ export const listInstances: API.OperationMethod<
|
|
|
602
668
|
ListInstancesError,
|
|
603
669
|
StackitOpContext
|
|
604
670
|
> = /*@__PURE__*/ API.make(() => ({
|
|
605
|
-
input: __S(
|
|
606
|
-
output: __S(
|
|
671
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListInstancesRequest>,
|
|
672
|
+
output: __S(50, __c6, 2) as any as S.Schema<ListInstancesResponse>,
|
|
607
673
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
608
674
|
protocol: StackitProtocol,
|
|
609
675
|
retry: Retry.Retry,
|
|
@@ -619,8 +685,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
619
685
|
ListOfferingsError,
|
|
620
686
|
StackitOpContext
|
|
621
687
|
> = /*@__PURE__*/ API.make(() => ({
|
|
622
|
-
input: __S(
|
|
623
|
-
output: __S(
|
|
688
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
689
|
+
output: __S(63, __c7, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
624
690
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
625
691
|
protocol: StackitProtocol,
|
|
626
692
|
retry: Retry.Retry,
|
|
@@ -636,8 +702,8 @@ export const listRestores: API.OperationMethod<
|
|
|
636
702
|
ListRestoresError,
|
|
637
703
|
StackitOpContext
|
|
638
704
|
> = /*@__PURE__*/ API.make(() => ({
|
|
639
|
-
input: __S(
|
|
640
|
-
output: __S(
|
|
705
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListRestoresRequest>,
|
|
706
|
+
output: __S(67, __c8, 3) as any as S.Schema<ListRestoresResponse>,
|
|
641
707
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
642
708
|
protocol: StackitProtocol,
|
|
643
709
|
retry: Retry.Retry,
|
|
@@ -653,8 +719,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
653
719
|
PartialUpdateInstanceError,
|
|
654
720
|
StackitOpContext
|
|
655
721
|
> = /*@__PURE__*/ API.make(() => ({
|
|
656
|
-
input: __S(
|
|
657
|
-
output: __S(
|
|
722
|
+
input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
723
|
+
output: __S(192, __c24, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
658
724
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
659
725
|
protocol: StackitProtocol,
|
|
660
726
|
retry: Retry.Retry,
|
|
@@ -670,8 +736,8 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
670
736
|
TriggerRecreateError,
|
|
671
737
|
StackitOpContext
|
|
672
738
|
> = /*@__PURE__*/ API.make(() => ({
|
|
673
|
-
input: __S(
|
|
674
|
-
output: __S(
|
|
739
|
+
input: __S(80, __c10, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
740
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
675
741
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
676
742
|
protocol: StackitProtocol,
|
|
677
743
|
retry: Retry.Retry,
|
|
@@ -687,8 +753,8 @@ export const triggerRestart: API.OperationMethod<
|
|
|
687
753
|
TriggerRestartError,
|
|
688
754
|
StackitOpContext
|
|
689
755
|
> = /*@__PURE__*/ API.make(() => ({
|
|
690
|
-
input: __S(
|
|
691
|
-
output: __S(
|
|
756
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
757
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
692
758
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
693
759
|
protocol: StackitProtocol,
|
|
694
760
|
retry: Retry.Retry,
|
|
@@ -704,8 +770,8 @@ export const triggerRestore: API.OperationMethod<
|
|
|
704
770
|
TriggerRestoreError,
|
|
705
771
|
StackitOpContext
|
|
706
772
|
> = /*@__PURE__*/ API.make(() => ({
|
|
707
|
-
input: __S(
|
|
708
|
-
output: __S(
|
|
773
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
774
|
+
output: __S(97, __c12, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
709
775
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
710
776
|
protocol: StackitProtocol,
|
|
711
777
|
retry: Retry.Retry,
|
|
@@ -713,6 +779,23 @@ export const triggerRestore: API.OperationMethod<
|
|
|
713
779
|
span: "TriggerRestore",
|
|
714
780
|
}));
|
|
715
781
|
|
|
782
|
+
export type TriggerUpdateError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
783
|
+
/** start updates Starts all available updates asynchronously using the instance's service offering. No request body is required. */
|
|
784
|
+
export const triggerUpdate: API.OperationMethod<
|
|
785
|
+
TriggerUpdateRequest,
|
|
786
|
+
CreateInstanceResponse,
|
|
787
|
+
TriggerUpdateError,
|
|
788
|
+
StackitOpContext
|
|
789
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
790
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
791
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
792
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
793
|
+
protocol: StackitProtocol,
|
|
794
|
+
retry: Retry.Retry,
|
|
795
|
+
telemetry: TELEMETRY,
|
|
796
|
+
span: "TriggerUpdate",
|
|
797
|
+
}));
|
|
798
|
+
|
|
716
799
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
717
800
|
/** backups configuration update Update the configuration for backups for your instance. */
|
|
718
801
|
export const updateBackupsConfig: API.OperationMethod<
|
|
@@ -721,8 +804,8 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
721
804
|
UpdateBackupsConfigError,
|
|
722
805
|
StackitOpContext
|
|
723
806
|
> = /*@__PURE__*/ API.make(() => ({
|
|
724
|
-
input: __S(
|
|
725
|
-
output: __S(
|
|
807
|
+
input: __S(112, __c14, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
808
|
+
output: __S(113, __c14, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
726
809
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
727
810
|
protocol: StackitProtocol,
|
|
728
811
|
retry: Retry.Retry,
|
|
@@ -730,6 +813,23 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
730
813
|
span: "UpdateBackupsConfig",
|
|
731
814
|
}));
|
|
732
815
|
|
|
816
|
+
export type UpdateUpdatesSettingsError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
817
|
+
/** update update settings Enables or disables automatic updates. The platform operator must allow changing this setting. */
|
|
818
|
+
export const updateUpdatesSettings: API.OperationMethod<
|
|
819
|
+
UpdateUpdatesSettingsRequest,
|
|
820
|
+
UpdateUpdatesSettingsResponse,
|
|
821
|
+
UpdateUpdatesSettingsError,
|
|
822
|
+
StackitOpContext
|
|
823
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
824
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
825
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
826
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
827
|
+
protocol: StackitProtocol,
|
|
828
|
+
retry: Retry.Retry,
|
|
829
|
+
telemetry: TELEMETRY,
|
|
830
|
+
span: "UpdateUpdatesSettings",
|
|
831
|
+
}));
|
|
832
|
+
|
|
733
833
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
734
834
|
function __c0(j: number): any {
|
|
735
835
|
switch (j) {
|
|
@@ -769,6 +869,7 @@ function __c1(j: number): any {
|
|
|
769
869
|
dashboardUrl: S.String,
|
|
770
870
|
imageUrl: S.String,
|
|
771
871
|
instanceId: S.optional(S.String),
|
|
872
|
+
instanceStatus: S.optional(S.String),
|
|
772
873
|
lastOperation: __S(8, __c1, 0),
|
|
773
874
|
name: S.String,
|
|
774
875
|
offeringName: S.String,
|
|
@@ -829,6 +930,32 @@ function __c2(j: number): any {
|
|
|
829
930
|
}
|
|
830
931
|
}
|
|
831
932
|
function __c3(j: number): any {
|
|
933
|
+
switch (j) {
|
|
934
|
+
case 0:
|
|
935
|
+
return S.suspend(() =>
|
|
936
|
+
S.Struct({
|
|
937
|
+
projectId: S.String.pipe(T.Label()),
|
|
938
|
+
regionId: S.String.pipe(T.Label()),
|
|
939
|
+
instanceId: S.String.pipe(T.Label()),
|
|
940
|
+
}).pipe(
|
|
941
|
+
T.Http({
|
|
942
|
+
method: "GET",
|
|
943
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
944
|
+
code: 200,
|
|
945
|
+
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
946
|
+
}),
|
|
947
|
+
),
|
|
948
|
+
).annotate({ identifier: "GetUpdatesRequest" });
|
|
949
|
+
case 1:
|
|
950
|
+
return S.suspend(() =>
|
|
951
|
+
S.Struct({
|
|
952
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
953
|
+
availableUpdates: S.Number,
|
|
954
|
+
}),
|
|
955
|
+
).annotate({ identifier: "GetUpdatesResponse" });
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
function __c4(j: number): any {
|
|
832
959
|
switch (j) {
|
|
833
960
|
case 0:
|
|
834
961
|
return S.suspend(() =>
|
|
@@ -857,14 +984,14 @@ function __c3(j: number): any {
|
|
|
857
984
|
}),
|
|
858
985
|
).annotate({ identifier: "Backup" });
|
|
859
986
|
case 2:
|
|
860
|
-
return S.Array(__S(
|
|
987
|
+
return S.Array(__S(33, __c4, 1));
|
|
861
988
|
case 3:
|
|
862
|
-
return S.suspend(() => __S(
|
|
989
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
863
990
|
identifier: "ListBackupsResponse2",
|
|
864
991
|
});
|
|
865
992
|
}
|
|
866
993
|
}
|
|
867
|
-
function
|
|
994
|
+
function __c5(j: number): any {
|
|
868
995
|
switch (j) {
|
|
869
996
|
case 0:
|
|
870
997
|
return S.suspend(() =>
|
|
@@ -888,16 +1015,16 @@ function __c4(j: number): any {
|
|
|
888
1015
|
}),
|
|
889
1016
|
).annotate({ identifier: "CredentialsListItem" });
|
|
890
1017
|
case 2:
|
|
891
|
-
return S.Array(__S(
|
|
1018
|
+
return S.Array(__S(41, __c5, 1));
|
|
892
1019
|
case 3:
|
|
893
1020
|
return S.suspend(() =>
|
|
894
1021
|
S.Struct({
|
|
895
|
-
credentialsList: __S(
|
|
1022
|
+
credentialsList: __S(42, __c5, 2),
|
|
896
1023
|
}),
|
|
897
1024
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
898
1025
|
}
|
|
899
1026
|
}
|
|
900
|
-
function
|
|
1027
|
+
function __c6(j: number): any {
|
|
901
1028
|
switch (j) {
|
|
902
1029
|
case 0:
|
|
903
1030
|
return S.suspend(() =>
|
|
@@ -918,12 +1045,12 @@ function __c5(j: number): any {
|
|
|
918
1045
|
case 2:
|
|
919
1046
|
return S.suspend(() =>
|
|
920
1047
|
S.Struct({
|
|
921
|
-
instances: __S(
|
|
1048
|
+
instances: __S(49, __c6, 1),
|
|
922
1049
|
}),
|
|
923
1050
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
924
1051
|
}
|
|
925
1052
|
}
|
|
926
|
-
function
|
|
1053
|
+
function __c7(j: number): any {
|
|
927
1054
|
switch (j) {
|
|
928
1055
|
case 0:
|
|
929
1056
|
return S.suspend(() =>
|
|
@@ -950,7 +1077,7 @@ function __c6(j: number): any {
|
|
|
950
1077
|
}),
|
|
951
1078
|
).annotate({ identifier: "Plan" });
|
|
952
1079
|
case 2:
|
|
953
|
-
return S.Array(__S(
|
|
1080
|
+
return S.Array(__S(57, __c7, 1));
|
|
954
1081
|
case 3:
|
|
955
1082
|
return S.suspend(() =>
|
|
956
1083
|
S.Struct({
|
|
@@ -960,8 +1087,8 @@ function __c6(j: number): any {
|
|
|
960
1087
|
case 4:
|
|
961
1088
|
return S.suspend(() =>
|
|
962
1089
|
S.Struct({
|
|
963
|
-
create: __S(
|
|
964
|
-
update: __S(
|
|
1090
|
+
create: __S(59, __c7, 3),
|
|
1091
|
+
update: __S(59, __c7, 3),
|
|
965
1092
|
}),
|
|
966
1093
|
).annotate({ identifier: "InstanceSchema" });
|
|
967
1094
|
case 5:
|
|
@@ -973,23 +1100,23 @@ function __c6(j: number): any {
|
|
|
973
1100
|
latest: S.Boolean,
|
|
974
1101
|
lifecycle: S.optional(S.String),
|
|
975
1102
|
name: S.String,
|
|
976
|
-
plans: __S(
|
|
1103
|
+
plans: __S(58, __c7, 2),
|
|
977
1104
|
quotaCount: S.Number,
|
|
978
|
-
schema: S.optional(__S(
|
|
1105
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
979
1106
|
version: S.String,
|
|
980
1107
|
}),
|
|
981
1108
|
).annotate({ identifier: "Offering" });
|
|
982
1109
|
case 6:
|
|
983
|
-
return S.Array(__S(
|
|
1110
|
+
return S.Array(__S(61, __c7, 5));
|
|
984
1111
|
case 7:
|
|
985
1112
|
return S.suspend(() =>
|
|
986
1113
|
S.Struct({
|
|
987
|
-
offerings: __S(
|
|
1114
|
+
offerings: __S(62, __c7, 6),
|
|
988
1115
|
}),
|
|
989
1116
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
990
1117
|
}
|
|
991
1118
|
}
|
|
992
|
-
function
|
|
1119
|
+
function __c8(j: number): any {
|
|
993
1120
|
switch (j) {
|
|
994
1121
|
case 0:
|
|
995
1122
|
return S.suspend(() =>
|
|
@@ -1017,16 +1144,16 @@ function __c7(j: number): any {
|
|
|
1017
1144
|
}),
|
|
1018
1145
|
).annotate({ identifier: "Restore" });
|
|
1019
1146
|
case 2:
|
|
1020
|
-
return S.Array(__S(
|
|
1147
|
+
return S.Array(__S(65, __c8, 1));
|
|
1021
1148
|
case 3:
|
|
1022
1149
|
return S.suspend(() =>
|
|
1023
1150
|
S.Struct({
|
|
1024
|
-
instanceRestores: __S(
|
|
1151
|
+
instanceRestores: __S(66, __c8, 2),
|
|
1025
1152
|
}),
|
|
1026
1153
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
1027
1154
|
}
|
|
1028
1155
|
}
|
|
1029
|
-
function
|
|
1156
|
+
function __c9(j: number): any {
|
|
1030
1157
|
switch (j) {
|
|
1031
1158
|
case 0:
|
|
1032
1159
|
return S.suspend(() =>
|
|
@@ -1035,7 +1162,7 @@ function __c8(j: number): any {
|
|
|
1035
1162
|
regionId: S.String.pipe(T.Label()),
|
|
1036
1163
|
instanceId: S.String.pipe(T.Label()),
|
|
1037
1164
|
instanceName: S.optional(S.String),
|
|
1038
|
-
parameters: S.optional(__S(
|
|
1165
|
+
parameters: S.optional(__S(169, __c21, 1)),
|
|
1039
1166
|
planId: S.optional(S.String),
|
|
1040
1167
|
}).pipe(
|
|
1041
1168
|
T.Http({
|
|
@@ -1048,7 +1175,7 @@ function __c8(j: number): any {
|
|
|
1048
1175
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1049
1176
|
}
|
|
1050
1177
|
}
|
|
1051
|
-
function
|
|
1178
|
+
function __c10(j: number): any {
|
|
1052
1179
|
switch (j) {
|
|
1053
1180
|
case 0:
|
|
1054
1181
|
return S.suspend(() =>
|
|
@@ -1067,7 +1194,7 @@ function __c9(j: number): any {
|
|
|
1067
1194
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1068
1195
|
}
|
|
1069
1196
|
}
|
|
1070
|
-
function
|
|
1197
|
+
function __c11(j: number): any {
|
|
1071
1198
|
switch (j) {
|
|
1072
1199
|
case 0:
|
|
1073
1200
|
return S.suspend(() =>
|
|
@@ -1086,7 +1213,7 @@ function __c10(j: number): any {
|
|
|
1086
1213
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1087
1214
|
}
|
|
1088
1215
|
}
|
|
1089
|
-
function
|
|
1216
|
+
function __c12(j: number): any {
|
|
1090
1217
|
switch (j) {
|
|
1091
1218
|
case 0:
|
|
1092
1219
|
return S.suspend(() =>
|
|
@@ -1112,7 +1239,26 @@ function __c11(j: number): any {
|
|
|
1112
1239
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1113
1240
|
}
|
|
1114
1241
|
}
|
|
1115
|
-
function
|
|
1242
|
+
function __c13(j: number): any {
|
|
1243
|
+
switch (j) {
|
|
1244
|
+
case 0:
|
|
1245
|
+
return S.suspend(() =>
|
|
1246
|
+
S.Struct({
|
|
1247
|
+
projectId: S.String.pipe(T.Label()),
|
|
1248
|
+
regionId: S.String.pipe(T.Label()),
|
|
1249
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1250
|
+
}).pipe(
|
|
1251
|
+
T.Http({
|
|
1252
|
+
method: "POST",
|
|
1253
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates/start",
|
|
1254
|
+
code: 200,
|
|
1255
|
+
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
1256
|
+
}),
|
|
1257
|
+
),
|
|
1258
|
+
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
function __c14(j: number): any {
|
|
1116
1262
|
switch (j) {
|
|
1117
1263
|
case 0:
|
|
1118
1264
|
return S.suspend(() =>
|
|
@@ -1138,7 +1284,33 @@ function __c12(j: number): any {
|
|
|
1138
1284
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1139
1285
|
}
|
|
1140
1286
|
}
|
|
1141
|
-
function
|
|
1287
|
+
function __c15(j: number): any {
|
|
1288
|
+
switch (j) {
|
|
1289
|
+
case 0:
|
|
1290
|
+
return S.suspend(() =>
|
|
1291
|
+
S.Struct({
|
|
1292
|
+
projectId: S.String.pipe(T.Label()),
|
|
1293
|
+
regionId: S.String.pipe(T.Label()),
|
|
1294
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1295
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1296
|
+
}).pipe(
|
|
1297
|
+
T.Http({
|
|
1298
|
+
method: "PATCH",
|
|
1299
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
1300
|
+
code: 200,
|
|
1301
|
+
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
1302
|
+
}),
|
|
1303
|
+
),
|
|
1304
|
+
).annotate({ identifier: "UpdateUpdatesSettingsRequest" });
|
|
1305
|
+
case 1:
|
|
1306
|
+
return S.suspend(() =>
|
|
1307
|
+
S.Struct({
|
|
1308
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1309
|
+
}),
|
|
1310
|
+
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
function __c16(j: number): any {
|
|
1142
1314
|
switch (j) {
|
|
1143
1315
|
case 0:
|
|
1144
1316
|
return S.suspend(() =>
|
|
@@ -1164,7 +1336,7 @@ function __c13(j: number): any {
|
|
|
1164
1336
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1165
1337
|
}
|
|
1166
1338
|
}
|
|
1167
|
-
function
|
|
1339
|
+
function __c17(j: number): any {
|
|
1168
1340
|
switch (j) {
|
|
1169
1341
|
case 0:
|
|
1170
1342
|
return S.suspend(() =>
|
|
@@ -1184,19 +1356,19 @@ function __c14(j: number): any {
|
|
|
1184
1356
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1185
1357
|
}
|
|
1186
1358
|
}
|
|
1187
|
-
function
|
|
1359
|
+
function __c18(j: number): any {
|
|
1188
1360
|
switch (j) {
|
|
1189
1361
|
case 0:
|
|
1190
1362
|
return S.Array(S.String);
|
|
1191
1363
|
}
|
|
1192
1364
|
}
|
|
1193
|
-
function
|
|
1365
|
+
function __c19(j: number): any {
|
|
1194
1366
|
switch (j) {
|
|
1195
1367
|
case 0:
|
|
1196
1368
|
return S.suspend(() =>
|
|
1197
1369
|
S.Struct({
|
|
1198
1370
|
host: S.String,
|
|
1199
|
-
hosts: S.optional(__S(
|
|
1371
|
+
hosts: S.optional(__S(144, __c18, 0)),
|
|
1200
1372
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1201
1373
|
port: S.optional(S.Number),
|
|
1202
1374
|
scheme: S.optional(S.String),
|
|
@@ -1207,20 +1379,20 @@ function __c16(j: number): any {
|
|
|
1207
1379
|
case 1:
|
|
1208
1380
|
return S.suspend(() =>
|
|
1209
1381
|
S.Struct({
|
|
1210
|
-
credentials: __S(
|
|
1382
|
+
credentials: __S(152, __c19, 0),
|
|
1211
1383
|
}),
|
|
1212
1384
|
).annotate({ identifier: "RawCredentials" });
|
|
1213
1385
|
case 2:
|
|
1214
1386
|
return S.suspend(() =>
|
|
1215
1387
|
S.Struct({
|
|
1216
1388
|
id: S.String,
|
|
1217
|
-
raw: S.optional(__S(
|
|
1389
|
+
raw: S.optional(__S(153, __c19, 1)),
|
|
1218
1390
|
uri: S.String,
|
|
1219
1391
|
}),
|
|
1220
1392
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1221
1393
|
}
|
|
1222
1394
|
}
|
|
1223
|
-
function
|
|
1395
|
+
function __c20(j: number): any {
|
|
1224
1396
|
switch (j) {
|
|
1225
1397
|
case 0:
|
|
1226
1398
|
return S.suspend(() =>
|
|
@@ -1228,7 +1400,7 @@ function __c17(j: number): any {
|
|
|
1228
1400
|
projectId: S.String.pipe(T.Label()),
|
|
1229
1401
|
regionId: S.String.pipe(T.Label()),
|
|
1230
1402
|
instanceName: S.String,
|
|
1231
|
-
parameters: S.optional(__S(
|
|
1403
|
+
parameters: S.optional(__S(169, __c21, 1)),
|
|
1232
1404
|
planId: S.String,
|
|
1233
1405
|
}).pipe(
|
|
1234
1406
|
T.Http({
|
|
@@ -1241,7 +1413,7 @@ function __c17(j: number): any {
|
|
|
1241
1413
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1242
1414
|
}
|
|
1243
1415
|
}
|
|
1244
|
-
function
|
|
1416
|
+
function __c21(j: number): any {
|
|
1245
1417
|
switch (j) {
|
|
1246
1418
|
case 0:
|
|
1247
1419
|
return S.Array(S.String);
|
|
@@ -1257,16 +1429,16 @@ function __c18(j: number): any {
|
|
|
1257
1429
|
metrics_frequency: S.optional(S.Number),
|
|
1258
1430
|
metrics_prefix: S.optional(S.String),
|
|
1259
1431
|
monitoring_instance_id: S.optional(S.String),
|
|
1260
|
-
plugins: S.optional(__S(
|
|
1432
|
+
plugins: S.optional(__S(168, __c21, 0)),
|
|
1261
1433
|
sgw_acl: S.optional(S.String),
|
|
1262
|
-
syslog: S.optional(__S(
|
|
1263
|
-
tls_ciphers: S.optional(__S(
|
|
1264
|
-
tls_protocols: S.optional(__S(
|
|
1434
|
+
syslog: S.optional(__S(144, __c18, 0)),
|
|
1435
|
+
tls_ciphers: S.optional(__S(144, __c18, 0).pipe(T.Body("tls-ciphers"))),
|
|
1436
|
+
tls_protocols: S.optional(__S(168, __c21, 0).pipe(T.Body("tls-protocols"))),
|
|
1265
1437
|
}),
|
|
1266
1438
|
).annotate({ identifier: "InstanceParameters" });
|
|
1267
1439
|
}
|
|
1268
1440
|
}
|
|
1269
|
-
function
|
|
1441
|
+
function __c22(j: number): any {
|
|
1270
1442
|
switch (j) {
|
|
1271
1443
|
case 0:
|
|
1272
1444
|
return S.suspend(() =>
|
|
@@ -1276,7 +1448,7 @@ function __c19(j: number): any {
|
|
|
1276
1448
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1277
1449
|
}
|
|
1278
1450
|
}
|
|
1279
|
-
function
|
|
1451
|
+
function __c23(j: number): any {
|
|
1280
1452
|
switch (j) {
|
|
1281
1453
|
case 0:
|
|
1282
1454
|
return S.suspend(() =>
|
|
@@ -1296,13 +1468,13 @@ function __c20(j: number): any {
|
|
|
1296
1468
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1297
1469
|
}
|
|
1298
1470
|
}
|
|
1299
|
-
function
|
|
1471
|
+
function __c24(j: number): any {
|
|
1300
1472
|
switch (j) {
|
|
1301
1473
|
case 0:
|
|
1302
1474
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1303
1475
|
}
|
|
1304
1476
|
}
|
|
1305
|
-
function
|
|
1477
|
+
function __c25(j: number): any {
|
|
1306
1478
|
switch (j) {
|
|
1307
1479
|
case 0:
|
|
1308
1480
|
return S.suspend(() =>
|
|
@@ -1321,7 +1493,7 @@ function __c22(j: number): any {
|
|
|
1321
1493
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1322
1494
|
}
|
|
1323
1495
|
}
|
|
1324
|
-
function
|
|
1496
|
+
function __c26(j: number): any {
|
|
1325
1497
|
switch (j) {
|
|
1326
1498
|
case 0:
|
|
1327
1499
|
return S.suspend(() =>
|
|
@@ -1341,7 +1513,7 @@ function __c23(j: number): any {
|
|
|
1341
1513
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1342
1514
|
}
|
|
1343
1515
|
}
|
|
1344
|
-
function
|
|
1516
|
+
function __c27(j: number): any {
|
|
1345
1517
|
switch (j) {
|
|
1346
1518
|
case 0:
|
|
1347
1519
|
return S.suspend(() =>
|