@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/logme.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Logme",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -59,14 +72,14 @@ export interface CreateCredentialsRequest {
|
|
|
59
72
|
regionId: string;
|
|
60
73
|
/** Instance id */
|
|
61
74
|
instanceId: string;
|
|
62
|
-
parameters?: unknown;
|
|
75
|
+
parameters?: unknown | undefined;
|
|
63
76
|
}
|
|
64
77
|
export interface Credentials {
|
|
65
78
|
host: string;
|
|
66
79
|
password: string | Redacted.Redacted<string>;
|
|
67
|
-
port?: number;
|
|
68
|
-
syslog_drain_url?: string;
|
|
69
|
-
uri?: string;
|
|
80
|
+
port?: number | undefined;
|
|
81
|
+
syslog_drain_url?: string | undefined;
|
|
82
|
+
uri?: string | undefined;
|
|
70
83
|
username: string;
|
|
71
84
|
}
|
|
72
85
|
export interface RawCredentials {
|
|
@@ -74,11 +87,11 @@ export interface RawCredentials {
|
|
|
74
87
|
}
|
|
75
88
|
export interface CredentialsResponse {
|
|
76
89
|
id: string;
|
|
77
|
-
raw?: RawCredentials;
|
|
90
|
+
raw?: RawCredentials | undefined;
|
|
78
91
|
uri: string;
|
|
79
92
|
}
|
|
80
93
|
export interface InstanceParametersGroksItem {
|
|
81
|
-
pattern?: string;
|
|
94
|
+
pattern?: string | undefined;
|
|
82
95
|
}
|
|
83
96
|
export type InstanceParametersGroksList = Array<InstanceParametersGroksItem>;
|
|
84
97
|
export type InstanceParametersOpensearchTlsCiphersItem = "TLSv1.2" | "TLSv1.3";
|
|
@@ -90,44 +103,44 @@ export type InstanceParametersOpensearchTlsCiphersList = Array<
|
|
|
90
103
|
export type InstanceParametersOpensearchTlsProtocolsList = Array<string>;
|
|
91
104
|
export type InstanceParametersSyslogList = Array<string>;
|
|
92
105
|
export interface InstanceParameters {
|
|
93
|
-
enable_monitoring?: boolean;
|
|
94
|
-
fluentd_tcp?: number;
|
|
106
|
+
enable_monitoring?: boolean | undefined;
|
|
107
|
+
fluentd_tcp?: number | undefined;
|
|
95
108
|
/** This property is deprecated and will be removed in a future release. */
|
|
96
|
-
fluentd_tls?: number;
|
|
109
|
+
fluentd_tls?: number | undefined;
|
|
97
110
|
/** This property is deprecated and will be removed in a future release. */
|
|
98
|
-
fluentd_tls_ciphers?: string;
|
|
111
|
+
fluentd_tls_ciphers?: string | undefined;
|
|
99
112
|
/** This property is deprecated and will be removed in a future release. */
|
|
100
|
-
fluentd_tls_max_version?: string;
|
|
113
|
+
fluentd_tls_max_version?: string | undefined;
|
|
101
114
|
/** This property is deprecated and will be removed in a future release. */
|
|
102
|
-
fluentd_tls_min_version?: string;
|
|
115
|
+
fluentd_tls_min_version?: string | undefined;
|
|
103
116
|
/** This property is deprecated and will be removed in a future release. */
|
|
104
|
-
fluentd_tls_version?: string;
|
|
105
|
-
fluentd_udp?: number;
|
|
117
|
+
fluentd_tls_version?: string | undefined;
|
|
118
|
+
fluentd_udp?: number | undefined;
|
|
106
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. */
|
|
107
|
-
graphite?: string;
|
|
108
|
-
groks?: InstanceParametersGroksList;
|
|
120
|
+
graphite?: string | undefined;
|
|
121
|
+
groks?: InstanceParametersGroksList | undefined;
|
|
109
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. */
|
|
110
|
-
ism_deletion_after?: string;
|
|
111
|
-
ism_jitter?: number;
|
|
112
|
-
ism_job_interval?: number;
|
|
123
|
+
ism_deletion_after?: string | undefined;
|
|
124
|
+
ism_jitter?: number | undefined;
|
|
125
|
+
ism_job_interval?: number | undefined;
|
|
113
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. */
|
|
114
|
-
java_heapspace?: number;
|
|
127
|
+
java_heapspace?: number | undefined;
|
|
115
128
|
/** The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. */
|
|
116
|
-
java_maxmetaspace?: number;
|
|
129
|
+
java_maxmetaspace?: number | undefined;
|
|
117
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. */
|
|
118
|
-
max_disk_threshold?: number;
|
|
131
|
+
max_disk_threshold?: number | undefined;
|
|
119
132
|
/** Frequency of metrics being emitted in seconds */
|
|
120
|
-
metrics_frequency?: number;
|
|
133
|
+
metrics_frequency?: number | undefined;
|
|
121
134
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
122
|
-
metrics_prefix?: string;
|
|
123
|
-
monitoring_instance_id?: string;
|
|
135
|
+
metrics_prefix?: string | undefined;
|
|
136
|
+
monitoring_instance_id?: string | undefined;
|
|
124
137
|
/** This property is deprecated and will be removed in a future release. */
|
|
125
|
-
opensearch_tls_ciphers?: InstanceParametersOpensearchTlsCiphersList;
|
|
138
|
+
opensearch_tls_ciphers?: InstanceParametersOpensearchTlsCiphersList | undefined;
|
|
126
139
|
/** This property is deprecated and will be removed in a future release. */
|
|
127
|
-
opensearch_tls_protocols?: InstanceParametersOpensearchTlsProtocolsList;
|
|
140
|
+
opensearch_tls_protocols?: InstanceParametersOpensearchTlsProtocolsList | undefined;
|
|
128
141
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
129
|
-
sgw_acl?: string;
|
|
130
|
-
syslog?: InstanceParametersSyslogList;
|
|
142
|
+
sgw_acl?: string | undefined;
|
|
143
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
131
144
|
}
|
|
132
145
|
export interface CreateInstanceRequest {
|
|
133
146
|
/** Project id on which user has permissions */
|
|
@@ -135,7 +148,7 @@ export interface CreateInstanceRequest {
|
|
|
135
148
|
/** region in which the project resides */
|
|
136
149
|
regionId: string;
|
|
137
150
|
instanceName: string;
|
|
138
|
-
parameters?: InstanceParameters;
|
|
151
|
+
parameters?: InstanceParameters | undefined;
|
|
139
152
|
planId: string;
|
|
140
153
|
}
|
|
141
154
|
export interface CreateInstanceResponse {
|
|
@@ -190,6 +203,15 @@ export interface GetInstanceRequest {
|
|
|
190
203
|
/** Instance id */
|
|
191
204
|
instanceId: string;
|
|
192
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";
|
|
193
215
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
194
216
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
195
217
|
export interface InstanceLastOperation {
|
|
@@ -197,6 +219,7 @@ export interface InstanceLastOperation {
|
|
|
197
219
|
state: InstanceLastOperationState;
|
|
198
220
|
type: InstanceLastOperationType;
|
|
199
221
|
}
|
|
222
|
+
/** State of the last operation and this instance */
|
|
200
223
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
201
224
|
export interface Instance {
|
|
202
225
|
cfGuid: string;
|
|
@@ -204,7 +227,9 @@ export interface Instance {
|
|
|
204
227
|
cfSpaceGuid: string;
|
|
205
228
|
dashboardUrl: string;
|
|
206
229
|
imageUrl: string;
|
|
207
|
-
instanceId?: string;
|
|
230
|
+
instanceId?: string | undefined;
|
|
231
|
+
/** Current state of a service instance */
|
|
232
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
208
233
|
lastOperation: InstanceLastOperation;
|
|
209
234
|
name: string;
|
|
210
235
|
offeringName: string;
|
|
@@ -212,7 +237,8 @@ export interface Instance {
|
|
|
212
237
|
parameters: unknown;
|
|
213
238
|
planId: string;
|
|
214
239
|
planName: string;
|
|
215
|
-
|
|
240
|
+
/** State of the last operation and this instance */
|
|
241
|
+
status?: InstanceStatus | undefined;
|
|
216
242
|
}
|
|
217
243
|
export interface GetMetricsRequest {
|
|
218
244
|
/** Project id on which user has permissions */
|
|
@@ -223,10 +249,10 @@ export interface GetMetricsRequest {
|
|
|
223
249
|
instanceId: string;
|
|
224
250
|
}
|
|
225
251
|
export interface GetMetricsResponse {
|
|
226
|
-
cpuIdleTime?: number;
|
|
252
|
+
cpuIdleTime?: number | undefined;
|
|
227
253
|
cpuLoadPercent: number;
|
|
228
|
-
cpuSystemTime?: number;
|
|
229
|
-
cpuUserTime?: number;
|
|
254
|
+
cpuSystemTime?: number | undefined;
|
|
255
|
+
cpuUserTime?: number | undefined;
|
|
230
256
|
diskEphemeralTotal: number;
|
|
231
257
|
diskEphemeralUsed: number;
|
|
232
258
|
diskPersistentTotal: number;
|
|
@@ -248,6 +274,20 @@ export interface GetMetricsResponse {
|
|
|
248
274
|
parachuteDiskPersistentUsedPercent: number;
|
|
249
275
|
parachuteDiskPersistentUsedThreshold: number;
|
|
250
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
|
+
}
|
|
251
291
|
export interface ListBackupsRequest {
|
|
252
292
|
/** Project id on which user has permissions */
|
|
253
293
|
projectId: string;
|
|
@@ -257,12 +297,12 @@ export interface ListBackupsRequest {
|
|
|
257
297
|
instanceId: string;
|
|
258
298
|
}
|
|
259
299
|
export interface Backup {
|
|
260
|
-
downloadable?: boolean;
|
|
300
|
+
downloadable?: boolean | undefined;
|
|
261
301
|
finished_at: string;
|
|
262
302
|
id: number;
|
|
263
|
-
size?: number;
|
|
303
|
+
size?: number | undefined;
|
|
264
304
|
status: string;
|
|
265
|
-
triggered_at?: string;
|
|
305
|
+
triggered_at?: string | undefined;
|
|
266
306
|
}
|
|
267
307
|
export type ListBackupsResponse = Array<Backup>;
|
|
268
308
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -317,11 +357,11 @@ export interface Offering {
|
|
|
317
357
|
documentationUrl: string;
|
|
318
358
|
imageUrl: string;
|
|
319
359
|
latest: boolean;
|
|
320
|
-
lifecycle?: string;
|
|
360
|
+
lifecycle?: string | undefined;
|
|
321
361
|
name: string;
|
|
322
362
|
plans: OfferingPlansList;
|
|
323
363
|
quotaCount: number;
|
|
324
|
-
schema?: InstanceSchema;
|
|
364
|
+
schema?: InstanceSchema | undefined;
|
|
325
365
|
version: string;
|
|
326
366
|
}
|
|
327
367
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -341,7 +381,7 @@ export interface Restore {
|
|
|
341
381
|
finished_at: string;
|
|
342
382
|
id: number;
|
|
343
383
|
status: string;
|
|
344
|
-
triggered_at?: string;
|
|
384
|
+
triggered_at?: string | undefined;
|
|
345
385
|
}
|
|
346
386
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
347
387
|
export interface ListRestoresResponse {
|
|
@@ -354,9 +394,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
354
394
|
regionId: string;
|
|
355
395
|
/** Instance id */
|
|
356
396
|
instanceId: string;
|
|
357
|
-
instanceName?: string;
|
|
358
|
-
parameters?: InstanceParameters;
|
|
359
|
-
planId?: string;
|
|
397
|
+
instanceName?: string | undefined;
|
|
398
|
+
parameters?: InstanceParameters | undefined;
|
|
399
|
+
planId?: string | undefined;
|
|
360
400
|
}
|
|
361
401
|
export interface PartialUpdateInstanceResponse {}
|
|
362
402
|
export interface TriggerRecreateRequest {
|
|
@@ -388,6 +428,14 @@ export interface TriggerRestoreRequest {
|
|
|
388
428
|
export interface TriggerRestoreResponse {
|
|
389
429
|
id: number;
|
|
390
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
|
+
}
|
|
391
439
|
export interface UpdateBackupsConfigRequest {
|
|
392
440
|
/** Project id on which user has permissions */
|
|
393
441
|
projectId: string;
|
|
@@ -395,11 +443,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
395
443
|
regionId: string;
|
|
396
444
|
/** Instance id */
|
|
397
445
|
instanceId: string;
|
|
398
|
-
encryption_key?: string;
|
|
446
|
+
encryption_key?: string | undefined;
|
|
399
447
|
}
|
|
400
448
|
export interface UpdateBackupsConfigResponse {
|
|
401
449
|
message: string;
|
|
402
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
|
+
}
|
|
403
465
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
404
466
|
/** create a backup */
|
|
405
467
|
export const createBackup: API.OperationMethod<
|
|
@@ -408,11 +470,13 @@ export const createBackup: API.OperationMethod<
|
|
|
408
470
|
CreateBackupError,
|
|
409
471
|
StackitOpContext
|
|
410
472
|
> = /*@__PURE__*/ API.make(() => ({
|
|
411
|
-
input: __S(
|
|
412
|
-
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>,
|
|
413
475
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
414
476
|
protocol: StackitProtocol,
|
|
415
477
|
retry: Retry.Retry,
|
|
478
|
+
telemetry: TELEMETRY,
|
|
479
|
+
span: "CreateBackup",
|
|
416
480
|
}));
|
|
417
481
|
|
|
418
482
|
export type CreateCredentialsError = BadRequest | StackitOpError;
|
|
@@ -423,11 +487,13 @@ export const createCredentials: API.OperationMethod<
|
|
|
423
487
|
CreateCredentialsError,
|
|
424
488
|
StackitOpContext
|
|
425
489
|
> = /*@__PURE__*/ API.make(() => ({
|
|
426
|
-
input: __S(
|
|
427
|
-
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>,
|
|
428
492
|
errors: [BadRequest, UnknownStackitError],
|
|
429
493
|
protocol: StackitProtocol,
|
|
430
494
|
retry: Retry.Retry,
|
|
495
|
+
telemetry: TELEMETRY,
|
|
496
|
+
span: "CreateCredentials",
|
|
431
497
|
}));
|
|
432
498
|
|
|
433
499
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
@@ -438,11 +504,13 @@ export const createInstance: API.OperationMethod<
|
|
|
438
504
|
CreateInstanceError,
|
|
439
505
|
StackitOpContext
|
|
440
506
|
> = /*@__PURE__*/ API.make(() => ({
|
|
441
|
-
input: __S(
|
|
442
|
-
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>,
|
|
443
509
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
444
510
|
protocol: StackitProtocol,
|
|
445
511
|
retry: Retry.Retry,
|
|
512
|
+
telemetry: TELEMETRY,
|
|
513
|
+
span: "CreateInstance",
|
|
446
514
|
}));
|
|
447
515
|
|
|
448
516
|
export type DeleteCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -453,11 +521,13 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
453
521
|
DeleteCredentialsError,
|
|
454
522
|
StackitOpContext
|
|
455
523
|
> = /*@__PURE__*/ API.make(() => ({
|
|
456
|
-
input: __S(
|
|
457
|
-
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>,
|
|
458
526
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
459
527
|
protocol: StackitProtocol,
|
|
460
528
|
retry: Retry.Retry,
|
|
529
|
+
telemetry: TELEMETRY,
|
|
530
|
+
span: "DeleteCredentials",
|
|
461
531
|
}));
|
|
462
532
|
|
|
463
533
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -468,11 +538,13 @@ export const deleteInstance: API.OperationMethod<
|
|
|
468
538
|
DeleteInstanceError,
|
|
469
539
|
StackitOpContext
|
|
470
540
|
> = /*@__PURE__*/ API.make(() => ({
|
|
471
|
-
input: __S(
|
|
472
|
-
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>,
|
|
473
543
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
474
544
|
protocol: StackitProtocol,
|
|
475
545
|
retry: Retry.Retry,
|
|
546
|
+
telemetry: TELEMETRY,
|
|
547
|
+
span: "DeleteInstance",
|
|
476
548
|
}));
|
|
477
549
|
|
|
478
550
|
export type DownloadBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -483,11 +555,13 @@ export const downloadBackup: API.OperationMethod<
|
|
|
483
555
|
DownloadBackupError,
|
|
484
556
|
StackitOpContext
|
|
485
557
|
> = /*@__PURE__*/ API.make(() => ({
|
|
486
|
-
input: __S(
|
|
487
|
-
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>,
|
|
488
560
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
489
561
|
protocol: StackitProtocol,
|
|
490
562
|
retry: Retry.Retry,
|
|
563
|
+
telemetry: TELEMETRY,
|
|
564
|
+
span: "DownloadBackup",
|
|
491
565
|
}));
|
|
492
566
|
|
|
493
567
|
export type GetCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -498,11 +572,13 @@ export const getCredentials: API.OperationMethod<
|
|
|
498
572
|
GetCredentialsError,
|
|
499
573
|
StackitOpContext
|
|
500
574
|
> = /*@__PURE__*/ API.make(() => ({
|
|
501
|
-
input: __S(
|
|
502
|
-
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>,
|
|
503
577
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
504
578
|
protocol: StackitProtocol,
|
|
505
579
|
retry: Retry.Retry,
|
|
580
|
+
telemetry: TELEMETRY,
|
|
581
|
+
span: "GetCredentials",
|
|
506
582
|
}));
|
|
507
583
|
|
|
508
584
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -518,6 +594,8 @@ export const getInstance: API.OperationMethod<
|
|
|
518
594
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
519
595
|
protocol: StackitProtocol,
|
|
520
596
|
retry: Retry.Retry,
|
|
597
|
+
telemetry: TELEMETRY,
|
|
598
|
+
span: "GetInstance",
|
|
521
599
|
}));
|
|
522
600
|
|
|
523
601
|
export type GetMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -533,6 +611,25 @@ export const getMetrics: API.OperationMethod<
|
|
|
533
611
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
534
612
|
protocol: StackitProtocol,
|
|
535
613
|
retry: Retry.Retry,
|
|
614
|
+
telemetry: TELEMETRY,
|
|
615
|
+
span: "GetMetrics",
|
|
616
|
+
}));
|
|
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",
|
|
536
633
|
}));
|
|
537
634
|
|
|
538
635
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -543,11 +640,13 @@ export const listBackups: API.OperationMethod<
|
|
|
543
640
|
ListBackupsError,
|
|
544
641
|
StackitOpContext
|
|
545
642
|
> = /*@__PURE__*/ API.make(() => ({
|
|
546
|
-
input: __S(
|
|
547
|
-
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>,
|
|
548
645
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
549
646
|
protocol: StackitProtocol,
|
|
550
647
|
retry: Retry.Retry,
|
|
648
|
+
telemetry: TELEMETRY,
|
|
649
|
+
span: "ListBackups",
|
|
551
650
|
}));
|
|
552
651
|
|
|
553
652
|
export type ListCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -558,11 +657,13 @@ export const listCredentials: API.OperationMethod<
|
|
|
558
657
|
ListCredentialsError,
|
|
559
658
|
StackitOpContext
|
|
560
659
|
> = /*@__PURE__*/ API.make(() => ({
|
|
561
|
-
input: __S(
|
|
562
|
-
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>,
|
|
563
662
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
564
663
|
protocol: StackitProtocol,
|
|
565
664
|
retry: Retry.Retry,
|
|
665
|
+
telemetry: TELEMETRY,
|
|
666
|
+
span: "ListCredentials",
|
|
566
667
|
}));
|
|
567
668
|
|
|
568
669
|
export type ListInstancesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -573,11 +674,13 @@ export const listInstances: API.OperationMethod<
|
|
|
573
674
|
ListInstancesError,
|
|
574
675
|
StackitOpContext
|
|
575
676
|
> = /*@__PURE__*/ API.make(() => ({
|
|
576
|
-
input: __S(
|
|
577
|
-
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>,
|
|
578
679
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
579
680
|
protocol: StackitProtocol,
|
|
580
681
|
retry: Retry.Retry,
|
|
682
|
+
telemetry: TELEMETRY,
|
|
683
|
+
span: "ListInstances",
|
|
581
684
|
}));
|
|
582
685
|
|
|
583
686
|
export type ListOfferingsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -588,11 +691,13 @@ export const listOfferings: API.OperationMethod<
|
|
|
588
691
|
ListOfferingsError,
|
|
589
692
|
StackitOpContext
|
|
590
693
|
> = /*@__PURE__*/ API.make(() => ({
|
|
591
|
-
input: __S(
|
|
592
|
-
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>,
|
|
593
696
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
594
697
|
protocol: StackitProtocol,
|
|
595
698
|
retry: Retry.Retry,
|
|
699
|
+
telemetry: TELEMETRY,
|
|
700
|
+
span: "ListOfferings",
|
|
596
701
|
}));
|
|
597
702
|
|
|
598
703
|
export type ListRestoresError = BadRequest | NotFound | StackitOpError;
|
|
@@ -603,11 +708,13 @@ export const listRestores: API.OperationMethod<
|
|
|
603
708
|
ListRestoresError,
|
|
604
709
|
StackitOpContext
|
|
605
710
|
> = /*@__PURE__*/ API.make(() => ({
|
|
606
|
-
input: __S(
|
|
607
|
-
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>,
|
|
608
713
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
609
714
|
protocol: StackitProtocol,
|
|
610
715
|
retry: Retry.Retry,
|
|
716
|
+
telemetry: TELEMETRY,
|
|
717
|
+
span: "ListRestores",
|
|
611
718
|
}));
|
|
612
719
|
|
|
613
720
|
export type PartialUpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -618,11 +725,13 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
618
725
|
PartialUpdateInstanceError,
|
|
619
726
|
StackitOpContext
|
|
620
727
|
> = /*@__PURE__*/ API.make(() => ({
|
|
621
|
-
input: __S(
|
|
622
|
-
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>,
|
|
623
730
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
624
731
|
protocol: StackitProtocol,
|
|
625
732
|
retry: Retry.Retry,
|
|
733
|
+
telemetry: TELEMETRY,
|
|
734
|
+
span: "PartialUpdateInstance",
|
|
626
735
|
}));
|
|
627
736
|
|
|
628
737
|
export type TriggerRecreateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -633,11 +742,13 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
633
742
|
TriggerRecreateError,
|
|
634
743
|
StackitOpContext
|
|
635
744
|
> = /*@__PURE__*/ API.make(() => ({
|
|
636
|
-
input: __S(
|
|
637
|
-
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>,
|
|
638
747
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
639
748
|
protocol: StackitProtocol,
|
|
640
749
|
retry: Retry.Retry,
|
|
750
|
+
telemetry: TELEMETRY,
|
|
751
|
+
span: "TriggerRecreate",
|
|
641
752
|
}));
|
|
642
753
|
|
|
643
754
|
export type TriggerRestartError = BadRequest | NotFound | StackitOpError;
|
|
@@ -648,11 +759,13 @@ export const triggerRestart: API.OperationMethod<
|
|
|
648
759
|
TriggerRestartError,
|
|
649
760
|
StackitOpContext
|
|
650
761
|
> = /*@__PURE__*/ API.make(() => ({
|
|
651
|
-
input: __S(
|
|
652
|
-
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>,
|
|
653
764
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
654
765
|
protocol: StackitProtocol,
|
|
655
766
|
retry: Retry.Retry,
|
|
767
|
+
telemetry: TELEMETRY,
|
|
768
|
+
span: "TriggerRestart",
|
|
656
769
|
}));
|
|
657
770
|
|
|
658
771
|
export type TriggerRestoreError = BadRequest | NotFound | StackitOpError;
|
|
@@ -663,11 +776,30 @@ export const triggerRestore: API.OperationMethod<
|
|
|
663
776
|
TriggerRestoreError,
|
|
664
777
|
StackitOpContext
|
|
665
778
|
> = /*@__PURE__*/ API.make(() => ({
|
|
666
|
-
input: __S(
|
|
667
|
-
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>,
|
|
668
781
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
669
782
|
protocol: StackitProtocol,
|
|
670
783
|
retry: Retry.Retry,
|
|
784
|
+
telemetry: TELEMETRY,
|
|
785
|
+
span: "TriggerRestore",
|
|
786
|
+
}));
|
|
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",
|
|
671
803
|
}));
|
|
672
804
|
|
|
673
805
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
@@ -678,11 +810,30 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
678
810
|
UpdateBackupsConfigError,
|
|
679
811
|
StackitOpContext
|
|
680
812
|
> = /*@__PURE__*/ API.make(() => ({
|
|
681
|
-
input: __S(
|
|
682
|
-
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>,
|
|
683
815
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
684
816
|
protocol: StackitProtocol,
|
|
685
817
|
retry: Retry.Retry,
|
|
818
|
+
telemetry: TELEMETRY,
|
|
819
|
+
span: "UpdateBackupsConfig",
|
|
820
|
+
}));
|
|
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",
|
|
686
837
|
}));
|
|
687
838
|
|
|
688
839
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -724,6 +875,7 @@ function __c1(j: number): any {
|
|
|
724
875
|
dashboardUrl: S.String,
|
|
725
876
|
imageUrl: S.String,
|
|
726
877
|
instanceId: S.optional(S.String),
|
|
878
|
+
instanceStatus: S.optional(S.String),
|
|
727
879
|
lastOperation: __S(8, __c1, 0),
|
|
728
880
|
name: S.String,
|
|
729
881
|
offeringName: S.String,
|
|
@@ -785,6 +937,32 @@ function __c2(j: number): any {
|
|
|
785
937
|
}
|
|
786
938
|
}
|
|
787
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 {
|
|
788
966
|
switch (j) {
|
|
789
967
|
case 0:
|
|
790
968
|
return S.suspend(() =>
|
|
@@ -813,14 +991,14 @@ function __c3(j: number): any {
|
|
|
813
991
|
}),
|
|
814
992
|
).annotate({ identifier: "Backup" });
|
|
815
993
|
case 2:
|
|
816
|
-
return S.Array(__S(
|
|
994
|
+
return S.Array(__S(33, __c4, 1));
|
|
817
995
|
case 3:
|
|
818
|
-
return S.suspend(() => __S(
|
|
996
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
819
997
|
identifier: "ListBackupsResponse2",
|
|
820
998
|
});
|
|
821
999
|
}
|
|
822
1000
|
}
|
|
823
|
-
function
|
|
1001
|
+
function __c5(j: number): any {
|
|
824
1002
|
switch (j) {
|
|
825
1003
|
case 0:
|
|
826
1004
|
return S.suspend(() =>
|
|
@@ -844,16 +1022,16 @@ function __c4(j: number): any {
|
|
|
844
1022
|
}),
|
|
845
1023
|
).annotate({ identifier: "CredentialsListItem" });
|
|
846
1024
|
case 2:
|
|
847
|
-
return S.Array(__S(
|
|
1025
|
+
return S.Array(__S(41, __c5, 1));
|
|
848
1026
|
case 3:
|
|
849
1027
|
return S.suspend(() =>
|
|
850
1028
|
S.Struct({
|
|
851
|
-
credentialsList: __S(
|
|
1029
|
+
credentialsList: __S(42, __c5, 2),
|
|
852
1030
|
}),
|
|
853
1031
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
854
1032
|
}
|
|
855
1033
|
}
|
|
856
|
-
function
|
|
1034
|
+
function __c6(j: number): any {
|
|
857
1035
|
switch (j) {
|
|
858
1036
|
case 0:
|
|
859
1037
|
return S.suspend(() =>
|
|
@@ -874,12 +1052,12 @@ function __c5(j: number): any {
|
|
|
874
1052
|
case 2:
|
|
875
1053
|
return S.suspend(() =>
|
|
876
1054
|
S.Struct({
|
|
877
|
-
instances: __S(
|
|
1055
|
+
instances: __S(49, __c6, 1),
|
|
878
1056
|
}),
|
|
879
1057
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
880
1058
|
}
|
|
881
1059
|
}
|
|
882
|
-
function
|
|
1060
|
+
function __c7(j: number): any {
|
|
883
1061
|
switch (j) {
|
|
884
1062
|
case 0:
|
|
885
1063
|
return S.suspend(() =>
|
|
@@ -906,7 +1084,7 @@ function __c6(j: number): any {
|
|
|
906
1084
|
}),
|
|
907
1085
|
).annotate({ identifier: "Plan" });
|
|
908
1086
|
case 2:
|
|
909
|
-
return S.Array(__S(
|
|
1087
|
+
return S.Array(__S(57, __c7, 1));
|
|
910
1088
|
case 3:
|
|
911
1089
|
return S.suspend(() =>
|
|
912
1090
|
S.Struct({
|
|
@@ -916,8 +1094,8 @@ function __c6(j: number): any {
|
|
|
916
1094
|
case 4:
|
|
917
1095
|
return S.suspend(() =>
|
|
918
1096
|
S.Struct({
|
|
919
|
-
create: __S(
|
|
920
|
-
update: __S(
|
|
1097
|
+
create: __S(59, __c7, 3),
|
|
1098
|
+
update: __S(59, __c7, 3),
|
|
921
1099
|
}),
|
|
922
1100
|
).annotate({ identifier: "InstanceSchema" });
|
|
923
1101
|
case 5:
|
|
@@ -929,23 +1107,23 @@ function __c6(j: number): any {
|
|
|
929
1107
|
latest: S.Boolean,
|
|
930
1108
|
lifecycle: S.optional(S.String),
|
|
931
1109
|
name: S.String,
|
|
932
|
-
plans: __S(
|
|
1110
|
+
plans: __S(58, __c7, 2),
|
|
933
1111
|
quotaCount: S.Number,
|
|
934
|
-
schema: S.optional(__S(
|
|
1112
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
935
1113
|
version: S.String,
|
|
936
1114
|
}),
|
|
937
1115
|
).annotate({ identifier: "Offering" });
|
|
938
1116
|
case 6:
|
|
939
|
-
return S.Array(__S(
|
|
1117
|
+
return S.Array(__S(61, __c7, 5));
|
|
940
1118
|
case 7:
|
|
941
1119
|
return S.suspend(() =>
|
|
942
1120
|
S.Struct({
|
|
943
|
-
offerings: __S(
|
|
1121
|
+
offerings: __S(62, __c7, 6),
|
|
944
1122
|
}),
|
|
945
1123
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
946
1124
|
}
|
|
947
1125
|
}
|
|
948
|
-
function
|
|
1126
|
+
function __c8(j: number): any {
|
|
949
1127
|
switch (j) {
|
|
950
1128
|
case 0:
|
|
951
1129
|
return S.suspend(() =>
|
|
@@ -973,16 +1151,16 @@ function __c7(j: number): any {
|
|
|
973
1151
|
}),
|
|
974
1152
|
).annotate({ identifier: "Restore" });
|
|
975
1153
|
case 2:
|
|
976
|
-
return S.Array(__S(
|
|
1154
|
+
return S.Array(__S(65, __c8, 1));
|
|
977
1155
|
case 3:
|
|
978
1156
|
return S.suspend(() =>
|
|
979
1157
|
S.Struct({
|
|
980
|
-
instanceRestores: __S(
|
|
1158
|
+
instanceRestores: __S(66, __c8, 2),
|
|
981
1159
|
}),
|
|
982
1160
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
983
1161
|
}
|
|
984
1162
|
}
|
|
985
|
-
function
|
|
1163
|
+
function __c9(j: number): any {
|
|
986
1164
|
switch (j) {
|
|
987
1165
|
case 0:
|
|
988
1166
|
return S.suspend(() =>
|
|
@@ -991,7 +1169,7 @@ function __c8(j: number): any {
|
|
|
991
1169
|
regionId: S.String.pipe(T.Label()),
|
|
992
1170
|
instanceId: S.String.pipe(T.Label()),
|
|
993
1171
|
instanceName: S.optional(S.String),
|
|
994
|
-
parameters: S.optional(__S(
|
|
1172
|
+
parameters: S.optional(__S(164, __c20, 4)),
|
|
995
1173
|
planId: S.optional(S.String),
|
|
996
1174
|
}).pipe(
|
|
997
1175
|
T.Http({
|
|
@@ -1004,7 +1182,7 @@ function __c8(j: number): any {
|
|
|
1004
1182
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1005
1183
|
}
|
|
1006
1184
|
}
|
|
1007
|
-
function
|
|
1185
|
+
function __c10(j: number): any {
|
|
1008
1186
|
switch (j) {
|
|
1009
1187
|
case 0:
|
|
1010
1188
|
return S.suspend(() =>
|
|
@@ -1023,7 +1201,7 @@ function __c9(j: number): any {
|
|
|
1023
1201
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1024
1202
|
}
|
|
1025
1203
|
}
|
|
1026
|
-
function
|
|
1204
|
+
function __c11(j: number): any {
|
|
1027
1205
|
switch (j) {
|
|
1028
1206
|
case 0:
|
|
1029
1207
|
return S.suspend(() =>
|
|
@@ -1042,7 +1220,7 @@ function __c10(j: number): any {
|
|
|
1042
1220
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1043
1221
|
}
|
|
1044
1222
|
}
|
|
1045
|
-
function
|
|
1223
|
+
function __c12(j: number): any {
|
|
1046
1224
|
switch (j) {
|
|
1047
1225
|
case 0:
|
|
1048
1226
|
return S.suspend(() =>
|
|
@@ -1068,7 +1246,26 @@ function __c11(j: number): any {
|
|
|
1068
1246
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1069
1247
|
}
|
|
1070
1248
|
}
|
|
1071
|
-
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 {
|
|
1072
1269
|
switch (j) {
|
|
1073
1270
|
case 0:
|
|
1074
1271
|
return S.suspend(() =>
|
|
@@ -1094,7 +1291,33 @@ function __c12(j: number): any {
|
|
|
1094
1291
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1095
1292
|
}
|
|
1096
1293
|
}
|
|
1097
|
-
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 {
|
|
1098
1321
|
switch (j) {
|
|
1099
1322
|
case 0:
|
|
1100
1323
|
return S.suspend(() =>
|
|
@@ -1120,7 +1343,7 @@ function __c13(j: number): any {
|
|
|
1120
1343
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1121
1344
|
}
|
|
1122
1345
|
}
|
|
1123
|
-
function
|
|
1346
|
+
function __c17(j: number): any {
|
|
1124
1347
|
switch (j) {
|
|
1125
1348
|
case 0:
|
|
1126
1349
|
return S.suspend(() =>
|
|
@@ -1140,7 +1363,7 @@ function __c14(j: number): any {
|
|
|
1140
1363
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1141
1364
|
}
|
|
1142
1365
|
}
|
|
1143
|
-
function
|
|
1366
|
+
function __c18(j: number): any {
|
|
1144
1367
|
switch (j) {
|
|
1145
1368
|
case 0:
|
|
1146
1369
|
return S.suspend(() =>
|
|
@@ -1156,20 +1379,20 @@ function __c15(j: number): any {
|
|
|
1156
1379
|
case 1:
|
|
1157
1380
|
return S.suspend(() =>
|
|
1158
1381
|
S.Struct({
|
|
1159
|
-
credentials: __S(
|
|
1382
|
+
credentials: __S(144, __c18, 0),
|
|
1160
1383
|
}),
|
|
1161
1384
|
).annotate({ identifier: "RawCredentials" });
|
|
1162
1385
|
case 2:
|
|
1163
1386
|
return S.suspend(() =>
|
|
1164
1387
|
S.Struct({
|
|
1165
1388
|
id: S.String,
|
|
1166
|
-
raw: S.optional(__S(
|
|
1389
|
+
raw: S.optional(__S(145, __c18, 1)),
|
|
1167
1390
|
uri: S.String,
|
|
1168
1391
|
}),
|
|
1169
1392
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1170
1393
|
}
|
|
1171
1394
|
}
|
|
1172
|
-
function
|
|
1395
|
+
function __c19(j: number): any {
|
|
1173
1396
|
switch (j) {
|
|
1174
1397
|
case 0:
|
|
1175
1398
|
return S.suspend(() =>
|
|
@@ -1177,7 +1400,7 @@ function __c16(j: number): any {
|
|
|
1177
1400
|
projectId: S.String.pipe(T.Label()),
|
|
1178
1401
|
regionId: S.String.pipe(T.Label()),
|
|
1179
1402
|
instanceName: S.String,
|
|
1180
|
-
parameters: S.optional(__S(
|
|
1403
|
+
parameters: S.optional(__S(164, __c20, 4)),
|
|
1181
1404
|
planId: S.String,
|
|
1182
1405
|
}).pipe(
|
|
1183
1406
|
T.Http({
|
|
@@ -1190,7 +1413,7 @@ function __c16(j: number): any {
|
|
|
1190
1413
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1191
1414
|
}
|
|
1192
1415
|
}
|
|
1193
|
-
function
|
|
1416
|
+
function __c20(j: number): any {
|
|
1194
1417
|
switch (j) {
|
|
1195
1418
|
case 0:
|
|
1196
1419
|
return S.suspend(() =>
|
|
@@ -1199,7 +1422,7 @@ function __c17(j: number): any {
|
|
|
1199
1422
|
}),
|
|
1200
1423
|
).annotate({ identifier: "InstanceParametersGroksItem" });
|
|
1201
1424
|
case 1:
|
|
1202
|
-
return S.Array(__S(
|
|
1425
|
+
return S.Array(__S(160, __c20, 0));
|
|
1203
1426
|
case 2:
|
|
1204
1427
|
return S.Array(S.String);
|
|
1205
1428
|
case 3:
|
|
@@ -1216,7 +1439,7 @@ function __c17(j: number): any {
|
|
|
1216
1439
|
fluentd_tls_version: S.optional(S.String.pipe(T.Body("fluentd-tls-version"))),
|
|
1217
1440
|
fluentd_udp: S.optional(S.Number.pipe(T.Body("fluentd-udp"))),
|
|
1218
1441
|
graphite: S.optional(S.String),
|
|
1219
|
-
groks: S.optional(__S(
|
|
1442
|
+
groks: S.optional(__S(161, __c20, 1)),
|
|
1220
1443
|
ism_deletion_after: S.optional(S.String),
|
|
1221
1444
|
ism_jitter: S.optional(S.Number),
|
|
1222
1445
|
ism_job_interval: S.optional(S.Number),
|
|
@@ -1227,18 +1450,18 @@ function __c17(j: number): any {
|
|
|
1227
1450
|
metrics_prefix: S.optional(S.String),
|
|
1228
1451
|
monitoring_instance_id: S.optional(S.String),
|
|
1229
1452
|
opensearch_tls_ciphers: S.optional(
|
|
1230
|
-
__S(
|
|
1453
|
+
__S(162, __c20, 2).pipe(T.Body("opensearch-tls-ciphers")),
|
|
1231
1454
|
),
|
|
1232
1455
|
opensearch_tls_protocols: S.optional(
|
|
1233
|
-
__S(
|
|
1456
|
+
__S(163, __c20, 3).pipe(T.Body("opensearch-tls-protocols")),
|
|
1234
1457
|
),
|
|
1235
1458
|
sgw_acl: S.optional(S.String),
|
|
1236
|
-
syslog: S.optional(__S(
|
|
1459
|
+
syslog: S.optional(__S(163, __c20, 3)),
|
|
1237
1460
|
}),
|
|
1238
1461
|
).annotate({ identifier: "InstanceParameters" });
|
|
1239
1462
|
}
|
|
1240
1463
|
}
|
|
1241
|
-
function
|
|
1464
|
+
function __c21(j: number): any {
|
|
1242
1465
|
switch (j) {
|
|
1243
1466
|
case 0:
|
|
1244
1467
|
return S.suspend(() =>
|
|
@@ -1248,7 +1471,7 @@ function __c18(j: number): any {
|
|
|
1248
1471
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1249
1472
|
}
|
|
1250
1473
|
}
|
|
1251
|
-
function
|
|
1474
|
+
function __c22(j: number): any {
|
|
1252
1475
|
switch (j) {
|
|
1253
1476
|
case 0:
|
|
1254
1477
|
return S.suspend(() =>
|
|
@@ -1268,13 +1491,13 @@ function __c19(j: number): any {
|
|
|
1268
1491
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1269
1492
|
}
|
|
1270
1493
|
}
|
|
1271
|
-
function
|
|
1494
|
+
function __c23(j: number): any {
|
|
1272
1495
|
switch (j) {
|
|
1273
1496
|
case 0:
|
|
1274
1497
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1275
1498
|
}
|
|
1276
1499
|
}
|
|
1277
|
-
function
|
|
1500
|
+
function __c24(j: number): any {
|
|
1278
1501
|
switch (j) {
|
|
1279
1502
|
case 0:
|
|
1280
1503
|
return S.suspend(() =>
|
|
@@ -1293,7 +1516,7 @@ function __c21(j: number): any {
|
|
|
1293
1516
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1294
1517
|
}
|
|
1295
1518
|
}
|
|
1296
|
-
function
|
|
1519
|
+
function __c25(j: number): any {
|
|
1297
1520
|
switch (j) {
|
|
1298
1521
|
case 0:
|
|
1299
1522
|
return S.suspend(() =>
|
|
@@ -1313,7 +1536,7 @@ function __c22(j: number): any {
|
|
|
1313
1536
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1314
1537
|
}
|
|
1315
1538
|
}
|
|
1316
|
-
function
|
|
1539
|
+
function __c26(j: number): any {
|
|
1317
1540
|
switch (j) {
|
|
1318
1541
|
case 0:
|
|
1319
1542
|
return S.suspend(() =>
|