@distilled.cloud/stackit 1.0.0-rc.19 → 1.0.0-rc.21
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 +13 -8
- 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 +34 -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 +42 -1
- package/lib/unstable-services/git.d.ts.map +1 -0
- package/lib/unstable-services/git.js +43 -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 +14 -5
- package/src/index.ts +9 -6
- package/src/protocol.ts +108 -126
- 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 +226 -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 +285 -133
- 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/mariadb.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 */
|
|
@@ -408,7 +429,7 @@ export interface UpdateBackupsConfigRequest {
|
|
|
408
429
|
regionId: string;
|
|
409
430
|
/** Instance id */
|
|
410
431
|
instanceId: string;
|
|
411
|
-
encryption_key?: string | undefined;
|
|
432
|
+
encryption_key?: string | Redacted.Redacted<string> | undefined;
|
|
412
433
|
}
|
|
413
434
|
export interface UpdateBackupsConfigResponse {
|
|
414
435
|
message: string;
|
|
@@ -427,6 +448,10 @@ export interface UpdateUpdatesSettingsResponse {
|
|
|
427
448
|
/** Whether automatic updates are allowed. */
|
|
428
449
|
automaticUpdatesEnabled: boolean;
|
|
429
450
|
}
|
|
451
|
+
export interface Error {
|
|
452
|
+
description: string;
|
|
453
|
+
error: string;
|
|
454
|
+
}
|
|
430
455
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
431
456
|
/** create a backup */
|
|
432
457
|
export const createBackup: API.OperationMethod<
|
|
@@ -435,9 +460,10 @@ export const createBackup: API.OperationMethod<
|
|
|
435
460
|
CreateBackupError,
|
|
436
461
|
StackitOpContext
|
|
437
462
|
> = /*@__PURE__*/ API.make(() => ({
|
|
438
|
-
input: __S(
|
|
439
|
-
output: __S(
|
|
440
|
-
errors: [BadRequest, NotFound
|
|
463
|
+
input: __S(136, __c17, 0) as any as S.Schema<CreateBackupRequest>,
|
|
464
|
+
output: __S(137, __c17, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
465
|
+
errors: [BadRequest, NotFound],
|
|
466
|
+
serviceErrors: StackitServiceErrors,
|
|
441
467
|
protocol: StackitProtocol,
|
|
442
468
|
retry: Retry.Retry,
|
|
443
469
|
telemetry: TELEMETRY,
|
|
@@ -452,9 +478,10 @@ export const createCredentials: API.OperationMethod<
|
|
|
452
478
|
CreateCredentialsError,
|
|
453
479
|
StackitOpContext
|
|
454
480
|
> = /*@__PURE__*/ API.make(() => ({
|
|
455
|
-
input: __S(
|
|
456
|
-
output: __S(
|
|
457
|
-
errors: [BadRequest
|
|
481
|
+
input: __S(144, __c18, 0) as any as S.Schema<CreateCredentialsRequest>,
|
|
482
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
483
|
+
errors: [BadRequest],
|
|
484
|
+
serviceErrors: StackitServiceErrors,
|
|
458
485
|
protocol: StackitProtocol,
|
|
459
486
|
retry: Retry.Retry,
|
|
460
487
|
telemetry: TELEMETRY,
|
|
@@ -469,9 +496,10 @@ export const createInstance: API.OperationMethod<
|
|
|
469
496
|
CreateInstanceError,
|
|
470
497
|
StackitOpContext
|
|
471
498
|
> = /*@__PURE__*/ API.make(() => ({
|
|
472
|
-
input: __S(
|
|
473
|
-
output: __S(
|
|
474
|
-
errors: [BadRequest, Conflict
|
|
499
|
+
input: __S(168, __c21, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
500
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
501
|
+
errors: [BadRequest, Conflict],
|
|
502
|
+
serviceErrors: StackitServiceErrors,
|
|
475
503
|
protocol: StackitProtocol,
|
|
476
504
|
retry: Retry.Retry,
|
|
477
505
|
telemetry: TELEMETRY,
|
|
@@ -486,9 +514,10 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
486
514
|
DeleteCredentialsError,
|
|
487
515
|
StackitOpContext
|
|
488
516
|
> = /*@__PURE__*/ API.make(() => ({
|
|
489
|
-
input: __S(
|
|
490
|
-
output: __S(
|
|
491
|
-
errors: [BadRequest, NotFound
|
|
517
|
+
input: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
518
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
519
|
+
errors: [BadRequest, NotFound],
|
|
520
|
+
serviceErrors: StackitServiceErrors,
|
|
492
521
|
protocol: StackitProtocol,
|
|
493
522
|
retry: Retry.Retry,
|
|
494
523
|
telemetry: TELEMETRY,
|
|
@@ -503,9 +532,10 @@ export const deleteInstance: API.OperationMethod<
|
|
|
503
532
|
DeleteInstanceError,
|
|
504
533
|
StackitOpContext
|
|
505
534
|
> = /*@__PURE__*/ API.make(() => ({
|
|
506
|
-
input: __S(
|
|
507
|
-
output: __S(
|
|
508
|
-
errors: [BadRequest, NotFound
|
|
535
|
+
input: __S(208, __c26, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
536
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
537
|
+
errors: [BadRequest, NotFound],
|
|
538
|
+
serviceErrors: StackitServiceErrors,
|
|
509
539
|
protocol: StackitProtocol,
|
|
510
540
|
retry: Retry.Retry,
|
|
511
541
|
telemetry: TELEMETRY,
|
|
@@ -520,9 +550,10 @@ export const downloadBackup: API.OperationMethod<
|
|
|
520
550
|
DownloadBackupError,
|
|
521
551
|
StackitOpContext
|
|
522
552
|
> = /*@__PURE__*/ API.make(() => ({
|
|
523
|
-
input: __S(
|
|
524
|
-
output: __S(
|
|
525
|
-
errors: [BadRequest, NotFound
|
|
553
|
+
input: __S(216, __c27, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
554
|
+
output: __S(200, __c25, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
555
|
+
errors: [BadRequest, NotFound],
|
|
556
|
+
serviceErrors: StackitServiceErrors,
|
|
526
557
|
protocol: StackitProtocol,
|
|
527
558
|
retry: Retry.Retry,
|
|
528
559
|
telemetry: TELEMETRY,
|
|
@@ -537,9 +568,10 @@ export const getCredentials: API.OperationMethod<
|
|
|
537
568
|
GetCredentialsError,
|
|
538
569
|
StackitOpContext
|
|
539
570
|
> = /*@__PURE__*/ API.make(() => ({
|
|
540
|
-
input: __S(
|
|
541
|
-
output: __S(
|
|
542
|
-
errors: [BadRequest, NotFound
|
|
571
|
+
input: __S(224, __c28, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
572
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
573
|
+
errors: [BadRequest, NotFound],
|
|
574
|
+
serviceErrors: StackitServiceErrors,
|
|
543
575
|
protocol: StackitProtocol,
|
|
544
576
|
retry: Retry.Retry,
|
|
545
577
|
telemetry: TELEMETRY,
|
|
@@ -554,9 +586,10 @@ export const getInstance: API.OperationMethod<
|
|
|
554
586
|
GetInstanceError,
|
|
555
587
|
StackitOpContext
|
|
556
588
|
> = /*@__PURE__*/ API.make(() => ({
|
|
557
|
-
input: __S(
|
|
558
|
-
output: __S(
|
|
559
|
-
errors: [BadRequest, NotFound
|
|
589
|
+
input: __S(8, __c1, 0) as any as S.Schema<GetInstanceRequest>,
|
|
590
|
+
output: __S(17, __c2, 1) as any as S.Schema<Instance>,
|
|
591
|
+
errors: [BadRequest, NotFound],
|
|
592
|
+
serviceErrors: StackitServiceErrors,
|
|
560
593
|
protocol: StackitProtocol,
|
|
561
594
|
retry: Retry.Retry,
|
|
562
595
|
telemetry: TELEMETRY,
|
|
@@ -571,9 +604,10 @@ export const getMetrics: API.OperationMethod<
|
|
|
571
604
|
GetMetricsError,
|
|
572
605
|
StackitOpContext
|
|
573
606
|
> = /*@__PURE__*/ API.make(() => ({
|
|
574
|
-
input: __S(
|
|
575
|
-
output: __S(
|
|
576
|
-
errors: [BadRequest, NotFound
|
|
607
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetMetricsRequest>,
|
|
608
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetMetricsResponse>,
|
|
609
|
+
errors: [BadRequest, NotFound],
|
|
610
|
+
serviceErrors: StackitServiceErrors,
|
|
577
611
|
protocol: StackitProtocol,
|
|
578
612
|
retry: Retry.Retry,
|
|
579
613
|
telemetry: TELEMETRY,
|
|
@@ -588,9 +622,10 @@ export const getUpdates: API.OperationMethod<
|
|
|
588
622
|
GetUpdatesError,
|
|
589
623
|
StackitOpContext
|
|
590
624
|
> = /*@__PURE__*/ API.make(() => ({
|
|
591
|
-
input: __S(
|
|
592
|
-
output: __S(
|
|
593
|
-
errors: [BadRequest, NotFound, Conflict
|
|
625
|
+
input: __S(32, __c4, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
626
|
+
output: __S(33, __c4, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
627
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
628
|
+
serviceErrors: StackitServiceErrors,
|
|
594
629
|
protocol: StackitProtocol,
|
|
595
630
|
retry: Retry.Retry,
|
|
596
631
|
telemetry: TELEMETRY,
|
|
@@ -605,9 +640,10 @@ export const listBackups: API.OperationMethod<
|
|
|
605
640
|
ListBackupsError,
|
|
606
641
|
StackitOpContext
|
|
607
642
|
> = /*@__PURE__*/ API.make(() => ({
|
|
608
|
-
input: __S(
|
|
609
|
-
output: __S(
|
|
610
|
-
errors: [BadRequest, NotFound
|
|
643
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListBackupsRequest>,
|
|
644
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
645
|
+
errors: [BadRequest, NotFound],
|
|
646
|
+
serviceErrors: StackitServiceErrors,
|
|
611
647
|
protocol: StackitProtocol,
|
|
612
648
|
retry: Retry.Retry,
|
|
613
649
|
telemetry: TELEMETRY,
|
|
@@ -622,9 +658,10 @@ export const listCredentials: API.OperationMethod<
|
|
|
622
658
|
ListCredentialsError,
|
|
623
659
|
StackitOpContext
|
|
624
660
|
> = /*@__PURE__*/ API.make(() => ({
|
|
625
|
-
input: __S(
|
|
626
|
-
output: __S(
|
|
627
|
-
errors: [BadRequest, NotFound
|
|
661
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
662
|
+
output: __S(51, __c6, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
663
|
+
errors: [BadRequest, NotFound],
|
|
664
|
+
serviceErrors: StackitServiceErrors,
|
|
628
665
|
protocol: StackitProtocol,
|
|
629
666
|
retry: Retry.Retry,
|
|
630
667
|
telemetry: TELEMETRY,
|
|
@@ -639,9 +676,10 @@ export const listInstances: API.OperationMethod<
|
|
|
639
676
|
ListInstancesError,
|
|
640
677
|
StackitOpContext
|
|
641
678
|
> = /*@__PURE__*/ API.make(() => ({
|
|
642
|
-
input: __S(
|
|
643
|
-
output: __S(
|
|
644
|
-
errors: [BadRequest, NotFound
|
|
679
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListInstancesRequest>,
|
|
680
|
+
output: __S(58, __c7, 2) as any as S.Schema<ListInstancesResponse>,
|
|
681
|
+
errors: [BadRequest, NotFound],
|
|
682
|
+
serviceErrors: StackitServiceErrors,
|
|
645
683
|
protocol: StackitProtocol,
|
|
646
684
|
retry: Retry.Retry,
|
|
647
685
|
telemetry: TELEMETRY,
|
|
@@ -656,9 +694,10 @@ export const listOfferings: API.OperationMethod<
|
|
|
656
694
|
ListOfferingsError,
|
|
657
695
|
StackitOpContext
|
|
658
696
|
> = /*@__PURE__*/ API.make(() => ({
|
|
659
|
-
input: __S(
|
|
660
|
-
output: __S(
|
|
661
|
-
errors: [BadRequest, NotFound
|
|
697
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
698
|
+
output: __S(71, __c8, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
699
|
+
errors: [BadRequest, NotFound],
|
|
700
|
+
serviceErrors: StackitServiceErrors,
|
|
662
701
|
protocol: StackitProtocol,
|
|
663
702
|
retry: Retry.Retry,
|
|
664
703
|
telemetry: TELEMETRY,
|
|
@@ -673,9 +712,10 @@ export const listRestores: API.OperationMethod<
|
|
|
673
712
|
ListRestoresError,
|
|
674
713
|
StackitOpContext
|
|
675
714
|
> = /*@__PURE__*/ API.make(() => ({
|
|
676
|
-
input: __S(
|
|
677
|
-
output: __S(
|
|
678
|
-
errors: [BadRequest, NotFound
|
|
715
|
+
input: __S(72, __c9, 0) as any as S.Schema<ListRestoresRequest>,
|
|
716
|
+
output: __S(75, __c9, 3) as any as S.Schema<ListRestoresResponse>,
|
|
717
|
+
errors: [BadRequest, NotFound],
|
|
718
|
+
serviceErrors: StackitServiceErrors,
|
|
679
719
|
protocol: StackitProtocol,
|
|
680
720
|
retry: Retry.Retry,
|
|
681
721
|
telemetry: TELEMETRY,
|
|
@@ -690,9 +730,10 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
690
730
|
PartialUpdateInstanceError,
|
|
691
731
|
StackitOpContext
|
|
692
732
|
> = /*@__PURE__*/ API.make(() => ({
|
|
693
|
-
input: __S(
|
|
694
|
-
output: __S(
|
|
695
|
-
errors: [BadRequest, NotFound
|
|
733
|
+
input: __S(80, __c10, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
734
|
+
output: __S(200, __c25, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
735
|
+
errors: [BadRequest, NotFound],
|
|
736
|
+
serviceErrors: StackitServiceErrors,
|
|
696
737
|
protocol: StackitProtocol,
|
|
697
738
|
retry: Retry.Retry,
|
|
698
739
|
telemetry: TELEMETRY,
|
|
@@ -707,9 +748,10 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
707
748
|
TriggerRecreateError,
|
|
708
749
|
StackitOpContext
|
|
709
750
|
> = /*@__PURE__*/ API.make(() => ({
|
|
710
|
-
input: __S(
|
|
711
|
-
output: __S(
|
|
712
|
-
errors: [BadRequest, NotFound
|
|
751
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
752
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
753
|
+
errors: [BadRequest, NotFound],
|
|
754
|
+
serviceErrors: StackitServiceErrors,
|
|
713
755
|
protocol: StackitProtocol,
|
|
714
756
|
retry: Retry.Retry,
|
|
715
757
|
telemetry: TELEMETRY,
|
|
@@ -724,9 +766,10 @@ export const triggerRestart: API.OperationMethod<
|
|
|
724
766
|
TriggerRestartError,
|
|
725
767
|
StackitOpContext
|
|
726
768
|
> = /*@__PURE__*/ API.make(() => ({
|
|
727
|
-
input: __S(
|
|
728
|
-
output: __S(
|
|
729
|
-
errors: [BadRequest, NotFound
|
|
769
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
770
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
771
|
+
errors: [BadRequest, NotFound],
|
|
772
|
+
serviceErrors: StackitServiceErrors,
|
|
730
773
|
protocol: StackitProtocol,
|
|
731
774
|
retry: Retry.Retry,
|
|
732
775
|
telemetry: TELEMETRY,
|
|
@@ -741,9 +784,10 @@ export const triggerRestore: API.OperationMethod<
|
|
|
741
784
|
TriggerRestoreError,
|
|
742
785
|
StackitOpContext
|
|
743
786
|
> = /*@__PURE__*/ API.make(() => ({
|
|
744
|
-
input: __S(
|
|
745
|
-
output: __S(
|
|
746
|
-
errors: [BadRequest, NotFound
|
|
787
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
788
|
+
output: __S(105, __c13, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
789
|
+
errors: [BadRequest, NotFound],
|
|
790
|
+
serviceErrors: StackitServiceErrors,
|
|
747
791
|
protocol: StackitProtocol,
|
|
748
792
|
retry: Retry.Retry,
|
|
749
793
|
telemetry: TELEMETRY,
|
|
@@ -758,9 +802,10 @@ export const triggerUpdate: API.OperationMethod<
|
|
|
758
802
|
TriggerUpdateError,
|
|
759
803
|
StackitOpContext
|
|
760
804
|
> = /*@__PURE__*/ API.make(() => ({
|
|
761
|
-
input: __S(
|
|
762
|
-
output: __S(
|
|
763
|
-
errors: [BadRequest, NotFound, Conflict
|
|
805
|
+
input: __S(112, __c14, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
806
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
807
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
808
|
+
serviceErrors: StackitServiceErrors,
|
|
764
809
|
protocol: StackitProtocol,
|
|
765
810
|
retry: Retry.Retry,
|
|
766
811
|
telemetry: TELEMETRY,
|
|
@@ -775,9 +820,10 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
775
820
|
UpdateBackupsConfigError,
|
|
776
821
|
StackitOpContext
|
|
777
822
|
> = /*@__PURE__*/ API.make(() => ({
|
|
778
|
-
input: __S(
|
|
779
|
-
output: __S(
|
|
780
|
-
errors: [BadRequest, NotFound
|
|
823
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
824
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
825
|
+
errors: [BadRequest, NotFound],
|
|
826
|
+
serviceErrors: StackitServiceErrors,
|
|
781
827
|
protocol: StackitProtocol,
|
|
782
828
|
retry: Retry.Retry,
|
|
783
829
|
telemetry: TELEMETRY,
|
|
@@ -792,9 +838,10 @@ export const updateUpdatesSettings: API.OperationMethod<
|
|
|
792
838
|
UpdateUpdatesSettingsError,
|
|
793
839
|
StackitOpContext
|
|
794
840
|
> = /*@__PURE__*/ API.make(() => ({
|
|
795
|
-
input: __S(
|
|
796
|
-
output: __S(
|
|
797
|
-
errors: [BadRequest, NotFound, Conflict
|
|
841
|
+
input: __S(128, __c16, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
842
|
+
output: __S(129, __c16, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
843
|
+
errors: [BadRequest, NotFound, Conflict],
|
|
844
|
+
serviceErrors: StackitServiceErrors,
|
|
798
845
|
protocol: StackitProtocol,
|
|
799
846
|
retry: Retry.Retry,
|
|
800
847
|
telemetry: TELEMETRY,
|
|
@@ -803,6 +850,17 @@ export const updateUpdatesSettings: API.OperationMethod<
|
|
|
803
850
|
|
|
804
851
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
805
852
|
function __c0(j: number): any {
|
|
853
|
+
switch (j) {
|
|
854
|
+
case 0:
|
|
855
|
+
return S.suspend(() =>
|
|
856
|
+
S.Struct({
|
|
857
|
+
description: S.String,
|
|
858
|
+
error: S.String,
|
|
859
|
+
}),
|
|
860
|
+
).annotate({ identifier: "Error" });
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
function __c1(j: number): any {
|
|
806
864
|
switch (j) {
|
|
807
865
|
case 0:
|
|
808
866
|
return S.suspend(() =>
|
|
@@ -821,7 +879,7 @@ function __c0(j: number): any {
|
|
|
821
879
|
).annotate({ identifier: "GetInstanceRequest" });
|
|
822
880
|
}
|
|
823
881
|
}
|
|
824
|
-
function
|
|
882
|
+
function __c2(j: number): any {
|
|
825
883
|
switch (j) {
|
|
826
884
|
case 0:
|
|
827
885
|
return S.suspend(() =>
|
|
@@ -841,7 +899,7 @@ function __c1(j: number): any {
|
|
|
841
899
|
imageUrl: S.String,
|
|
842
900
|
instanceId: S.optional(S.String),
|
|
843
901
|
instanceStatus: S.optional(S.String),
|
|
844
|
-
lastOperation: __S(
|
|
902
|
+
lastOperation: __S(16, __c2, 0),
|
|
845
903
|
name: S.String,
|
|
846
904
|
offeringName: S.String,
|
|
847
905
|
offeringVersion: S.String,
|
|
@@ -853,7 +911,7 @@ function __c1(j: number): any {
|
|
|
853
911
|
).annotate({ identifier: "Instance" });
|
|
854
912
|
}
|
|
855
913
|
}
|
|
856
|
-
function
|
|
914
|
+
function __c3(j: number): any {
|
|
857
915
|
switch (j) {
|
|
858
916
|
case 0:
|
|
859
917
|
return S.suspend(() =>
|
|
@@ -900,7 +958,7 @@ function __c2(j: number): any {
|
|
|
900
958
|
).annotate({ identifier: "GetMetricsResponse" });
|
|
901
959
|
}
|
|
902
960
|
}
|
|
903
|
-
function
|
|
961
|
+
function __c4(j: number): any {
|
|
904
962
|
switch (j) {
|
|
905
963
|
case 0:
|
|
906
964
|
return S.suspend(() =>
|
|
@@ -926,7 +984,7 @@ function __c3(j: number): any {
|
|
|
926
984
|
).annotate({ identifier: "GetUpdatesResponse" });
|
|
927
985
|
}
|
|
928
986
|
}
|
|
929
|
-
function
|
|
987
|
+
function __c5(j: number): any {
|
|
930
988
|
switch (j) {
|
|
931
989
|
case 0:
|
|
932
990
|
return S.suspend(() =>
|
|
@@ -955,14 +1013,14 @@ function __c4(j: number): any {
|
|
|
955
1013
|
}),
|
|
956
1014
|
).annotate({ identifier: "Backup" });
|
|
957
1015
|
case 2:
|
|
958
|
-
return S.Array(__S(
|
|
1016
|
+
return S.Array(__S(41, __c5, 1));
|
|
959
1017
|
case 3:
|
|
960
|
-
return S.suspend(() => __S(
|
|
1018
|
+
return S.suspend(() => __S(42, __c5, 2).pipe(T.RawResponseRoot())).annotate({
|
|
961
1019
|
identifier: "ListBackupsResponse2",
|
|
962
1020
|
});
|
|
963
1021
|
}
|
|
964
1022
|
}
|
|
965
|
-
function
|
|
1023
|
+
function __c6(j: number): any {
|
|
966
1024
|
switch (j) {
|
|
967
1025
|
case 0:
|
|
968
1026
|
return S.suspend(() =>
|
|
@@ -986,16 +1044,16 @@ function __c5(j: number): any {
|
|
|
986
1044
|
}),
|
|
987
1045
|
).annotate({ identifier: "CredentialsListItem" });
|
|
988
1046
|
case 2:
|
|
989
|
-
return S.Array(__S(
|
|
1047
|
+
return S.Array(__S(49, __c6, 1));
|
|
990
1048
|
case 3:
|
|
991
1049
|
return S.suspend(() =>
|
|
992
1050
|
S.Struct({
|
|
993
|
-
credentialsList: __S(
|
|
1051
|
+
credentialsList: __S(50, __c6, 2),
|
|
994
1052
|
}),
|
|
995
1053
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
996
1054
|
}
|
|
997
1055
|
}
|
|
998
|
-
function
|
|
1056
|
+
function __c7(j: number): any {
|
|
999
1057
|
switch (j) {
|
|
1000
1058
|
case 0:
|
|
1001
1059
|
return S.suspend(() =>
|
|
@@ -1012,16 +1070,16 @@ function __c6(j: number): any {
|
|
|
1012
1070
|
),
|
|
1013
1071
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
1014
1072
|
case 1:
|
|
1015
|
-
return S.Array(__S(
|
|
1073
|
+
return S.Array(__S(17, __c2, 1));
|
|
1016
1074
|
case 2:
|
|
1017
1075
|
return S.suspend(() =>
|
|
1018
1076
|
S.Struct({
|
|
1019
|
-
instances: __S(
|
|
1077
|
+
instances: __S(57, __c7, 1),
|
|
1020
1078
|
}),
|
|
1021
1079
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
1022
1080
|
}
|
|
1023
1081
|
}
|
|
1024
|
-
function
|
|
1082
|
+
function __c8(j: number): any {
|
|
1025
1083
|
switch (j) {
|
|
1026
1084
|
case 0:
|
|
1027
1085
|
return S.suspend(() =>
|
|
@@ -1048,7 +1106,7 @@ function __c7(j: number): any {
|
|
|
1048
1106
|
}),
|
|
1049
1107
|
).annotate({ identifier: "Plan" });
|
|
1050
1108
|
case 2:
|
|
1051
|
-
return S.Array(__S(
|
|
1109
|
+
return S.Array(__S(65, __c8, 1));
|
|
1052
1110
|
case 3:
|
|
1053
1111
|
return S.suspend(() =>
|
|
1054
1112
|
S.Struct({
|
|
@@ -1058,8 +1116,8 @@ function __c7(j: number): any {
|
|
|
1058
1116
|
case 4:
|
|
1059
1117
|
return S.suspend(() =>
|
|
1060
1118
|
S.Struct({
|
|
1061
|
-
create: __S(
|
|
1062
|
-
update: __S(
|
|
1119
|
+
create: __S(67, __c8, 3),
|
|
1120
|
+
update: __S(67, __c8, 3),
|
|
1063
1121
|
}),
|
|
1064
1122
|
).annotate({ identifier: "InstanceSchema" });
|
|
1065
1123
|
case 5:
|
|
@@ -1071,23 +1129,23 @@ function __c7(j: number): any {
|
|
|
1071
1129
|
latest: S.Boolean,
|
|
1072
1130
|
lifecycle: S.optional(S.String),
|
|
1073
1131
|
name: S.String,
|
|
1074
|
-
plans: __S(
|
|
1132
|
+
plans: __S(66, __c8, 2),
|
|
1075
1133
|
quotaCount: S.Number,
|
|
1076
|
-
schema: S.optional(__S(
|
|
1134
|
+
schema: S.optional(__S(68, __c8, 4)),
|
|
1077
1135
|
version: S.String,
|
|
1078
1136
|
}),
|
|
1079
1137
|
).annotate({ identifier: "Offering" });
|
|
1080
1138
|
case 6:
|
|
1081
|
-
return S.Array(__S(
|
|
1139
|
+
return S.Array(__S(69, __c8, 5));
|
|
1082
1140
|
case 7:
|
|
1083
1141
|
return S.suspend(() =>
|
|
1084
1142
|
S.Struct({
|
|
1085
|
-
offerings: __S(
|
|
1143
|
+
offerings: __S(70, __c8, 6),
|
|
1086
1144
|
}),
|
|
1087
1145
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
1088
1146
|
}
|
|
1089
1147
|
}
|
|
1090
|
-
function
|
|
1148
|
+
function __c9(j: number): any {
|
|
1091
1149
|
switch (j) {
|
|
1092
1150
|
case 0:
|
|
1093
1151
|
return S.suspend(() =>
|
|
@@ -1115,16 +1173,16 @@ function __c8(j: number): any {
|
|
|
1115
1173
|
}),
|
|
1116
1174
|
).annotate({ identifier: "Restore" });
|
|
1117
1175
|
case 2:
|
|
1118
|
-
return S.Array(__S(
|
|
1176
|
+
return S.Array(__S(73, __c9, 1));
|
|
1119
1177
|
case 3:
|
|
1120
1178
|
return S.suspend(() =>
|
|
1121
1179
|
S.Struct({
|
|
1122
|
-
instanceRestores: __S(
|
|
1180
|
+
instanceRestores: __S(74, __c9, 2),
|
|
1123
1181
|
}),
|
|
1124
1182
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
1125
1183
|
}
|
|
1126
1184
|
}
|
|
1127
|
-
function
|
|
1185
|
+
function __c10(j: number): any {
|
|
1128
1186
|
switch (j) {
|
|
1129
1187
|
case 0:
|
|
1130
1188
|
return S.suspend(() =>
|
|
@@ -1133,7 +1191,7 @@ function __c9(j: number): any {
|
|
|
1133
1191
|
regionId: S.String.pipe(T.Label()),
|
|
1134
1192
|
instanceId: S.String.pipe(T.Label()),
|
|
1135
1193
|
instanceName: S.optional(S.String),
|
|
1136
|
-
parameters: S.optional(__S(
|
|
1194
|
+
parameters: S.optional(__S(176, __c22, 0)),
|
|
1137
1195
|
planId: S.optional(S.String),
|
|
1138
1196
|
}).pipe(
|
|
1139
1197
|
T.Http({
|
|
@@ -1146,7 +1204,7 @@ function __c9(j: number): any {
|
|
|
1146
1204
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1147
1205
|
}
|
|
1148
1206
|
}
|
|
1149
|
-
function
|
|
1207
|
+
function __c11(j: number): any {
|
|
1150
1208
|
switch (j) {
|
|
1151
1209
|
case 0:
|
|
1152
1210
|
return S.suspend(() =>
|
|
@@ -1165,7 +1223,7 @@ function __c10(j: number): any {
|
|
|
1165
1223
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1166
1224
|
}
|
|
1167
1225
|
}
|
|
1168
|
-
function
|
|
1226
|
+
function __c12(j: number): any {
|
|
1169
1227
|
switch (j) {
|
|
1170
1228
|
case 0:
|
|
1171
1229
|
return S.suspend(() =>
|
|
@@ -1184,7 +1242,7 @@ function __c11(j: number): any {
|
|
|
1184
1242
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1185
1243
|
}
|
|
1186
1244
|
}
|
|
1187
|
-
function
|
|
1245
|
+
function __c13(j: number): any {
|
|
1188
1246
|
switch (j) {
|
|
1189
1247
|
case 0:
|
|
1190
1248
|
return S.suspend(() =>
|
|
@@ -1210,7 +1268,7 @@ function __c12(j: number): any {
|
|
|
1210
1268
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1211
1269
|
}
|
|
1212
1270
|
}
|
|
1213
|
-
function
|
|
1271
|
+
function __c14(j: number): any {
|
|
1214
1272
|
switch (j) {
|
|
1215
1273
|
case 0:
|
|
1216
1274
|
return S.suspend(() =>
|
|
@@ -1229,7 +1287,7 @@ function __c13(j: number): any {
|
|
|
1229
1287
|
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1230
1288
|
}
|
|
1231
1289
|
}
|
|
1232
|
-
function
|
|
1290
|
+
function __c15(j: number): any {
|
|
1233
1291
|
switch (j) {
|
|
1234
1292
|
case 0:
|
|
1235
1293
|
return S.suspend(() =>
|
|
@@ -1237,7 +1295,7 @@ function __c14(j: number): any {
|
|
|
1237
1295
|
projectId: S.String.pipe(T.Label()),
|
|
1238
1296
|
regionId: S.String.pipe(T.Label()),
|
|
1239
1297
|
instanceId: S.String.pipe(T.Label()),
|
|
1240
|
-
encryption_key: S.optional(S.String),
|
|
1298
|
+
encryption_key: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1241
1299
|
}).pipe(
|
|
1242
1300
|
T.Http({
|
|
1243
1301
|
method: "PATCH",
|
|
@@ -1255,7 +1313,7 @@ function __c14(j: number): any {
|
|
|
1255
1313
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1256
1314
|
}
|
|
1257
1315
|
}
|
|
1258
|
-
function
|
|
1316
|
+
function __c16(j: number): any {
|
|
1259
1317
|
switch (j) {
|
|
1260
1318
|
case 0:
|
|
1261
1319
|
return S.suspend(() =>
|
|
@@ -1281,7 +1339,7 @@ function __c15(j: number): any {
|
|
|
1281
1339
|
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1282
1340
|
}
|
|
1283
1341
|
}
|
|
1284
|
-
function
|
|
1342
|
+
function __c17(j: number): any {
|
|
1285
1343
|
switch (j) {
|
|
1286
1344
|
case 0:
|
|
1287
1345
|
return S.suspend(() =>
|
|
@@ -1307,7 +1365,7 @@ function __c16(j: number): any {
|
|
|
1307
1365
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1308
1366
|
}
|
|
1309
1367
|
}
|
|
1310
|
-
function
|
|
1368
|
+
function __c18(j: number): any {
|
|
1311
1369
|
switch (j) {
|
|
1312
1370
|
case 0:
|
|
1313
1371
|
return S.suspend(() =>
|
|
@@ -1327,19 +1385,19 @@ function __c17(j: number): any {
|
|
|
1327
1385
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1328
1386
|
}
|
|
1329
1387
|
}
|
|
1330
|
-
function
|
|
1388
|
+
function __c19(j: number): any {
|
|
1331
1389
|
switch (j) {
|
|
1332
1390
|
case 0:
|
|
1333
1391
|
return S.Array(S.String);
|
|
1334
1392
|
}
|
|
1335
1393
|
}
|
|
1336
|
-
function
|
|
1394
|
+
function __c20(j: number): any {
|
|
1337
1395
|
switch (j) {
|
|
1338
1396
|
case 0:
|
|
1339
1397
|
return S.suspend(() =>
|
|
1340
1398
|
S.Struct({
|
|
1341
1399
|
host: S.String,
|
|
1342
|
-
hosts: S.optional(__S(
|
|
1400
|
+
hosts: S.optional(__S(152, __c19, 0)),
|
|
1343
1401
|
name: S.optional(S.String),
|
|
1344
1402
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1345
1403
|
port: S.optional(S.Number),
|
|
@@ -1350,20 +1408,20 @@ function __c19(j: number): any {
|
|
|
1350
1408
|
case 1:
|
|
1351
1409
|
return S.suspend(() =>
|
|
1352
1410
|
S.Struct({
|
|
1353
|
-
credentials: __S(
|
|
1411
|
+
credentials: __S(160, __c20, 0),
|
|
1354
1412
|
}),
|
|
1355
1413
|
).annotate({ identifier: "RawCredentials" });
|
|
1356
1414
|
case 2:
|
|
1357
1415
|
return S.suspend(() =>
|
|
1358
1416
|
S.Struct({
|
|
1359
1417
|
id: S.String,
|
|
1360
|
-
raw: S.optional(__S(
|
|
1418
|
+
raw: S.optional(__S(161, __c20, 1)),
|
|
1361
1419
|
uri: S.String,
|
|
1362
1420
|
}),
|
|
1363
1421
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1364
1422
|
}
|
|
1365
1423
|
}
|
|
1366
|
-
function
|
|
1424
|
+
function __c21(j: number): any {
|
|
1367
1425
|
switch (j) {
|
|
1368
1426
|
case 0:
|
|
1369
1427
|
return S.suspend(() =>
|
|
@@ -1371,7 +1429,7 @@ function __c20(j: number): any {
|
|
|
1371
1429
|
projectId: S.String.pipe(T.Label()),
|
|
1372
1430
|
regionId: S.String.pipe(T.Label()),
|
|
1373
1431
|
instanceName: S.String,
|
|
1374
|
-
parameters: S.optional(__S(
|
|
1432
|
+
parameters: S.optional(__S(176, __c22, 0)),
|
|
1375
1433
|
planId: S.String,
|
|
1376
1434
|
}).pipe(
|
|
1377
1435
|
T.Http({
|
|
@@ -1384,7 +1442,7 @@ function __c20(j: number): any {
|
|
|
1384
1442
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1385
1443
|
}
|
|
1386
1444
|
}
|
|
1387
|
-
function
|
|
1445
|
+
function __c22(j: number): any {
|
|
1388
1446
|
switch (j) {
|
|
1389
1447
|
case 0:
|
|
1390
1448
|
return S.suspend(() =>
|
|
@@ -1396,12 +1454,12 @@ function __c21(j: number): any {
|
|
|
1396
1454
|
metrics_prefix: S.optional(S.String),
|
|
1397
1455
|
monitoring_instance_id: S.optional(S.String),
|
|
1398
1456
|
sgw_acl: S.optional(S.String),
|
|
1399
|
-
syslog: S.optional(__S(
|
|
1457
|
+
syslog: S.optional(__S(152, __c19, 0)),
|
|
1400
1458
|
}),
|
|
1401
1459
|
).annotate({ identifier: "InstanceParameters" });
|
|
1402
1460
|
}
|
|
1403
1461
|
}
|
|
1404
|
-
function
|
|
1462
|
+
function __c23(j: number): any {
|
|
1405
1463
|
switch (j) {
|
|
1406
1464
|
case 0:
|
|
1407
1465
|
return S.suspend(() =>
|
|
@@ -1411,7 +1469,7 @@ function __c22(j: number): any {
|
|
|
1411
1469
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1412
1470
|
}
|
|
1413
1471
|
}
|
|
1414
|
-
function
|
|
1472
|
+
function __c24(j: number): any {
|
|
1415
1473
|
switch (j) {
|
|
1416
1474
|
case 0:
|
|
1417
1475
|
return S.suspend(() =>
|
|
@@ -1431,13 +1489,13 @@ function __c23(j: number): any {
|
|
|
1431
1489
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1432
1490
|
}
|
|
1433
1491
|
}
|
|
1434
|
-
function
|
|
1492
|
+
function __c25(j: number): any {
|
|
1435
1493
|
switch (j) {
|
|
1436
1494
|
case 0:
|
|
1437
1495
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1438
1496
|
}
|
|
1439
1497
|
}
|
|
1440
|
-
function
|
|
1498
|
+
function __c26(j: number): any {
|
|
1441
1499
|
switch (j) {
|
|
1442
1500
|
case 0:
|
|
1443
1501
|
return S.suspend(() =>
|
|
@@ -1456,7 +1514,7 @@ function __c25(j: number): any {
|
|
|
1456
1514
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1457
1515
|
}
|
|
1458
1516
|
}
|
|
1459
|
-
function
|
|
1517
|
+
function __c27(j: number): any {
|
|
1460
1518
|
switch (j) {
|
|
1461
1519
|
case 0:
|
|
1462
1520
|
return S.suspend(() =>
|
|
@@ -1476,7 +1534,7 @@ function __c26(j: number): any {
|
|
|
1476
1534
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1477
1535
|
}
|
|
1478
1536
|
}
|
|
1479
|
-
function
|
|
1537
|
+
function __c28(j: number): any {
|
|
1480
1538
|
switch (j) {
|
|
1481
1539
|
case 0:
|
|
1482
1540
|
return S.suspend(() =>
|