@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
|
@@ -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: "Opensearch",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -59,16 +72,16 @@ export interface CreateCredentialsRequest {
|
|
|
59
72
|
regionId: string;
|
|
60
73
|
/** Instance id */
|
|
61
74
|
instanceId: string;
|
|
62
|
-
parameters?: unknown;
|
|
75
|
+
parameters?: unknown | undefined;
|
|
63
76
|
}
|
|
64
77
|
export type CredentialsHostsList = Array<string>;
|
|
65
78
|
export interface Credentials {
|
|
66
79
|
host: string;
|
|
67
|
-
hosts?: CredentialsHostsList;
|
|
80
|
+
hosts?: CredentialsHostsList | undefined;
|
|
68
81
|
password: string | Redacted.Redacted<string>;
|
|
69
|
-
port?: number;
|
|
70
|
-
scheme?: string;
|
|
71
|
-
uri?: string;
|
|
82
|
+
port?: number | undefined;
|
|
83
|
+
scheme?: string | undefined;
|
|
84
|
+
uri?: string | undefined;
|
|
72
85
|
username: string;
|
|
73
86
|
}
|
|
74
87
|
export interface RawCredentials {
|
|
@@ -76,7 +89,7 @@ export interface RawCredentials {
|
|
|
76
89
|
}
|
|
77
90
|
export interface CredentialsResponse {
|
|
78
91
|
id: string;
|
|
79
|
-
raw?: RawCredentials;
|
|
92
|
+
raw?: RawCredentials | undefined;
|
|
80
93
|
uri: string;
|
|
81
94
|
}
|
|
82
95
|
export type InstanceParametersJavaGarbageCollector =
|
|
@@ -99,30 +112,30 @@ export type InstanceParametersTlsProtocolsList = Array<
|
|
|
99
112
|
InstanceParametersTlsProtocolsItem | (string & {})
|
|
100
113
|
>;
|
|
101
114
|
export interface InstanceParameters {
|
|
102
|
-
enable_monitoring?: boolean;
|
|
115
|
+
enable_monitoring?: boolean | undefined;
|
|
103
116
|
/** If you want to monitor your service with Graphite, you can set the custom parameter graphite. It expects the host and port where the Graphite metrics should be sent to. */
|
|
104
|
-
graphite?: string;
|
|
105
|
-
java_garbage_collector?: InstanceParametersJavaGarbageCollector | (string & {});
|
|
117
|
+
graphite?: string | undefined;
|
|
118
|
+
java_garbage_collector?: InstanceParametersJavaGarbageCollector | (string & {}) | undefined;
|
|
106
119
|
/** Default: not set, 46% of available memory will be used. The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. */
|
|
107
|
-
java_heapspace?: number;
|
|
120
|
+
java_heapspace?: number | undefined;
|
|
108
121
|
/** The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. */
|
|
109
|
-
java_maxmetaspace?: number;
|
|
122
|
+
java_maxmetaspace?: number | undefined;
|
|
110
123
|
/** This component monitors ephemeral and persistent disk usage. If one of these disk usages reaches the default configured threshold of 80%, the a9s Parachute stops all processes on that node. */
|
|
111
|
-
max_disk_threshold?: number;
|
|
124
|
+
max_disk_threshold?: number | undefined;
|
|
112
125
|
/** Frequency of metrics being emitted in seconds */
|
|
113
|
-
metrics_frequency?: number;
|
|
126
|
+
metrics_frequency?: number | undefined;
|
|
114
127
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
115
|
-
metrics_prefix?: string;
|
|
116
|
-
monitoring_instance_id?: string;
|
|
128
|
+
metrics_prefix?: string | undefined;
|
|
129
|
+
monitoring_instance_id?: string | undefined;
|
|
117
130
|
/** The plugins repository-s3 and repository-azure are enabled by default and cannot be disabled. */
|
|
118
|
-
plugins?: InstanceParametersPluginsList;
|
|
131
|
+
plugins?: InstanceParametersPluginsList | undefined;
|
|
119
132
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
120
|
-
sgw_acl?: string;
|
|
121
|
-
syslog?: InstanceParametersSyslogList;
|
|
133
|
+
sgw_acl?: string | undefined;
|
|
134
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
122
135
|
/** This property is deprecated and will be removed in a future release. */
|
|
123
|
-
tls_ciphers?: InstanceParametersTlsCiphersList;
|
|
136
|
+
tls_ciphers?: InstanceParametersTlsCiphersList | undefined;
|
|
124
137
|
/** This property is deprecated and will be removed in a future release. */
|
|
125
|
-
tls_protocols?: InstanceParametersTlsProtocolsList;
|
|
138
|
+
tls_protocols?: InstanceParametersTlsProtocolsList | undefined;
|
|
126
139
|
}
|
|
127
140
|
export interface CreateInstanceRequest {
|
|
128
141
|
/** Project id on which user has permissions */
|
|
@@ -130,7 +143,7 @@ export interface CreateInstanceRequest {
|
|
|
130
143
|
/** region in which the project resides */
|
|
131
144
|
regionId: string;
|
|
132
145
|
instanceName: string;
|
|
133
|
-
parameters?: InstanceParameters;
|
|
146
|
+
parameters?: InstanceParameters | undefined;
|
|
134
147
|
planId: string;
|
|
135
148
|
}
|
|
136
149
|
export interface CreateInstanceResponse {
|
|
@@ -185,6 +198,15 @@ export interface GetInstanceRequest {
|
|
|
185
198
|
/** Instance id */
|
|
186
199
|
instanceId: string;
|
|
187
200
|
}
|
|
201
|
+
/** Current state of a service instance */
|
|
202
|
+
export type InstanceInstanceStatus =
|
|
203
|
+
| "provisioned"
|
|
204
|
+
| "available"
|
|
205
|
+
| "deleted"
|
|
206
|
+
| "deploying"
|
|
207
|
+
| "failed"
|
|
208
|
+
| "stopped"
|
|
209
|
+
| "unknown";
|
|
188
210
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
189
211
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
190
212
|
export interface InstanceLastOperation {
|
|
@@ -192,6 +214,7 @@ export interface InstanceLastOperation {
|
|
|
192
214
|
state: InstanceLastOperationState;
|
|
193
215
|
type: InstanceLastOperationType;
|
|
194
216
|
}
|
|
217
|
+
/** State of the last operation and this instance */
|
|
195
218
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
196
219
|
export interface Instance {
|
|
197
220
|
cfGuid: string;
|
|
@@ -199,7 +222,9 @@ export interface Instance {
|
|
|
199
222
|
cfSpaceGuid: string;
|
|
200
223
|
dashboardUrl: string;
|
|
201
224
|
imageUrl: string;
|
|
202
|
-
instanceId?: string;
|
|
225
|
+
instanceId?: string | undefined;
|
|
226
|
+
/** Current state of a service instance */
|
|
227
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
203
228
|
lastOperation: InstanceLastOperation;
|
|
204
229
|
name: string;
|
|
205
230
|
offeringName: string;
|
|
@@ -207,7 +232,8 @@ export interface Instance {
|
|
|
207
232
|
parameters: unknown;
|
|
208
233
|
planId: string;
|
|
209
234
|
planName: string;
|
|
210
|
-
|
|
235
|
+
/** State of the last operation and this instance */
|
|
236
|
+
status?: InstanceStatus | undefined;
|
|
211
237
|
}
|
|
212
238
|
export interface GetMetricsRequest {
|
|
213
239
|
/** Project id on which user has permissions */
|
|
@@ -218,10 +244,10 @@ export interface GetMetricsRequest {
|
|
|
218
244
|
instanceId: string;
|
|
219
245
|
}
|
|
220
246
|
export interface GetMetricsResponse {
|
|
221
|
-
cpuIdleTime?: number;
|
|
247
|
+
cpuIdleTime?: number | undefined;
|
|
222
248
|
cpuLoadPercent: number;
|
|
223
|
-
cpuSystemTime?: number;
|
|
224
|
-
cpuUserTime?: number;
|
|
249
|
+
cpuSystemTime?: number | undefined;
|
|
250
|
+
cpuUserTime?: number | undefined;
|
|
225
251
|
diskEphemeralTotal: number;
|
|
226
252
|
diskEphemeralUsed: number;
|
|
227
253
|
diskPersistentTotal: number;
|
|
@@ -242,6 +268,20 @@ export interface GetMetricsResponse {
|
|
|
242
268
|
parachuteDiskPersistentUsedPercent: number;
|
|
243
269
|
parachuteDiskPersistentUsedThreshold: number;
|
|
244
270
|
}
|
|
271
|
+
export interface GetUpdatesRequest {
|
|
272
|
+
/** Project id on which user has permissions */
|
|
273
|
+
projectId: string;
|
|
274
|
+
/** region in which the project resides */
|
|
275
|
+
regionId: string;
|
|
276
|
+
/** Instance id */
|
|
277
|
+
instanceId: string;
|
|
278
|
+
}
|
|
279
|
+
export interface GetUpdatesResponse {
|
|
280
|
+
/** Whether automatic updates are allowed. */
|
|
281
|
+
automaticUpdatesEnabled: boolean;
|
|
282
|
+
/** Number of available update components. */
|
|
283
|
+
availableUpdates: number;
|
|
284
|
+
}
|
|
245
285
|
export interface ListBackupsRequest {
|
|
246
286
|
/** Project id on which user has permissions */
|
|
247
287
|
projectId: string;
|
|
@@ -251,12 +291,12 @@ export interface ListBackupsRequest {
|
|
|
251
291
|
instanceId: string;
|
|
252
292
|
}
|
|
253
293
|
export interface Backup {
|
|
254
|
-
downloadable?: boolean;
|
|
294
|
+
downloadable?: boolean | undefined;
|
|
255
295
|
finished_at: string;
|
|
256
296
|
id: number;
|
|
257
|
-
size?: number;
|
|
297
|
+
size?: number | undefined;
|
|
258
298
|
status: string;
|
|
259
|
-
triggered_at?: string;
|
|
299
|
+
triggered_at?: string | undefined;
|
|
260
300
|
}
|
|
261
301
|
export type ListBackupsResponse = Array<Backup>;
|
|
262
302
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -311,11 +351,11 @@ export interface Offering {
|
|
|
311
351
|
documentationUrl: string;
|
|
312
352
|
imageUrl: string;
|
|
313
353
|
latest: boolean;
|
|
314
|
-
lifecycle?: string;
|
|
354
|
+
lifecycle?: string | undefined;
|
|
315
355
|
name: string;
|
|
316
356
|
plans: OfferingPlansList;
|
|
317
357
|
quotaCount: number;
|
|
318
|
-
schema?: InstanceSchema;
|
|
358
|
+
schema?: InstanceSchema | undefined;
|
|
319
359
|
version: string;
|
|
320
360
|
}
|
|
321
361
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -335,7 +375,7 @@ export interface Restore {
|
|
|
335
375
|
finished_at: string;
|
|
336
376
|
id: number;
|
|
337
377
|
status: string;
|
|
338
|
-
triggered_at?: string;
|
|
378
|
+
triggered_at?: string | undefined;
|
|
339
379
|
}
|
|
340
380
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
341
381
|
export interface ListRestoresResponse {
|
|
@@ -348,9 +388,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
348
388
|
regionId: string;
|
|
349
389
|
/** Instance id */
|
|
350
390
|
instanceId: string;
|
|
351
|
-
instanceName?: string;
|
|
352
|
-
parameters?: InstanceParameters;
|
|
353
|
-
planId?: string;
|
|
391
|
+
instanceName?: string | undefined;
|
|
392
|
+
parameters?: InstanceParameters | undefined;
|
|
393
|
+
planId?: string | undefined;
|
|
354
394
|
}
|
|
355
395
|
export interface PartialUpdateInstanceResponse {}
|
|
356
396
|
export interface TriggerRecreateRequest {
|
|
@@ -382,6 +422,14 @@ export interface TriggerRestoreRequest {
|
|
|
382
422
|
export interface TriggerRestoreResponse {
|
|
383
423
|
id: number;
|
|
384
424
|
}
|
|
425
|
+
export interface TriggerUpdateRequest {
|
|
426
|
+
/** Project id on which user has permissions */
|
|
427
|
+
projectId: string;
|
|
428
|
+
/** region in which the project resides */
|
|
429
|
+
regionId: string;
|
|
430
|
+
/** Instance id */
|
|
431
|
+
instanceId: string;
|
|
432
|
+
}
|
|
385
433
|
export interface UpdateBackupsConfigRequest {
|
|
386
434
|
/** Project id on which user has permissions */
|
|
387
435
|
projectId: string;
|
|
@@ -389,11 +437,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
389
437
|
regionId: string;
|
|
390
438
|
/** Instance id */
|
|
391
439
|
instanceId: string;
|
|
392
|
-
encryption_key?: string;
|
|
440
|
+
encryption_key?: string | undefined;
|
|
393
441
|
}
|
|
394
442
|
export interface UpdateBackupsConfigResponse {
|
|
395
443
|
message: string;
|
|
396
444
|
}
|
|
445
|
+
export interface UpdateUpdatesSettingsRequest {
|
|
446
|
+
/** Project id on which user has permissions */
|
|
447
|
+
projectId: string;
|
|
448
|
+
/** region in which the project resides */
|
|
449
|
+
regionId: string;
|
|
450
|
+
/** Instance id */
|
|
451
|
+
instanceId: string;
|
|
452
|
+
/** Set to true to enable automatic updates or false to disable them. */
|
|
453
|
+
automaticUpdatesEnabled: boolean;
|
|
454
|
+
}
|
|
455
|
+
export interface UpdateUpdatesSettingsResponse {
|
|
456
|
+
/** Whether automatic updates are allowed. */
|
|
457
|
+
automaticUpdatesEnabled: boolean;
|
|
458
|
+
}
|
|
397
459
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
398
460
|
/** create a backup */
|
|
399
461
|
export const createBackup: API.OperationMethod<
|
|
@@ -402,11 +464,13 @@ export const createBackup: API.OperationMethod<
|
|
|
402
464
|
CreateBackupError,
|
|
403
465
|
StackitOpContext
|
|
404
466
|
> = /*@__PURE__*/ API.make(() => ({
|
|
405
|
-
input: __S(
|
|
406
|
-
output: __S(
|
|
467
|
+
input: __S(128, __c16, 0) as any as S.Schema<CreateBackupRequest>,
|
|
468
|
+
output: __S(129, __c16, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
407
469
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
408
470
|
protocol: StackitProtocol,
|
|
409
471
|
retry: Retry.Retry,
|
|
472
|
+
telemetry: TELEMETRY,
|
|
473
|
+
span: "CreateBackup",
|
|
410
474
|
}));
|
|
411
475
|
|
|
412
476
|
export type CreateCredentialsError = BadRequest | StackitOpError;
|
|
@@ -417,11 +481,13 @@ export const createCredentials: API.OperationMethod<
|
|
|
417
481
|
CreateCredentialsError,
|
|
418
482
|
StackitOpContext
|
|
419
483
|
> = /*@__PURE__*/ API.make(() => ({
|
|
420
|
-
input: __S(
|
|
421
|
-
output: __S(
|
|
484
|
+
input: __S(136, __c17, 0) as any as S.Schema<CreateCredentialsRequest>,
|
|
485
|
+
output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
|
|
422
486
|
errors: [BadRequest, UnknownStackitError],
|
|
423
487
|
protocol: StackitProtocol,
|
|
424
488
|
retry: Retry.Retry,
|
|
489
|
+
telemetry: TELEMETRY,
|
|
490
|
+
span: "CreateCredentials",
|
|
425
491
|
}));
|
|
426
492
|
|
|
427
493
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
@@ -432,11 +498,13 @@ export const createInstance: API.OperationMethod<
|
|
|
432
498
|
CreateInstanceError,
|
|
433
499
|
StackitOpContext
|
|
434
500
|
> = /*@__PURE__*/ API.make(() => ({
|
|
435
|
-
input: __S(
|
|
436
|
-
output: __S(
|
|
501
|
+
input: __S(160, __c20, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
502
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
437
503
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
438
504
|
protocol: StackitProtocol,
|
|
439
505
|
retry: Retry.Retry,
|
|
506
|
+
telemetry: TELEMETRY,
|
|
507
|
+
span: "CreateInstance",
|
|
440
508
|
}));
|
|
441
509
|
|
|
442
510
|
export type DeleteCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -447,11 +515,13 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
447
515
|
DeleteCredentialsError,
|
|
448
516
|
StackitOpContext
|
|
449
517
|
> = /*@__PURE__*/ API.make(() => ({
|
|
450
|
-
input: __S(
|
|
451
|
-
output: __S(
|
|
518
|
+
input: __S(184, __c23, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
519
|
+
output: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
452
520
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
453
521
|
protocol: StackitProtocol,
|
|
454
522
|
retry: Retry.Retry,
|
|
523
|
+
telemetry: TELEMETRY,
|
|
524
|
+
span: "DeleteCredentials",
|
|
455
525
|
}));
|
|
456
526
|
|
|
457
527
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -462,11 +532,13 @@ export const deleteInstance: API.OperationMethod<
|
|
|
462
532
|
DeleteInstanceError,
|
|
463
533
|
StackitOpContext
|
|
464
534
|
> = /*@__PURE__*/ API.make(() => ({
|
|
465
|
-
input: __S(
|
|
466
|
-
output: __S(
|
|
535
|
+
input: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
536
|
+
output: __S(192, __c24, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
467
537
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
468
538
|
protocol: StackitProtocol,
|
|
469
539
|
retry: Retry.Retry,
|
|
540
|
+
telemetry: TELEMETRY,
|
|
541
|
+
span: "DeleteInstance",
|
|
470
542
|
}));
|
|
471
543
|
|
|
472
544
|
export type DownloadBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -477,11 +549,13 @@ export const downloadBackup: API.OperationMethod<
|
|
|
477
549
|
DownloadBackupError,
|
|
478
550
|
StackitOpContext
|
|
479
551
|
> = /*@__PURE__*/ API.make(() => ({
|
|
480
|
-
input: __S(
|
|
481
|
-
output: __S(
|
|
552
|
+
input: __S(208, __c26, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
553
|
+
output: __S(192, __c24, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
482
554
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
483
555
|
protocol: StackitProtocol,
|
|
484
556
|
retry: Retry.Retry,
|
|
557
|
+
telemetry: TELEMETRY,
|
|
558
|
+
span: "DownloadBackup",
|
|
485
559
|
}));
|
|
486
560
|
|
|
487
561
|
export type GetCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -492,11 +566,13 @@ export const getCredentials: API.OperationMethod<
|
|
|
492
566
|
GetCredentialsError,
|
|
493
567
|
StackitOpContext
|
|
494
568
|
> = /*@__PURE__*/ API.make(() => ({
|
|
495
|
-
input: __S(
|
|
496
|
-
output: __S(
|
|
569
|
+
input: __S(216, __c27, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
570
|
+
output: __S(154, __c19, 2) as any as S.Schema<CredentialsResponse>,
|
|
497
571
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
498
572
|
protocol: StackitProtocol,
|
|
499
573
|
retry: Retry.Retry,
|
|
574
|
+
telemetry: TELEMETRY,
|
|
575
|
+
span: "GetCredentials",
|
|
500
576
|
}));
|
|
501
577
|
|
|
502
578
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -512,6 +588,8 @@ export const getInstance: API.OperationMethod<
|
|
|
512
588
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
513
589
|
protocol: StackitProtocol,
|
|
514
590
|
retry: Retry.Retry,
|
|
591
|
+
telemetry: TELEMETRY,
|
|
592
|
+
span: "GetInstance",
|
|
515
593
|
}));
|
|
516
594
|
|
|
517
595
|
export type GetMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -527,6 +605,25 @@ export const getMetrics: API.OperationMethod<
|
|
|
527
605
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
528
606
|
protocol: StackitProtocol,
|
|
529
607
|
retry: Retry.Retry,
|
|
608
|
+
telemetry: TELEMETRY,
|
|
609
|
+
span: "GetMetrics",
|
|
610
|
+
}));
|
|
611
|
+
|
|
612
|
+
export type GetUpdatesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
613
|
+
/** get update settings Returns whether automatic updates are enabled and the number of available updates. */
|
|
614
|
+
export const getUpdates: API.OperationMethod<
|
|
615
|
+
GetUpdatesRequest,
|
|
616
|
+
GetUpdatesResponse,
|
|
617
|
+
GetUpdatesError,
|
|
618
|
+
StackitOpContext
|
|
619
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
620
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
621
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
622
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
623
|
+
protocol: StackitProtocol,
|
|
624
|
+
retry: Retry.Retry,
|
|
625
|
+
telemetry: TELEMETRY,
|
|
626
|
+
span: "GetUpdates",
|
|
530
627
|
}));
|
|
531
628
|
|
|
532
629
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -537,11 +634,13 @@ export const listBackups: API.OperationMethod<
|
|
|
537
634
|
ListBackupsError,
|
|
538
635
|
StackitOpContext
|
|
539
636
|
> = /*@__PURE__*/ API.make(() => ({
|
|
540
|
-
input: __S(
|
|
541
|
-
output: __S(
|
|
637
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListBackupsRequest>,
|
|
638
|
+
output: __S(35, __c4, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
542
639
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
543
640
|
protocol: StackitProtocol,
|
|
544
641
|
retry: Retry.Retry,
|
|
642
|
+
telemetry: TELEMETRY,
|
|
643
|
+
span: "ListBackups",
|
|
545
644
|
}));
|
|
546
645
|
|
|
547
646
|
export type ListCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -552,11 +651,13 @@ export const listCredentials: API.OperationMethod<
|
|
|
552
651
|
ListCredentialsError,
|
|
553
652
|
StackitOpContext
|
|
554
653
|
> = /*@__PURE__*/ API.make(() => ({
|
|
555
|
-
input: __S(
|
|
556
|
-
output: __S(
|
|
654
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
655
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
557
656
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
558
657
|
protocol: StackitProtocol,
|
|
559
658
|
retry: Retry.Retry,
|
|
659
|
+
telemetry: TELEMETRY,
|
|
660
|
+
span: "ListCredentials",
|
|
560
661
|
}));
|
|
561
662
|
|
|
562
663
|
export type ListInstancesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -567,11 +668,13 @@ export const listInstances: API.OperationMethod<
|
|
|
567
668
|
ListInstancesError,
|
|
568
669
|
StackitOpContext
|
|
569
670
|
> = /*@__PURE__*/ API.make(() => ({
|
|
570
|
-
input: __S(
|
|
571
|
-
output: __S(
|
|
671
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListInstancesRequest>,
|
|
672
|
+
output: __S(50, __c6, 2) as any as S.Schema<ListInstancesResponse>,
|
|
572
673
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
573
674
|
protocol: StackitProtocol,
|
|
574
675
|
retry: Retry.Retry,
|
|
676
|
+
telemetry: TELEMETRY,
|
|
677
|
+
span: "ListInstances",
|
|
575
678
|
}));
|
|
576
679
|
|
|
577
680
|
export type ListOfferingsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -582,11 +685,13 @@ export const listOfferings: API.OperationMethod<
|
|
|
582
685
|
ListOfferingsError,
|
|
583
686
|
StackitOpContext
|
|
584
687
|
> = /*@__PURE__*/ API.make(() => ({
|
|
585
|
-
input: __S(
|
|
586
|
-
output: __S(
|
|
688
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
689
|
+
output: __S(63, __c7, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
587
690
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
588
691
|
protocol: StackitProtocol,
|
|
589
692
|
retry: Retry.Retry,
|
|
693
|
+
telemetry: TELEMETRY,
|
|
694
|
+
span: "ListOfferings",
|
|
590
695
|
}));
|
|
591
696
|
|
|
592
697
|
export type ListRestoresError = BadRequest | NotFound | StackitOpError;
|
|
@@ -597,11 +702,13 @@ export const listRestores: API.OperationMethod<
|
|
|
597
702
|
ListRestoresError,
|
|
598
703
|
StackitOpContext
|
|
599
704
|
> = /*@__PURE__*/ API.make(() => ({
|
|
600
|
-
input: __S(
|
|
601
|
-
output: __S(
|
|
705
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListRestoresRequest>,
|
|
706
|
+
output: __S(67, __c8, 3) as any as S.Schema<ListRestoresResponse>,
|
|
602
707
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
603
708
|
protocol: StackitProtocol,
|
|
604
709
|
retry: Retry.Retry,
|
|
710
|
+
telemetry: TELEMETRY,
|
|
711
|
+
span: "ListRestores",
|
|
605
712
|
}));
|
|
606
713
|
|
|
607
714
|
export type PartialUpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -612,11 +719,13 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
612
719
|
PartialUpdateInstanceError,
|
|
613
720
|
StackitOpContext
|
|
614
721
|
> = /*@__PURE__*/ API.make(() => ({
|
|
615
|
-
input: __S(
|
|
616
|
-
output: __S(
|
|
722
|
+
input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
723
|
+
output: __S(192, __c24, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
617
724
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
618
725
|
protocol: StackitProtocol,
|
|
619
726
|
retry: Retry.Retry,
|
|
727
|
+
telemetry: TELEMETRY,
|
|
728
|
+
span: "PartialUpdateInstance",
|
|
620
729
|
}));
|
|
621
730
|
|
|
622
731
|
export type TriggerRecreateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -627,11 +736,13 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
627
736
|
TriggerRecreateError,
|
|
628
737
|
StackitOpContext
|
|
629
738
|
> = /*@__PURE__*/ API.make(() => ({
|
|
630
|
-
input: __S(
|
|
631
|
-
output: __S(
|
|
739
|
+
input: __S(80, __c10, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
740
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
632
741
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
633
742
|
protocol: StackitProtocol,
|
|
634
743
|
retry: Retry.Retry,
|
|
744
|
+
telemetry: TELEMETRY,
|
|
745
|
+
span: "TriggerRecreate",
|
|
635
746
|
}));
|
|
636
747
|
|
|
637
748
|
export type TriggerRestartError = BadRequest | NotFound | StackitOpError;
|
|
@@ -642,11 +753,13 @@ export const triggerRestart: API.OperationMethod<
|
|
|
642
753
|
TriggerRestartError,
|
|
643
754
|
StackitOpContext
|
|
644
755
|
> = /*@__PURE__*/ API.make(() => ({
|
|
645
|
-
input: __S(
|
|
646
|
-
output: __S(
|
|
756
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
757
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
647
758
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
648
759
|
protocol: StackitProtocol,
|
|
649
760
|
retry: Retry.Retry,
|
|
761
|
+
telemetry: TELEMETRY,
|
|
762
|
+
span: "TriggerRestart",
|
|
650
763
|
}));
|
|
651
764
|
|
|
652
765
|
export type TriggerRestoreError = BadRequest | NotFound | StackitOpError;
|
|
@@ -657,11 +770,30 @@ export const triggerRestore: API.OperationMethod<
|
|
|
657
770
|
TriggerRestoreError,
|
|
658
771
|
StackitOpContext
|
|
659
772
|
> = /*@__PURE__*/ API.make(() => ({
|
|
660
|
-
input: __S(
|
|
661
|
-
output: __S(
|
|
773
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
774
|
+
output: __S(97, __c12, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
662
775
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
663
776
|
protocol: StackitProtocol,
|
|
664
777
|
retry: Retry.Retry,
|
|
778
|
+
telemetry: TELEMETRY,
|
|
779
|
+
span: "TriggerRestore",
|
|
780
|
+
}));
|
|
781
|
+
|
|
782
|
+
export type TriggerUpdateError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
783
|
+
/** start updates Starts all available updates asynchronously using the instance's service offering. No request body is required. */
|
|
784
|
+
export const triggerUpdate: API.OperationMethod<
|
|
785
|
+
TriggerUpdateRequest,
|
|
786
|
+
CreateInstanceResponse,
|
|
787
|
+
TriggerUpdateError,
|
|
788
|
+
StackitOpContext
|
|
789
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
790
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
791
|
+
output: __S(176, __c22, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
792
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
793
|
+
protocol: StackitProtocol,
|
|
794
|
+
retry: Retry.Retry,
|
|
795
|
+
telemetry: TELEMETRY,
|
|
796
|
+
span: "TriggerUpdate",
|
|
665
797
|
}));
|
|
666
798
|
|
|
667
799
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
@@ -672,11 +804,30 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
672
804
|
UpdateBackupsConfigError,
|
|
673
805
|
StackitOpContext
|
|
674
806
|
> = /*@__PURE__*/ API.make(() => ({
|
|
675
|
-
input: __S(
|
|
676
|
-
output: __S(
|
|
807
|
+
input: __S(112, __c14, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
808
|
+
output: __S(113, __c14, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
677
809
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
678
810
|
protocol: StackitProtocol,
|
|
679
811
|
retry: Retry.Retry,
|
|
812
|
+
telemetry: TELEMETRY,
|
|
813
|
+
span: "UpdateBackupsConfig",
|
|
814
|
+
}));
|
|
815
|
+
|
|
816
|
+
export type UpdateUpdatesSettingsError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
817
|
+
/** update update settings Enables or disables automatic updates. The platform operator must allow changing this setting. */
|
|
818
|
+
export const updateUpdatesSettings: API.OperationMethod<
|
|
819
|
+
UpdateUpdatesSettingsRequest,
|
|
820
|
+
UpdateUpdatesSettingsResponse,
|
|
821
|
+
UpdateUpdatesSettingsError,
|
|
822
|
+
StackitOpContext
|
|
823
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
824
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
825
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
826
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
827
|
+
protocol: StackitProtocol,
|
|
828
|
+
retry: Retry.Retry,
|
|
829
|
+
telemetry: TELEMETRY,
|
|
830
|
+
span: "UpdateUpdatesSettings",
|
|
680
831
|
}));
|
|
681
832
|
|
|
682
833
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -718,6 +869,7 @@ function __c1(j: number): any {
|
|
|
718
869
|
dashboardUrl: S.String,
|
|
719
870
|
imageUrl: S.String,
|
|
720
871
|
instanceId: S.optional(S.String),
|
|
872
|
+
instanceStatus: S.optional(S.String),
|
|
721
873
|
lastOperation: __S(8, __c1, 0),
|
|
722
874
|
name: S.String,
|
|
723
875
|
offeringName: S.String,
|
|
@@ -778,6 +930,32 @@ function __c2(j: number): any {
|
|
|
778
930
|
}
|
|
779
931
|
}
|
|
780
932
|
function __c3(j: number): any {
|
|
933
|
+
switch (j) {
|
|
934
|
+
case 0:
|
|
935
|
+
return S.suspend(() =>
|
|
936
|
+
S.Struct({
|
|
937
|
+
projectId: S.String.pipe(T.Label()),
|
|
938
|
+
regionId: S.String.pipe(T.Label()),
|
|
939
|
+
instanceId: S.String.pipe(T.Label()),
|
|
940
|
+
}).pipe(
|
|
941
|
+
T.Http({
|
|
942
|
+
method: "GET",
|
|
943
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
944
|
+
code: 200,
|
|
945
|
+
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
946
|
+
}),
|
|
947
|
+
),
|
|
948
|
+
).annotate({ identifier: "GetUpdatesRequest" });
|
|
949
|
+
case 1:
|
|
950
|
+
return S.suspend(() =>
|
|
951
|
+
S.Struct({
|
|
952
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
953
|
+
availableUpdates: S.Number,
|
|
954
|
+
}),
|
|
955
|
+
).annotate({ identifier: "GetUpdatesResponse" });
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
function __c4(j: number): any {
|
|
781
959
|
switch (j) {
|
|
782
960
|
case 0:
|
|
783
961
|
return S.suspend(() =>
|
|
@@ -806,14 +984,14 @@ function __c3(j: number): any {
|
|
|
806
984
|
}),
|
|
807
985
|
).annotate({ identifier: "Backup" });
|
|
808
986
|
case 2:
|
|
809
|
-
return S.Array(__S(
|
|
987
|
+
return S.Array(__S(33, __c4, 1));
|
|
810
988
|
case 3:
|
|
811
|
-
return S.suspend(() => __S(
|
|
989
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
812
990
|
identifier: "ListBackupsResponse2",
|
|
813
991
|
});
|
|
814
992
|
}
|
|
815
993
|
}
|
|
816
|
-
function
|
|
994
|
+
function __c5(j: number): any {
|
|
817
995
|
switch (j) {
|
|
818
996
|
case 0:
|
|
819
997
|
return S.suspend(() =>
|
|
@@ -837,16 +1015,16 @@ function __c4(j: number): any {
|
|
|
837
1015
|
}),
|
|
838
1016
|
).annotate({ identifier: "CredentialsListItem" });
|
|
839
1017
|
case 2:
|
|
840
|
-
return S.Array(__S(
|
|
1018
|
+
return S.Array(__S(41, __c5, 1));
|
|
841
1019
|
case 3:
|
|
842
1020
|
return S.suspend(() =>
|
|
843
1021
|
S.Struct({
|
|
844
|
-
credentialsList: __S(
|
|
1022
|
+
credentialsList: __S(42, __c5, 2),
|
|
845
1023
|
}),
|
|
846
1024
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
847
1025
|
}
|
|
848
1026
|
}
|
|
849
|
-
function
|
|
1027
|
+
function __c6(j: number): any {
|
|
850
1028
|
switch (j) {
|
|
851
1029
|
case 0:
|
|
852
1030
|
return S.suspend(() =>
|
|
@@ -867,12 +1045,12 @@ function __c5(j: number): any {
|
|
|
867
1045
|
case 2:
|
|
868
1046
|
return S.suspend(() =>
|
|
869
1047
|
S.Struct({
|
|
870
|
-
instances: __S(
|
|
1048
|
+
instances: __S(49, __c6, 1),
|
|
871
1049
|
}),
|
|
872
1050
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
873
1051
|
}
|
|
874
1052
|
}
|
|
875
|
-
function
|
|
1053
|
+
function __c7(j: number): any {
|
|
876
1054
|
switch (j) {
|
|
877
1055
|
case 0:
|
|
878
1056
|
return S.suspend(() =>
|
|
@@ -899,7 +1077,7 @@ function __c6(j: number): any {
|
|
|
899
1077
|
}),
|
|
900
1078
|
).annotate({ identifier: "Plan" });
|
|
901
1079
|
case 2:
|
|
902
|
-
return S.Array(__S(
|
|
1080
|
+
return S.Array(__S(57, __c7, 1));
|
|
903
1081
|
case 3:
|
|
904
1082
|
return S.suspend(() =>
|
|
905
1083
|
S.Struct({
|
|
@@ -909,8 +1087,8 @@ function __c6(j: number): any {
|
|
|
909
1087
|
case 4:
|
|
910
1088
|
return S.suspend(() =>
|
|
911
1089
|
S.Struct({
|
|
912
|
-
create: __S(
|
|
913
|
-
update: __S(
|
|
1090
|
+
create: __S(59, __c7, 3),
|
|
1091
|
+
update: __S(59, __c7, 3),
|
|
914
1092
|
}),
|
|
915
1093
|
).annotate({ identifier: "InstanceSchema" });
|
|
916
1094
|
case 5:
|
|
@@ -922,23 +1100,23 @@ function __c6(j: number): any {
|
|
|
922
1100
|
latest: S.Boolean,
|
|
923
1101
|
lifecycle: S.optional(S.String),
|
|
924
1102
|
name: S.String,
|
|
925
|
-
plans: __S(
|
|
1103
|
+
plans: __S(58, __c7, 2),
|
|
926
1104
|
quotaCount: S.Number,
|
|
927
|
-
schema: S.optional(__S(
|
|
1105
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
928
1106
|
version: S.String,
|
|
929
1107
|
}),
|
|
930
1108
|
).annotate({ identifier: "Offering" });
|
|
931
1109
|
case 6:
|
|
932
|
-
return S.Array(__S(
|
|
1110
|
+
return S.Array(__S(61, __c7, 5));
|
|
933
1111
|
case 7:
|
|
934
1112
|
return S.suspend(() =>
|
|
935
1113
|
S.Struct({
|
|
936
|
-
offerings: __S(
|
|
1114
|
+
offerings: __S(62, __c7, 6),
|
|
937
1115
|
}),
|
|
938
1116
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
939
1117
|
}
|
|
940
1118
|
}
|
|
941
|
-
function
|
|
1119
|
+
function __c8(j: number): any {
|
|
942
1120
|
switch (j) {
|
|
943
1121
|
case 0:
|
|
944
1122
|
return S.suspend(() =>
|
|
@@ -966,16 +1144,16 @@ function __c7(j: number): any {
|
|
|
966
1144
|
}),
|
|
967
1145
|
).annotate({ identifier: "Restore" });
|
|
968
1146
|
case 2:
|
|
969
|
-
return S.Array(__S(
|
|
1147
|
+
return S.Array(__S(65, __c8, 1));
|
|
970
1148
|
case 3:
|
|
971
1149
|
return S.suspend(() =>
|
|
972
1150
|
S.Struct({
|
|
973
|
-
instanceRestores: __S(
|
|
1151
|
+
instanceRestores: __S(66, __c8, 2),
|
|
974
1152
|
}),
|
|
975
1153
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
976
1154
|
}
|
|
977
1155
|
}
|
|
978
|
-
function
|
|
1156
|
+
function __c9(j: number): any {
|
|
979
1157
|
switch (j) {
|
|
980
1158
|
case 0:
|
|
981
1159
|
return S.suspend(() =>
|
|
@@ -984,7 +1162,7 @@ function __c8(j: number): any {
|
|
|
984
1162
|
regionId: S.String.pipe(T.Label()),
|
|
985
1163
|
instanceId: S.String.pipe(T.Label()),
|
|
986
1164
|
instanceName: S.optional(S.String),
|
|
987
|
-
parameters: S.optional(__S(
|
|
1165
|
+
parameters: S.optional(__S(169, __c21, 1)),
|
|
988
1166
|
planId: S.optional(S.String),
|
|
989
1167
|
}).pipe(
|
|
990
1168
|
T.Http({
|
|
@@ -997,7 +1175,7 @@ function __c8(j: number): any {
|
|
|
997
1175
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
998
1176
|
}
|
|
999
1177
|
}
|
|
1000
|
-
function
|
|
1178
|
+
function __c10(j: number): any {
|
|
1001
1179
|
switch (j) {
|
|
1002
1180
|
case 0:
|
|
1003
1181
|
return S.suspend(() =>
|
|
@@ -1016,7 +1194,7 @@ function __c9(j: number): any {
|
|
|
1016
1194
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1017
1195
|
}
|
|
1018
1196
|
}
|
|
1019
|
-
function
|
|
1197
|
+
function __c11(j: number): any {
|
|
1020
1198
|
switch (j) {
|
|
1021
1199
|
case 0:
|
|
1022
1200
|
return S.suspend(() =>
|
|
@@ -1035,7 +1213,7 @@ function __c10(j: number): any {
|
|
|
1035
1213
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1036
1214
|
}
|
|
1037
1215
|
}
|
|
1038
|
-
function
|
|
1216
|
+
function __c12(j: number): any {
|
|
1039
1217
|
switch (j) {
|
|
1040
1218
|
case 0:
|
|
1041
1219
|
return S.suspend(() =>
|
|
@@ -1061,7 +1239,26 @@ function __c11(j: number): any {
|
|
|
1061
1239
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1062
1240
|
}
|
|
1063
1241
|
}
|
|
1064
|
-
function
|
|
1242
|
+
function __c13(j: number): any {
|
|
1243
|
+
switch (j) {
|
|
1244
|
+
case 0:
|
|
1245
|
+
return S.suspend(() =>
|
|
1246
|
+
S.Struct({
|
|
1247
|
+
projectId: S.String.pipe(T.Label()),
|
|
1248
|
+
regionId: S.String.pipe(T.Label()),
|
|
1249
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1250
|
+
}).pipe(
|
|
1251
|
+
T.Http({
|
|
1252
|
+
method: "POST",
|
|
1253
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates/start",
|
|
1254
|
+
code: 200,
|
|
1255
|
+
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
1256
|
+
}),
|
|
1257
|
+
),
|
|
1258
|
+
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
function __c14(j: number): any {
|
|
1065
1262
|
switch (j) {
|
|
1066
1263
|
case 0:
|
|
1067
1264
|
return S.suspend(() =>
|
|
@@ -1087,7 +1284,33 @@ function __c12(j: number): any {
|
|
|
1087
1284
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1088
1285
|
}
|
|
1089
1286
|
}
|
|
1090
|
-
function
|
|
1287
|
+
function __c15(j: number): any {
|
|
1288
|
+
switch (j) {
|
|
1289
|
+
case 0:
|
|
1290
|
+
return S.suspend(() =>
|
|
1291
|
+
S.Struct({
|
|
1292
|
+
projectId: S.String.pipe(T.Label()),
|
|
1293
|
+
regionId: S.String.pipe(T.Label()),
|
|
1294
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1295
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1296
|
+
}).pipe(
|
|
1297
|
+
T.Http({
|
|
1298
|
+
method: "PATCH",
|
|
1299
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
1300
|
+
code: 200,
|
|
1301
|
+
baseUrl: "https://opensearch.api.stackit.cloud",
|
|
1302
|
+
}),
|
|
1303
|
+
),
|
|
1304
|
+
).annotate({ identifier: "UpdateUpdatesSettingsRequest" });
|
|
1305
|
+
case 1:
|
|
1306
|
+
return S.suspend(() =>
|
|
1307
|
+
S.Struct({
|
|
1308
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1309
|
+
}),
|
|
1310
|
+
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
function __c16(j: number): any {
|
|
1091
1314
|
switch (j) {
|
|
1092
1315
|
case 0:
|
|
1093
1316
|
return S.suspend(() =>
|
|
@@ -1113,7 +1336,7 @@ function __c13(j: number): any {
|
|
|
1113
1336
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1114
1337
|
}
|
|
1115
1338
|
}
|
|
1116
|
-
function
|
|
1339
|
+
function __c17(j: number): any {
|
|
1117
1340
|
switch (j) {
|
|
1118
1341
|
case 0:
|
|
1119
1342
|
return S.suspend(() =>
|
|
@@ -1133,19 +1356,19 @@ function __c14(j: number): any {
|
|
|
1133
1356
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1134
1357
|
}
|
|
1135
1358
|
}
|
|
1136
|
-
function
|
|
1359
|
+
function __c18(j: number): any {
|
|
1137
1360
|
switch (j) {
|
|
1138
1361
|
case 0:
|
|
1139
1362
|
return S.Array(S.String);
|
|
1140
1363
|
}
|
|
1141
1364
|
}
|
|
1142
|
-
function
|
|
1365
|
+
function __c19(j: number): any {
|
|
1143
1366
|
switch (j) {
|
|
1144
1367
|
case 0:
|
|
1145
1368
|
return S.suspend(() =>
|
|
1146
1369
|
S.Struct({
|
|
1147
1370
|
host: S.String,
|
|
1148
|
-
hosts: S.optional(__S(
|
|
1371
|
+
hosts: S.optional(__S(144, __c18, 0)),
|
|
1149
1372
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1150
1373
|
port: S.optional(S.Number),
|
|
1151
1374
|
scheme: S.optional(S.String),
|
|
@@ -1156,20 +1379,20 @@ function __c16(j: number): any {
|
|
|
1156
1379
|
case 1:
|
|
1157
1380
|
return S.suspend(() =>
|
|
1158
1381
|
S.Struct({
|
|
1159
|
-
credentials: __S(
|
|
1382
|
+
credentials: __S(152, __c19, 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(153, __c19, 1)),
|
|
1167
1390
|
uri: S.String,
|
|
1168
1391
|
}),
|
|
1169
1392
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1170
1393
|
}
|
|
1171
1394
|
}
|
|
1172
|
-
function
|
|
1395
|
+
function __c20(j: number): any {
|
|
1173
1396
|
switch (j) {
|
|
1174
1397
|
case 0:
|
|
1175
1398
|
return S.suspend(() =>
|
|
@@ -1177,7 +1400,7 @@ function __c17(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(169, __c21, 1)),
|
|
1181
1404
|
planId: S.String,
|
|
1182
1405
|
}).pipe(
|
|
1183
1406
|
T.Http({
|
|
@@ -1190,7 +1413,7 @@ function __c17(j: number): any {
|
|
|
1190
1413
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1191
1414
|
}
|
|
1192
1415
|
}
|
|
1193
|
-
function
|
|
1416
|
+
function __c21(j: number): any {
|
|
1194
1417
|
switch (j) {
|
|
1195
1418
|
case 0:
|
|
1196
1419
|
return S.Array(S.String);
|
|
@@ -1206,16 +1429,16 @@ function __c18(j: number): any {
|
|
|
1206
1429
|
metrics_frequency: S.optional(S.Number),
|
|
1207
1430
|
metrics_prefix: S.optional(S.String),
|
|
1208
1431
|
monitoring_instance_id: S.optional(S.String),
|
|
1209
|
-
plugins: S.optional(__S(
|
|
1432
|
+
plugins: S.optional(__S(168, __c21, 0)),
|
|
1210
1433
|
sgw_acl: S.optional(S.String),
|
|
1211
|
-
syslog: S.optional(__S(
|
|
1212
|
-
tls_ciphers: S.optional(__S(
|
|
1213
|
-
tls_protocols: S.optional(__S(
|
|
1434
|
+
syslog: S.optional(__S(144, __c18, 0)),
|
|
1435
|
+
tls_ciphers: S.optional(__S(144, __c18, 0).pipe(T.Body("tls-ciphers"))),
|
|
1436
|
+
tls_protocols: S.optional(__S(168, __c21, 0).pipe(T.Body("tls-protocols"))),
|
|
1214
1437
|
}),
|
|
1215
1438
|
).annotate({ identifier: "InstanceParameters" });
|
|
1216
1439
|
}
|
|
1217
1440
|
}
|
|
1218
|
-
function
|
|
1441
|
+
function __c22(j: number): any {
|
|
1219
1442
|
switch (j) {
|
|
1220
1443
|
case 0:
|
|
1221
1444
|
return S.suspend(() =>
|
|
@@ -1225,7 +1448,7 @@ function __c19(j: number): any {
|
|
|
1225
1448
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1226
1449
|
}
|
|
1227
1450
|
}
|
|
1228
|
-
function
|
|
1451
|
+
function __c23(j: number): any {
|
|
1229
1452
|
switch (j) {
|
|
1230
1453
|
case 0:
|
|
1231
1454
|
return S.suspend(() =>
|
|
@@ -1245,13 +1468,13 @@ function __c20(j: number): any {
|
|
|
1245
1468
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1246
1469
|
}
|
|
1247
1470
|
}
|
|
1248
|
-
function
|
|
1471
|
+
function __c24(j: number): any {
|
|
1249
1472
|
switch (j) {
|
|
1250
1473
|
case 0:
|
|
1251
1474
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1252
1475
|
}
|
|
1253
1476
|
}
|
|
1254
|
-
function
|
|
1477
|
+
function __c25(j: number): any {
|
|
1255
1478
|
switch (j) {
|
|
1256
1479
|
case 0:
|
|
1257
1480
|
return S.suspend(() =>
|
|
@@ -1270,7 +1493,7 @@ function __c22(j: number): any {
|
|
|
1270
1493
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1271
1494
|
}
|
|
1272
1495
|
}
|
|
1273
|
-
function
|
|
1496
|
+
function __c26(j: number): any {
|
|
1274
1497
|
switch (j) {
|
|
1275
1498
|
case 0:
|
|
1276
1499
|
return S.suspend(() =>
|
|
@@ -1290,7 +1513,7 @@ function __c23(j: number): any {
|
|
|
1290
1513
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1291
1514
|
}
|
|
1292
1515
|
}
|
|
1293
|
-
function
|
|
1516
|
+
function __c27(j: number): any {
|
|
1294
1517
|
switch (j) {
|
|
1295
1518
|
case 0:
|
|
1296
1519
|
return S.suspend(() =>
|