@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
|
@@ -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 */
|
|
@@ -437,7 +458,7 @@ export interface UpdateBackupsConfigRequest {
|
|
|
437
458
|
regionId: string;
|
|
438
459
|
/** Instance id */
|
|
439
460
|
instanceId: string;
|
|
440
|
-
encryption_key?: string | undefined;
|
|
461
|
+
encryption_key?: string | Redacted.Redacted<string> | undefined;
|
|
441
462
|
}
|
|
442
463
|
export interface UpdateBackupsConfigResponse {
|
|
443
464
|
message: string;
|
|
@@ -456,6 +477,10 @@ export interface UpdateUpdatesSettingsResponse {
|
|
|
456
477
|
/** Whether automatic updates are allowed. */
|
|
457
478
|
automaticUpdatesEnabled: boolean;
|
|
458
479
|
}
|
|
480
|
+
export interface Error {
|
|
481
|
+
description: string;
|
|
482
|
+
error: string;
|
|
483
|
+
}
|
|
459
484
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
460
485
|
/** create a backup */
|
|
461
486
|
export const createBackup: API.OperationMethod<
|
|
@@ -464,9 +489,10 @@ export const createBackup: API.OperationMethod<
|
|
|
464
489
|
CreateBackupError,
|
|
465
490
|
StackitOpContext
|
|
466
491
|
> = /*@__PURE__*/ API.make(() => ({
|
|
467
|
-
input: __S(
|
|
468
|
-
output: __S(
|
|
469
|
-
errors: [BadRequest, NotFound
|
|
492
|
+
input: __S(136, __c17, 0) as any as S.Schema<CreateBackupRequest>,
|
|
493
|
+
output: __S(137, __c17, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
494
|
+
errors: [BadRequest, NotFound],
|
|
495
|
+
serviceErrors: StackitServiceErrors,
|
|
470
496
|
protocol: StackitProtocol,
|
|
471
497
|
retry: Retry.Retry,
|
|
472
498
|
telemetry: TELEMETRY,
|
|
@@ -481,9 +507,10 @@ export const createCredentials: API.OperationMethod<
|
|
|
481
507
|
CreateCredentialsError,
|
|
482
508
|
StackitOpContext
|
|
483
509
|
> = /*@__PURE__*/ API.make(() => ({
|
|
484
|
-
input: __S(
|
|
485
|
-
output: __S(
|
|
486
|
-
errors: [BadRequest
|
|
510
|
+
input: __S(144, __c18, 0) as any as S.Schema<CreateCredentialsRequest>,
|
|
511
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
512
|
+
errors: [BadRequest],
|
|
513
|
+
serviceErrors: StackitServiceErrors,
|
|
487
514
|
protocol: StackitProtocol,
|
|
488
515
|
retry: Retry.Retry,
|
|
489
516
|
telemetry: TELEMETRY,
|
|
@@ -498,9 +525,10 @@ export const createInstance: API.OperationMethod<
|
|
|
498
525
|
CreateInstanceError,
|
|
499
526
|
StackitOpContext
|
|
500
527
|
> = /*@__PURE__*/ API.make(() => ({
|
|
501
|
-
input: __S(
|
|
502
|
-
output: __S(
|
|
503
|
-
errors: [BadRequest, Conflict
|
|
528
|
+
input: __S(168, __c21, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
529
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
530
|
+
errors: [BadRequest, Conflict],
|
|
531
|
+
serviceErrors: StackitServiceErrors,
|
|
504
532
|
protocol: StackitProtocol,
|
|
505
533
|
retry: Retry.Retry,
|
|
506
534
|
telemetry: TELEMETRY,
|
|
@@ -515,9 +543,10 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
515
543
|
DeleteCredentialsError,
|
|
516
544
|
StackitOpContext
|
|
517
545
|
> = /*@__PURE__*/ API.make(() => ({
|
|
518
|
-
input: __S(
|
|
519
|
-
output: __S(
|
|
520
|
-
errors: [BadRequest, NotFound
|
|
546
|
+
input: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
547
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
548
|
+
errors: [BadRequest, NotFound],
|
|
549
|
+
serviceErrors: StackitServiceErrors,
|
|
521
550
|
protocol: StackitProtocol,
|
|
522
551
|
retry: Retry.Retry,
|
|
523
552
|
telemetry: TELEMETRY,
|
|
@@ -532,9 +561,10 @@ export const deleteInstance: API.OperationMethod<
|
|
|
532
561
|
DeleteInstanceError,
|
|
533
562
|
StackitOpContext
|
|
534
563
|
> = /*@__PURE__*/ API.make(() => ({
|
|
535
|
-
input: __S(
|
|
536
|
-
output: __S(
|
|
537
|
-
errors: [BadRequest, NotFound
|
|
564
|
+
input: __S(208, __c26, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
565
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
566
|
+
errors: [BadRequest, NotFound],
|
|
567
|
+
serviceErrors: StackitServiceErrors,
|
|
538
568
|
protocol: StackitProtocol,
|
|
539
569
|
retry: Retry.Retry,
|
|
540
570
|
telemetry: TELEMETRY,
|
|
@@ -549,9 +579,10 @@ export const downloadBackup: API.OperationMethod<
|
|
|
549
579
|
DownloadBackupError,
|
|
550
580
|
StackitOpContext
|
|
551
581
|
> = /*@__PURE__*/ API.make(() => ({
|
|
552
|
-
input: __S(
|
|
553
|
-
output: __S(
|
|
554
|
-
errors: [BadRequest, NotFound
|
|
582
|
+
input: __S(216, __c27, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
583
|
+
output: __S(200, __c25, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
584
|
+
errors: [BadRequest, NotFound],
|
|
585
|
+
serviceErrors: StackitServiceErrors,
|
|
555
586
|
protocol: StackitProtocol,
|
|
556
587
|
retry: Retry.Retry,
|
|
557
588
|
telemetry: TELEMETRY,
|
|
@@ -566,9 +597,10 @@ export const getCredentials: API.OperationMethod<
|
|
|
566
597
|
GetCredentialsError,
|
|
567
598
|
StackitOpContext
|
|
568
599
|
> = /*@__PURE__*/ API.make(() => ({
|
|
569
|
-
input: __S(
|
|
570
|
-
output: __S(
|
|
571
|
-
errors: [BadRequest, NotFound
|
|
600
|
+
input: __S(224, __c28, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
601
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
602
|
+
errors: [BadRequest, NotFound],
|
|
603
|
+
serviceErrors: StackitServiceErrors,
|
|
572
604
|
protocol: StackitProtocol,
|
|
573
605
|
retry: Retry.Retry,
|
|
574
606
|
telemetry: TELEMETRY,
|
|
@@ -583,9 +615,10 @@ export const getInstance: API.OperationMethod<
|
|
|
583
615
|
GetInstanceError,
|
|
584
616
|
StackitOpContext
|
|
585
617
|
> = /*@__PURE__*/ API.make(() => ({
|
|
586
|
-
input: __S(
|
|
587
|
-
output: __S(
|
|
588
|
-
errors: [BadRequest, NotFound
|
|
618
|
+
input: __S(8, __c1, 0) as any as S.Schema<GetInstanceRequest>,
|
|
619
|
+
output: __S(17, __c2, 1) as any as S.Schema<Instance>,
|
|
620
|
+
errors: [BadRequest, NotFound],
|
|
621
|
+
serviceErrors: StackitServiceErrors,
|
|
589
622
|
protocol: StackitProtocol,
|
|
590
623
|
retry: Retry.Retry,
|
|
591
624
|
telemetry: TELEMETRY,
|
|
@@ -600,9 +633,10 @@ export const getMetrics: API.OperationMethod<
|
|
|
600
633
|
GetMetricsError,
|
|
601
634
|
StackitOpContext
|
|
602
635
|
> = /*@__PURE__*/ API.make(() => ({
|
|
603
|
-
input: __S(
|
|
604
|
-
output: __S(
|
|
605
|
-
errors: [BadRequest, NotFound
|
|
636
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetMetricsRequest>,
|
|
637
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetMetricsResponse>,
|
|
638
|
+
errors: [BadRequest, NotFound],
|
|
639
|
+
serviceErrors: StackitServiceErrors,
|
|
606
640
|
protocol: StackitProtocol,
|
|
607
641
|
retry: Retry.Retry,
|
|
608
642
|
telemetry: TELEMETRY,
|
|
@@ -617,9 +651,10 @@ export const getUpdates: API.OperationMethod<
|
|
|
617
651
|
GetUpdatesError,
|
|
618
652
|
StackitOpContext
|
|
619
653
|
> = /*@__PURE__*/ API.make(() => ({
|
|
620
|
-
input: __S(
|
|
621
|
-
output: __S(
|
|
622
|
-
errors: [BadRequest, NotFound, Conflict
|
|
654
|
+
input: __S(32, __c4, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
655
|
+
output: __S(33, __c4, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
656
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
657
|
+
serviceErrors: StackitServiceErrors,
|
|
623
658
|
protocol: StackitProtocol,
|
|
624
659
|
retry: Retry.Retry,
|
|
625
660
|
telemetry: TELEMETRY,
|
|
@@ -634,9 +669,10 @@ export const listBackups: API.OperationMethod<
|
|
|
634
669
|
ListBackupsError,
|
|
635
670
|
StackitOpContext
|
|
636
671
|
> = /*@__PURE__*/ API.make(() => ({
|
|
637
|
-
input: __S(
|
|
638
|
-
output: __S(
|
|
639
|
-
errors: [BadRequest, NotFound
|
|
672
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListBackupsRequest>,
|
|
673
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
674
|
+
errors: [BadRequest, NotFound],
|
|
675
|
+
serviceErrors: StackitServiceErrors,
|
|
640
676
|
protocol: StackitProtocol,
|
|
641
677
|
retry: Retry.Retry,
|
|
642
678
|
telemetry: TELEMETRY,
|
|
@@ -651,9 +687,10 @@ export const listCredentials: API.OperationMethod<
|
|
|
651
687
|
ListCredentialsError,
|
|
652
688
|
StackitOpContext
|
|
653
689
|
> = /*@__PURE__*/ API.make(() => ({
|
|
654
|
-
input: __S(
|
|
655
|
-
output: __S(
|
|
656
|
-
errors: [BadRequest, NotFound
|
|
690
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
691
|
+
output: __S(51, __c6, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
692
|
+
errors: [BadRequest, NotFound],
|
|
693
|
+
serviceErrors: StackitServiceErrors,
|
|
657
694
|
protocol: StackitProtocol,
|
|
658
695
|
retry: Retry.Retry,
|
|
659
696
|
telemetry: TELEMETRY,
|
|
@@ -668,9 +705,10 @@ export const listInstances: API.OperationMethod<
|
|
|
668
705
|
ListInstancesError,
|
|
669
706
|
StackitOpContext
|
|
670
707
|
> = /*@__PURE__*/ API.make(() => ({
|
|
671
|
-
input: __S(
|
|
672
|
-
output: __S(
|
|
673
|
-
errors: [BadRequest, NotFound
|
|
708
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListInstancesRequest>,
|
|
709
|
+
output: __S(58, __c7, 2) as any as S.Schema<ListInstancesResponse>,
|
|
710
|
+
errors: [BadRequest, NotFound],
|
|
711
|
+
serviceErrors: StackitServiceErrors,
|
|
674
712
|
protocol: StackitProtocol,
|
|
675
713
|
retry: Retry.Retry,
|
|
676
714
|
telemetry: TELEMETRY,
|
|
@@ -685,9 +723,10 @@ export const listOfferings: API.OperationMethod<
|
|
|
685
723
|
ListOfferingsError,
|
|
686
724
|
StackitOpContext
|
|
687
725
|
> = /*@__PURE__*/ API.make(() => ({
|
|
688
|
-
input: __S(
|
|
689
|
-
output: __S(
|
|
690
|
-
errors: [BadRequest, NotFound
|
|
726
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
727
|
+
output: __S(71, __c8, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
728
|
+
errors: [BadRequest, NotFound],
|
|
729
|
+
serviceErrors: StackitServiceErrors,
|
|
691
730
|
protocol: StackitProtocol,
|
|
692
731
|
retry: Retry.Retry,
|
|
693
732
|
telemetry: TELEMETRY,
|
|
@@ -702,9 +741,10 @@ export const listRestores: API.OperationMethod<
|
|
|
702
741
|
ListRestoresError,
|
|
703
742
|
StackitOpContext
|
|
704
743
|
> = /*@__PURE__*/ API.make(() => ({
|
|
705
|
-
input: __S(
|
|
706
|
-
output: __S(
|
|
707
|
-
errors: [BadRequest, NotFound
|
|
744
|
+
input: __S(72, __c9, 0) as any as S.Schema<ListRestoresRequest>,
|
|
745
|
+
output: __S(75, __c9, 3) as any as S.Schema<ListRestoresResponse>,
|
|
746
|
+
errors: [BadRequest, NotFound],
|
|
747
|
+
serviceErrors: StackitServiceErrors,
|
|
708
748
|
protocol: StackitProtocol,
|
|
709
749
|
retry: Retry.Retry,
|
|
710
750
|
telemetry: TELEMETRY,
|
|
@@ -719,9 +759,10 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
719
759
|
PartialUpdateInstanceError,
|
|
720
760
|
StackitOpContext
|
|
721
761
|
> = /*@__PURE__*/ API.make(() => ({
|
|
722
|
-
input: __S(
|
|
723
|
-
output: __S(
|
|
724
|
-
errors: [BadRequest, NotFound
|
|
762
|
+
input: __S(80, __c10, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
763
|
+
output: __S(200, __c25, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
764
|
+
errors: [BadRequest, NotFound],
|
|
765
|
+
serviceErrors: StackitServiceErrors,
|
|
725
766
|
protocol: StackitProtocol,
|
|
726
767
|
retry: Retry.Retry,
|
|
727
768
|
telemetry: TELEMETRY,
|
|
@@ -736,9 +777,10 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
736
777
|
TriggerRecreateError,
|
|
737
778
|
StackitOpContext
|
|
738
779
|
> = /*@__PURE__*/ API.make(() => ({
|
|
739
|
-
input: __S(
|
|
740
|
-
output: __S(
|
|
741
|
-
errors: [BadRequest, NotFound
|
|
780
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
781
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
782
|
+
errors: [BadRequest, NotFound],
|
|
783
|
+
serviceErrors: StackitServiceErrors,
|
|
742
784
|
protocol: StackitProtocol,
|
|
743
785
|
retry: Retry.Retry,
|
|
744
786
|
telemetry: TELEMETRY,
|
|
@@ -753,9 +795,10 @@ export const triggerRestart: API.OperationMethod<
|
|
|
753
795
|
TriggerRestartError,
|
|
754
796
|
StackitOpContext
|
|
755
797
|
> = /*@__PURE__*/ API.make(() => ({
|
|
756
|
-
input: __S(
|
|
757
|
-
output: __S(
|
|
758
|
-
errors: [BadRequest, NotFound
|
|
798
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
799
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
800
|
+
errors: [BadRequest, NotFound],
|
|
801
|
+
serviceErrors: StackitServiceErrors,
|
|
759
802
|
protocol: StackitProtocol,
|
|
760
803
|
retry: Retry.Retry,
|
|
761
804
|
telemetry: TELEMETRY,
|
|
@@ -770,9 +813,10 @@ export const triggerRestore: API.OperationMethod<
|
|
|
770
813
|
TriggerRestoreError,
|
|
771
814
|
StackitOpContext
|
|
772
815
|
> = /*@__PURE__*/ API.make(() => ({
|
|
773
|
-
input: __S(
|
|
774
|
-
output: __S(
|
|
775
|
-
errors: [BadRequest, NotFound
|
|
816
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
817
|
+
output: __S(105, __c13, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
818
|
+
errors: [BadRequest, NotFound],
|
|
819
|
+
serviceErrors: StackitServiceErrors,
|
|
776
820
|
protocol: StackitProtocol,
|
|
777
821
|
retry: Retry.Retry,
|
|
778
822
|
telemetry: TELEMETRY,
|
|
@@ -787,9 +831,10 @@ export const triggerUpdate: API.OperationMethod<
|
|
|
787
831
|
TriggerUpdateError,
|
|
788
832
|
StackitOpContext
|
|
789
833
|
> = /*@__PURE__*/ API.make(() => ({
|
|
790
|
-
input: __S(
|
|
791
|
-
output: __S(
|
|
792
|
-
errors: [BadRequest, NotFound, Conflict
|
|
834
|
+
input: __S(112, __c14, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
835
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
836
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
837
|
+
serviceErrors: StackitServiceErrors,
|
|
793
838
|
protocol: StackitProtocol,
|
|
794
839
|
retry: Retry.Retry,
|
|
795
840
|
telemetry: TELEMETRY,
|
|
@@ -804,9 +849,10 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
804
849
|
UpdateBackupsConfigError,
|
|
805
850
|
StackitOpContext
|
|
806
851
|
> = /*@__PURE__*/ API.make(() => ({
|
|
807
|
-
input: __S(
|
|
808
|
-
output: __S(
|
|
809
|
-
errors: [BadRequest, NotFound
|
|
852
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
853
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
854
|
+
errors: [BadRequest, NotFound],
|
|
855
|
+
serviceErrors: StackitServiceErrors,
|
|
810
856
|
protocol: StackitProtocol,
|
|
811
857
|
retry: Retry.Retry,
|
|
812
858
|
telemetry: TELEMETRY,
|
|
@@ -821,9 +867,10 @@ export const updateUpdatesSettings: API.OperationMethod<
|
|
|
821
867
|
UpdateUpdatesSettingsError,
|
|
822
868
|
StackitOpContext
|
|
823
869
|
> = /*@__PURE__*/ API.make(() => ({
|
|
824
|
-
input: __S(
|
|
825
|
-
output: __S(
|
|
826
|
-
errors: [BadRequest, NotFound, Conflict
|
|
870
|
+
input: __S(128, __c16, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
871
|
+
output: __S(129, __c16, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
872
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
873
|
+
serviceErrors: StackitServiceErrors,
|
|
827
874
|
protocol: StackitProtocol,
|
|
828
875
|
retry: Retry.Retry,
|
|
829
876
|
telemetry: TELEMETRY,
|
|
@@ -832,6 +879,17 @@ export const updateUpdatesSettings: API.OperationMethod<
|
|
|
832
879
|
|
|
833
880
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
834
881
|
function __c0(j: number): any {
|
|
882
|
+
switch (j) {
|
|
883
|
+
case 0:
|
|
884
|
+
return S.suspend(() =>
|
|
885
|
+
S.Struct({
|
|
886
|
+
description: S.String,
|
|
887
|
+
error: S.String,
|
|
888
|
+
}),
|
|
889
|
+
).annotate({ identifier: "Error" });
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
function __c1(j: number): any {
|
|
835
893
|
switch (j) {
|
|
836
894
|
case 0:
|
|
837
895
|
return S.suspend(() =>
|
|
@@ -850,7 +908,7 @@ function __c0(j: number): any {
|
|
|
850
908
|
).annotate({ identifier: "GetInstanceRequest" });
|
|
851
909
|
}
|
|
852
910
|
}
|
|
853
|
-
function
|
|
911
|
+
function __c2(j: number): any {
|
|
854
912
|
switch (j) {
|
|
855
913
|
case 0:
|
|
856
914
|
return S.suspend(() =>
|
|
@@ -870,7 +928,7 @@ function __c1(j: number): any {
|
|
|
870
928
|
imageUrl: S.String,
|
|
871
929
|
instanceId: S.optional(S.String),
|
|
872
930
|
instanceStatus: S.optional(S.String),
|
|
873
|
-
lastOperation: __S(
|
|
931
|
+
lastOperation: __S(16, __c2, 0),
|
|
874
932
|
name: S.String,
|
|
875
933
|
offeringName: S.String,
|
|
876
934
|
offeringVersion: S.String,
|
|
@@ -882,7 +940,7 @@ function __c1(j: number): any {
|
|
|
882
940
|
).annotate({ identifier: "Instance" });
|
|
883
941
|
}
|
|
884
942
|
}
|
|
885
|
-
function
|
|
943
|
+
function __c3(j: number): any {
|
|
886
944
|
switch (j) {
|
|
887
945
|
case 0:
|
|
888
946
|
return S.suspend(() =>
|
|
@@ -929,7 +987,7 @@ function __c2(j: number): any {
|
|
|
929
987
|
).annotate({ identifier: "GetMetricsResponse" });
|
|
930
988
|
}
|
|
931
989
|
}
|
|
932
|
-
function
|
|
990
|
+
function __c4(j: number): any {
|
|
933
991
|
switch (j) {
|
|
934
992
|
case 0:
|
|
935
993
|
return S.suspend(() =>
|
|
@@ -955,7 +1013,7 @@ function __c3(j: number): any {
|
|
|
955
1013
|
).annotate({ identifier: "GetUpdatesResponse" });
|
|
956
1014
|
}
|
|
957
1015
|
}
|
|
958
|
-
function
|
|
1016
|
+
function __c5(j: number): any {
|
|
959
1017
|
switch (j) {
|
|
960
1018
|
case 0:
|
|
961
1019
|
return S.suspend(() =>
|
|
@@ -984,14 +1042,14 @@ function __c4(j: number): any {
|
|
|
984
1042
|
}),
|
|
985
1043
|
).annotate({ identifier: "Backup" });
|
|
986
1044
|
case 2:
|
|
987
|
-
return S.Array(__S(
|
|
1045
|
+
return S.Array(__S(41, __c5, 1));
|
|
988
1046
|
case 3:
|
|
989
|
-
return S.suspend(() => __S(
|
|
1047
|
+
return S.suspend(() => __S(42, __c5, 2).pipe(T.RawResponseRoot())).annotate({
|
|
990
1048
|
identifier: "ListBackupsResponse2",
|
|
991
1049
|
});
|
|
992
1050
|
}
|
|
993
1051
|
}
|
|
994
|
-
function
|
|
1052
|
+
function __c6(j: number): any {
|
|
995
1053
|
switch (j) {
|
|
996
1054
|
case 0:
|
|
997
1055
|
return S.suspend(() =>
|
|
@@ -1015,16 +1073,16 @@ function __c5(j: number): any {
|
|
|
1015
1073
|
}),
|
|
1016
1074
|
).annotate({ identifier: "CredentialsListItem" });
|
|
1017
1075
|
case 2:
|
|
1018
|
-
return S.Array(__S(
|
|
1076
|
+
return S.Array(__S(49, __c6, 1));
|
|
1019
1077
|
case 3:
|
|
1020
1078
|
return S.suspend(() =>
|
|
1021
1079
|
S.Struct({
|
|
1022
|
-
credentialsList: __S(
|
|
1080
|
+
credentialsList: __S(50, __c6, 2),
|
|
1023
1081
|
}),
|
|
1024
1082
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
1025
1083
|
}
|
|
1026
1084
|
}
|
|
1027
|
-
function
|
|
1085
|
+
function __c7(j: number): any {
|
|
1028
1086
|
switch (j) {
|
|
1029
1087
|
case 0:
|
|
1030
1088
|
return S.suspend(() =>
|
|
@@ -1041,16 +1099,16 @@ function __c6(j: number): any {
|
|
|
1041
1099
|
),
|
|
1042
1100
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
1043
1101
|
case 1:
|
|
1044
|
-
return S.Array(__S(
|
|
1102
|
+
return S.Array(__S(17, __c2, 1));
|
|
1045
1103
|
case 2:
|
|
1046
1104
|
return S.suspend(() =>
|
|
1047
1105
|
S.Struct({
|
|
1048
|
-
instances: __S(
|
|
1106
|
+
instances: __S(57, __c7, 1),
|
|
1049
1107
|
}),
|
|
1050
1108
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1051
1109
|
}
|
|
1052
1110
|
}
|
|
1053
|
-
function
|
|
1111
|
+
function __c8(j: number): any {
|
|
1054
1112
|
switch (j) {
|
|
1055
1113
|
case 0:
|
|
1056
1114
|
return S.suspend(() =>
|
|
@@ -1077,7 +1135,7 @@ function __c7(j: number): any {
|
|
|
1077
1135
|
}),
|
|
1078
1136
|
).annotate({ identifier: "Plan" });
|
|
1079
1137
|
case 2:
|
|
1080
|
-
return S.Array(__S(
|
|
1138
|
+
return S.Array(__S(65, __c8, 1));
|
|
1081
1139
|
case 3:
|
|
1082
1140
|
return S.suspend(() =>
|
|
1083
1141
|
S.Struct({
|
|
@@ -1087,8 +1145,8 @@ function __c7(j: number): any {
|
|
|
1087
1145
|
case 4:
|
|
1088
1146
|
return S.suspend(() =>
|
|
1089
1147
|
S.Struct({
|
|
1090
|
-
create: __S(
|
|
1091
|
-
update: __S(
|
|
1148
|
+
create: __S(67, __c8, 3),
|
|
1149
|
+
update: __S(67, __c8, 3),
|
|
1092
1150
|
}),
|
|
1093
1151
|
).annotate({ identifier: "InstanceSchema" });
|
|
1094
1152
|
case 5:
|
|
@@ -1100,23 +1158,23 @@ function __c7(j: number): any {
|
|
|
1100
1158
|
latest: S.Boolean,
|
|
1101
1159
|
lifecycle: S.optional(S.String),
|
|
1102
1160
|
name: S.String,
|
|
1103
|
-
plans: __S(
|
|
1161
|
+
plans: __S(66, __c8, 2),
|
|
1104
1162
|
quotaCount: S.Number,
|
|
1105
|
-
schema: S.optional(__S(
|
|
1163
|
+
schema: S.optional(__S(68, __c8, 4)),
|
|
1106
1164
|
version: S.String,
|
|
1107
1165
|
}),
|
|
1108
1166
|
).annotate({ identifier: "Offering" });
|
|
1109
1167
|
case 6:
|
|
1110
|
-
return S.Array(__S(
|
|
1168
|
+
return S.Array(__S(69, __c8, 5));
|
|
1111
1169
|
case 7:
|
|
1112
1170
|
return S.suspend(() =>
|
|
1113
1171
|
S.Struct({
|
|
1114
|
-
offerings: __S(
|
|
1172
|
+
offerings: __S(70, __c8, 6),
|
|
1115
1173
|
}),
|
|
1116
1174
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
1117
1175
|
}
|
|
1118
1176
|
}
|
|
1119
|
-
function
|
|
1177
|
+
function __c9(j: number): any {
|
|
1120
1178
|
switch (j) {
|
|
1121
1179
|
case 0:
|
|
1122
1180
|
return S.suspend(() =>
|
|
@@ -1144,16 +1202,16 @@ function __c8(j: number): any {
|
|
|
1144
1202
|
}),
|
|
1145
1203
|
).annotate({ identifier: "Restore" });
|
|
1146
1204
|
case 2:
|
|
1147
|
-
return S.Array(__S(
|
|
1205
|
+
return S.Array(__S(73, __c9, 1));
|
|
1148
1206
|
case 3:
|
|
1149
1207
|
return S.suspend(() =>
|
|
1150
1208
|
S.Struct({
|
|
1151
|
-
instanceRestores: __S(
|
|
1209
|
+
instanceRestores: __S(74, __c9, 2),
|
|
1152
1210
|
}),
|
|
1153
1211
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
1154
1212
|
}
|
|
1155
1213
|
}
|
|
1156
|
-
function
|
|
1214
|
+
function __c10(j: number): any {
|
|
1157
1215
|
switch (j) {
|
|
1158
1216
|
case 0:
|
|
1159
1217
|
return S.suspend(() =>
|
|
@@ -1162,7 +1220,7 @@ function __c9(j: number): any {
|
|
|
1162
1220
|
regionId: S.String.pipe(T.Label()),
|
|
1163
1221
|
instanceId: S.String.pipe(T.Label()),
|
|
1164
1222
|
instanceName: S.optional(S.String),
|
|
1165
|
-
parameters: S.optional(__S(
|
|
1223
|
+
parameters: S.optional(__S(177, __c22, 1)),
|
|
1166
1224
|
planId: S.optional(S.String),
|
|
1167
1225
|
}).pipe(
|
|
1168
1226
|
T.Http({
|
|
@@ -1175,7 +1233,7 @@ function __c9(j: number): any {
|
|
|
1175
1233
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1176
1234
|
}
|
|
1177
1235
|
}
|
|
1178
|
-
function
|
|
1236
|
+
function __c11(j: number): any {
|
|
1179
1237
|
switch (j) {
|
|
1180
1238
|
case 0:
|
|
1181
1239
|
return S.suspend(() =>
|
|
@@ -1194,7 +1252,7 @@ function __c10(j: number): any {
|
|
|
1194
1252
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1195
1253
|
}
|
|
1196
1254
|
}
|
|
1197
|
-
function
|
|
1255
|
+
function __c12(j: number): any {
|
|
1198
1256
|
switch (j) {
|
|
1199
1257
|
case 0:
|
|
1200
1258
|
return S.suspend(() =>
|
|
@@ -1213,7 +1271,7 @@ function __c11(j: number): any {
|
|
|
1213
1271
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1214
1272
|
}
|
|
1215
1273
|
}
|
|
1216
|
-
function
|
|
1274
|
+
function __c13(j: number): any {
|
|
1217
1275
|
switch (j) {
|
|
1218
1276
|
case 0:
|
|
1219
1277
|
return S.suspend(() =>
|
|
@@ -1239,7 +1297,7 @@ function __c12(j: number): any {
|
|
|
1239
1297
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1240
1298
|
}
|
|
1241
1299
|
}
|
|
1242
|
-
function
|
|
1300
|
+
function __c14(j: number): any {
|
|
1243
1301
|
switch (j) {
|
|
1244
1302
|
case 0:
|
|
1245
1303
|
return S.suspend(() =>
|
|
@@ -1258,7 +1316,7 @@ function __c13(j: number): any {
|
|
|
1258
1316
|
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1259
1317
|
}
|
|
1260
1318
|
}
|
|
1261
|
-
function
|
|
1319
|
+
function __c15(j: number): any {
|
|
1262
1320
|
switch (j) {
|
|
1263
1321
|
case 0:
|
|
1264
1322
|
return S.suspend(() =>
|
|
@@ -1266,7 +1324,7 @@ function __c14(j: number): any {
|
|
|
1266
1324
|
projectId: S.String.pipe(T.Label()),
|
|
1267
1325
|
regionId: S.String.pipe(T.Label()),
|
|
1268
1326
|
instanceId: S.String.pipe(T.Label()),
|
|
1269
|
-
encryption_key: S.optional(S.String),
|
|
1327
|
+
encryption_key: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1270
1328
|
}).pipe(
|
|
1271
1329
|
T.Http({
|
|
1272
1330
|
method: "PATCH",
|
|
@@ -1284,7 +1342,7 @@ function __c14(j: number): any {
|
|
|
1284
1342
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1285
1343
|
}
|
|
1286
1344
|
}
|
|
1287
|
-
function
|
|
1345
|
+
function __c16(j: number): any {
|
|
1288
1346
|
switch (j) {
|
|
1289
1347
|
case 0:
|
|
1290
1348
|
return S.suspend(() =>
|
|
@@ -1310,7 +1368,7 @@ function __c15(j: number): any {
|
|
|
1310
1368
|
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1311
1369
|
}
|
|
1312
1370
|
}
|
|
1313
|
-
function
|
|
1371
|
+
function __c17(j: number): any {
|
|
1314
1372
|
switch (j) {
|
|
1315
1373
|
case 0:
|
|
1316
1374
|
return S.suspend(() =>
|
|
@@ -1336,7 +1394,7 @@ function __c16(j: number): any {
|
|
|
1336
1394
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1337
1395
|
}
|
|
1338
1396
|
}
|
|
1339
|
-
function
|
|
1397
|
+
function __c18(j: number): any {
|
|
1340
1398
|
switch (j) {
|
|
1341
1399
|
case 0:
|
|
1342
1400
|
return S.suspend(() =>
|
|
@@ -1356,19 +1414,19 @@ function __c17(j: number): any {
|
|
|
1356
1414
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1357
1415
|
}
|
|
1358
1416
|
}
|
|
1359
|
-
function
|
|
1417
|
+
function __c19(j: number): any {
|
|
1360
1418
|
switch (j) {
|
|
1361
1419
|
case 0:
|
|
1362
1420
|
return S.Array(S.String);
|
|
1363
1421
|
}
|
|
1364
1422
|
}
|
|
1365
|
-
function
|
|
1423
|
+
function __c20(j: number): any {
|
|
1366
1424
|
switch (j) {
|
|
1367
1425
|
case 0:
|
|
1368
1426
|
return S.suspend(() =>
|
|
1369
1427
|
S.Struct({
|
|
1370
1428
|
host: S.String,
|
|
1371
|
-
hosts: S.optional(__S(
|
|
1429
|
+
hosts: S.optional(__S(152, __c19, 0)),
|
|
1372
1430
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1373
1431
|
port: S.optional(S.Number),
|
|
1374
1432
|
scheme: S.optional(S.String),
|
|
@@ -1379,20 +1437,20 @@ function __c19(j: number): any {
|
|
|
1379
1437
|
case 1:
|
|
1380
1438
|
return S.suspend(() =>
|
|
1381
1439
|
S.Struct({
|
|
1382
|
-
credentials: __S(
|
|
1440
|
+
credentials: __S(160, __c20, 0),
|
|
1383
1441
|
}),
|
|
1384
1442
|
).annotate({ identifier: "RawCredentials" });
|
|
1385
1443
|
case 2:
|
|
1386
1444
|
return S.suspend(() =>
|
|
1387
1445
|
S.Struct({
|
|
1388
1446
|
id: S.String,
|
|
1389
|
-
raw: S.optional(__S(
|
|
1447
|
+
raw: S.optional(__S(161, __c20, 1)),
|
|
1390
1448
|
uri: S.String,
|
|
1391
1449
|
}),
|
|
1392
1450
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1393
1451
|
}
|
|
1394
1452
|
}
|
|
1395
|
-
function
|
|
1453
|
+
function __c21(j: number): any {
|
|
1396
1454
|
switch (j) {
|
|
1397
1455
|
case 0:
|
|
1398
1456
|
return S.suspend(() =>
|
|
@@ -1400,7 +1458,7 @@ function __c20(j: number): any {
|
|
|
1400
1458
|
projectId: S.String.pipe(T.Label()),
|
|
1401
1459
|
regionId: S.String.pipe(T.Label()),
|
|
1402
1460
|
instanceName: S.String,
|
|
1403
|
-
parameters: S.optional(__S(
|
|
1461
|
+
parameters: S.optional(__S(177, __c22, 1)),
|
|
1404
1462
|
planId: S.String,
|
|
1405
1463
|
}).pipe(
|
|
1406
1464
|
T.Http({
|
|
@@ -1413,7 +1471,7 @@ function __c20(j: number): any {
|
|
|
1413
1471
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1414
1472
|
}
|
|
1415
1473
|
}
|
|
1416
|
-
function
|
|
1474
|
+
function __c22(j: number): any {
|
|
1417
1475
|
switch (j) {
|
|
1418
1476
|
case 0:
|
|
1419
1477
|
return S.Array(S.String);
|
|
@@ -1429,16 +1487,16 @@ function __c21(j: number): any {
|
|
|
1429
1487
|
metrics_frequency: S.optional(S.Number),
|
|
1430
1488
|
metrics_prefix: S.optional(S.String),
|
|
1431
1489
|
monitoring_instance_id: S.optional(S.String),
|
|
1432
|
-
plugins: S.optional(__S(
|
|
1490
|
+
plugins: S.optional(__S(176, __c22, 0)),
|
|
1433
1491
|
sgw_acl: S.optional(S.String),
|
|
1434
|
-
syslog: S.optional(__S(
|
|
1435
|
-
tls_ciphers: S.optional(__S(
|
|
1436
|
-
tls_protocols: S.optional(__S(
|
|
1492
|
+
syslog: S.optional(__S(152, __c19, 0)),
|
|
1493
|
+
tls_ciphers: S.optional(__S(152, __c19, 0).pipe(T.Body("tls-ciphers"))),
|
|
1494
|
+
tls_protocols: S.optional(__S(176, __c22, 0).pipe(T.Body("tls-protocols"))),
|
|
1437
1495
|
}),
|
|
1438
1496
|
).annotate({ identifier: "InstanceParameters" });
|
|
1439
1497
|
}
|
|
1440
1498
|
}
|
|
1441
|
-
function
|
|
1499
|
+
function __c23(j: number): any {
|
|
1442
1500
|
switch (j) {
|
|
1443
1501
|
case 0:
|
|
1444
1502
|
return S.suspend(() =>
|
|
@@ -1448,7 +1506,7 @@ function __c22(j: number): any {
|
|
|
1448
1506
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1449
1507
|
}
|
|
1450
1508
|
}
|
|
1451
|
-
function
|
|
1509
|
+
function __c24(j: number): any {
|
|
1452
1510
|
switch (j) {
|
|
1453
1511
|
case 0:
|
|
1454
1512
|
return S.suspend(() =>
|
|
@@ -1468,13 +1526,13 @@ function __c23(j: number): any {
|
|
|
1468
1526
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1469
1527
|
}
|
|
1470
1528
|
}
|
|
1471
|
-
function
|
|
1529
|
+
function __c25(j: number): any {
|
|
1472
1530
|
switch (j) {
|
|
1473
1531
|
case 0:
|
|
1474
1532
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1475
1533
|
}
|
|
1476
1534
|
}
|
|
1477
|
-
function
|
|
1535
|
+
function __c26(j: number): any {
|
|
1478
1536
|
switch (j) {
|
|
1479
1537
|
case 0:
|
|
1480
1538
|
return S.suspend(() =>
|
|
@@ -1493,7 +1551,7 @@ function __c25(j: number): any {
|
|
|
1493
1551
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1494
1552
|
}
|
|
1495
1553
|
}
|
|
1496
|
-
function
|
|
1554
|
+
function __c27(j: number): any {
|
|
1497
1555
|
switch (j) {
|
|
1498
1556
|
case 0:
|
|
1499
1557
|
return S.suspend(() =>
|
|
@@ -1513,7 +1571,7 @@ function __c26(j: number): any {
|
|
|
1513
1571
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1514
1572
|
}
|
|
1515
1573
|
}
|
|
1516
|
-
function
|
|
1574
|
+
function __c28(j: number): any {
|
|
1517
1575
|
switch (j) {
|
|
1518
1576
|
case 0:
|
|
1519
1577
|
return S.suspend(() =>
|