@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
package/src/services/rabbitmq.ts
CHANGED
|
@@ -74,7 +74,7 @@ export type CredentialsParametersRolesItem =
|
|
|
74
74
|
export type CredentialsParametersRolesList = Array<CredentialsParametersRolesItem | (string & {})>;
|
|
75
75
|
export interface CredentialsParameters {
|
|
76
76
|
/** A list of roles to assign to the generated credentials. If not provided, standard default role 'policymaker' will be assigned. */
|
|
77
|
-
roles?: CredentialsParametersRolesList;
|
|
77
|
+
roles?: CredentialsParametersRolesList | undefined;
|
|
78
78
|
}
|
|
79
79
|
export interface CreateCredentialsRequest {
|
|
80
80
|
/** Project id on which user has permissions */
|
|
@@ -83,24 +83,24 @@ export interface CreateCredentialsRequest {
|
|
|
83
83
|
regionId: string;
|
|
84
84
|
/** Instance id */
|
|
85
85
|
instanceId: string;
|
|
86
|
-
parameters?: CredentialsParameters;
|
|
86
|
+
parameters?: CredentialsParameters | undefined;
|
|
87
87
|
}
|
|
88
88
|
export type CredentialsHostsList = Array<string>;
|
|
89
89
|
export type CredentialsHttpApiUrisList = Array<string>;
|
|
90
90
|
export type CredentialsUrisList = Array<string>;
|
|
91
91
|
export interface Credentials {
|
|
92
92
|
host: string;
|
|
93
|
-
hosts?: CredentialsHostsList;
|
|
93
|
+
hosts?: CredentialsHostsList | undefined;
|
|
94
94
|
/** for rabbitmq only */
|
|
95
|
-
http_api_uri?: string;
|
|
96
|
-
http_api_uris?: CredentialsHttpApiUrisList;
|
|
97
|
-
management?: string;
|
|
98
|
-
mqtt?: string;
|
|
95
|
+
http_api_uri?: string | undefined;
|
|
96
|
+
http_api_uris?: CredentialsHttpApiUrisList | undefined;
|
|
97
|
+
management?: string | undefined;
|
|
98
|
+
mqtt?: string | undefined;
|
|
99
99
|
password: string | Redacted.Redacted<string>;
|
|
100
|
-
port?: number;
|
|
101
|
-
stomp?: string;
|
|
102
|
-
uri?: string;
|
|
103
|
-
uris?: CredentialsUrisList;
|
|
100
|
+
port?: number | undefined;
|
|
101
|
+
stomp?: string | undefined;
|
|
102
|
+
uri?: string | undefined;
|
|
103
|
+
uris?: CredentialsUrisList | undefined;
|
|
104
104
|
username: string;
|
|
105
105
|
}
|
|
106
106
|
export interface RawCredentials {
|
|
@@ -108,7 +108,7 @@ export interface RawCredentials {
|
|
|
108
108
|
}
|
|
109
109
|
export interface CredentialsResponse {
|
|
110
110
|
id: string;
|
|
111
|
-
raw?: RawCredentials;
|
|
111
|
+
raw?: RawCredentials | undefined;
|
|
112
112
|
uri: string;
|
|
113
113
|
}
|
|
114
114
|
export type InstanceParametersPluginsItem =
|
|
@@ -134,27 +134,27 @@ export type InstanceParametersTlsProtocolsList = Array<
|
|
|
134
134
|
>;
|
|
135
135
|
export interface InstanceParameters {
|
|
136
136
|
/** The unit is milliseconds. */
|
|
137
|
-
consumer_timeout?: number;
|
|
138
|
-
enable_monitoring?: boolean;
|
|
137
|
+
consumer_timeout?: number | undefined;
|
|
138
|
+
enable_monitoring?: boolean | undefined;
|
|
139
139
|
/** 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. */
|
|
140
|
-
graphite?: string;
|
|
140
|
+
graphite?: string | undefined;
|
|
141
141
|
/** 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. */
|
|
142
|
-
max_disk_threshold?: number;
|
|
142
|
+
max_disk_threshold?: number | undefined;
|
|
143
143
|
/** Frequency of metrics being emitted in seconds */
|
|
144
|
-
metrics_frequency?: number;
|
|
144
|
+
metrics_frequency?: number | undefined;
|
|
145
145
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
146
|
-
metrics_prefix?: string;
|
|
147
|
-
monitoring_instance_id?: string;
|
|
148
|
-
plugins?: InstanceParametersPluginsList;
|
|
146
|
+
metrics_prefix?: string | undefined;
|
|
147
|
+
monitoring_instance_id?: string | undefined;
|
|
148
|
+
plugins?: InstanceParametersPluginsList | undefined;
|
|
149
149
|
/** This property is deprecated and will be removed in a future release. */
|
|
150
|
-
roles?: InstanceParametersRolesList;
|
|
150
|
+
roles?: InstanceParametersRolesList | undefined;
|
|
151
151
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
152
|
-
sgw_acl?: string;
|
|
153
|
-
syslog?: InstanceParametersSyslogList;
|
|
152
|
+
sgw_acl?: string | undefined;
|
|
153
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
154
154
|
/** This property is deprecated and will be removed in a future release. */
|
|
155
|
-
tls_ciphers?: InstanceParametersTlsCiphersList;
|
|
155
|
+
tls_ciphers?: InstanceParametersTlsCiphersList | undefined;
|
|
156
156
|
/** This property is deprecated and will be removed in a future release. */
|
|
157
|
-
tls_protocols?: InstanceParametersTlsProtocolsList;
|
|
157
|
+
tls_protocols?: InstanceParametersTlsProtocolsList | undefined;
|
|
158
158
|
}
|
|
159
159
|
export interface CreateInstanceRequest {
|
|
160
160
|
/** Project id on which user has permissions */
|
|
@@ -162,7 +162,7 @@ export interface CreateInstanceRequest {
|
|
|
162
162
|
/** region in which the project resides */
|
|
163
163
|
regionId: string;
|
|
164
164
|
instanceName: string;
|
|
165
|
-
parameters?: InstanceParameters;
|
|
165
|
+
parameters?: InstanceParameters | undefined;
|
|
166
166
|
planId: string;
|
|
167
167
|
}
|
|
168
168
|
export interface CreateInstanceResponse {
|
|
@@ -217,6 +217,15 @@ export interface GetInstanceRequest {
|
|
|
217
217
|
/** Instance id */
|
|
218
218
|
instanceId: string;
|
|
219
219
|
}
|
|
220
|
+
/** Current state of a service instance */
|
|
221
|
+
export type InstanceInstanceStatus =
|
|
222
|
+
| "provisioned"
|
|
223
|
+
| "available"
|
|
224
|
+
| "deleted"
|
|
225
|
+
| "deploying"
|
|
226
|
+
| "failed"
|
|
227
|
+
| "stopped"
|
|
228
|
+
| "unknown";
|
|
220
229
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
221
230
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
222
231
|
export interface InstanceLastOperation {
|
|
@@ -224,6 +233,7 @@ export interface InstanceLastOperation {
|
|
|
224
233
|
state: InstanceLastOperationState;
|
|
225
234
|
type: InstanceLastOperationType;
|
|
226
235
|
}
|
|
236
|
+
/** State of the last operation and this instance */
|
|
227
237
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
228
238
|
export interface Instance {
|
|
229
239
|
cfGuid: string;
|
|
@@ -231,7 +241,9 @@ export interface Instance {
|
|
|
231
241
|
cfSpaceGuid: string;
|
|
232
242
|
dashboardUrl: string;
|
|
233
243
|
imageUrl: string;
|
|
234
|
-
instanceId?: string;
|
|
244
|
+
instanceId?: string | undefined;
|
|
245
|
+
/** Current state of a service instance */
|
|
246
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
235
247
|
lastOperation: InstanceLastOperation;
|
|
236
248
|
name: string;
|
|
237
249
|
offeringName: string;
|
|
@@ -239,7 +251,8 @@ export interface Instance {
|
|
|
239
251
|
parameters: unknown;
|
|
240
252
|
planId: string;
|
|
241
253
|
planName: string;
|
|
242
|
-
|
|
254
|
+
/** State of the last operation and this instance */
|
|
255
|
+
status?: InstanceStatus | undefined;
|
|
243
256
|
}
|
|
244
257
|
export interface GetMetricsRequest {
|
|
245
258
|
/** Project id on which user has permissions */
|
|
@@ -250,10 +263,10 @@ export interface GetMetricsRequest {
|
|
|
250
263
|
instanceId: string;
|
|
251
264
|
}
|
|
252
265
|
export interface GetMetricsResponse {
|
|
253
|
-
cpuIdleTime?: number;
|
|
266
|
+
cpuIdleTime?: number | undefined;
|
|
254
267
|
cpuLoadPercent: number;
|
|
255
|
-
cpuSystemTime?: number;
|
|
256
|
-
cpuUserTime?: number;
|
|
268
|
+
cpuSystemTime?: number | undefined;
|
|
269
|
+
cpuUserTime?: number | undefined;
|
|
257
270
|
diskEphemeralTotal: number;
|
|
258
271
|
diskEphemeralUsed: number;
|
|
259
272
|
diskPersistentTotal: number;
|
|
@@ -274,6 +287,20 @@ export interface GetMetricsResponse {
|
|
|
274
287
|
parachuteDiskPersistentUsedPercent: number;
|
|
275
288
|
parachuteDiskPersistentUsedThreshold: number;
|
|
276
289
|
}
|
|
290
|
+
export interface GetUpdatesRequest {
|
|
291
|
+
/** Project id on which user has permissions */
|
|
292
|
+
projectId: string;
|
|
293
|
+
/** region in which the project resides */
|
|
294
|
+
regionId: string;
|
|
295
|
+
/** Instance id */
|
|
296
|
+
instanceId: string;
|
|
297
|
+
}
|
|
298
|
+
export interface GetUpdatesResponse {
|
|
299
|
+
/** Whether automatic updates are allowed. */
|
|
300
|
+
automaticUpdatesEnabled: boolean;
|
|
301
|
+
/** Number of available update components. */
|
|
302
|
+
availableUpdates: number;
|
|
303
|
+
}
|
|
277
304
|
export interface ListBackupsRequest {
|
|
278
305
|
/** Project id on which user has permissions */
|
|
279
306
|
projectId: string;
|
|
@@ -283,12 +310,12 @@ export interface ListBackupsRequest {
|
|
|
283
310
|
instanceId: string;
|
|
284
311
|
}
|
|
285
312
|
export interface Backup {
|
|
286
|
-
downloadable?: boolean;
|
|
313
|
+
downloadable?: boolean | undefined;
|
|
287
314
|
finished_at: string;
|
|
288
315
|
id: number;
|
|
289
|
-
size?: number;
|
|
316
|
+
size?: number | undefined;
|
|
290
317
|
status: string;
|
|
291
|
-
triggered_at?: string;
|
|
318
|
+
triggered_at?: string | undefined;
|
|
292
319
|
}
|
|
293
320
|
export type ListBackupsResponse = Array<Backup>;
|
|
294
321
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -343,11 +370,11 @@ export interface Offering {
|
|
|
343
370
|
documentationUrl: string;
|
|
344
371
|
imageUrl: string;
|
|
345
372
|
latest: boolean;
|
|
346
|
-
lifecycle?: string;
|
|
373
|
+
lifecycle?: string | undefined;
|
|
347
374
|
name: string;
|
|
348
375
|
plans: OfferingPlansList;
|
|
349
376
|
quotaCount: number;
|
|
350
|
-
schema?: InstanceSchema;
|
|
377
|
+
schema?: InstanceSchema | undefined;
|
|
351
378
|
version: string;
|
|
352
379
|
}
|
|
353
380
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -367,7 +394,7 @@ export interface Restore {
|
|
|
367
394
|
finished_at: string;
|
|
368
395
|
id: number;
|
|
369
396
|
status: string;
|
|
370
|
-
triggered_at?: string;
|
|
397
|
+
triggered_at?: string | undefined;
|
|
371
398
|
}
|
|
372
399
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
373
400
|
export interface ListRestoresResponse {
|
|
@@ -380,9 +407,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
380
407
|
regionId: string;
|
|
381
408
|
/** Instance id */
|
|
382
409
|
instanceId: string;
|
|
383
|
-
instanceName?: string;
|
|
384
|
-
parameters?: InstanceParameters;
|
|
385
|
-
planId?: string;
|
|
410
|
+
instanceName?: string | undefined;
|
|
411
|
+
parameters?: InstanceParameters | undefined;
|
|
412
|
+
planId?: string | undefined;
|
|
386
413
|
}
|
|
387
414
|
export interface PartialUpdateInstanceResponse {}
|
|
388
415
|
export interface TriggerRecreateRequest {
|
|
@@ -414,6 +441,14 @@ export interface TriggerRestoreRequest {
|
|
|
414
441
|
export interface TriggerRestoreResponse {
|
|
415
442
|
id: number;
|
|
416
443
|
}
|
|
444
|
+
export interface TriggerUpdateRequest {
|
|
445
|
+
/** Project id on which user has permissions */
|
|
446
|
+
projectId: string;
|
|
447
|
+
/** region in which the project resides */
|
|
448
|
+
regionId: string;
|
|
449
|
+
/** Instance id */
|
|
450
|
+
instanceId: string;
|
|
451
|
+
}
|
|
417
452
|
export interface UpdateBackupsConfigRequest {
|
|
418
453
|
/** Project id on which user has permissions */
|
|
419
454
|
projectId: string;
|
|
@@ -421,11 +456,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
421
456
|
regionId: string;
|
|
422
457
|
/** Instance id */
|
|
423
458
|
instanceId: string;
|
|
424
|
-
encryption_key?: string;
|
|
459
|
+
encryption_key?: string | undefined;
|
|
425
460
|
}
|
|
426
461
|
export interface UpdateBackupsConfigResponse {
|
|
427
462
|
message: string;
|
|
428
463
|
}
|
|
464
|
+
export interface UpdateUpdatesSettingsRequest {
|
|
465
|
+
/** Project id on which user has permissions */
|
|
466
|
+
projectId: string;
|
|
467
|
+
/** region in which the project resides */
|
|
468
|
+
regionId: string;
|
|
469
|
+
/** Instance id */
|
|
470
|
+
instanceId: string;
|
|
471
|
+
/** Set to true to enable automatic updates or false to disable them. */
|
|
472
|
+
automaticUpdatesEnabled: boolean;
|
|
473
|
+
}
|
|
474
|
+
export interface UpdateUpdatesSettingsResponse {
|
|
475
|
+
/** Whether automatic updates are allowed. */
|
|
476
|
+
automaticUpdatesEnabled: boolean;
|
|
477
|
+
}
|
|
429
478
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
430
479
|
/** create a backup */
|
|
431
480
|
export const createBackup: API.OperationMethod<
|
|
@@ -434,8 +483,8 @@ export const createBackup: API.OperationMethod<
|
|
|
434
483
|
CreateBackupError,
|
|
435
484
|
StackitOpContext
|
|
436
485
|
> = /*@__PURE__*/ API.make(() => ({
|
|
437
|
-
input: __S(
|
|
438
|
-
output: __S(
|
|
486
|
+
input: __S(128, __c16, 0) as any as S.Schema<CreateBackupRequest>,
|
|
487
|
+
output: __S(129, __c16, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
439
488
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
440
489
|
protocol: StackitProtocol,
|
|
441
490
|
retry: Retry.Retry,
|
|
@@ -451,8 +500,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
451
500
|
CreateCredentialsError,
|
|
452
501
|
StackitOpContext
|
|
453
502
|
> = /*@__PURE__*/ API.make(() => ({
|
|
454
|
-
input: __S(
|
|
455
|
-
output: __S(
|
|
503
|
+
input: __S(137, __c17, 1) as any as S.Schema<CreateCredentialsRequest>,
|
|
504
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
456
505
|
errors: [BadRequest, UnknownStackitError],
|
|
457
506
|
protocol: StackitProtocol,
|
|
458
507
|
retry: Retry.Retry,
|
|
@@ -468,8 +517,8 @@ export const createInstance: API.OperationMethod<
|
|
|
468
517
|
CreateInstanceError,
|
|
469
518
|
StackitOpContext
|
|
470
519
|
> = /*@__PURE__*/ API.make(() => ({
|
|
471
|
-
input: __S(
|
|
472
|
-
output: __S(
|
|
520
|
+
input: __S(168, __c21, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
521
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
473
522
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
474
523
|
protocol: StackitProtocol,
|
|
475
524
|
retry: Retry.Retry,
|
|
@@ -485,8 +534,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
485
534
|
DeleteCredentialsError,
|
|
486
535
|
StackitOpContext
|
|
487
536
|
> = /*@__PURE__*/ API.make(() => ({
|
|
488
|
-
input: __S(
|
|
489
|
-
output: __S(
|
|
537
|
+
input: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
538
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
490
539
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
491
540
|
protocol: StackitProtocol,
|
|
492
541
|
retry: Retry.Retry,
|
|
@@ -502,8 +551,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
502
551
|
DeleteInstanceError,
|
|
503
552
|
StackitOpContext
|
|
504
553
|
> = /*@__PURE__*/ API.make(() => ({
|
|
505
|
-
input: __S(
|
|
506
|
-
output: __S(
|
|
554
|
+
input: __S(208, __c26, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
555
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
507
556
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
508
557
|
protocol: StackitProtocol,
|
|
509
558
|
retry: Retry.Retry,
|
|
@@ -519,8 +568,8 @@ export const downloadBackup: API.OperationMethod<
|
|
|
519
568
|
DownloadBackupError,
|
|
520
569
|
StackitOpContext
|
|
521
570
|
> = /*@__PURE__*/ API.make(() => ({
|
|
522
|
-
input: __S(
|
|
523
|
-
output: __S(
|
|
571
|
+
input: __S(216, __c27, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
572
|
+
output: __S(200, __c25, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
524
573
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
525
574
|
protocol: StackitProtocol,
|
|
526
575
|
retry: Retry.Retry,
|
|
@@ -536,8 +585,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
536
585
|
GetCredentialsError,
|
|
537
586
|
StackitOpContext
|
|
538
587
|
> = /*@__PURE__*/ API.make(() => ({
|
|
539
|
-
input: __S(
|
|
540
|
-
output: __S(
|
|
588
|
+
input: __S(224, __c28, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
589
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
541
590
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
542
591
|
protocol: StackitProtocol,
|
|
543
592
|
retry: Retry.Retry,
|
|
@@ -579,6 +628,23 @@ export const getMetrics: API.OperationMethod<
|
|
|
579
628
|
span: "GetMetrics",
|
|
580
629
|
}));
|
|
581
630
|
|
|
631
|
+
export type GetUpdatesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
632
|
+
/** get update settings Returns whether automatic updates are enabled and the number of available updates. */
|
|
633
|
+
export const getUpdates: API.OperationMethod<
|
|
634
|
+
GetUpdatesRequest,
|
|
635
|
+
GetUpdatesResponse,
|
|
636
|
+
GetUpdatesError,
|
|
637
|
+
StackitOpContext
|
|
638
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
639
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
640
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
641
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
642
|
+
protocol: StackitProtocol,
|
|
643
|
+
retry: Retry.Retry,
|
|
644
|
+
telemetry: TELEMETRY,
|
|
645
|
+
span: "GetUpdates",
|
|
646
|
+
}));
|
|
647
|
+
|
|
582
648
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
583
649
|
/** get latest backup information for provided instanceId */
|
|
584
650
|
export const listBackups: API.OperationMethod<
|
|
@@ -587,8 +653,8 @@ export const listBackups: API.OperationMethod<
|
|
|
587
653
|
ListBackupsError,
|
|
588
654
|
StackitOpContext
|
|
589
655
|
> = /*@__PURE__*/ API.make(() => ({
|
|
590
|
-
input: __S(
|
|
591
|
-
output: __S(
|
|
656
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListBackupsRequest>,
|
|
657
|
+
output: __S(35, __c4, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
592
658
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
593
659
|
protocol: StackitProtocol,
|
|
594
660
|
retry: Retry.Retry,
|
|
@@ -604,8 +670,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
604
670
|
ListCredentialsError,
|
|
605
671
|
StackitOpContext
|
|
606
672
|
> = /*@__PURE__*/ API.make(() => ({
|
|
607
|
-
input: __S(
|
|
608
|
-
output: __S(
|
|
673
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
674
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
609
675
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
610
676
|
protocol: StackitProtocol,
|
|
611
677
|
retry: Retry.Retry,
|
|
@@ -621,8 +687,8 @@ export const listInstances: API.OperationMethod<
|
|
|
621
687
|
ListInstancesError,
|
|
622
688
|
StackitOpContext
|
|
623
689
|
> = /*@__PURE__*/ API.make(() => ({
|
|
624
|
-
input: __S(
|
|
625
|
-
output: __S(
|
|
690
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListInstancesRequest>,
|
|
691
|
+
output: __S(50, __c6, 2) as any as S.Schema<ListInstancesResponse>,
|
|
626
692
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
627
693
|
protocol: StackitProtocol,
|
|
628
694
|
retry: Retry.Retry,
|
|
@@ -638,8 +704,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
638
704
|
ListOfferingsError,
|
|
639
705
|
StackitOpContext
|
|
640
706
|
> = /*@__PURE__*/ API.make(() => ({
|
|
641
|
-
input: __S(
|
|
642
|
-
output: __S(
|
|
707
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
708
|
+
output: __S(63, __c7, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
643
709
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
644
710
|
protocol: StackitProtocol,
|
|
645
711
|
retry: Retry.Retry,
|
|
@@ -655,8 +721,8 @@ export const listRestores: API.OperationMethod<
|
|
|
655
721
|
ListRestoresError,
|
|
656
722
|
StackitOpContext
|
|
657
723
|
> = /*@__PURE__*/ API.make(() => ({
|
|
658
|
-
input: __S(
|
|
659
|
-
output: __S(
|
|
724
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListRestoresRequest>,
|
|
725
|
+
output: __S(67, __c8, 3) as any as S.Schema<ListRestoresResponse>,
|
|
660
726
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
661
727
|
protocol: StackitProtocol,
|
|
662
728
|
retry: Retry.Retry,
|
|
@@ -672,8 +738,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
672
738
|
PartialUpdateInstanceError,
|
|
673
739
|
StackitOpContext
|
|
674
740
|
> = /*@__PURE__*/ API.make(() => ({
|
|
675
|
-
input: __S(
|
|
676
|
-
output: __S(
|
|
741
|
+
input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
742
|
+
output: __S(200, __c25, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
677
743
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
678
744
|
protocol: StackitProtocol,
|
|
679
745
|
retry: Retry.Retry,
|
|
@@ -689,8 +755,8 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
689
755
|
TriggerRecreateError,
|
|
690
756
|
StackitOpContext
|
|
691
757
|
> = /*@__PURE__*/ API.make(() => ({
|
|
692
|
-
input: __S(
|
|
693
|
-
output: __S(
|
|
758
|
+
input: __S(80, __c10, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
759
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
694
760
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
695
761
|
protocol: StackitProtocol,
|
|
696
762
|
retry: Retry.Retry,
|
|
@@ -706,8 +772,8 @@ export const triggerRestart: API.OperationMethod<
|
|
|
706
772
|
TriggerRestartError,
|
|
707
773
|
StackitOpContext
|
|
708
774
|
> = /*@__PURE__*/ API.make(() => ({
|
|
709
|
-
input: __S(
|
|
710
|
-
output: __S(
|
|
775
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
776
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
711
777
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
712
778
|
protocol: StackitProtocol,
|
|
713
779
|
retry: Retry.Retry,
|
|
@@ -723,8 +789,8 @@ export const triggerRestore: API.OperationMethod<
|
|
|
723
789
|
TriggerRestoreError,
|
|
724
790
|
StackitOpContext
|
|
725
791
|
> = /*@__PURE__*/ API.make(() => ({
|
|
726
|
-
input: __S(
|
|
727
|
-
output: __S(
|
|
792
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
793
|
+
output: __S(97, __c12, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
728
794
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
729
795
|
protocol: StackitProtocol,
|
|
730
796
|
retry: Retry.Retry,
|
|
@@ -732,6 +798,23 @@ export const triggerRestore: API.OperationMethod<
|
|
|
732
798
|
span: "TriggerRestore",
|
|
733
799
|
}));
|
|
734
800
|
|
|
801
|
+
export type TriggerUpdateError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
802
|
+
/** start updates Starts all available updates asynchronously using the instance's service offering. No request body is required. */
|
|
803
|
+
export const triggerUpdate: API.OperationMethod<
|
|
804
|
+
TriggerUpdateRequest,
|
|
805
|
+
CreateInstanceResponse,
|
|
806
|
+
TriggerUpdateError,
|
|
807
|
+
StackitOpContext
|
|
808
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
809
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
810
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
811
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
812
|
+
protocol: StackitProtocol,
|
|
813
|
+
retry: Retry.Retry,
|
|
814
|
+
telemetry: TELEMETRY,
|
|
815
|
+
span: "TriggerUpdate",
|
|
816
|
+
}));
|
|
817
|
+
|
|
735
818
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
736
819
|
/** backups configuration update Update the configuration for backups for your instance. */
|
|
737
820
|
export const updateBackupsConfig: API.OperationMethod<
|
|
@@ -740,8 +823,8 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
740
823
|
UpdateBackupsConfigError,
|
|
741
824
|
StackitOpContext
|
|
742
825
|
> = /*@__PURE__*/ API.make(() => ({
|
|
743
|
-
input: __S(
|
|
744
|
-
output: __S(
|
|
826
|
+
input: __S(112, __c14, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
827
|
+
output: __S(113, __c14, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
745
828
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
746
829
|
protocol: StackitProtocol,
|
|
747
830
|
retry: Retry.Retry,
|
|
@@ -749,6 +832,23 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
749
832
|
span: "UpdateBackupsConfig",
|
|
750
833
|
}));
|
|
751
834
|
|
|
835
|
+
export type UpdateUpdatesSettingsError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
836
|
+
/** update update settings Enables or disables automatic updates. The platform operator must allow changing this setting. */
|
|
837
|
+
export const updateUpdatesSettings: API.OperationMethod<
|
|
838
|
+
UpdateUpdatesSettingsRequest,
|
|
839
|
+
UpdateUpdatesSettingsResponse,
|
|
840
|
+
UpdateUpdatesSettingsError,
|
|
841
|
+
StackitOpContext
|
|
842
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
843
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
844
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
845
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
846
|
+
protocol: StackitProtocol,
|
|
847
|
+
retry: Retry.Retry,
|
|
848
|
+
telemetry: TELEMETRY,
|
|
849
|
+
span: "UpdateUpdatesSettings",
|
|
850
|
+
}));
|
|
851
|
+
|
|
752
852
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
753
853
|
function __c0(j: number): any {
|
|
754
854
|
switch (j) {
|
|
@@ -788,6 +888,7 @@ function __c1(j: number): any {
|
|
|
788
888
|
dashboardUrl: S.String,
|
|
789
889
|
imageUrl: S.String,
|
|
790
890
|
instanceId: S.optional(S.String),
|
|
891
|
+
instanceStatus: S.optional(S.String),
|
|
791
892
|
lastOperation: __S(8, __c1, 0),
|
|
792
893
|
name: S.String,
|
|
793
894
|
offeringName: S.String,
|
|
@@ -848,6 +949,32 @@ function __c2(j: number): any {
|
|
|
848
949
|
}
|
|
849
950
|
}
|
|
850
951
|
function __c3(j: number): any {
|
|
952
|
+
switch (j) {
|
|
953
|
+
case 0:
|
|
954
|
+
return S.suspend(() =>
|
|
955
|
+
S.Struct({
|
|
956
|
+
projectId: S.String.pipe(T.Label()),
|
|
957
|
+
regionId: S.String.pipe(T.Label()),
|
|
958
|
+
instanceId: S.String.pipe(T.Label()),
|
|
959
|
+
}).pipe(
|
|
960
|
+
T.Http({
|
|
961
|
+
method: "GET",
|
|
962
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
963
|
+
code: 200,
|
|
964
|
+
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
965
|
+
}),
|
|
966
|
+
),
|
|
967
|
+
).annotate({ identifier: "GetUpdatesRequest" });
|
|
968
|
+
case 1:
|
|
969
|
+
return S.suspend(() =>
|
|
970
|
+
S.Struct({
|
|
971
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
972
|
+
availableUpdates: S.Number,
|
|
973
|
+
}),
|
|
974
|
+
).annotate({ identifier: "GetUpdatesResponse" });
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
function __c4(j: number): any {
|
|
851
978
|
switch (j) {
|
|
852
979
|
case 0:
|
|
853
980
|
return S.suspend(() =>
|
|
@@ -876,14 +1003,14 @@ function __c3(j: number): any {
|
|
|
876
1003
|
}),
|
|
877
1004
|
).annotate({ identifier: "Backup" });
|
|
878
1005
|
case 2:
|
|
879
|
-
return S.Array(__S(
|
|
1006
|
+
return S.Array(__S(33, __c4, 1));
|
|
880
1007
|
case 3:
|
|
881
|
-
return S.suspend(() => __S(
|
|
1008
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
882
1009
|
identifier: "ListBackupsResponse2",
|
|
883
1010
|
});
|
|
884
1011
|
}
|
|
885
1012
|
}
|
|
886
|
-
function
|
|
1013
|
+
function __c5(j: number): any {
|
|
887
1014
|
switch (j) {
|
|
888
1015
|
case 0:
|
|
889
1016
|
return S.suspend(() =>
|
|
@@ -907,16 +1034,16 @@ function __c4(j: number): any {
|
|
|
907
1034
|
}),
|
|
908
1035
|
).annotate({ identifier: "CredentialsListItem" });
|
|
909
1036
|
case 2:
|
|
910
|
-
return S.Array(__S(
|
|
1037
|
+
return S.Array(__S(41, __c5, 1));
|
|
911
1038
|
case 3:
|
|
912
1039
|
return S.suspend(() =>
|
|
913
1040
|
S.Struct({
|
|
914
|
-
credentialsList: __S(
|
|
1041
|
+
credentialsList: __S(42, __c5, 2),
|
|
915
1042
|
}),
|
|
916
1043
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
917
1044
|
}
|
|
918
1045
|
}
|
|
919
|
-
function
|
|
1046
|
+
function __c6(j: number): any {
|
|
920
1047
|
switch (j) {
|
|
921
1048
|
case 0:
|
|
922
1049
|
return S.suspend(() =>
|
|
@@ -937,12 +1064,12 @@ function __c5(j: number): any {
|
|
|
937
1064
|
case 2:
|
|
938
1065
|
return S.suspend(() =>
|
|
939
1066
|
S.Struct({
|
|
940
|
-
instances: __S(
|
|
1067
|
+
instances: __S(49, __c6, 1),
|
|
941
1068
|
}),
|
|
942
1069
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
943
1070
|
}
|
|
944
1071
|
}
|
|
945
|
-
function
|
|
1072
|
+
function __c7(j: number): any {
|
|
946
1073
|
switch (j) {
|
|
947
1074
|
case 0:
|
|
948
1075
|
return S.suspend(() =>
|
|
@@ -969,7 +1096,7 @@ function __c6(j: number): any {
|
|
|
969
1096
|
}),
|
|
970
1097
|
).annotate({ identifier: "Plan" });
|
|
971
1098
|
case 2:
|
|
972
|
-
return S.Array(__S(
|
|
1099
|
+
return S.Array(__S(57, __c7, 1));
|
|
973
1100
|
case 3:
|
|
974
1101
|
return S.suspend(() =>
|
|
975
1102
|
S.Struct({
|
|
@@ -979,8 +1106,8 @@ function __c6(j: number): any {
|
|
|
979
1106
|
case 4:
|
|
980
1107
|
return S.suspend(() =>
|
|
981
1108
|
S.Struct({
|
|
982
|
-
create: __S(
|
|
983
|
-
update: __S(
|
|
1109
|
+
create: __S(59, __c7, 3),
|
|
1110
|
+
update: __S(59, __c7, 3),
|
|
984
1111
|
}),
|
|
985
1112
|
).annotate({ identifier: "InstanceSchema" });
|
|
986
1113
|
case 5:
|
|
@@ -992,23 +1119,23 @@ function __c6(j: number): any {
|
|
|
992
1119
|
latest: S.Boolean,
|
|
993
1120
|
lifecycle: S.optional(S.String),
|
|
994
1121
|
name: S.String,
|
|
995
|
-
plans: __S(
|
|
1122
|
+
plans: __S(58, __c7, 2),
|
|
996
1123
|
quotaCount: S.Number,
|
|
997
|
-
schema: S.optional(__S(
|
|
1124
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
998
1125
|
version: S.String,
|
|
999
1126
|
}),
|
|
1000
1127
|
).annotate({ identifier: "Offering" });
|
|
1001
1128
|
case 6:
|
|
1002
|
-
return S.Array(__S(
|
|
1129
|
+
return S.Array(__S(61, __c7, 5));
|
|
1003
1130
|
case 7:
|
|
1004
1131
|
return S.suspend(() =>
|
|
1005
1132
|
S.Struct({
|
|
1006
|
-
offerings: __S(
|
|
1133
|
+
offerings: __S(62, __c7, 6),
|
|
1007
1134
|
}),
|
|
1008
1135
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
1009
1136
|
}
|
|
1010
1137
|
}
|
|
1011
|
-
function
|
|
1138
|
+
function __c8(j: number): any {
|
|
1012
1139
|
switch (j) {
|
|
1013
1140
|
case 0:
|
|
1014
1141
|
return S.suspend(() =>
|
|
@@ -1036,16 +1163,16 @@ function __c7(j: number): any {
|
|
|
1036
1163
|
}),
|
|
1037
1164
|
).annotate({ identifier: "Restore" });
|
|
1038
1165
|
case 2:
|
|
1039
|
-
return S.Array(__S(
|
|
1166
|
+
return S.Array(__S(65, __c8, 1));
|
|
1040
1167
|
case 3:
|
|
1041
1168
|
return S.suspend(() =>
|
|
1042
1169
|
S.Struct({
|
|
1043
|
-
instanceRestores: __S(
|
|
1170
|
+
instanceRestores: __S(66, __c8, 2),
|
|
1044
1171
|
}),
|
|
1045
1172
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
1046
1173
|
}
|
|
1047
1174
|
}
|
|
1048
|
-
function
|
|
1175
|
+
function __c9(j: number): any {
|
|
1049
1176
|
switch (j) {
|
|
1050
1177
|
case 0:
|
|
1051
1178
|
return S.suspend(() =>
|
|
@@ -1054,7 +1181,7 @@ function __c8(j: number): any {
|
|
|
1054
1181
|
regionId: S.String.pipe(T.Label()),
|
|
1055
1182
|
instanceId: S.String.pipe(T.Label()),
|
|
1056
1183
|
instanceName: S.optional(S.String),
|
|
1057
|
-
parameters: S.optional(__S(
|
|
1184
|
+
parameters: S.optional(__S(176, __c22, 0)),
|
|
1058
1185
|
planId: S.optional(S.String),
|
|
1059
1186
|
}).pipe(
|
|
1060
1187
|
T.Http({
|
|
@@ -1067,7 +1194,7 @@ function __c8(j: number): any {
|
|
|
1067
1194
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1068
1195
|
}
|
|
1069
1196
|
}
|
|
1070
|
-
function
|
|
1197
|
+
function __c10(j: number): any {
|
|
1071
1198
|
switch (j) {
|
|
1072
1199
|
case 0:
|
|
1073
1200
|
return S.suspend(() =>
|
|
@@ -1086,7 +1213,7 @@ function __c9(j: number): any {
|
|
|
1086
1213
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1087
1214
|
}
|
|
1088
1215
|
}
|
|
1089
|
-
function
|
|
1216
|
+
function __c11(j: number): any {
|
|
1090
1217
|
switch (j) {
|
|
1091
1218
|
case 0:
|
|
1092
1219
|
return S.suspend(() =>
|
|
@@ -1105,7 +1232,7 @@ function __c10(j: number): any {
|
|
|
1105
1232
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1106
1233
|
}
|
|
1107
1234
|
}
|
|
1108
|
-
function
|
|
1235
|
+
function __c12(j: number): any {
|
|
1109
1236
|
switch (j) {
|
|
1110
1237
|
case 0:
|
|
1111
1238
|
return S.suspend(() =>
|
|
@@ -1131,7 +1258,26 @@ function __c11(j: number): any {
|
|
|
1131
1258
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1132
1259
|
}
|
|
1133
1260
|
}
|
|
1134
|
-
function
|
|
1261
|
+
function __c13(j: number): any {
|
|
1262
|
+
switch (j) {
|
|
1263
|
+
case 0:
|
|
1264
|
+
return S.suspend(() =>
|
|
1265
|
+
S.Struct({
|
|
1266
|
+
projectId: S.String.pipe(T.Label()),
|
|
1267
|
+
regionId: S.String.pipe(T.Label()),
|
|
1268
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1269
|
+
}).pipe(
|
|
1270
|
+
T.Http({
|
|
1271
|
+
method: "POST",
|
|
1272
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates/start",
|
|
1273
|
+
code: 200,
|
|
1274
|
+
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
1275
|
+
}),
|
|
1276
|
+
),
|
|
1277
|
+
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
function __c14(j: number): any {
|
|
1135
1281
|
switch (j) {
|
|
1136
1282
|
case 0:
|
|
1137
1283
|
return S.suspend(() =>
|
|
@@ -1157,7 +1303,33 @@ function __c12(j: number): any {
|
|
|
1157
1303
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1158
1304
|
}
|
|
1159
1305
|
}
|
|
1160
|
-
function
|
|
1306
|
+
function __c15(j: number): any {
|
|
1307
|
+
switch (j) {
|
|
1308
|
+
case 0:
|
|
1309
|
+
return S.suspend(() =>
|
|
1310
|
+
S.Struct({
|
|
1311
|
+
projectId: S.String.pipe(T.Label()),
|
|
1312
|
+
regionId: S.String.pipe(T.Label()),
|
|
1313
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1314
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1315
|
+
}).pipe(
|
|
1316
|
+
T.Http({
|
|
1317
|
+
method: "PATCH",
|
|
1318
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
1319
|
+
code: 200,
|
|
1320
|
+
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
1321
|
+
}),
|
|
1322
|
+
),
|
|
1323
|
+
).annotate({ identifier: "UpdateUpdatesSettingsRequest" });
|
|
1324
|
+
case 1:
|
|
1325
|
+
return S.suspend(() =>
|
|
1326
|
+
S.Struct({
|
|
1327
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1328
|
+
}),
|
|
1329
|
+
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
function __c16(j: number): any {
|
|
1161
1333
|
switch (j) {
|
|
1162
1334
|
case 0:
|
|
1163
1335
|
return S.suspend(() =>
|
|
@@ -1183,12 +1355,12 @@ function __c13(j: number): any {
|
|
|
1183
1355
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1184
1356
|
}
|
|
1185
1357
|
}
|
|
1186
|
-
function
|
|
1358
|
+
function __c17(j: number): any {
|
|
1187
1359
|
switch (j) {
|
|
1188
1360
|
case 0:
|
|
1189
1361
|
return S.suspend(() =>
|
|
1190
1362
|
S.Struct({
|
|
1191
|
-
roles: S.optional(__S(
|
|
1363
|
+
roles: S.optional(__S(144, __c18, 0)),
|
|
1192
1364
|
}),
|
|
1193
1365
|
).annotate({ identifier: "CredentialsParameters" });
|
|
1194
1366
|
case 1:
|
|
@@ -1197,7 +1369,7 @@ function __c14(j: number): any {
|
|
|
1197
1369
|
projectId: S.String.pipe(T.Label()),
|
|
1198
1370
|
regionId: S.String.pipe(T.Label()),
|
|
1199
1371
|
instanceId: S.String.pipe(T.Label()),
|
|
1200
|
-
parameters: S.optional(__S(
|
|
1372
|
+
parameters: S.optional(__S(136, __c17, 0)),
|
|
1201
1373
|
}).pipe(
|
|
1202
1374
|
T.Http({
|
|
1203
1375
|
method: "POST",
|
|
@@ -1209,54 +1381,54 @@ function __c14(j: number): any {
|
|
|
1209
1381
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1210
1382
|
}
|
|
1211
1383
|
}
|
|
1212
|
-
function
|
|
1384
|
+
function __c18(j: number): any {
|
|
1213
1385
|
switch (j) {
|
|
1214
1386
|
case 0:
|
|
1215
1387
|
return S.Array(S.String);
|
|
1216
1388
|
}
|
|
1217
1389
|
}
|
|
1218
|
-
function
|
|
1390
|
+
function __c19(j: number): any {
|
|
1219
1391
|
switch (j) {
|
|
1220
1392
|
case 0:
|
|
1221
1393
|
return S.Array(S.String);
|
|
1222
1394
|
}
|
|
1223
1395
|
}
|
|
1224
|
-
function
|
|
1396
|
+
function __c20(j: number): any {
|
|
1225
1397
|
switch (j) {
|
|
1226
1398
|
case 0:
|
|
1227
1399
|
return S.suspend(() =>
|
|
1228
1400
|
S.Struct({
|
|
1229
1401
|
host: S.String,
|
|
1230
|
-
hosts: S.optional(__S(
|
|
1402
|
+
hosts: S.optional(__S(152, __c19, 0)),
|
|
1231
1403
|
http_api_uri: S.optional(S.String),
|
|
1232
|
-
http_api_uris: S.optional(__S(
|
|
1404
|
+
http_api_uris: S.optional(__S(152, __c19, 0)),
|
|
1233
1405
|
management: S.optional(S.String),
|
|
1234
1406
|
mqtt: S.optional(S.String),
|
|
1235
1407
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1236
1408
|
port: S.optional(S.Number),
|
|
1237
1409
|
stomp: S.optional(S.String),
|
|
1238
1410
|
uri: S.optional(S.String),
|
|
1239
|
-
uris: S.optional(__S(
|
|
1411
|
+
uris: S.optional(__S(152, __c19, 0)),
|
|
1240
1412
|
username: S.String,
|
|
1241
1413
|
}),
|
|
1242
1414
|
).annotate({ identifier: "Credentials" });
|
|
1243
1415
|
case 1:
|
|
1244
1416
|
return S.suspend(() =>
|
|
1245
1417
|
S.Struct({
|
|
1246
|
-
credentials: __S(
|
|
1418
|
+
credentials: __S(160, __c20, 0),
|
|
1247
1419
|
}),
|
|
1248
1420
|
).annotate({ identifier: "RawCredentials" });
|
|
1249
1421
|
case 2:
|
|
1250
1422
|
return S.suspend(() =>
|
|
1251
1423
|
S.Struct({
|
|
1252
1424
|
id: S.String,
|
|
1253
|
-
raw: S.optional(__S(
|
|
1425
|
+
raw: S.optional(__S(161, __c20, 1)),
|
|
1254
1426
|
uri: S.String,
|
|
1255
1427
|
}),
|
|
1256
1428
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1257
1429
|
}
|
|
1258
1430
|
}
|
|
1259
|
-
function
|
|
1431
|
+
function __c21(j: number): any {
|
|
1260
1432
|
switch (j) {
|
|
1261
1433
|
case 0:
|
|
1262
1434
|
return S.suspend(() =>
|
|
@@ -1264,7 +1436,7 @@ function __c18(j: number): any {
|
|
|
1264
1436
|
projectId: S.String.pipe(T.Label()),
|
|
1265
1437
|
regionId: S.String.pipe(T.Label()),
|
|
1266
1438
|
instanceName: S.String,
|
|
1267
|
-
parameters: S.optional(__S(
|
|
1439
|
+
parameters: S.optional(__S(176, __c22, 0)),
|
|
1268
1440
|
planId: S.String,
|
|
1269
1441
|
}).pipe(
|
|
1270
1442
|
T.Http({
|
|
@@ -1277,7 +1449,7 @@ function __c18(j: number): any {
|
|
|
1277
1449
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1278
1450
|
}
|
|
1279
1451
|
}
|
|
1280
|
-
function
|
|
1452
|
+
function __c22(j: number): any {
|
|
1281
1453
|
switch (j) {
|
|
1282
1454
|
case 0:
|
|
1283
1455
|
return S.suspend(() =>
|
|
@@ -1289,17 +1461,17 @@ function __c19(j: number): any {
|
|
|
1289
1461
|
metrics_frequency: S.optional(S.Number),
|
|
1290
1462
|
metrics_prefix: S.optional(S.String),
|
|
1291
1463
|
monitoring_instance_id: S.optional(S.String),
|
|
1292
|
-
plugins: S.optional(__S(
|
|
1293
|
-
roles: S.optional(__S(
|
|
1464
|
+
plugins: S.optional(__S(144, __c18, 0)),
|
|
1465
|
+
roles: S.optional(__S(152, __c19, 0)),
|
|
1294
1466
|
sgw_acl: S.optional(S.String),
|
|
1295
|
-
syslog: S.optional(__S(
|
|
1296
|
-
tls_ciphers: S.optional(__S(
|
|
1297
|
-
tls_protocols: S.optional(__S(
|
|
1467
|
+
syslog: S.optional(__S(152, __c19, 0)),
|
|
1468
|
+
tls_ciphers: S.optional(__S(152, __c19, 0).pipe(T.Body("tls-ciphers"))),
|
|
1469
|
+
tls_protocols: S.optional(__S(144, __c18, 0).pipe(T.Body("tls-protocols"))),
|
|
1298
1470
|
}),
|
|
1299
1471
|
).annotate({ identifier: "InstanceParameters" });
|
|
1300
1472
|
}
|
|
1301
1473
|
}
|
|
1302
|
-
function
|
|
1474
|
+
function __c23(j: number): any {
|
|
1303
1475
|
switch (j) {
|
|
1304
1476
|
case 0:
|
|
1305
1477
|
return S.suspend(() =>
|
|
@@ -1309,7 +1481,7 @@ function __c20(j: number): any {
|
|
|
1309
1481
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1310
1482
|
}
|
|
1311
1483
|
}
|
|
1312
|
-
function
|
|
1484
|
+
function __c24(j: number): any {
|
|
1313
1485
|
switch (j) {
|
|
1314
1486
|
case 0:
|
|
1315
1487
|
return S.suspend(() =>
|
|
@@ -1329,13 +1501,13 @@ function __c21(j: number): any {
|
|
|
1329
1501
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1330
1502
|
}
|
|
1331
1503
|
}
|
|
1332
|
-
function
|
|
1504
|
+
function __c25(j: number): any {
|
|
1333
1505
|
switch (j) {
|
|
1334
1506
|
case 0:
|
|
1335
1507
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1336
1508
|
}
|
|
1337
1509
|
}
|
|
1338
|
-
function
|
|
1510
|
+
function __c26(j: number): any {
|
|
1339
1511
|
switch (j) {
|
|
1340
1512
|
case 0:
|
|
1341
1513
|
return S.suspend(() =>
|
|
@@ -1354,7 +1526,7 @@ function __c23(j: number): any {
|
|
|
1354
1526
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1355
1527
|
}
|
|
1356
1528
|
}
|
|
1357
|
-
function
|
|
1529
|
+
function __c27(j: number): any {
|
|
1358
1530
|
switch (j) {
|
|
1359
1531
|
case 0:
|
|
1360
1532
|
return S.suspend(() =>
|
|
@@ -1374,7 +1546,7 @@ function __c24(j: number): any {
|
|
|
1374
1546
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1375
1547
|
}
|
|
1376
1548
|
}
|
|
1377
|
-
function
|
|
1549
|
+
function __c28(j: number): any {
|
|
1378
1550
|
switch (j) {
|
|
1379
1551
|
case 0:
|
|
1380
1552
|
return S.suspend(() =>
|