@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.22
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/README.md +13 -2
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +17 -3
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/errors.d.ts +8 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +9 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +33 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/alb.d.ts +8 -0
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +26 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +8 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +31 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +13 -0
- 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 +23 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +23 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +39 -1
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -30
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +6 -0
- 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 +19 -0
- 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 +16 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -40
- package/lib/services/dns.js.map +1 -1
- package/lib/services/iaas.d.ts +17 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -180
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +19 -0
- package/lib/services/identity.d.ts.map +1 -1
- package/lib/services/identity.js +1 -1
- package/lib/services/identity.js.map +1 -1
- package/lib/services/index.d.ts +0 -10
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -10
- package/lib/services/kms.d.ts +16 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -40
- package/lib/services/kms.js.map +1 -1
- package/lib/services/load_balancer.d.ts +8 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +27 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +14 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +36 -35
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +6 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -34
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +14 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -36
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +20 -0
- 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 +13 -0
- 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 +19 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +42 -41
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +36 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +38 -37
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +34 -8
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -158
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +14 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +37 -36
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +22 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -30
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +37 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +48 -47
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +14 -1
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +38 -37
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +37 -0
- 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 +24 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +36 -35
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +12 -0
- 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/scf.d.ts +13 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -39
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +42 -41
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +6 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -28
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +6 -0
- 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 +28 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +30 -29
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +14 -0
- 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 +33 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -46
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +8 -3
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -25
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +34 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -45
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +26 -1
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +26 -25
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +12 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +35 -34
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +49 -3
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +33 -31
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +15 -0
- 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 +14 -1
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +37 -36
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +43 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -42
- package/lib/services/vpn.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 +1 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +1 -1
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +1 -1
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mariadb.js +1 -1
- 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 +1 -1
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +1 -1
- package/lib/services.lazy/resource_manager.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/services.lazy/valkey.js +1 -1
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/dremio.d.ts +19 -4
- package/lib/unstable-services/dremio.d.ts.map +1 -0
- package/lib/unstable-services/dremio.js +2 -0
- package/lib/unstable-services/dremio.js.map +1 -0
- package/lib/{services → unstable-services}/edge.d.ts +13 -1
- package/lib/unstable-services/edge.d.ts.map +1 -0
- package/lib/unstable-services/edge.js +29 -0
- package/lib/unstable-services/edge.js.map +1 -0
- package/lib/unstable-services/functions.d.ts.map +1 -0
- package/lib/unstable-services/functions.js +28 -0
- package/lib/unstable-services/functions.js.map +1 -0
- package/lib/{services → unstable-services}/git.d.ts +63 -2
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +44 -0
- package/lib/unstable-services/git.js.map +1 -0
- package/lib/unstable-services/index.d.ts +11 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +10 -0
- package/lib/{services → unstable-services}/intake.d.ts +8 -2
- package/lib/unstable-services/intake.d.ts.map +1 -0
- package/lib/unstable-services/intake.js +31 -0
- package/lib/unstable-services/intake.js.map +1 -0
- package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
- package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
- package/lib/unstable-services/lb_ip_lists.js +2 -0
- package/lib/unstable-services/lb_ip_lists.js.map +1 -0
- package/lib/{services → unstable-services}/mailout.d.ts +95 -126
- package/lib/unstable-services/mailout.d.ts.map +1 -0
- package/lib/unstable-services/mailout.js +30 -0
- package/lib/unstable-services/mailout.js.map +1 -0
- package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
- package/lib/unstable-services/pubsub.d.ts.map +1 -0
- package/lib/unstable-services/pubsub.js +39 -0
- package/lib/unstable-services/pubsub.js.map +1 -0
- package/lib/{services → unstable-services}/sca.d.ts +73 -23
- package/lib/unstable-services/sca.d.ts.map +1 -0
- package/lib/unstable-services/sca.js +41 -0
- package/lib/unstable-services/sca.js.map +1 -0
- package/lib/{services → unstable-services}/workflows.d.ts +29 -1
- package/lib/unstable-services/workflows.d.ts.map +1 -0
- package/lib/unstable-services/workflows.js +30 -0
- package/lib/unstable-services/workflows.js.map +1 -0
- package/lib/unstable-services.lazy/dremio.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
- package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
- package/lib/unstable-services.lazy/mailout.js +4 -0
- package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
- package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
- package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
- package/package.json +12 -6
- package/src/credentials.ts +44 -7
- package/src/errors.ts +10 -1
- package/src/index.ts +9 -6
- package/src/protocol.ts +108 -127
- package/src/services/alb.ts +35 -14
- package/src/services/alb_waf.ts +41 -17
- package/src/services/authorization.ts +121 -75
- package/src/services/automation.ts +151 -76
- package/src/services/cdn.ts +284 -187
- package/src/services/certificates.ts +17 -6
- package/src/services/cost.ts +75 -17
- package/src/services/dns.ts +219 -149
- package/src/services/iaas.ts +888 -708
- package/src/services/identity.ts +109 -51
- package/src/services/index.ts +0 -10
- package/src/services/kms.ts +185 -118
- package/src/services/load_balancer.ts +35 -14
- package/src/services/logme.ts +181 -123
- package/src/services/logs.ts +43 -19
- package/src/services/mariadb.ts +179 -121
- package/src/services/model_experiments.ts +122 -64
- package/src/services/model_serving.ts +102 -58
- package/src/services/mongodb_flex.ts +196 -131
- package/src/services/object_storage.ts +229 -106
- package/src/services/observability.ts +880 -709
- package/src/services/opensearch.ts +182 -124
- package/src/services/pim.ts +166 -104
- package/src/services/postgres_flex.ts +291 -170
- package/src/services/rabbitmq.ts +188 -130
- package/src/services/registry.ts +146 -40
- package/src/services/resource_manager.ts +180 -110
- package/src/services/run_command.ts +73 -37
- package/src/services/scf.ts +178 -119
- package/src/services/secrets_manager.ts +198 -129
- package/src/services/server_backup.ts +39 -17
- package/src/services/server_update.ts +31 -13
- package/src/services/service_account.ts +180 -85
- package/src/services/service_enablement.ts +64 -28
- package/src/services/sfs.ts +265 -163
- package/src/services/ske.ts +39 -20
- package/src/services/sqlserverflex.ts +290 -175
- package/src/services/stackit_marketplace.ts +138 -70
- package/src/services/telemetry_link.ts +151 -100
- package/src/services/telemetry_router.ts +241 -109
- package/src/services/ufw.ts +97 -50
- package/src/services/valkey.ts +179 -121
- package/src/services/vpn.ts +305 -194
- package/src/{services → unstable-services}/dremio.ts +113 -74
- package/src/{services → unstable-services}/edge.ts +113 -72
- package/src/{services → unstable-services}/functions.ts +31 -16
- package/src/{services → unstable-services}/git.ts +353 -137
- package/src/unstable-services/index.ts +11 -0
- package/src/{services → unstable-services}/intake.ts +41 -20
- package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
- package/src/{services → unstable-services}/mailout.ts +290 -381
- package/src/{services → unstable-services}/pubsub.ts +47 -19
- package/src/{services → unstable-services}/sca.ts +349 -172
- package/src/{services → unstable-services}/workflows.ts +149 -76
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/dremio.d.ts.map +0 -1
- package/lib/services/dremio.js +0 -2
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.d.ts.map +0 -1
- package/lib/services/edge.js +0 -29
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.d.ts.map +0 -1
- package/lib/services/functions.js +0 -28
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.d.ts.map +0 -1
- package/lib/services/git.js +0 -41
- package/lib/services/git.js.map +0 -1
- package/lib/services/intake.d.ts.map +0 -1
- package/lib/services/intake.js +0 -31
- package/lib/services/intake.js.map +0 -1
- package/lib/services/lb_ip_lists.d.ts.map +0 -1
- package/lib/services/lb_ip_lists.js +0 -2
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/mailout.d.ts.map +0 -1
- package/lib/services/mailout.js +0 -33
- package/lib/services/mailout.js.map +0 -1
- package/lib/services/pubsub.d.ts.map +0 -1
- package/lib/services/pubsub.js +0 -39
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/sca.d.ts.map +0 -1
- package/lib/services/sca.js +0 -35
- package/lib/services/sca.js.map +0 -1
- package/lib/services/workflows.d.ts.map +0 -1
- package/lib/services/workflows.js +0 -29
- package/lib/services/workflows.js.map +0 -1
- package/lib/services.lazy/dremio.js +0 -1
- package/lib/services.lazy/lb_ip_lists.js +0 -1
- package/lib/services.lazy/mailout.js +0 -4
- /package/lib/{services → unstable-services}/functions.d.ts +0 -0
package/src/services/rabbitmq.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
|
|
|
4
4
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import type * as Redacted from "effect/Redacted";
|
|
7
|
-
import {
|
|
7
|
+
import { StackitServiceErrors } from "../errors.ts";
|
|
8
8
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
9
9
|
import * as Retry from "../retry.ts";
|
|
10
10
|
import * as T from "../traits.ts";
|
|
@@ -31,27 +31,48 @@ export class BadRequest
|
|
|
31
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
32
32
|
code: S.Number,
|
|
33
33
|
message: S.String,
|
|
34
|
+
body: /*@__PURE__*/ S.optional(
|
|
35
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
36
|
+
),
|
|
37
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
34
38
|
}).pipe(C.withBadRequestError),
|
|
35
39
|
[{ status: 400 }],
|
|
36
|
-
)
|
|
40
|
+
)
|
|
41
|
+
{
|
|
42
|
+
declare readonly body?: Error | string;
|
|
43
|
+
}
|
|
37
44
|
|
|
38
45
|
export class Conflict
|
|
39
46
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
40
47
|
/*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
|
|
41
48
|
code: S.Number,
|
|
42
49
|
message: S.String,
|
|
50
|
+
body: /*@__PURE__*/ S.optional(
|
|
51
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
52
|
+
),
|
|
53
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
43
54
|
}).pipe(C.withConflictError),
|
|
44
55
|
[{ status: 409 }],
|
|
45
|
-
)
|
|
56
|
+
)
|
|
57
|
+
{
|
|
58
|
+
declare readonly body?: Error | string;
|
|
59
|
+
}
|
|
46
60
|
|
|
47
61
|
export class NotFound
|
|
48
62
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
49
63
|
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
50
64
|
code: S.Number,
|
|
51
65
|
message: S.String,
|
|
66
|
+
body: /*@__PURE__*/ S.optional(
|
|
67
|
+
/*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
|
|
68
|
+
),
|
|
69
|
+
headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
|
|
52
70
|
}).pipe(C.withBadRequestError),
|
|
53
71
|
[{ status: 404 }],
|
|
54
|
-
)
|
|
72
|
+
)
|
|
73
|
+
{
|
|
74
|
+
declare readonly body?: Error | string;
|
|
75
|
+
}
|
|
55
76
|
|
|
56
77
|
export interface CreateBackupRequest {
|
|
57
78
|
/** Project id on which user has permissions */
|
|
@@ -456,7 +477,7 @@ export interface UpdateBackupsConfigRequest {
|
|
|
456
477
|
regionId: string;
|
|
457
478
|
/** Instance id */
|
|
458
479
|
instanceId: string;
|
|
459
|
-
encryption_key?: string | undefined;
|
|
480
|
+
encryption_key?: string | Redacted.Redacted<string> | undefined;
|
|
460
481
|
}
|
|
461
482
|
export interface UpdateBackupsConfigResponse {
|
|
462
483
|
message: string;
|
|
@@ -475,6 +496,10 @@ export interface UpdateUpdatesSettingsResponse {
|
|
|
475
496
|
/** Whether automatic updates are allowed. */
|
|
476
497
|
automaticUpdatesEnabled: boolean;
|
|
477
498
|
}
|
|
499
|
+
export interface Error {
|
|
500
|
+
description: string;
|
|
501
|
+
error: string;
|
|
502
|
+
}
|
|
478
503
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
479
504
|
/** create a backup */
|
|
480
505
|
export const createBackup: API.OperationMethod<
|
|
@@ -483,9 +508,10 @@ export const createBackup: API.OperationMethod<
|
|
|
483
508
|
CreateBackupError,
|
|
484
509
|
StackitOpContext
|
|
485
510
|
> = /*@__PURE__*/ API.make(() => ({
|
|
486
|
-
input: __S(
|
|
487
|
-
output: __S(
|
|
488
|
-
errors: [BadRequest, NotFound
|
|
511
|
+
input: __S(136, __c17, 0) as any as S.Schema<CreateBackupRequest>,
|
|
512
|
+
output: __S(137, __c17, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
513
|
+
errors: [BadRequest, NotFound],
|
|
514
|
+
serviceErrors: StackitServiceErrors,
|
|
489
515
|
protocol: StackitProtocol,
|
|
490
516
|
retry: Retry.Retry,
|
|
491
517
|
telemetry: TELEMETRY,
|
|
@@ -500,9 +526,10 @@ export const createCredentials: API.OperationMethod<
|
|
|
500
526
|
CreateCredentialsError,
|
|
501
527
|
StackitOpContext
|
|
502
528
|
> = /*@__PURE__*/ API.make(() => ({
|
|
503
|
-
input: __S(
|
|
504
|
-
output: __S(
|
|
505
|
-
errors: [BadRequest
|
|
529
|
+
input: __S(145, __c18, 1) as any as S.Schema<CreateCredentialsRequest>,
|
|
530
|
+
output: __S(170, __c21, 2) as any as S.Schema<CredentialsResponse>,
|
|
531
|
+
errors: [BadRequest],
|
|
532
|
+
serviceErrors: StackitServiceErrors,
|
|
506
533
|
protocol: StackitProtocol,
|
|
507
534
|
retry: Retry.Retry,
|
|
508
535
|
telemetry: TELEMETRY,
|
|
@@ -517,9 +544,10 @@ export const createInstance: API.OperationMethod<
|
|
|
517
544
|
CreateInstanceError,
|
|
518
545
|
StackitOpContext
|
|
519
546
|
> = /*@__PURE__*/ API.make(() => ({
|
|
520
|
-
input: __S(
|
|
521
|
-
output: __S(
|
|
522
|
-
errors: [BadRequest, Conflict
|
|
547
|
+
input: __S(176, __c22, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
548
|
+
output: __S(192, __c24, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
549
|
+
errors: [BadRequest, Conflict],
|
|
550
|
+
serviceErrors: StackitServiceErrors,
|
|
523
551
|
protocol: StackitProtocol,
|
|
524
552
|
retry: Retry.Retry,
|
|
525
553
|
telemetry: TELEMETRY,
|
|
@@ -534,9 +562,10 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
534
562
|
DeleteCredentialsError,
|
|
535
563
|
StackitOpContext
|
|
536
564
|
> = /*@__PURE__*/ API.make(() => ({
|
|
537
|
-
input: __S(
|
|
538
|
-
output: __S(
|
|
539
|
-
errors: [BadRequest, NotFound
|
|
565
|
+
input: __S(200, __c25, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
566
|
+
output: __S(208, __c26, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
567
|
+
errors: [BadRequest, NotFound],
|
|
568
|
+
serviceErrors: StackitServiceErrors,
|
|
540
569
|
protocol: StackitProtocol,
|
|
541
570
|
retry: Retry.Retry,
|
|
542
571
|
telemetry: TELEMETRY,
|
|
@@ -551,9 +580,10 @@ export const deleteInstance: API.OperationMethod<
|
|
|
551
580
|
DeleteInstanceError,
|
|
552
581
|
StackitOpContext
|
|
553
582
|
> = /*@__PURE__*/ API.make(() => ({
|
|
554
|
-
input: __S(
|
|
555
|
-
output: __S(
|
|
556
|
-
errors: [BadRequest, NotFound
|
|
583
|
+
input: __S(216, __c27, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
584
|
+
output: __S(208, __c26, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
585
|
+
errors: [BadRequest, NotFound],
|
|
586
|
+
serviceErrors: StackitServiceErrors,
|
|
557
587
|
protocol: StackitProtocol,
|
|
558
588
|
retry: Retry.Retry,
|
|
559
589
|
telemetry: TELEMETRY,
|
|
@@ -568,9 +598,10 @@ export const downloadBackup: API.OperationMethod<
|
|
|
568
598
|
DownloadBackupError,
|
|
569
599
|
StackitOpContext
|
|
570
600
|
> = /*@__PURE__*/ API.make(() => ({
|
|
571
|
-
input: __S(
|
|
572
|
-
output: __S(
|
|
573
|
-
errors: [BadRequest, NotFound
|
|
601
|
+
input: __S(224, __c28, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
602
|
+
output: __S(208, __c26, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
603
|
+
errors: [BadRequest, NotFound],
|
|
604
|
+
serviceErrors: StackitServiceErrors,
|
|
574
605
|
protocol: StackitProtocol,
|
|
575
606
|
retry: Retry.Retry,
|
|
576
607
|
telemetry: TELEMETRY,
|
|
@@ -585,9 +616,10 @@ export const getCredentials: API.OperationMethod<
|
|
|
585
616
|
GetCredentialsError,
|
|
586
617
|
StackitOpContext
|
|
587
618
|
> = /*@__PURE__*/ API.make(() => ({
|
|
588
|
-
input: __S(
|
|
589
|
-
output: __S(
|
|
590
|
-
errors: [BadRequest, NotFound
|
|
619
|
+
input: __S(232, __c29, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
620
|
+
output: __S(170, __c21, 2) as any as S.Schema<CredentialsResponse>,
|
|
621
|
+
errors: [BadRequest, NotFound],
|
|
622
|
+
serviceErrors: StackitServiceErrors,
|
|
591
623
|
protocol: StackitProtocol,
|
|
592
624
|
retry: Retry.Retry,
|
|
593
625
|
telemetry: TELEMETRY,
|
|
@@ -602,9 +634,10 @@ export const getInstance: API.OperationMethod<
|
|
|
602
634
|
GetInstanceError,
|
|
603
635
|
StackitOpContext
|
|
604
636
|
> = /*@__PURE__*/ API.make(() => ({
|
|
605
|
-
input: __S(
|
|
606
|
-
output: __S(
|
|
607
|
-
errors: [BadRequest, NotFound
|
|
637
|
+
input: __S(8, __c1, 0) as any as S.Schema<GetInstanceRequest>,
|
|
638
|
+
output: __S(17, __c2, 1) as any as S.Schema<Instance>,
|
|
639
|
+
errors: [BadRequest, NotFound],
|
|
640
|
+
serviceErrors: StackitServiceErrors,
|
|
608
641
|
protocol: StackitProtocol,
|
|
609
642
|
retry: Retry.Retry,
|
|
610
643
|
telemetry: TELEMETRY,
|
|
@@ -619,9 +652,10 @@ export const getMetrics: API.OperationMethod<
|
|
|
619
652
|
GetMetricsError,
|
|
620
653
|
StackitOpContext
|
|
621
654
|
> = /*@__PURE__*/ API.make(() => ({
|
|
622
|
-
input: __S(
|
|
623
|
-
output: __S(
|
|
624
|
-
errors: [BadRequest, NotFound
|
|
655
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetMetricsRequest>,
|
|
656
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetMetricsResponse>,
|
|
657
|
+
errors: [BadRequest, NotFound],
|
|
658
|
+
serviceErrors: StackitServiceErrors,
|
|
625
659
|
protocol: StackitProtocol,
|
|
626
660
|
retry: Retry.Retry,
|
|
627
661
|
telemetry: TELEMETRY,
|
|
@@ -636,9 +670,10 @@ export const getUpdates: API.OperationMethod<
|
|
|
636
670
|
GetUpdatesError,
|
|
637
671
|
StackitOpContext
|
|
638
672
|
> = /*@__PURE__*/ API.make(() => ({
|
|
639
|
-
input: __S(
|
|
640
|
-
output: __S(
|
|
641
|
-
errors: [BadRequest, NotFound, Conflict
|
|
673
|
+
input: __S(32, __c4, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
674
|
+
output: __S(33, __c4, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
675
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
676
|
+
serviceErrors: StackitServiceErrors,
|
|
642
677
|
protocol: StackitProtocol,
|
|
643
678
|
retry: Retry.Retry,
|
|
644
679
|
telemetry: TELEMETRY,
|
|
@@ -653,9 +688,10 @@ export const listBackups: API.OperationMethod<
|
|
|
653
688
|
ListBackupsError,
|
|
654
689
|
StackitOpContext
|
|
655
690
|
> = /*@__PURE__*/ API.make(() => ({
|
|
656
|
-
input: __S(
|
|
657
|
-
output: __S(
|
|
658
|
-
errors: [BadRequest, NotFound
|
|
691
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListBackupsRequest>,
|
|
692
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
693
|
+
errors: [BadRequest, NotFound],
|
|
694
|
+
serviceErrors: StackitServiceErrors,
|
|
659
695
|
protocol: StackitProtocol,
|
|
660
696
|
retry: Retry.Retry,
|
|
661
697
|
telemetry: TELEMETRY,
|
|
@@ -670,9 +706,10 @@ export const listCredentials: API.OperationMethod<
|
|
|
670
706
|
ListCredentialsError,
|
|
671
707
|
StackitOpContext
|
|
672
708
|
> = /*@__PURE__*/ API.make(() => ({
|
|
673
|
-
input: __S(
|
|
674
|
-
output: __S(
|
|
675
|
-
errors: [BadRequest, NotFound
|
|
709
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
710
|
+
output: __S(51, __c6, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
711
|
+
errors: [BadRequest, NotFound],
|
|
712
|
+
serviceErrors: StackitServiceErrors,
|
|
676
713
|
protocol: StackitProtocol,
|
|
677
714
|
retry: Retry.Retry,
|
|
678
715
|
telemetry: TELEMETRY,
|
|
@@ -687,9 +724,10 @@ export const listInstances: API.OperationMethod<
|
|
|
687
724
|
ListInstancesError,
|
|
688
725
|
StackitOpContext
|
|
689
726
|
> = /*@__PURE__*/ API.make(() => ({
|
|
690
|
-
input: __S(
|
|
691
|
-
output: __S(
|
|
692
|
-
errors: [BadRequest, NotFound
|
|
727
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListInstancesRequest>,
|
|
728
|
+
output: __S(58, __c7, 2) as any as S.Schema<ListInstancesResponse>,
|
|
729
|
+
errors: [BadRequest, NotFound],
|
|
730
|
+
serviceErrors: StackitServiceErrors,
|
|
693
731
|
protocol: StackitProtocol,
|
|
694
732
|
retry: Retry.Retry,
|
|
695
733
|
telemetry: TELEMETRY,
|
|
@@ -704,9 +742,10 @@ export const listOfferings: API.OperationMethod<
|
|
|
704
742
|
ListOfferingsError,
|
|
705
743
|
StackitOpContext
|
|
706
744
|
> = /*@__PURE__*/ API.make(() => ({
|
|
707
|
-
input: __S(
|
|
708
|
-
output: __S(
|
|
709
|
-
errors: [BadRequest, NotFound
|
|
745
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
746
|
+
output: __S(71, __c8, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
747
|
+
errors: [BadRequest, NotFound],
|
|
748
|
+
serviceErrors: StackitServiceErrors,
|
|
710
749
|
protocol: StackitProtocol,
|
|
711
750
|
retry: Retry.Retry,
|
|
712
751
|
telemetry: TELEMETRY,
|
|
@@ -721,9 +760,10 @@ export const listRestores: API.OperationMethod<
|
|
|
721
760
|
ListRestoresError,
|
|
722
761
|
StackitOpContext
|
|
723
762
|
> = /*@__PURE__*/ API.make(() => ({
|
|
724
|
-
input: __S(
|
|
725
|
-
output: __S(
|
|
726
|
-
errors: [BadRequest, NotFound
|
|
763
|
+
input: __S(72, __c9, 0) as any as S.Schema<ListRestoresRequest>,
|
|
764
|
+
output: __S(75, __c9, 3) as any as S.Schema<ListRestoresResponse>,
|
|
765
|
+
errors: [BadRequest, NotFound],
|
|
766
|
+
serviceErrors: StackitServiceErrors,
|
|
727
767
|
protocol: StackitProtocol,
|
|
728
768
|
retry: Retry.Retry,
|
|
729
769
|
telemetry: TELEMETRY,
|
|
@@ -738,9 +778,10 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
738
778
|
PartialUpdateInstanceError,
|
|
739
779
|
StackitOpContext
|
|
740
780
|
> = /*@__PURE__*/ API.make(() => ({
|
|
741
|
-
input: __S(
|
|
742
|
-
output: __S(
|
|
743
|
-
errors: [BadRequest, NotFound
|
|
781
|
+
input: __S(80, __c10, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
782
|
+
output: __S(208, __c26, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
783
|
+
errors: [BadRequest, NotFound],
|
|
784
|
+
serviceErrors: StackitServiceErrors,
|
|
744
785
|
protocol: StackitProtocol,
|
|
745
786
|
retry: Retry.Retry,
|
|
746
787
|
telemetry: TELEMETRY,
|
|
@@ -755,9 +796,10 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
755
796
|
TriggerRecreateError,
|
|
756
797
|
StackitOpContext
|
|
757
798
|
> = /*@__PURE__*/ API.make(() => ({
|
|
758
|
-
input: __S(
|
|
759
|
-
output: __S(
|
|
760
|
-
errors: [BadRequest, NotFound
|
|
799
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
800
|
+
output: __S(192, __c24, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
801
|
+
errors: [BadRequest, NotFound],
|
|
802
|
+
serviceErrors: StackitServiceErrors,
|
|
761
803
|
protocol: StackitProtocol,
|
|
762
804
|
retry: Retry.Retry,
|
|
763
805
|
telemetry: TELEMETRY,
|
|
@@ -772,9 +814,10 @@ export const triggerRestart: API.OperationMethod<
|
|
|
772
814
|
TriggerRestartError,
|
|
773
815
|
StackitOpContext
|
|
774
816
|
> = /*@__PURE__*/ API.make(() => ({
|
|
775
|
-
input: __S(
|
|
776
|
-
output: __S(
|
|
777
|
-
errors: [BadRequest, NotFound
|
|
817
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
818
|
+
output: __S(192, __c24, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
819
|
+
errors: [BadRequest, NotFound],
|
|
820
|
+
serviceErrors: StackitServiceErrors,
|
|
778
821
|
protocol: StackitProtocol,
|
|
779
822
|
retry: Retry.Retry,
|
|
780
823
|
telemetry: TELEMETRY,
|
|
@@ -789,9 +832,10 @@ export const triggerRestore: API.OperationMethod<
|
|
|
789
832
|
TriggerRestoreError,
|
|
790
833
|
StackitOpContext
|
|
791
834
|
> = /*@__PURE__*/ API.make(() => ({
|
|
792
|
-
input: __S(
|
|
793
|
-
output: __S(
|
|
794
|
-
errors: [BadRequest, NotFound
|
|
835
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
836
|
+
output: __S(105, __c13, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
837
|
+
errors: [BadRequest, NotFound],
|
|
838
|
+
serviceErrors: StackitServiceErrors,
|
|
795
839
|
protocol: StackitProtocol,
|
|
796
840
|
retry: Retry.Retry,
|
|
797
841
|
telemetry: TELEMETRY,
|
|
@@ -806,9 +850,10 @@ export const triggerUpdate: API.OperationMethod<
|
|
|
806
850
|
TriggerUpdateError,
|
|
807
851
|
StackitOpContext
|
|
808
852
|
> = /*@__PURE__*/ API.make(() => ({
|
|
809
|
-
input: __S(
|
|
810
|
-
output: __S(
|
|
811
|
-
errors: [BadRequest, NotFound, Conflict
|
|
853
|
+
input: __S(112, __c14, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
854
|
+
output: __S(192, __c24, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
855
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
856
|
+
serviceErrors: StackitServiceErrors,
|
|
812
857
|
protocol: StackitProtocol,
|
|
813
858
|
retry: Retry.Retry,
|
|
814
859
|
telemetry: TELEMETRY,
|
|
@@ -823,9 +868,10 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
823
868
|
UpdateBackupsConfigError,
|
|
824
869
|
StackitOpContext
|
|
825
870
|
> = /*@__PURE__*/ API.make(() => ({
|
|
826
|
-
input: __S(
|
|
827
|
-
output: __S(
|
|
828
|
-
errors: [BadRequest, NotFound
|
|
871
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
872
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
873
|
+
errors: [BadRequest, NotFound],
|
|
874
|
+
serviceErrors: StackitServiceErrors,
|
|
829
875
|
protocol: StackitProtocol,
|
|
830
876
|
retry: Retry.Retry,
|
|
831
877
|
telemetry: TELEMETRY,
|
|
@@ -840,9 +886,10 @@ export const updateUpdatesSettings: API.OperationMethod<
|
|
|
840
886
|
UpdateUpdatesSettingsError,
|
|
841
887
|
StackitOpContext
|
|
842
888
|
> = /*@__PURE__*/ API.make(() => ({
|
|
843
|
-
input: __S(
|
|
844
|
-
output: __S(
|
|
845
|
-
errors: [BadRequest, NotFound, Conflict
|
|
889
|
+
input: __S(128, __c16, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
890
|
+
output: __S(129, __c16, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
891
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
892
|
+
serviceErrors: StackitServiceErrors,
|
|
846
893
|
protocol: StackitProtocol,
|
|
847
894
|
retry: Retry.Retry,
|
|
848
895
|
telemetry: TELEMETRY,
|
|
@@ -851,6 +898,17 @@ export const updateUpdatesSettings: API.OperationMethod<
|
|
|
851
898
|
|
|
852
899
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
853
900
|
function __c0(j: number): any {
|
|
901
|
+
switch (j) {
|
|
902
|
+
case 0:
|
|
903
|
+
return S.suspend(() =>
|
|
904
|
+
S.Struct({
|
|
905
|
+
description: S.String,
|
|
906
|
+
error: S.String,
|
|
907
|
+
}),
|
|
908
|
+
).annotate({ identifier: "Error" });
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
function __c1(j: number): any {
|
|
854
912
|
switch (j) {
|
|
855
913
|
case 0:
|
|
856
914
|
return S.suspend(() =>
|
|
@@ -869,7 +927,7 @@ function __c0(j: number): any {
|
|
|
869
927
|
).annotate({ identifier: "GetInstanceRequest" });
|
|
870
928
|
}
|
|
871
929
|
}
|
|
872
|
-
function
|
|
930
|
+
function __c2(j: number): any {
|
|
873
931
|
switch (j) {
|
|
874
932
|
case 0:
|
|
875
933
|
return S.suspend(() =>
|
|
@@ -889,7 +947,7 @@ function __c1(j: number): any {
|
|
|
889
947
|
imageUrl: S.String,
|
|
890
948
|
instanceId: S.optional(S.String),
|
|
891
949
|
instanceStatus: S.optional(S.String),
|
|
892
|
-
lastOperation: __S(
|
|
950
|
+
lastOperation: __S(16, __c2, 0),
|
|
893
951
|
name: S.String,
|
|
894
952
|
offeringName: S.String,
|
|
895
953
|
offeringVersion: S.String,
|
|
@@ -901,7 +959,7 @@ function __c1(j: number): any {
|
|
|
901
959
|
).annotate({ identifier: "Instance" });
|
|
902
960
|
}
|
|
903
961
|
}
|
|
904
|
-
function
|
|
962
|
+
function __c3(j: number): any {
|
|
905
963
|
switch (j) {
|
|
906
964
|
case 0:
|
|
907
965
|
return S.suspend(() =>
|
|
@@ -948,7 +1006,7 @@ function __c2(j: number): any {
|
|
|
948
1006
|
).annotate({ identifier: "GetMetricsResponse" });
|
|
949
1007
|
}
|
|
950
1008
|
}
|
|
951
|
-
function
|
|
1009
|
+
function __c4(j: number): any {
|
|
952
1010
|
switch (j) {
|
|
953
1011
|
case 0:
|
|
954
1012
|
return S.suspend(() =>
|
|
@@ -974,7 +1032,7 @@ function __c3(j: number): any {
|
|
|
974
1032
|
).annotate({ identifier: "GetUpdatesResponse" });
|
|
975
1033
|
}
|
|
976
1034
|
}
|
|
977
|
-
function
|
|
1035
|
+
function __c5(j: number): any {
|
|
978
1036
|
switch (j) {
|
|
979
1037
|
case 0:
|
|
980
1038
|
return S.suspend(() =>
|
|
@@ -1003,14 +1061,14 @@ function __c4(j: number): any {
|
|
|
1003
1061
|
}),
|
|
1004
1062
|
).annotate({ identifier: "Backup" });
|
|
1005
1063
|
case 2:
|
|
1006
|
-
return S.Array(__S(
|
|
1064
|
+
return S.Array(__S(41, __c5, 1));
|
|
1007
1065
|
case 3:
|
|
1008
|
-
return S.suspend(() => __S(
|
|
1066
|
+
return S.suspend(() => __S(42, __c5, 2).pipe(T.RawResponseRoot())).annotate({
|
|
1009
1067
|
identifier: "ListBackupsResponse2",
|
|
1010
1068
|
});
|
|
1011
1069
|
}
|
|
1012
1070
|
}
|
|
1013
|
-
function
|
|
1071
|
+
function __c6(j: number): any {
|
|
1014
1072
|
switch (j) {
|
|
1015
1073
|
case 0:
|
|
1016
1074
|
return S.suspend(() =>
|
|
@@ -1034,16 +1092,16 @@ function __c5(j: number): any {
|
|
|
1034
1092
|
}),
|
|
1035
1093
|
).annotate({ identifier: "CredentialsListItem" });
|
|
1036
1094
|
case 2:
|
|
1037
|
-
return S.Array(__S(
|
|
1095
|
+
return S.Array(__S(49, __c6, 1));
|
|
1038
1096
|
case 3:
|
|
1039
1097
|
return S.suspend(() =>
|
|
1040
1098
|
S.Struct({
|
|
1041
|
-
credentialsList: __S(
|
|
1099
|
+
credentialsList: __S(50, __c6, 2),
|
|
1042
1100
|
}),
|
|
1043
1101
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
1044
1102
|
}
|
|
1045
1103
|
}
|
|
1046
|
-
function
|
|
1104
|
+
function __c7(j: number): any {
|
|
1047
1105
|
switch (j) {
|
|
1048
1106
|
case 0:
|
|
1049
1107
|
return S.suspend(() =>
|
|
@@ -1060,16 +1118,16 @@ function __c6(j: number): any {
|
|
|
1060
1118
|
),
|
|
1061
1119
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
1062
1120
|
case 1:
|
|
1063
|
-
return S.Array(__S(
|
|
1121
|
+
return S.Array(__S(17, __c2, 1));
|
|
1064
1122
|
case 2:
|
|
1065
1123
|
return S.suspend(() =>
|
|
1066
1124
|
S.Struct({
|
|
1067
|
-
instances: __S(
|
|
1125
|
+
instances: __S(57, __c7, 1),
|
|
1068
1126
|
}),
|
|
1069
1127
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1070
1128
|
}
|
|
1071
1129
|
}
|
|
1072
|
-
function
|
|
1130
|
+
function __c8(j: number): any {
|
|
1073
1131
|
switch (j) {
|
|
1074
1132
|
case 0:
|
|
1075
1133
|
return S.suspend(() =>
|
|
@@ -1096,7 +1154,7 @@ function __c7(j: number): any {
|
|
|
1096
1154
|
}),
|
|
1097
1155
|
).annotate({ identifier: "Plan" });
|
|
1098
1156
|
case 2:
|
|
1099
|
-
return S.Array(__S(
|
|
1157
|
+
return S.Array(__S(65, __c8, 1));
|
|
1100
1158
|
case 3:
|
|
1101
1159
|
return S.suspend(() =>
|
|
1102
1160
|
S.Struct({
|
|
@@ -1106,8 +1164,8 @@ function __c7(j: number): any {
|
|
|
1106
1164
|
case 4:
|
|
1107
1165
|
return S.suspend(() =>
|
|
1108
1166
|
S.Struct({
|
|
1109
|
-
create: __S(
|
|
1110
|
-
update: __S(
|
|
1167
|
+
create: __S(67, __c8, 3),
|
|
1168
|
+
update: __S(67, __c8, 3),
|
|
1111
1169
|
}),
|
|
1112
1170
|
).annotate({ identifier: "InstanceSchema" });
|
|
1113
1171
|
case 5:
|
|
@@ -1119,23 +1177,23 @@ function __c7(j: number): any {
|
|
|
1119
1177
|
latest: S.Boolean,
|
|
1120
1178
|
lifecycle: S.optional(S.String),
|
|
1121
1179
|
name: S.String,
|
|
1122
|
-
plans: __S(
|
|
1180
|
+
plans: __S(66, __c8, 2),
|
|
1123
1181
|
quotaCount: S.Number,
|
|
1124
|
-
schema: S.optional(__S(
|
|
1182
|
+
schema: S.optional(__S(68, __c8, 4)),
|
|
1125
1183
|
version: S.String,
|
|
1126
1184
|
}),
|
|
1127
1185
|
).annotate({ identifier: "Offering" });
|
|
1128
1186
|
case 6:
|
|
1129
|
-
return S.Array(__S(
|
|
1187
|
+
return S.Array(__S(69, __c8, 5));
|
|
1130
1188
|
case 7:
|
|
1131
1189
|
return S.suspend(() =>
|
|
1132
1190
|
S.Struct({
|
|
1133
|
-
offerings: __S(
|
|
1191
|
+
offerings: __S(70, __c8, 6),
|
|
1134
1192
|
}),
|
|
1135
1193
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
1136
1194
|
}
|
|
1137
1195
|
}
|
|
1138
|
-
function
|
|
1196
|
+
function __c9(j: number): any {
|
|
1139
1197
|
switch (j) {
|
|
1140
1198
|
case 0:
|
|
1141
1199
|
return S.suspend(() =>
|
|
@@ -1163,16 +1221,16 @@ function __c8(j: number): any {
|
|
|
1163
1221
|
}),
|
|
1164
1222
|
).annotate({ identifier: "Restore" });
|
|
1165
1223
|
case 2:
|
|
1166
|
-
return S.Array(__S(
|
|
1224
|
+
return S.Array(__S(73, __c9, 1));
|
|
1167
1225
|
case 3:
|
|
1168
1226
|
return S.suspend(() =>
|
|
1169
1227
|
S.Struct({
|
|
1170
|
-
instanceRestores: __S(
|
|
1228
|
+
instanceRestores: __S(74, __c9, 2),
|
|
1171
1229
|
}),
|
|
1172
1230
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
1173
1231
|
}
|
|
1174
1232
|
}
|
|
1175
|
-
function
|
|
1233
|
+
function __c10(j: number): any {
|
|
1176
1234
|
switch (j) {
|
|
1177
1235
|
case 0:
|
|
1178
1236
|
return S.suspend(() =>
|
|
@@ -1181,7 +1239,7 @@ function __c9(j: number): any {
|
|
|
1181
1239
|
regionId: S.String.pipe(T.Label()),
|
|
1182
1240
|
instanceId: S.String.pipe(T.Label()),
|
|
1183
1241
|
instanceName: S.optional(S.String),
|
|
1184
|
-
parameters: S.optional(__S(
|
|
1242
|
+
parameters: S.optional(__S(184, __c23, 0)),
|
|
1185
1243
|
planId: S.optional(S.String),
|
|
1186
1244
|
}).pipe(
|
|
1187
1245
|
T.Http({
|
|
@@ -1194,7 +1252,7 @@ function __c9(j: number): any {
|
|
|
1194
1252
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1195
1253
|
}
|
|
1196
1254
|
}
|
|
1197
|
-
function
|
|
1255
|
+
function __c11(j: number): any {
|
|
1198
1256
|
switch (j) {
|
|
1199
1257
|
case 0:
|
|
1200
1258
|
return S.suspend(() =>
|
|
@@ -1213,7 +1271,7 @@ function __c10(j: number): any {
|
|
|
1213
1271
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1214
1272
|
}
|
|
1215
1273
|
}
|
|
1216
|
-
function
|
|
1274
|
+
function __c12(j: number): any {
|
|
1217
1275
|
switch (j) {
|
|
1218
1276
|
case 0:
|
|
1219
1277
|
return S.suspend(() =>
|
|
@@ -1232,7 +1290,7 @@ function __c11(j: number): any {
|
|
|
1232
1290
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1233
1291
|
}
|
|
1234
1292
|
}
|
|
1235
|
-
function
|
|
1293
|
+
function __c13(j: number): any {
|
|
1236
1294
|
switch (j) {
|
|
1237
1295
|
case 0:
|
|
1238
1296
|
return S.suspend(() =>
|
|
@@ -1258,7 +1316,7 @@ function __c12(j: number): any {
|
|
|
1258
1316
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1259
1317
|
}
|
|
1260
1318
|
}
|
|
1261
|
-
function
|
|
1319
|
+
function __c14(j: number): any {
|
|
1262
1320
|
switch (j) {
|
|
1263
1321
|
case 0:
|
|
1264
1322
|
return S.suspend(() =>
|
|
@@ -1277,7 +1335,7 @@ function __c13(j: number): any {
|
|
|
1277
1335
|
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1278
1336
|
}
|
|
1279
1337
|
}
|
|
1280
|
-
function
|
|
1338
|
+
function __c15(j: number): any {
|
|
1281
1339
|
switch (j) {
|
|
1282
1340
|
case 0:
|
|
1283
1341
|
return S.suspend(() =>
|
|
@@ -1285,7 +1343,7 @@ function __c14(j: number): any {
|
|
|
1285
1343
|
projectId: S.String.pipe(T.Label()),
|
|
1286
1344
|
regionId: S.String.pipe(T.Label()),
|
|
1287
1345
|
instanceId: S.String.pipe(T.Label()),
|
|
1288
|
-
encryption_key: S.optional(S.String),
|
|
1346
|
+
encryption_key: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1289
1347
|
}).pipe(
|
|
1290
1348
|
T.Http({
|
|
1291
1349
|
method: "PATCH",
|
|
@@ -1303,7 +1361,7 @@ function __c14(j: number): any {
|
|
|
1303
1361
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1304
1362
|
}
|
|
1305
1363
|
}
|
|
1306
|
-
function
|
|
1364
|
+
function __c16(j: number): any {
|
|
1307
1365
|
switch (j) {
|
|
1308
1366
|
case 0:
|
|
1309
1367
|
return S.suspend(() =>
|
|
@@ -1329,7 +1387,7 @@ function __c15(j: number): any {
|
|
|
1329
1387
|
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1330
1388
|
}
|
|
1331
1389
|
}
|
|
1332
|
-
function
|
|
1390
|
+
function __c17(j: number): any {
|
|
1333
1391
|
switch (j) {
|
|
1334
1392
|
case 0:
|
|
1335
1393
|
return S.suspend(() =>
|
|
@@ -1355,12 +1413,12 @@ function __c16(j: number): any {
|
|
|
1355
1413
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1356
1414
|
}
|
|
1357
1415
|
}
|
|
1358
|
-
function
|
|
1416
|
+
function __c18(j: number): any {
|
|
1359
1417
|
switch (j) {
|
|
1360
1418
|
case 0:
|
|
1361
1419
|
return S.suspend(() =>
|
|
1362
1420
|
S.Struct({
|
|
1363
|
-
roles: S.optional(__S(
|
|
1421
|
+
roles: S.optional(__S(152, __c19, 0)),
|
|
1364
1422
|
}),
|
|
1365
1423
|
).annotate({ identifier: "CredentialsParameters" });
|
|
1366
1424
|
case 1:
|
|
@@ -1369,7 +1427,7 @@ function __c17(j: number): any {
|
|
|
1369
1427
|
projectId: S.String.pipe(T.Label()),
|
|
1370
1428
|
regionId: S.String.pipe(T.Label()),
|
|
1371
1429
|
instanceId: S.String.pipe(T.Label()),
|
|
1372
|
-
parameters: S.optional(__S(
|
|
1430
|
+
parameters: S.optional(__S(144, __c18, 0)),
|
|
1373
1431
|
}).pipe(
|
|
1374
1432
|
T.Http({
|
|
1375
1433
|
method: "POST",
|
|
@@ -1381,54 +1439,54 @@ function __c17(j: number): any {
|
|
|
1381
1439
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1382
1440
|
}
|
|
1383
1441
|
}
|
|
1384
|
-
function
|
|
1442
|
+
function __c19(j: number): any {
|
|
1385
1443
|
switch (j) {
|
|
1386
1444
|
case 0:
|
|
1387
1445
|
return S.Array(S.String);
|
|
1388
1446
|
}
|
|
1389
1447
|
}
|
|
1390
|
-
function
|
|
1448
|
+
function __c20(j: number): any {
|
|
1391
1449
|
switch (j) {
|
|
1392
1450
|
case 0:
|
|
1393
1451
|
return S.Array(S.String);
|
|
1394
1452
|
}
|
|
1395
1453
|
}
|
|
1396
|
-
function
|
|
1454
|
+
function __c21(j: number): any {
|
|
1397
1455
|
switch (j) {
|
|
1398
1456
|
case 0:
|
|
1399
1457
|
return S.suspend(() =>
|
|
1400
1458
|
S.Struct({
|
|
1401
1459
|
host: S.String,
|
|
1402
|
-
hosts: S.optional(__S(
|
|
1460
|
+
hosts: S.optional(__S(160, __c20, 0)),
|
|
1403
1461
|
http_api_uri: S.optional(S.String),
|
|
1404
|
-
http_api_uris: S.optional(__S(
|
|
1462
|
+
http_api_uris: S.optional(__S(160, __c20, 0)),
|
|
1405
1463
|
management: S.optional(S.String),
|
|
1406
1464
|
mqtt: S.optional(S.String),
|
|
1407
1465
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1408
1466
|
port: S.optional(S.Number),
|
|
1409
1467
|
stomp: S.optional(S.String),
|
|
1410
1468
|
uri: S.optional(S.String),
|
|
1411
|
-
uris: S.optional(__S(
|
|
1469
|
+
uris: S.optional(__S(160, __c20, 0)),
|
|
1412
1470
|
username: S.String,
|
|
1413
1471
|
}),
|
|
1414
1472
|
).annotate({ identifier: "Credentials" });
|
|
1415
1473
|
case 1:
|
|
1416
1474
|
return S.suspend(() =>
|
|
1417
1475
|
S.Struct({
|
|
1418
|
-
credentials: __S(
|
|
1476
|
+
credentials: __S(168, __c21, 0),
|
|
1419
1477
|
}),
|
|
1420
1478
|
).annotate({ identifier: "RawCredentials" });
|
|
1421
1479
|
case 2:
|
|
1422
1480
|
return S.suspend(() =>
|
|
1423
1481
|
S.Struct({
|
|
1424
1482
|
id: S.String,
|
|
1425
|
-
raw: S.optional(__S(
|
|
1483
|
+
raw: S.optional(__S(169, __c21, 1)),
|
|
1426
1484
|
uri: S.String,
|
|
1427
1485
|
}),
|
|
1428
1486
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1429
1487
|
}
|
|
1430
1488
|
}
|
|
1431
|
-
function
|
|
1489
|
+
function __c22(j: number): any {
|
|
1432
1490
|
switch (j) {
|
|
1433
1491
|
case 0:
|
|
1434
1492
|
return S.suspend(() =>
|
|
@@ -1436,7 +1494,7 @@ function __c21(j: number): any {
|
|
|
1436
1494
|
projectId: S.String.pipe(T.Label()),
|
|
1437
1495
|
regionId: S.String.pipe(T.Label()),
|
|
1438
1496
|
instanceName: S.String,
|
|
1439
|
-
parameters: S.optional(__S(
|
|
1497
|
+
parameters: S.optional(__S(184, __c23, 0)),
|
|
1440
1498
|
planId: S.String,
|
|
1441
1499
|
}).pipe(
|
|
1442
1500
|
T.Http({
|
|
@@ -1449,7 +1507,7 @@ function __c21(j: number): any {
|
|
|
1449
1507
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1450
1508
|
}
|
|
1451
1509
|
}
|
|
1452
|
-
function
|
|
1510
|
+
function __c23(j: number): any {
|
|
1453
1511
|
switch (j) {
|
|
1454
1512
|
case 0:
|
|
1455
1513
|
return S.suspend(() =>
|
|
@@ -1461,17 +1519,17 @@ function __c22(j: number): any {
|
|
|
1461
1519
|
metrics_frequency: S.optional(S.Number),
|
|
1462
1520
|
metrics_prefix: S.optional(S.String),
|
|
1463
1521
|
monitoring_instance_id: S.optional(S.String),
|
|
1464
|
-
plugins: S.optional(__S(
|
|
1465
|
-
roles: S.optional(__S(
|
|
1522
|
+
plugins: S.optional(__S(152, __c19, 0)),
|
|
1523
|
+
roles: S.optional(__S(160, __c20, 0)),
|
|
1466
1524
|
sgw_acl: S.optional(S.String),
|
|
1467
|
-
syslog: S.optional(__S(
|
|
1468
|
-
tls_ciphers: S.optional(__S(
|
|
1469
|
-
tls_protocols: S.optional(__S(
|
|
1525
|
+
syslog: S.optional(__S(160, __c20, 0)),
|
|
1526
|
+
tls_ciphers: S.optional(__S(160, __c20, 0).pipe(T.Body("tls-ciphers"))),
|
|
1527
|
+
tls_protocols: S.optional(__S(152, __c19, 0).pipe(T.Body("tls-protocols"))),
|
|
1470
1528
|
}),
|
|
1471
1529
|
).annotate({ identifier: "InstanceParameters" });
|
|
1472
1530
|
}
|
|
1473
1531
|
}
|
|
1474
|
-
function
|
|
1532
|
+
function __c24(j: number): any {
|
|
1475
1533
|
switch (j) {
|
|
1476
1534
|
case 0:
|
|
1477
1535
|
return S.suspend(() =>
|
|
@@ -1481,7 +1539,7 @@ function __c23(j: number): any {
|
|
|
1481
1539
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1482
1540
|
}
|
|
1483
1541
|
}
|
|
1484
|
-
function
|
|
1542
|
+
function __c25(j: number): any {
|
|
1485
1543
|
switch (j) {
|
|
1486
1544
|
case 0:
|
|
1487
1545
|
return S.suspend(() =>
|
|
@@ -1501,13 +1559,13 @@ function __c24(j: number): any {
|
|
|
1501
1559
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1502
1560
|
}
|
|
1503
1561
|
}
|
|
1504
|
-
function
|
|
1562
|
+
function __c26(j: number): any {
|
|
1505
1563
|
switch (j) {
|
|
1506
1564
|
case 0:
|
|
1507
1565
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1508
1566
|
}
|
|
1509
1567
|
}
|
|
1510
|
-
function
|
|
1568
|
+
function __c27(j: number): any {
|
|
1511
1569
|
switch (j) {
|
|
1512
1570
|
case 0:
|
|
1513
1571
|
return S.suspend(() =>
|
|
@@ -1526,7 +1584,7 @@ function __c26(j: number): any {
|
|
|
1526
1584
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1527
1585
|
}
|
|
1528
1586
|
}
|
|
1529
|
-
function
|
|
1587
|
+
function __c28(j: number): any {
|
|
1530
1588
|
switch (j) {
|
|
1531
1589
|
case 0:
|
|
1532
1590
|
return S.suspend(() =>
|
|
@@ -1546,7 +1604,7 @@ function __c27(j: number): any {
|
|
|
1546
1604
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1547
1605
|
}
|
|
1548
1606
|
}
|
|
1549
|
-
function
|
|
1607
|
+
function __c29(j: number): any {
|
|
1550
1608
|
switch (j) {
|
|
1551
1609
|
case 0:
|
|
1552
1610
|
return S.suspend(() =>
|