@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/logme.ts
CHANGED
|
@@ -72,14 +72,14 @@ 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 interface Credentials {
|
|
78
78
|
host: string;
|
|
79
79
|
password: string | Redacted.Redacted<string>;
|
|
80
|
-
port?: number;
|
|
81
|
-
syslog_drain_url?: string;
|
|
82
|
-
uri?: string;
|
|
80
|
+
port?: number | undefined;
|
|
81
|
+
syslog_drain_url?: string | undefined;
|
|
82
|
+
uri?: string | undefined;
|
|
83
83
|
username: string;
|
|
84
84
|
}
|
|
85
85
|
export interface RawCredentials {
|
|
@@ -87,11 +87,11 @@ export interface RawCredentials {
|
|
|
87
87
|
}
|
|
88
88
|
export interface CredentialsResponse {
|
|
89
89
|
id: string;
|
|
90
|
-
raw?: RawCredentials;
|
|
90
|
+
raw?: RawCredentials | undefined;
|
|
91
91
|
uri: string;
|
|
92
92
|
}
|
|
93
93
|
export interface InstanceParametersGroksItem {
|
|
94
|
-
pattern?: string;
|
|
94
|
+
pattern?: string | undefined;
|
|
95
95
|
}
|
|
96
96
|
export type InstanceParametersGroksList = Array<InstanceParametersGroksItem>;
|
|
97
97
|
export type InstanceParametersOpensearchTlsCiphersItem = "TLSv1.2" | "TLSv1.3";
|
|
@@ -103,44 +103,44 @@ export type InstanceParametersOpensearchTlsCiphersList = Array<
|
|
|
103
103
|
export type InstanceParametersOpensearchTlsProtocolsList = Array<string>;
|
|
104
104
|
export type InstanceParametersSyslogList = Array<string>;
|
|
105
105
|
export interface InstanceParameters {
|
|
106
|
-
enable_monitoring?: boolean;
|
|
107
|
-
fluentd_tcp?: number;
|
|
106
|
+
enable_monitoring?: boolean | undefined;
|
|
107
|
+
fluentd_tcp?: number | undefined;
|
|
108
108
|
/** This property is deprecated and will be removed in a future release. */
|
|
109
|
-
fluentd_tls?: number;
|
|
109
|
+
fluentd_tls?: number | undefined;
|
|
110
110
|
/** This property is deprecated and will be removed in a future release. */
|
|
111
|
-
fluentd_tls_ciphers?: string;
|
|
111
|
+
fluentd_tls_ciphers?: string | undefined;
|
|
112
112
|
/** This property is deprecated and will be removed in a future release. */
|
|
113
|
-
fluentd_tls_max_version?: string;
|
|
113
|
+
fluentd_tls_max_version?: string | undefined;
|
|
114
114
|
/** This property is deprecated and will be removed in a future release. */
|
|
115
|
-
fluentd_tls_min_version?: string;
|
|
115
|
+
fluentd_tls_min_version?: string | undefined;
|
|
116
116
|
/** This property is deprecated and will be removed in a future release. */
|
|
117
|
-
fluentd_tls_version?: string;
|
|
118
|
-
fluentd_udp?: number;
|
|
117
|
+
fluentd_tls_version?: string | undefined;
|
|
118
|
+
fluentd_udp?: number | undefined;
|
|
119
119
|
/** 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. */
|
|
120
|
-
graphite?: string;
|
|
121
|
-
groks?: InstanceParametersGroksList;
|
|
120
|
+
graphite?: string | undefined;
|
|
121
|
+
groks?: InstanceParametersGroksList | undefined;
|
|
122
122
|
/** Combination of an integer and a timerange when an index will be considered 'd' and can be deleted from OpenSearch. Possible values for the timerange are s, m, h and d. */
|
|
123
|
-
ism_deletion_after?: string;
|
|
124
|
-
ism_jitter?: number;
|
|
125
|
-
ism_job_interval?: number;
|
|
123
|
+
ism_deletion_after?: string | undefined;
|
|
124
|
+
ism_jitter?: number | undefined;
|
|
125
|
+
ism_job_interval?: number | undefined;
|
|
126
126
|
/** Default: not set, 46% of available memory will be used. The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. */
|
|
127
|
-
java_heapspace?: number;
|
|
127
|
+
java_heapspace?: number | undefined;
|
|
128
128
|
/** The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. */
|
|
129
|
-
java_maxmetaspace?: number;
|
|
129
|
+
java_maxmetaspace?: number | undefined;
|
|
130
130
|
/** 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. */
|
|
131
|
-
max_disk_threshold?: number;
|
|
131
|
+
max_disk_threshold?: number | undefined;
|
|
132
132
|
/** Frequency of metrics being emitted in seconds */
|
|
133
|
-
metrics_frequency?: number;
|
|
133
|
+
metrics_frequency?: number | undefined;
|
|
134
134
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
135
|
-
metrics_prefix?: string;
|
|
136
|
-
monitoring_instance_id?: string;
|
|
135
|
+
metrics_prefix?: string | undefined;
|
|
136
|
+
monitoring_instance_id?: string | undefined;
|
|
137
137
|
/** This property is deprecated and will be removed in a future release. */
|
|
138
|
-
opensearch_tls_ciphers?: InstanceParametersOpensearchTlsCiphersList;
|
|
138
|
+
opensearch_tls_ciphers?: InstanceParametersOpensearchTlsCiphersList | undefined;
|
|
139
139
|
/** This property is deprecated and will be removed in a future release. */
|
|
140
|
-
opensearch_tls_protocols?: InstanceParametersOpensearchTlsProtocolsList;
|
|
140
|
+
opensearch_tls_protocols?: InstanceParametersOpensearchTlsProtocolsList | undefined;
|
|
141
141
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
142
|
-
sgw_acl?: string;
|
|
143
|
-
syslog?: InstanceParametersSyslogList;
|
|
142
|
+
sgw_acl?: string | undefined;
|
|
143
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
144
144
|
}
|
|
145
145
|
export interface CreateInstanceRequest {
|
|
146
146
|
/** Project id on which user has permissions */
|
|
@@ -148,7 +148,7 @@ export interface CreateInstanceRequest {
|
|
|
148
148
|
/** region in which the project resides */
|
|
149
149
|
regionId: string;
|
|
150
150
|
instanceName: string;
|
|
151
|
-
parameters?: InstanceParameters;
|
|
151
|
+
parameters?: InstanceParameters | undefined;
|
|
152
152
|
planId: string;
|
|
153
153
|
}
|
|
154
154
|
export interface CreateInstanceResponse {
|
|
@@ -203,6 +203,15 @@ export interface GetInstanceRequest {
|
|
|
203
203
|
/** Instance id */
|
|
204
204
|
instanceId: string;
|
|
205
205
|
}
|
|
206
|
+
/** Current state of a service instance */
|
|
207
|
+
export type InstanceInstanceStatus =
|
|
208
|
+
| "provisioned"
|
|
209
|
+
| "available"
|
|
210
|
+
| "deleted"
|
|
211
|
+
| "deploying"
|
|
212
|
+
| "failed"
|
|
213
|
+
| "stopped"
|
|
214
|
+
| "unknown";
|
|
206
215
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
207
216
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
208
217
|
export interface InstanceLastOperation {
|
|
@@ -210,6 +219,7 @@ export interface InstanceLastOperation {
|
|
|
210
219
|
state: InstanceLastOperationState;
|
|
211
220
|
type: InstanceLastOperationType;
|
|
212
221
|
}
|
|
222
|
+
/** State of the last operation and this instance */
|
|
213
223
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
214
224
|
export interface Instance {
|
|
215
225
|
cfGuid: string;
|
|
@@ -217,7 +227,9 @@ export interface Instance {
|
|
|
217
227
|
cfSpaceGuid: string;
|
|
218
228
|
dashboardUrl: string;
|
|
219
229
|
imageUrl: string;
|
|
220
|
-
instanceId?: string;
|
|
230
|
+
instanceId?: string | undefined;
|
|
231
|
+
/** Current state of a service instance */
|
|
232
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
221
233
|
lastOperation: InstanceLastOperation;
|
|
222
234
|
name: string;
|
|
223
235
|
offeringName: string;
|
|
@@ -225,7 +237,8 @@ export interface Instance {
|
|
|
225
237
|
parameters: unknown;
|
|
226
238
|
planId: string;
|
|
227
239
|
planName: string;
|
|
228
|
-
|
|
240
|
+
/** State of the last operation and this instance */
|
|
241
|
+
status?: InstanceStatus | undefined;
|
|
229
242
|
}
|
|
230
243
|
export interface GetMetricsRequest {
|
|
231
244
|
/** Project id on which user has permissions */
|
|
@@ -236,10 +249,10 @@ export interface GetMetricsRequest {
|
|
|
236
249
|
instanceId: string;
|
|
237
250
|
}
|
|
238
251
|
export interface GetMetricsResponse {
|
|
239
|
-
cpuIdleTime?: number;
|
|
252
|
+
cpuIdleTime?: number | undefined;
|
|
240
253
|
cpuLoadPercent: number;
|
|
241
|
-
cpuSystemTime?: number;
|
|
242
|
-
cpuUserTime?: number;
|
|
254
|
+
cpuSystemTime?: number | undefined;
|
|
255
|
+
cpuUserTime?: number | undefined;
|
|
243
256
|
diskEphemeralTotal: number;
|
|
244
257
|
diskEphemeralUsed: number;
|
|
245
258
|
diskPersistentTotal: number;
|
|
@@ -261,6 +274,20 @@ export interface GetMetricsResponse {
|
|
|
261
274
|
parachuteDiskPersistentUsedPercent: number;
|
|
262
275
|
parachuteDiskPersistentUsedThreshold: number;
|
|
263
276
|
}
|
|
277
|
+
export interface GetUpdatesRequest {
|
|
278
|
+
/** Project id on which user has permissions */
|
|
279
|
+
projectId: string;
|
|
280
|
+
/** region in which the project resides */
|
|
281
|
+
regionId: string;
|
|
282
|
+
/** Instance id */
|
|
283
|
+
instanceId: string;
|
|
284
|
+
}
|
|
285
|
+
export interface GetUpdatesResponse {
|
|
286
|
+
/** Whether automatic updates are allowed. */
|
|
287
|
+
automaticUpdatesEnabled: boolean;
|
|
288
|
+
/** Number of available update components. */
|
|
289
|
+
availableUpdates: number;
|
|
290
|
+
}
|
|
264
291
|
export interface ListBackupsRequest {
|
|
265
292
|
/** Project id on which user has permissions */
|
|
266
293
|
projectId: string;
|
|
@@ -270,12 +297,12 @@ export interface ListBackupsRequest {
|
|
|
270
297
|
instanceId: string;
|
|
271
298
|
}
|
|
272
299
|
export interface Backup {
|
|
273
|
-
downloadable?: boolean;
|
|
300
|
+
downloadable?: boolean | undefined;
|
|
274
301
|
finished_at: string;
|
|
275
302
|
id: number;
|
|
276
|
-
size?: number;
|
|
303
|
+
size?: number | undefined;
|
|
277
304
|
status: string;
|
|
278
|
-
triggered_at?: string;
|
|
305
|
+
triggered_at?: string | undefined;
|
|
279
306
|
}
|
|
280
307
|
export type ListBackupsResponse = Array<Backup>;
|
|
281
308
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -330,11 +357,11 @@ export interface Offering {
|
|
|
330
357
|
documentationUrl: string;
|
|
331
358
|
imageUrl: string;
|
|
332
359
|
latest: boolean;
|
|
333
|
-
lifecycle?: string;
|
|
360
|
+
lifecycle?: string | undefined;
|
|
334
361
|
name: string;
|
|
335
362
|
plans: OfferingPlansList;
|
|
336
363
|
quotaCount: number;
|
|
337
|
-
schema?: InstanceSchema;
|
|
364
|
+
schema?: InstanceSchema | undefined;
|
|
338
365
|
version: string;
|
|
339
366
|
}
|
|
340
367
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -354,7 +381,7 @@ export interface Restore {
|
|
|
354
381
|
finished_at: string;
|
|
355
382
|
id: number;
|
|
356
383
|
status: string;
|
|
357
|
-
triggered_at?: string;
|
|
384
|
+
triggered_at?: string | undefined;
|
|
358
385
|
}
|
|
359
386
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
360
387
|
export interface ListRestoresResponse {
|
|
@@ -367,9 +394,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
367
394
|
regionId: string;
|
|
368
395
|
/** Instance id */
|
|
369
396
|
instanceId: string;
|
|
370
|
-
instanceName?: string;
|
|
371
|
-
parameters?: InstanceParameters;
|
|
372
|
-
planId?: string;
|
|
397
|
+
instanceName?: string | undefined;
|
|
398
|
+
parameters?: InstanceParameters | undefined;
|
|
399
|
+
planId?: string | undefined;
|
|
373
400
|
}
|
|
374
401
|
export interface PartialUpdateInstanceResponse {}
|
|
375
402
|
export interface TriggerRecreateRequest {
|
|
@@ -401,6 +428,14 @@ export interface TriggerRestoreRequest {
|
|
|
401
428
|
export interface TriggerRestoreResponse {
|
|
402
429
|
id: number;
|
|
403
430
|
}
|
|
431
|
+
export interface TriggerUpdateRequest {
|
|
432
|
+
/** Project id on which user has permissions */
|
|
433
|
+
projectId: string;
|
|
434
|
+
/** region in which the project resides */
|
|
435
|
+
regionId: string;
|
|
436
|
+
/** Instance id */
|
|
437
|
+
instanceId: string;
|
|
438
|
+
}
|
|
404
439
|
export interface UpdateBackupsConfigRequest {
|
|
405
440
|
/** Project id on which user has permissions */
|
|
406
441
|
projectId: string;
|
|
@@ -408,11 +443,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
408
443
|
regionId: string;
|
|
409
444
|
/** Instance id */
|
|
410
445
|
instanceId: string;
|
|
411
|
-
encryption_key?: string;
|
|
446
|
+
encryption_key?: string | undefined;
|
|
412
447
|
}
|
|
413
448
|
export interface UpdateBackupsConfigResponse {
|
|
414
449
|
message: string;
|
|
415
450
|
}
|
|
451
|
+
export interface UpdateUpdatesSettingsRequest {
|
|
452
|
+
/** Project id on which user has permissions */
|
|
453
|
+
projectId: string;
|
|
454
|
+
/** region in which the project resides */
|
|
455
|
+
regionId: string;
|
|
456
|
+
/** Instance id */
|
|
457
|
+
instanceId: string;
|
|
458
|
+
/** Set to true to enable automatic updates or false to disable them. */
|
|
459
|
+
automaticUpdatesEnabled: boolean;
|
|
460
|
+
}
|
|
461
|
+
export interface UpdateUpdatesSettingsResponse {
|
|
462
|
+
/** Whether automatic updates are allowed. */
|
|
463
|
+
automaticUpdatesEnabled: boolean;
|
|
464
|
+
}
|
|
416
465
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
417
466
|
/** create a backup */
|
|
418
467
|
export const createBackup: API.OperationMethod<
|
|
@@ -421,8 +470,8 @@ export const createBackup: API.OperationMethod<
|
|
|
421
470
|
CreateBackupError,
|
|
422
471
|
StackitOpContext
|
|
423
472
|
> = /*@__PURE__*/ API.make(() => ({
|
|
424
|
-
input: __S(
|
|
425
|
-
output: __S(
|
|
473
|
+
input: __S(128, __c16, 0) as any as S.Schema<CreateBackupRequest>,
|
|
474
|
+
output: __S(129, __c16, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
426
475
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
427
476
|
protocol: StackitProtocol,
|
|
428
477
|
retry: Retry.Retry,
|
|
@@ -438,8 +487,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
438
487
|
CreateCredentialsError,
|
|
439
488
|
StackitOpContext
|
|
440
489
|
> = /*@__PURE__*/ API.make(() => ({
|
|
441
|
-
input: __S(
|
|
442
|
-
output: __S(
|
|
490
|
+
input: __S(136, __c17, 0) as any as S.Schema<CreateCredentialsRequest>,
|
|
491
|
+
output: __S(146, __c18, 2) as any as S.Schema<CredentialsResponse>,
|
|
443
492
|
errors: [BadRequest, UnknownStackitError],
|
|
444
493
|
protocol: StackitProtocol,
|
|
445
494
|
retry: Retry.Retry,
|
|
@@ -455,8 +504,8 @@ export const createInstance: API.OperationMethod<
|
|
|
455
504
|
CreateInstanceError,
|
|
456
505
|
StackitOpContext
|
|
457
506
|
> = /*@__PURE__*/ API.make(() => ({
|
|
458
|
-
input: __S(
|
|
459
|
-
output: __S(
|
|
507
|
+
input: __S(152, __c19, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
508
|
+
output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
460
509
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
461
510
|
protocol: StackitProtocol,
|
|
462
511
|
retry: Retry.Retry,
|
|
@@ -472,8 +521,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
472
521
|
DeleteCredentialsError,
|
|
473
522
|
StackitOpContext
|
|
474
523
|
> = /*@__PURE__*/ API.make(() => ({
|
|
475
|
-
input: __S(
|
|
476
|
-
output: __S(
|
|
524
|
+
input: __S(176, __c22, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
525
|
+
output: __S(184, __c23, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
477
526
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
478
527
|
protocol: StackitProtocol,
|
|
479
528
|
retry: Retry.Retry,
|
|
@@ -489,8 +538,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
489
538
|
DeleteInstanceError,
|
|
490
539
|
StackitOpContext
|
|
491
540
|
> = /*@__PURE__*/ API.make(() => ({
|
|
492
|
-
input: __S(
|
|
493
|
-
output: __S(
|
|
541
|
+
input: __S(192, __c24, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
542
|
+
output: __S(184, __c23, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
494
543
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
495
544
|
protocol: StackitProtocol,
|
|
496
545
|
retry: Retry.Retry,
|
|
@@ -506,8 +555,8 @@ export const downloadBackup: API.OperationMethod<
|
|
|
506
555
|
DownloadBackupError,
|
|
507
556
|
StackitOpContext
|
|
508
557
|
> = /*@__PURE__*/ API.make(() => ({
|
|
509
|
-
input: __S(
|
|
510
|
-
output: __S(
|
|
558
|
+
input: __S(200, __c25, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
559
|
+
output: __S(184, __c23, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
511
560
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
512
561
|
protocol: StackitProtocol,
|
|
513
562
|
retry: Retry.Retry,
|
|
@@ -523,8 +572,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
523
572
|
GetCredentialsError,
|
|
524
573
|
StackitOpContext
|
|
525
574
|
> = /*@__PURE__*/ API.make(() => ({
|
|
526
|
-
input: __S(
|
|
527
|
-
output: __S(
|
|
575
|
+
input: __S(208, __c26, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
576
|
+
output: __S(146, __c18, 2) as any as S.Schema<CredentialsResponse>,
|
|
528
577
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
529
578
|
protocol: StackitProtocol,
|
|
530
579
|
retry: Retry.Retry,
|
|
@@ -566,6 +615,23 @@ export const getMetrics: API.OperationMethod<
|
|
|
566
615
|
span: "GetMetrics",
|
|
567
616
|
}));
|
|
568
617
|
|
|
618
|
+
export type GetUpdatesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
619
|
+
/** get update settings Returns whether automatic updates are enabled and the number of available updates. */
|
|
620
|
+
export const getUpdates: API.OperationMethod<
|
|
621
|
+
GetUpdatesRequest,
|
|
622
|
+
GetUpdatesResponse,
|
|
623
|
+
GetUpdatesError,
|
|
624
|
+
StackitOpContext
|
|
625
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
626
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
627
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
628
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
629
|
+
protocol: StackitProtocol,
|
|
630
|
+
retry: Retry.Retry,
|
|
631
|
+
telemetry: TELEMETRY,
|
|
632
|
+
span: "GetUpdates",
|
|
633
|
+
}));
|
|
634
|
+
|
|
569
635
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
570
636
|
/** get latest backup information for provided instanceId */
|
|
571
637
|
export const listBackups: API.OperationMethod<
|
|
@@ -574,8 +640,8 @@ export const listBackups: API.OperationMethod<
|
|
|
574
640
|
ListBackupsError,
|
|
575
641
|
StackitOpContext
|
|
576
642
|
> = /*@__PURE__*/ API.make(() => ({
|
|
577
|
-
input: __S(
|
|
578
|
-
output: __S(
|
|
643
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListBackupsRequest>,
|
|
644
|
+
output: __S(35, __c4, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
579
645
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
580
646
|
protocol: StackitProtocol,
|
|
581
647
|
retry: Retry.Retry,
|
|
@@ -591,8 +657,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
591
657
|
ListCredentialsError,
|
|
592
658
|
StackitOpContext
|
|
593
659
|
> = /*@__PURE__*/ API.make(() => ({
|
|
594
|
-
input: __S(
|
|
595
|
-
output: __S(
|
|
660
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
661
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
596
662
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
597
663
|
protocol: StackitProtocol,
|
|
598
664
|
retry: Retry.Retry,
|
|
@@ -608,8 +674,8 @@ export const listInstances: API.OperationMethod<
|
|
|
608
674
|
ListInstancesError,
|
|
609
675
|
StackitOpContext
|
|
610
676
|
> = /*@__PURE__*/ API.make(() => ({
|
|
611
|
-
input: __S(
|
|
612
|
-
output: __S(
|
|
677
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListInstancesRequest>,
|
|
678
|
+
output: __S(50, __c6, 2) as any as S.Schema<ListInstancesResponse>,
|
|
613
679
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
614
680
|
protocol: StackitProtocol,
|
|
615
681
|
retry: Retry.Retry,
|
|
@@ -625,8 +691,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
625
691
|
ListOfferingsError,
|
|
626
692
|
StackitOpContext
|
|
627
693
|
> = /*@__PURE__*/ API.make(() => ({
|
|
628
|
-
input: __S(
|
|
629
|
-
output: __S(
|
|
694
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
695
|
+
output: __S(63, __c7, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
630
696
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
631
697
|
protocol: StackitProtocol,
|
|
632
698
|
retry: Retry.Retry,
|
|
@@ -642,8 +708,8 @@ export const listRestores: API.OperationMethod<
|
|
|
642
708
|
ListRestoresError,
|
|
643
709
|
StackitOpContext
|
|
644
710
|
> = /*@__PURE__*/ API.make(() => ({
|
|
645
|
-
input: __S(
|
|
646
|
-
output: __S(
|
|
711
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListRestoresRequest>,
|
|
712
|
+
output: __S(67, __c8, 3) as any as S.Schema<ListRestoresResponse>,
|
|
647
713
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
648
714
|
protocol: StackitProtocol,
|
|
649
715
|
retry: Retry.Retry,
|
|
@@ -659,8 +725,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
659
725
|
PartialUpdateInstanceError,
|
|
660
726
|
StackitOpContext
|
|
661
727
|
> = /*@__PURE__*/ API.make(() => ({
|
|
662
|
-
input: __S(
|
|
663
|
-
output: __S(
|
|
728
|
+
input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
729
|
+
output: __S(184, __c23, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
664
730
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
665
731
|
protocol: StackitProtocol,
|
|
666
732
|
retry: Retry.Retry,
|
|
@@ -676,8 +742,8 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
676
742
|
TriggerRecreateError,
|
|
677
743
|
StackitOpContext
|
|
678
744
|
> = /*@__PURE__*/ API.make(() => ({
|
|
679
|
-
input: __S(
|
|
680
|
-
output: __S(
|
|
745
|
+
input: __S(80, __c10, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
746
|
+
output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
681
747
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
682
748
|
protocol: StackitProtocol,
|
|
683
749
|
retry: Retry.Retry,
|
|
@@ -693,8 +759,8 @@ export const triggerRestart: API.OperationMethod<
|
|
|
693
759
|
TriggerRestartError,
|
|
694
760
|
StackitOpContext
|
|
695
761
|
> = /*@__PURE__*/ API.make(() => ({
|
|
696
|
-
input: __S(
|
|
697
|
-
output: __S(
|
|
762
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
763
|
+
output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
698
764
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
699
765
|
protocol: StackitProtocol,
|
|
700
766
|
retry: Retry.Retry,
|
|
@@ -710,8 +776,8 @@ export const triggerRestore: API.OperationMethod<
|
|
|
710
776
|
TriggerRestoreError,
|
|
711
777
|
StackitOpContext
|
|
712
778
|
> = /*@__PURE__*/ API.make(() => ({
|
|
713
|
-
input: __S(
|
|
714
|
-
output: __S(
|
|
779
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
780
|
+
output: __S(97, __c12, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
715
781
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
716
782
|
protocol: StackitProtocol,
|
|
717
783
|
retry: Retry.Retry,
|
|
@@ -719,6 +785,23 @@ export const triggerRestore: API.OperationMethod<
|
|
|
719
785
|
span: "TriggerRestore",
|
|
720
786
|
}));
|
|
721
787
|
|
|
788
|
+
export type TriggerUpdateError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
789
|
+
/** start updates Starts all available updates asynchronously using the instance's service offering. No request body is required. */
|
|
790
|
+
export const triggerUpdate: API.OperationMethod<
|
|
791
|
+
TriggerUpdateRequest,
|
|
792
|
+
CreateInstanceResponse,
|
|
793
|
+
TriggerUpdateError,
|
|
794
|
+
StackitOpContext
|
|
795
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
796
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
797
|
+
output: __S(168, __c21, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
798
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
799
|
+
protocol: StackitProtocol,
|
|
800
|
+
retry: Retry.Retry,
|
|
801
|
+
telemetry: TELEMETRY,
|
|
802
|
+
span: "TriggerUpdate",
|
|
803
|
+
}));
|
|
804
|
+
|
|
722
805
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
723
806
|
/** backups configuration update Update the configuration for backups for your instance. */
|
|
724
807
|
export const updateBackupsConfig: API.OperationMethod<
|
|
@@ -727,8 +810,8 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
727
810
|
UpdateBackupsConfigError,
|
|
728
811
|
StackitOpContext
|
|
729
812
|
> = /*@__PURE__*/ API.make(() => ({
|
|
730
|
-
input: __S(
|
|
731
|
-
output: __S(
|
|
813
|
+
input: __S(112, __c14, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
814
|
+
output: __S(113, __c14, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
732
815
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
733
816
|
protocol: StackitProtocol,
|
|
734
817
|
retry: Retry.Retry,
|
|
@@ -736,6 +819,23 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
736
819
|
span: "UpdateBackupsConfig",
|
|
737
820
|
}));
|
|
738
821
|
|
|
822
|
+
export type UpdateUpdatesSettingsError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
823
|
+
/** update update settings Enables or disables automatic updates. The platform operator must allow changing this setting. */
|
|
824
|
+
export const updateUpdatesSettings: API.OperationMethod<
|
|
825
|
+
UpdateUpdatesSettingsRequest,
|
|
826
|
+
UpdateUpdatesSettingsResponse,
|
|
827
|
+
UpdateUpdatesSettingsError,
|
|
828
|
+
StackitOpContext
|
|
829
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
830
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
831
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
832
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
833
|
+
protocol: StackitProtocol,
|
|
834
|
+
retry: Retry.Retry,
|
|
835
|
+
telemetry: TELEMETRY,
|
|
836
|
+
span: "UpdateUpdatesSettings",
|
|
837
|
+
}));
|
|
838
|
+
|
|
739
839
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
740
840
|
function __c0(j: number): any {
|
|
741
841
|
switch (j) {
|
|
@@ -775,6 +875,7 @@ function __c1(j: number): any {
|
|
|
775
875
|
dashboardUrl: S.String,
|
|
776
876
|
imageUrl: S.String,
|
|
777
877
|
instanceId: S.optional(S.String),
|
|
878
|
+
instanceStatus: S.optional(S.String),
|
|
778
879
|
lastOperation: __S(8, __c1, 0),
|
|
779
880
|
name: S.String,
|
|
780
881
|
offeringName: S.String,
|
|
@@ -836,6 +937,32 @@ function __c2(j: number): any {
|
|
|
836
937
|
}
|
|
837
938
|
}
|
|
838
939
|
function __c3(j: number): any {
|
|
940
|
+
switch (j) {
|
|
941
|
+
case 0:
|
|
942
|
+
return S.suspend(() =>
|
|
943
|
+
S.Struct({
|
|
944
|
+
projectId: S.String.pipe(T.Label()),
|
|
945
|
+
regionId: S.String.pipe(T.Label()),
|
|
946
|
+
instanceId: S.String.pipe(T.Label()),
|
|
947
|
+
}).pipe(
|
|
948
|
+
T.Http({
|
|
949
|
+
method: "GET",
|
|
950
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
951
|
+
code: 200,
|
|
952
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
953
|
+
}),
|
|
954
|
+
),
|
|
955
|
+
).annotate({ identifier: "GetUpdatesRequest" });
|
|
956
|
+
case 1:
|
|
957
|
+
return S.suspend(() =>
|
|
958
|
+
S.Struct({
|
|
959
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
960
|
+
availableUpdates: S.Number,
|
|
961
|
+
}),
|
|
962
|
+
).annotate({ identifier: "GetUpdatesResponse" });
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
function __c4(j: number): any {
|
|
839
966
|
switch (j) {
|
|
840
967
|
case 0:
|
|
841
968
|
return S.suspend(() =>
|
|
@@ -864,14 +991,14 @@ function __c3(j: number): any {
|
|
|
864
991
|
}),
|
|
865
992
|
).annotate({ identifier: "Backup" });
|
|
866
993
|
case 2:
|
|
867
|
-
return S.Array(__S(
|
|
994
|
+
return S.Array(__S(33, __c4, 1));
|
|
868
995
|
case 3:
|
|
869
|
-
return S.suspend(() => __S(
|
|
996
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
870
997
|
identifier: "ListBackupsResponse2",
|
|
871
998
|
});
|
|
872
999
|
}
|
|
873
1000
|
}
|
|
874
|
-
function
|
|
1001
|
+
function __c5(j: number): any {
|
|
875
1002
|
switch (j) {
|
|
876
1003
|
case 0:
|
|
877
1004
|
return S.suspend(() =>
|
|
@@ -895,16 +1022,16 @@ function __c4(j: number): any {
|
|
|
895
1022
|
}),
|
|
896
1023
|
).annotate({ identifier: "CredentialsListItem" });
|
|
897
1024
|
case 2:
|
|
898
|
-
return S.Array(__S(
|
|
1025
|
+
return S.Array(__S(41, __c5, 1));
|
|
899
1026
|
case 3:
|
|
900
1027
|
return S.suspend(() =>
|
|
901
1028
|
S.Struct({
|
|
902
|
-
credentialsList: __S(
|
|
1029
|
+
credentialsList: __S(42, __c5, 2),
|
|
903
1030
|
}),
|
|
904
1031
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
905
1032
|
}
|
|
906
1033
|
}
|
|
907
|
-
function
|
|
1034
|
+
function __c6(j: number): any {
|
|
908
1035
|
switch (j) {
|
|
909
1036
|
case 0:
|
|
910
1037
|
return S.suspend(() =>
|
|
@@ -925,12 +1052,12 @@ function __c5(j: number): any {
|
|
|
925
1052
|
case 2:
|
|
926
1053
|
return S.suspend(() =>
|
|
927
1054
|
S.Struct({
|
|
928
|
-
instances: __S(
|
|
1055
|
+
instances: __S(49, __c6, 1),
|
|
929
1056
|
}),
|
|
930
1057
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
931
1058
|
}
|
|
932
1059
|
}
|
|
933
|
-
function
|
|
1060
|
+
function __c7(j: number): any {
|
|
934
1061
|
switch (j) {
|
|
935
1062
|
case 0:
|
|
936
1063
|
return S.suspend(() =>
|
|
@@ -957,7 +1084,7 @@ function __c6(j: number): any {
|
|
|
957
1084
|
}),
|
|
958
1085
|
).annotate({ identifier: "Plan" });
|
|
959
1086
|
case 2:
|
|
960
|
-
return S.Array(__S(
|
|
1087
|
+
return S.Array(__S(57, __c7, 1));
|
|
961
1088
|
case 3:
|
|
962
1089
|
return S.suspend(() =>
|
|
963
1090
|
S.Struct({
|
|
@@ -967,8 +1094,8 @@ function __c6(j: number): any {
|
|
|
967
1094
|
case 4:
|
|
968
1095
|
return S.suspend(() =>
|
|
969
1096
|
S.Struct({
|
|
970
|
-
create: __S(
|
|
971
|
-
update: __S(
|
|
1097
|
+
create: __S(59, __c7, 3),
|
|
1098
|
+
update: __S(59, __c7, 3),
|
|
972
1099
|
}),
|
|
973
1100
|
).annotate({ identifier: "InstanceSchema" });
|
|
974
1101
|
case 5:
|
|
@@ -980,23 +1107,23 @@ function __c6(j: number): any {
|
|
|
980
1107
|
latest: S.Boolean,
|
|
981
1108
|
lifecycle: S.optional(S.String),
|
|
982
1109
|
name: S.String,
|
|
983
|
-
plans: __S(
|
|
1110
|
+
plans: __S(58, __c7, 2),
|
|
984
1111
|
quotaCount: S.Number,
|
|
985
|
-
schema: S.optional(__S(
|
|
1112
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
986
1113
|
version: S.String,
|
|
987
1114
|
}),
|
|
988
1115
|
).annotate({ identifier: "Offering" });
|
|
989
1116
|
case 6:
|
|
990
|
-
return S.Array(__S(
|
|
1117
|
+
return S.Array(__S(61, __c7, 5));
|
|
991
1118
|
case 7:
|
|
992
1119
|
return S.suspend(() =>
|
|
993
1120
|
S.Struct({
|
|
994
|
-
offerings: __S(
|
|
1121
|
+
offerings: __S(62, __c7, 6),
|
|
995
1122
|
}),
|
|
996
1123
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
997
1124
|
}
|
|
998
1125
|
}
|
|
999
|
-
function
|
|
1126
|
+
function __c8(j: number): any {
|
|
1000
1127
|
switch (j) {
|
|
1001
1128
|
case 0:
|
|
1002
1129
|
return S.suspend(() =>
|
|
@@ -1024,16 +1151,16 @@ function __c7(j: number): any {
|
|
|
1024
1151
|
}),
|
|
1025
1152
|
).annotate({ identifier: "Restore" });
|
|
1026
1153
|
case 2:
|
|
1027
|
-
return S.Array(__S(
|
|
1154
|
+
return S.Array(__S(65, __c8, 1));
|
|
1028
1155
|
case 3:
|
|
1029
1156
|
return S.suspend(() =>
|
|
1030
1157
|
S.Struct({
|
|
1031
|
-
instanceRestores: __S(
|
|
1158
|
+
instanceRestores: __S(66, __c8, 2),
|
|
1032
1159
|
}),
|
|
1033
1160
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
1034
1161
|
}
|
|
1035
1162
|
}
|
|
1036
|
-
function
|
|
1163
|
+
function __c9(j: number): any {
|
|
1037
1164
|
switch (j) {
|
|
1038
1165
|
case 0:
|
|
1039
1166
|
return S.suspend(() =>
|
|
@@ -1042,7 +1169,7 @@ function __c8(j: number): any {
|
|
|
1042
1169
|
regionId: S.String.pipe(T.Label()),
|
|
1043
1170
|
instanceId: S.String.pipe(T.Label()),
|
|
1044
1171
|
instanceName: S.optional(S.String),
|
|
1045
|
-
parameters: S.optional(__S(
|
|
1172
|
+
parameters: S.optional(__S(164, __c20, 4)),
|
|
1046
1173
|
planId: S.optional(S.String),
|
|
1047
1174
|
}).pipe(
|
|
1048
1175
|
T.Http({
|
|
@@ -1055,7 +1182,7 @@ function __c8(j: number): any {
|
|
|
1055
1182
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1056
1183
|
}
|
|
1057
1184
|
}
|
|
1058
|
-
function
|
|
1185
|
+
function __c10(j: number): any {
|
|
1059
1186
|
switch (j) {
|
|
1060
1187
|
case 0:
|
|
1061
1188
|
return S.suspend(() =>
|
|
@@ -1074,7 +1201,7 @@ function __c9(j: number): any {
|
|
|
1074
1201
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1075
1202
|
}
|
|
1076
1203
|
}
|
|
1077
|
-
function
|
|
1204
|
+
function __c11(j: number): any {
|
|
1078
1205
|
switch (j) {
|
|
1079
1206
|
case 0:
|
|
1080
1207
|
return S.suspend(() =>
|
|
@@ -1093,7 +1220,7 @@ function __c10(j: number): any {
|
|
|
1093
1220
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1094
1221
|
}
|
|
1095
1222
|
}
|
|
1096
|
-
function
|
|
1223
|
+
function __c12(j: number): any {
|
|
1097
1224
|
switch (j) {
|
|
1098
1225
|
case 0:
|
|
1099
1226
|
return S.suspend(() =>
|
|
@@ -1119,7 +1246,26 @@ function __c11(j: number): any {
|
|
|
1119
1246
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1120
1247
|
}
|
|
1121
1248
|
}
|
|
1122
|
-
function
|
|
1249
|
+
function __c13(j: number): any {
|
|
1250
|
+
switch (j) {
|
|
1251
|
+
case 0:
|
|
1252
|
+
return S.suspend(() =>
|
|
1253
|
+
S.Struct({
|
|
1254
|
+
projectId: S.String.pipe(T.Label()),
|
|
1255
|
+
regionId: S.String.pipe(T.Label()),
|
|
1256
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1257
|
+
}).pipe(
|
|
1258
|
+
T.Http({
|
|
1259
|
+
method: "POST",
|
|
1260
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates/start",
|
|
1261
|
+
code: 200,
|
|
1262
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
1263
|
+
}),
|
|
1264
|
+
),
|
|
1265
|
+
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
function __c14(j: number): any {
|
|
1123
1269
|
switch (j) {
|
|
1124
1270
|
case 0:
|
|
1125
1271
|
return S.suspend(() =>
|
|
@@ -1145,7 +1291,33 @@ function __c12(j: number): any {
|
|
|
1145
1291
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1146
1292
|
}
|
|
1147
1293
|
}
|
|
1148
|
-
function
|
|
1294
|
+
function __c15(j: number): any {
|
|
1295
|
+
switch (j) {
|
|
1296
|
+
case 0:
|
|
1297
|
+
return S.suspend(() =>
|
|
1298
|
+
S.Struct({
|
|
1299
|
+
projectId: S.String.pipe(T.Label()),
|
|
1300
|
+
regionId: S.String.pipe(T.Label()),
|
|
1301
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1302
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1303
|
+
}).pipe(
|
|
1304
|
+
T.Http({
|
|
1305
|
+
method: "PATCH",
|
|
1306
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
1307
|
+
code: 200,
|
|
1308
|
+
baseUrl: "https://logme.api.stackit.cloud",
|
|
1309
|
+
}),
|
|
1310
|
+
),
|
|
1311
|
+
).annotate({ identifier: "UpdateUpdatesSettingsRequest" });
|
|
1312
|
+
case 1:
|
|
1313
|
+
return S.suspend(() =>
|
|
1314
|
+
S.Struct({
|
|
1315
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1316
|
+
}),
|
|
1317
|
+
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
function __c16(j: number): any {
|
|
1149
1321
|
switch (j) {
|
|
1150
1322
|
case 0:
|
|
1151
1323
|
return S.suspend(() =>
|
|
@@ -1171,7 +1343,7 @@ function __c13(j: number): any {
|
|
|
1171
1343
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1172
1344
|
}
|
|
1173
1345
|
}
|
|
1174
|
-
function
|
|
1346
|
+
function __c17(j: number): any {
|
|
1175
1347
|
switch (j) {
|
|
1176
1348
|
case 0:
|
|
1177
1349
|
return S.suspend(() =>
|
|
@@ -1191,7 +1363,7 @@ function __c14(j: number): any {
|
|
|
1191
1363
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1192
1364
|
}
|
|
1193
1365
|
}
|
|
1194
|
-
function
|
|
1366
|
+
function __c18(j: number): any {
|
|
1195
1367
|
switch (j) {
|
|
1196
1368
|
case 0:
|
|
1197
1369
|
return S.suspend(() =>
|
|
@@ -1207,20 +1379,20 @@ function __c15(j: number): any {
|
|
|
1207
1379
|
case 1:
|
|
1208
1380
|
return S.suspend(() =>
|
|
1209
1381
|
S.Struct({
|
|
1210
|
-
credentials: __S(
|
|
1382
|
+
credentials: __S(144, __c18, 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(145, __c18, 1)),
|
|
1218
1390
|
uri: S.String,
|
|
1219
1391
|
}),
|
|
1220
1392
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1221
1393
|
}
|
|
1222
1394
|
}
|
|
1223
|
-
function
|
|
1395
|
+
function __c19(j: number): any {
|
|
1224
1396
|
switch (j) {
|
|
1225
1397
|
case 0:
|
|
1226
1398
|
return S.suspend(() =>
|
|
@@ -1228,7 +1400,7 @@ function __c16(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(164, __c20, 4)),
|
|
1232
1404
|
planId: S.String,
|
|
1233
1405
|
}).pipe(
|
|
1234
1406
|
T.Http({
|
|
@@ -1241,7 +1413,7 @@ function __c16(j: number): any {
|
|
|
1241
1413
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1242
1414
|
}
|
|
1243
1415
|
}
|
|
1244
|
-
function
|
|
1416
|
+
function __c20(j: number): any {
|
|
1245
1417
|
switch (j) {
|
|
1246
1418
|
case 0:
|
|
1247
1419
|
return S.suspend(() =>
|
|
@@ -1250,7 +1422,7 @@ function __c17(j: number): any {
|
|
|
1250
1422
|
}),
|
|
1251
1423
|
).annotate({ identifier: "InstanceParametersGroksItem" });
|
|
1252
1424
|
case 1:
|
|
1253
|
-
return S.Array(__S(
|
|
1425
|
+
return S.Array(__S(160, __c20, 0));
|
|
1254
1426
|
case 2:
|
|
1255
1427
|
return S.Array(S.String);
|
|
1256
1428
|
case 3:
|
|
@@ -1267,7 +1439,7 @@ function __c17(j: number): any {
|
|
|
1267
1439
|
fluentd_tls_version: S.optional(S.String.pipe(T.Body("fluentd-tls-version"))),
|
|
1268
1440
|
fluentd_udp: S.optional(S.Number.pipe(T.Body("fluentd-udp"))),
|
|
1269
1441
|
graphite: S.optional(S.String),
|
|
1270
|
-
groks: S.optional(__S(
|
|
1442
|
+
groks: S.optional(__S(161, __c20, 1)),
|
|
1271
1443
|
ism_deletion_after: S.optional(S.String),
|
|
1272
1444
|
ism_jitter: S.optional(S.Number),
|
|
1273
1445
|
ism_job_interval: S.optional(S.Number),
|
|
@@ -1278,18 +1450,18 @@ function __c17(j: number): any {
|
|
|
1278
1450
|
metrics_prefix: S.optional(S.String),
|
|
1279
1451
|
monitoring_instance_id: S.optional(S.String),
|
|
1280
1452
|
opensearch_tls_ciphers: S.optional(
|
|
1281
|
-
__S(
|
|
1453
|
+
__S(162, __c20, 2).pipe(T.Body("opensearch-tls-ciphers")),
|
|
1282
1454
|
),
|
|
1283
1455
|
opensearch_tls_protocols: S.optional(
|
|
1284
|
-
__S(
|
|
1456
|
+
__S(163, __c20, 3).pipe(T.Body("opensearch-tls-protocols")),
|
|
1285
1457
|
),
|
|
1286
1458
|
sgw_acl: S.optional(S.String),
|
|
1287
|
-
syslog: S.optional(__S(
|
|
1459
|
+
syslog: S.optional(__S(163, __c20, 3)),
|
|
1288
1460
|
}),
|
|
1289
1461
|
).annotate({ identifier: "InstanceParameters" });
|
|
1290
1462
|
}
|
|
1291
1463
|
}
|
|
1292
|
-
function
|
|
1464
|
+
function __c21(j: number): any {
|
|
1293
1465
|
switch (j) {
|
|
1294
1466
|
case 0:
|
|
1295
1467
|
return S.suspend(() =>
|
|
@@ -1299,7 +1471,7 @@ function __c18(j: number): any {
|
|
|
1299
1471
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1300
1472
|
}
|
|
1301
1473
|
}
|
|
1302
|
-
function
|
|
1474
|
+
function __c22(j: number): any {
|
|
1303
1475
|
switch (j) {
|
|
1304
1476
|
case 0:
|
|
1305
1477
|
return S.suspend(() =>
|
|
@@ -1319,13 +1491,13 @@ function __c19(j: number): any {
|
|
|
1319
1491
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1320
1492
|
}
|
|
1321
1493
|
}
|
|
1322
|
-
function
|
|
1494
|
+
function __c23(j: number): any {
|
|
1323
1495
|
switch (j) {
|
|
1324
1496
|
case 0:
|
|
1325
1497
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1326
1498
|
}
|
|
1327
1499
|
}
|
|
1328
|
-
function
|
|
1500
|
+
function __c24(j: number): any {
|
|
1329
1501
|
switch (j) {
|
|
1330
1502
|
case 0:
|
|
1331
1503
|
return S.suspend(() =>
|
|
@@ -1344,7 +1516,7 @@ function __c21(j: number): any {
|
|
|
1344
1516
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1345
1517
|
}
|
|
1346
1518
|
}
|
|
1347
|
-
function
|
|
1519
|
+
function __c25(j: number): any {
|
|
1348
1520
|
switch (j) {
|
|
1349
1521
|
case 0:
|
|
1350
1522
|
return S.suspend(() =>
|
|
@@ -1364,7 +1536,7 @@ function __c22(j: number): any {
|
|
|
1364
1536
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1365
1537
|
}
|
|
1366
1538
|
}
|
|
1367
|
-
function
|
|
1539
|
+
function __c26(j: number): any {
|
|
1368
1540
|
switch (j) {
|
|
1369
1541
|
case 0:
|
|
1370
1542
|
return S.suspend(() =>
|