@distilled.cloud/stackit 1.0.0-rc.14 → 1.0.0-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +32 -28
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +22 -22
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +15 -15
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +31 -29
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +24 -23
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +73 -502
- package/lib/services/alb_waf.d.ts +9 -82
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +84 -510
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +67 -314
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +58 -353
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +81 -896
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +45 -171
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +39 -169
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +98 -714
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +56 -307
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +66 -347
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +64 -393
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +87 -510
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +409 -3532
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +74 -465
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +95 -650
- package/lib/services/lb_ip_lists.d.ts +9 -25
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +45 -146
- package/lib/services/load_balancer.d.ts +10 -81
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +76 -486
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +82 -564
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +84 -465
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +84 -541
- package/lib/services/model_experiments.d.ts +9 -48
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +66 -325
- package/lib/services/model_serving.d.ts +7 -47
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +55 -277
- package/lib/services/mongodb_flex.d.ts +8 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +102 -793
- package/lib/services/object_storage.d.ts +12 -59
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +93 -528
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +375 -3148
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +85 -553
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +81 -726
- package/lib/services/postgres_flex.d.ts +14 -136
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +114 -841
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +92 -507
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +88 -564
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +49 -189
- package/lib/services/resource_manager.d.ts +9 -61
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +92 -462
- package/lib/services/run_command.d.ts +5 -28
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +38 -176
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +63 -435
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +99 -660
- package/lib/services/secrets_manager.d.ts +8 -61
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +99 -601
- package/lib/services/server_backup.d.ts +7 -50
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +70 -444
- package/lib/services/server_update.d.ts +7 -35
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +58 -342
- package/lib/services/service_account.d.ts +10 -68
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +75 -495
- package/lib/services/service_enablement.d.ts +7 -29
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +40 -147
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +117 -782
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +67 -549
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +112 -925
- package/lib/services/stackit_marketplace.d.ts +9 -38
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +64 -369
- package/lib/services/telemetry_link.d.ts +8 -61
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +81 -522
- package/lib/services/telemetry_router.d.ts +8 -72
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +73 -474
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +55 -269
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +85 -557
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +105 -920
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +67 -497
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +10 -10
- package/package.json +13 -9
- package/src/credentials.ts +21 -18
- package/src/errors.ts +10 -14
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +12 -9
- package/src/retry.ts +6 -4
- package/src/services/alb.ts +599 -655
- package/src/services/alb_waf.ts +597 -637
- package/src/services/authorization.ts +400 -383
- package/src/services/automation.ts +422 -405
- package/src/services/cdn.ts +817 -1375
- package/src/services/certificates.ts +209 -190
- package/src/services/cost.ts +100 -207
- package/src/services/dns.ts +793 -833
- package/src/services/dremio.ts +356 -349
- package/src/services/edge.ts +406 -366
- package/src/services/functions.ts +465 -463
- package/src/services/git.ts +602 -547
- package/src/services/iaas.ts +3931 -3821
- package/src/services/intake.ts +521 -549
- package/src/services/kms.ts +715 -692
- package/src/services/lb_ip_lists.ts +173 -152
- package/src/services/load_balancer.ts +576 -619
- package/src/services/logme.ts +696 -641
- package/src/services/logs.ts +510 -493
- package/src/services/mariadb.ts +671 -604
- package/src/services/model_experiments.ts +343 -356
- package/src/services/model_serving.ts +337 -328
- package/src/services/mongodb_flex.ts +955 -1007
- package/src/services/object_storage.ts +614 -557
- package/src/services/observability.ts +3469 -3866
- package/src/services/opensearch.ts +679 -628
- package/src/services/pim.ts +672 -909
- package/src/services/postgres_flex.ts +966 -986
- package/src/services/pubsub.ts +524 -546
- package/src/services/rabbitmq.ts +693 -654
- package/src/services/registry.ts +227 -194
- package/src/services/resource_manager.ts +520 -517
- package/src/services/run_command.ts +219 -211
- package/src/services/sca.ts +543 -570
- package/src/services/scf.ts +790 -716
- package/src/services/secrets_manager.ts +707 -622
- package/src/services/server_backup.ts +490 -475
- package/src/services/server_update.ts +353 -356
- package/src/services/service_account.ts +515 -553
- package/src/services/service_enablement.ts +162 -166
- package/src/services/sfs.ts +879 -958
- package/src/services/ske.ts +694 -769
- package/src/services/sqlserverflex.ts +1042 -1117
- package/src/services/stackit_marketplace.ts +377 -372
- package/src/services/telemetry_link.ts +530 -531
- package/src/services/telemetry_router.ts +509 -534
- package/src/services/ufw.ts +305 -307
- package/src/services/valkey.ts +684 -629
- package/src/services/vpn.ts +935 -1195
- package/src/services/workflows.ts +426 -586
- package/src/traits.ts +1 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -181
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/alb.js.map +0 -1
- package/lib/services/alb_waf.js.map +0 -1
- package/lib/services/authorization.js.map +0 -1
- package/lib/services/automation.js.map +0 -1
- package/lib/services/cdn.js.map +0 -1
- package/lib/services/certificates.js.map +0 -1
- package/lib/services/cost.js.map +0 -1
- package/lib/services/dns.js.map +0 -1
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.js.map +0 -1
- package/lib/services/iaas.js.map +0 -1
- package/lib/services/intake.js.map +0 -1
- package/lib/services/kms.js.map +0 -1
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/load_balancer.js.map +0 -1
- package/lib/services/logme.js.map +0 -1
- package/lib/services/logs.js.map +0 -1
- package/lib/services/mariadb.js.map +0 -1
- package/lib/services/model_experiments.js.map +0 -1
- package/lib/services/model_serving.js.map +0 -1
- package/lib/services/mongodb_flex.js.map +0 -1
- package/lib/services/object_storage.js.map +0 -1
- package/lib/services/observability.js.map +0 -1
- package/lib/services/opensearch.js.map +0 -1
- package/lib/services/pim.js.map +0 -1
- package/lib/services/postgres_flex.js.map +0 -1
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/rabbitmq.js.map +0 -1
- package/lib/services/registry.js.map +0 -1
- package/lib/services/resource_manager.js.map +0 -1
- package/lib/services/run_command.js.map +0 -1
- package/lib/services/sca.js.map +0 -1
- package/lib/services/scf.js.map +0 -1
- package/lib/services/secrets_manager.js.map +0 -1
- package/lib/services/server_backup.js.map +0 -1
- package/lib/services/server_update.js.map +0 -1
- package/lib/services/service_account.js.map +0 -1
- package/lib/services/service_enablement.js.map +0 -1
- package/lib/services/sfs.js.map +0 -1
- package/lib/services/ske.js.map +0 -1
- package/lib/services/sqlserverflex.js.map +0 -1
- package/lib/services/stackit_marketplace.js.map +0 -1
- package/lib/services/telemetry_link.js.map +0 -1
- package/lib/services/telemetry_router.js.map +0 -1
- package/lib/services/ufw.js.map +0 -1
- package/lib/services/valkey.js.map +0 -1
- package/lib/services/vpn.js.map +0 -1
- package/lib/services/workflows.js.map +0 -1
- package/src/protocol.test.ts +0 -304
|
@@ -1,484 +1,83 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
2
|
import * as C from "@distilled.cloud/core/category";
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
5
|
-
import * as
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
7
|
import { StackitProtocol } from "../protocol.js";
|
|
8
8
|
import * as Retry from "../retry.js";
|
|
9
9
|
import * as T from "../traits.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}).pipe(
|
|
27
|
-
}
|
|
28
|
-
export const CreateAccessTokenRequestRegionId = S.String;
|
|
29
|
-
export const CreateAccessTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
30
|
-
projectId: S.String.pipe(T.Label()),
|
|
31
|
-
regionId: CreateAccessTokenRequestRegionId.pipe(T.Label()),
|
|
32
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
33
|
-
description: S.optional(S.String),
|
|
34
|
-
displayName: S.String,
|
|
35
|
-
ttl: S.optional(S.NullOr(S.Number)),
|
|
36
|
-
}).pipe(T.Http({
|
|
37
|
-
method: "POST",
|
|
38
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens",
|
|
39
|
-
code: 200,
|
|
40
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
41
|
-
}))).annotate({ identifier: "CreateAccessTokenRequest" });
|
|
42
|
-
export const CreateAccessTokenResponseStatus = S.String;
|
|
43
|
-
export const CreateAccessTokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
44
|
-
creatorId: S.String,
|
|
45
|
-
description: S.optional(S.String),
|
|
46
|
-
displayName: S.String,
|
|
47
|
-
expirationTime: S.optional(S.NullOr(S.String)),
|
|
48
|
-
id: S.String,
|
|
49
|
-
status: CreateAccessTokenResponseStatus,
|
|
50
|
-
accessToken: S.String.pipe(T.SensitiveValue({})),
|
|
51
|
-
})).annotate({
|
|
52
|
-
identifier: "CreateAccessTokenResponse",
|
|
53
|
-
});
|
|
54
|
-
export const CreateDestinationRequestRegionId = S.String;
|
|
55
|
-
export const DestinationConfigType = S.String;
|
|
56
|
-
export const ConfigFilterLevel = S.String;
|
|
57
|
-
export const ConfigFilterMatcher = S.String;
|
|
58
|
-
export const ConfigFilterAttributesValuesList = /*@__PURE__*/ S.Array(S.String);
|
|
59
|
-
export const ConfigFilterAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
60
|
-
key: S.String,
|
|
61
|
-
level: ConfigFilterLevel,
|
|
62
|
-
matcher: ConfigFilterMatcher,
|
|
63
|
-
values: ConfigFilterAttributesValuesList,
|
|
64
|
-
})).annotate({ identifier: "ConfigFilterAttributes" });
|
|
65
|
-
export const ConfigFilterAttributesList = /*@__PURE__*/ S.Array(ConfigFilterAttributes);
|
|
66
|
-
export const ConfigFilter = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
67
|
-
attributes: ConfigFilterAttributesList,
|
|
68
|
-
disabled: S.optional(S.Boolean),
|
|
69
|
-
})).annotate({ identifier: "ConfigFilter" });
|
|
70
|
-
export const DestinationConfigOpenTelemetryBasicAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
71
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
72
|
-
username: S.String,
|
|
73
|
-
})).annotate({
|
|
74
|
-
identifier: "DestinationConfigOpenTelemetryBasicAuth",
|
|
75
|
-
});
|
|
76
|
-
export const DestinationConfigOpenTelemetry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
77
|
-
basicAuth: S.optional(DestinationConfigOpenTelemetryBasicAuth),
|
|
78
|
-
bearerToken: S.optional(S.String),
|
|
79
|
-
uri: S.String,
|
|
80
|
-
})).annotate({
|
|
81
|
-
identifier: "DestinationConfigOpenTelemetry",
|
|
82
|
-
});
|
|
83
|
-
export const DestinationConfigS3AccessKey = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
84
|
-
id: S.String,
|
|
85
|
-
secret: S.String.pipe(T.SensitiveValue({})),
|
|
86
|
-
})).annotate({
|
|
87
|
-
identifier: "DestinationConfigS3AccessKey",
|
|
88
|
-
});
|
|
89
|
-
export const DestinationConfigS3 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
90
|
-
accessKey: S.optional(DestinationConfigS3AccessKey),
|
|
91
|
-
bucket: S.String,
|
|
92
|
-
endpoint: S.String,
|
|
93
|
-
})).annotate({ identifier: "DestinationConfigS3" });
|
|
94
|
-
export const DestinationConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
95
|
-
configType: DestinationConfigType,
|
|
96
|
-
filter: S.optional(ConfigFilter),
|
|
97
|
-
openTelemetry: S.optional(DestinationConfigOpenTelemetry),
|
|
98
|
-
s3: S.optional(DestinationConfigS3),
|
|
99
|
-
})).annotate({ identifier: "DestinationConfig" });
|
|
100
|
-
export const CreateDestinationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
101
|
-
projectId: S.String.pipe(T.Label()),
|
|
102
|
-
regionId: CreateDestinationRequestRegionId.pipe(T.Label()),
|
|
103
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
104
|
-
config: DestinationConfig,
|
|
105
|
-
description: S.optional(S.String),
|
|
106
|
-
displayName: S.String,
|
|
107
|
-
}).pipe(T.Http({
|
|
108
|
-
method: "POST",
|
|
109
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations",
|
|
110
|
-
code: 200,
|
|
111
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
112
|
-
}))).annotate({ identifier: "CreateDestinationRequest" });
|
|
113
|
-
export const DestinationResponseCredentialType = S.String;
|
|
114
|
-
export const DestinationResponseStatus = S.String;
|
|
115
|
-
export const DestinationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
116
|
-
config: DestinationConfig,
|
|
117
|
-
creationTime: S.String,
|
|
118
|
-
credentialType: DestinationResponseCredentialType,
|
|
119
|
-
description: S.optional(S.String),
|
|
120
|
-
displayName: S.String,
|
|
121
|
-
id: S.String,
|
|
122
|
-
status: DestinationResponseStatus,
|
|
123
|
-
})).annotate({ identifier: "DestinationResponse" });
|
|
124
|
-
export const CreateTelemetryRouterRequestRegionId = S.String;
|
|
125
|
-
export const CreateTelemetryRouterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
126
|
-
projectId: S.String.pipe(T.Label()),
|
|
127
|
-
regionId: CreateTelemetryRouterRequestRegionId.pipe(T.Label()),
|
|
128
|
-
description: S.optional(S.String),
|
|
129
|
-
displayName: S.String,
|
|
130
|
-
filter: S.optional(ConfigFilter),
|
|
131
|
-
}).pipe(T.Http({
|
|
132
|
-
method: "POST",
|
|
133
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers",
|
|
134
|
-
code: 200,
|
|
135
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
136
|
-
}))).annotate({
|
|
137
|
-
identifier: "CreateTelemetryRouterRequest",
|
|
138
|
-
});
|
|
139
|
-
export const TelemetryRouterResponseStatus = S.String;
|
|
140
|
-
export const TelemetryRouterResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
141
|
-
creationTime: S.String,
|
|
142
|
-
description: S.optional(S.String),
|
|
143
|
-
displayName: S.String,
|
|
144
|
-
filter: S.optional(ConfigFilter),
|
|
145
|
-
id: S.String,
|
|
146
|
-
status: TelemetryRouterResponseStatus,
|
|
147
|
-
uri: S.String,
|
|
148
|
-
})).annotate({ identifier: "TelemetryRouterResponse" });
|
|
149
|
-
export const DeleteAccessTokenRequestRegionId = S.String;
|
|
150
|
-
export const DeleteAccessTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
151
|
-
projectId: S.String.pipe(T.Label()),
|
|
152
|
-
regionId: DeleteAccessTokenRequestRegionId.pipe(T.Label()),
|
|
153
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
154
|
-
accessTokenId: S.String.pipe(T.Label()),
|
|
155
|
-
}).pipe(T.Http({
|
|
156
|
-
method: "DELETE",
|
|
157
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",
|
|
158
|
-
code: 200,
|
|
159
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
160
|
-
}))).annotate({ identifier: "DeleteAccessTokenRequest" });
|
|
161
|
-
export const DeleteAccessTokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
162
|
-
identifier: "DeleteAccessTokenResponse",
|
|
163
|
-
});
|
|
164
|
-
export const DeleteDestinationRequestRegionId = S.String;
|
|
165
|
-
export const DeleteDestinationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
166
|
-
projectId: S.String.pipe(T.Label()),
|
|
167
|
-
regionId: DeleteDestinationRequestRegionId.pipe(T.Label()),
|
|
168
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
169
|
-
destinationId: S.String.pipe(T.Label()),
|
|
170
|
-
}).pipe(T.Http({
|
|
171
|
-
method: "DELETE",
|
|
172
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",
|
|
173
|
-
code: 200,
|
|
174
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
175
|
-
}))).annotate({ identifier: "DeleteDestinationRequest" });
|
|
176
|
-
export const DeleteDestinationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
177
|
-
identifier: "DeleteDestinationResponse",
|
|
178
|
-
});
|
|
179
|
-
export const DeleteTelemetryRouterRequestRegionId = S.String;
|
|
180
|
-
export const DeleteTelemetryRouterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
181
|
-
projectId: S.String.pipe(T.Label()),
|
|
182
|
-
regionId: DeleteTelemetryRouterRequestRegionId.pipe(T.Label()),
|
|
183
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
184
|
-
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
185
|
-
}).pipe(T.Http({
|
|
186
|
-
method: "DELETE",
|
|
187
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",
|
|
188
|
-
code: 200,
|
|
189
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
190
|
-
}))).annotate({
|
|
191
|
-
identifier: "DeleteTelemetryRouterRequest",
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = S.Struct;
|
|
15
|
+
const __5 = S.suspend;
|
|
16
|
+
const __6 = T.Query;
|
|
17
|
+
const __7 = S.optional;
|
|
18
|
+
const __8 = S.Number;
|
|
19
|
+
const __9 = S.Array;
|
|
20
|
+
const __10 = S.NullOr;
|
|
21
|
+
const __11 = T.SensitiveValue;
|
|
22
|
+
const __12 = S.Boolean;
|
|
23
|
+
const __13 = S.TaggedError;
|
|
24
|
+
const __14 = T.applyErrorMatchers;
|
|
25
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
26
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __8, __3, __13, __14]]);
|
|
192
27
|
});
|
|
193
|
-
export const
|
|
194
|
-
|
|
28
|
+
export const Conflict = /*@__PURE__*/ API.error(function Conflict(i) {
|
|
29
|
+
return API.newError(i, new.target, ['$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])', [__0, C.withConflictError, __8, __3, __13, __14]]);
|
|
195
30
|
});
|
|
196
|
-
export const
|
|
197
|
-
|
|
198
|
-
projectId: S.String.pipe(T.Label()),
|
|
199
|
-
regionId: GetAccessTokenRequestRegionId.pipe(T.Label()),
|
|
200
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
201
|
-
accessTokenId: S.String.pipe(T.Label()),
|
|
202
|
-
}).pipe(T.Http({
|
|
203
|
-
method: "GET",
|
|
204
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",
|
|
205
|
-
code: 200,
|
|
206
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
207
|
-
}))).annotate({ identifier: "GetAccessTokenRequest" });
|
|
208
|
-
export const GetAccessTokenResponseStatus = S.String;
|
|
209
|
-
export const GetAccessTokenResponse2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
210
|
-
creatorId: S.String,
|
|
211
|
-
description: S.optional(S.String),
|
|
212
|
-
displayName: S.String,
|
|
213
|
-
expirationTime: S.optional(S.NullOr(S.String)),
|
|
214
|
-
id: S.String,
|
|
215
|
-
status: GetAccessTokenResponseStatus,
|
|
216
|
-
})).annotate({ identifier: "GetAccessTokenResponse2" });
|
|
217
|
-
export const GetDestinationRequestRegionId = S.String;
|
|
218
|
-
export const GetDestinationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
219
|
-
projectId: S.String.pipe(T.Label()),
|
|
220
|
-
regionId: GetDestinationRequestRegionId.pipe(T.Label()),
|
|
221
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
222
|
-
destinationId: S.String.pipe(T.Label()),
|
|
223
|
-
}).pipe(T.Http({
|
|
224
|
-
method: "GET",
|
|
225
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",
|
|
226
|
-
code: 200,
|
|
227
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
228
|
-
}))).annotate({ identifier: "GetDestinationRequest" });
|
|
229
|
-
export const GetTelemetryRouterRequestRegionId = S.String;
|
|
230
|
-
export const GetTelemetryRouterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
231
|
-
projectId: S.String.pipe(T.Label()),
|
|
232
|
-
regionId: GetTelemetryRouterRequestRegionId.pipe(T.Label()),
|
|
233
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
234
|
-
}).pipe(T.Http({
|
|
235
|
-
method: "GET",
|
|
236
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",
|
|
237
|
-
code: 200,
|
|
238
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
239
|
-
}))).annotate({
|
|
240
|
-
identifier: "GetTelemetryRouterRequest",
|
|
31
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
32
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __8, __3, __13, __14]]);
|
|
241
33
|
});
|
|
242
|
-
|
|
243
|
-
export const
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
}).pipe(
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
export const
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
})).
|
|
264
|
-
|
|
265
|
-
export const
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
export const
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
293
|
-
}).pipe(T.Http({
|
|
294
|
-
method: "GET",
|
|
295
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers",
|
|
296
|
-
code: 200,
|
|
297
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
298
|
-
}))).annotate({
|
|
299
|
-
identifier: "ListTelemetryRoutersRequest",
|
|
300
|
-
});
|
|
301
|
-
export const ListTelemetryRoutersResponseTelemetryRoutersList = /*@__PURE__*/ S.Array(TelemetryRouterResponse);
|
|
302
|
-
export const ListTelemetryRoutersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
303
|
-
nextPageToken: S.optional(S.String),
|
|
304
|
-
telemetryRouters: ListTelemetryRoutersResponseTelemetryRoutersList,
|
|
305
|
-
})).annotate({
|
|
306
|
-
identifier: "ListTelemetryRoutersResponse",
|
|
307
|
-
});
|
|
308
|
-
export const UpdateAccessTokenRequestRegionId = S.String;
|
|
309
|
-
export const UpdateAccessTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
310
|
-
projectId: S.String.pipe(T.Label()),
|
|
311
|
-
regionId: UpdateAccessTokenRequestRegionId.pipe(T.Label()),
|
|
312
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
313
|
-
accessTokenId: S.String.pipe(T.Label()),
|
|
314
|
-
description: S.optional(S.NullOr(S.String)),
|
|
315
|
-
displayName: S.optional(S.NullOr(S.String)),
|
|
316
|
-
}).pipe(T.Http({
|
|
317
|
-
method: "PUT",
|
|
318
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",
|
|
319
|
-
code: 200,
|
|
320
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
321
|
-
}))).annotate({ identifier: "UpdateAccessTokenRequest" });
|
|
322
|
-
export const UpdateAccessTokenResponseStatus = S.String;
|
|
323
|
-
export const UpdateAccessTokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
324
|
-
creatorId: S.String,
|
|
325
|
-
description: S.optional(S.String),
|
|
326
|
-
displayName: S.String,
|
|
327
|
-
expirationTime: S.optional(S.NullOr(S.String)),
|
|
328
|
-
id: S.String,
|
|
329
|
-
status: UpdateAccessTokenResponseStatus,
|
|
330
|
-
})).annotate({
|
|
331
|
-
identifier: "UpdateAccessTokenResponse",
|
|
332
|
-
});
|
|
333
|
-
export const UpdateDestinationRequestRegionId = S.String;
|
|
334
|
-
export const UpdateDestinationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
335
|
-
projectId: S.String.pipe(T.Label()),
|
|
336
|
-
regionId: UpdateDestinationRequestRegionId.pipe(T.Label()),
|
|
337
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
338
|
-
destinationId: S.String.pipe(T.Label()),
|
|
339
|
-
config: S.optional(DestinationConfig),
|
|
340
|
-
description: S.optional(S.String),
|
|
341
|
-
displayName: S.optional(S.String),
|
|
342
|
-
}).pipe(T.Http({
|
|
343
|
-
method: "PUT",
|
|
344
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",
|
|
345
|
-
code: 200,
|
|
346
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
347
|
-
}))).annotate({ identifier: "UpdateDestinationRequest" });
|
|
348
|
-
export const UpdateTelemetryRouterRequestRegionId = S.String;
|
|
349
|
-
export const UpdateTelemetryRouterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
350
|
-
projectId: S.String.pipe(T.Label()),
|
|
351
|
-
regionId: UpdateTelemetryRouterRequestRegionId.pipe(T.Label()),
|
|
352
|
-
telemetryRouterId: S.String.pipe(T.Label()),
|
|
353
|
-
description: S.optional(S.String),
|
|
354
|
-
displayName: S.optional(S.String),
|
|
355
|
-
filter: S.optional(ConfigFilter),
|
|
356
|
-
}).pipe(T.Http({
|
|
357
|
-
method: "PUT",
|
|
358
|
-
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",
|
|
359
|
-
code: 200,
|
|
360
|
-
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
361
|
-
}))).annotate({
|
|
362
|
-
identifier: "UpdateTelemetryRouterRequest",
|
|
363
|
-
});
|
|
364
|
-
/** Create a new access token for the given Telemetry Router. */
|
|
365
|
-
export const createAccessToken = /*@__PURE__*/ API.make(() => ({
|
|
366
|
-
input: CreateAccessTokenRequest,
|
|
367
|
-
output: CreateAccessTokenResponse,
|
|
368
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
369
|
-
protocol: StackitProtocol,
|
|
370
|
-
retry: Retry.Retry,
|
|
371
|
-
}));
|
|
372
|
-
/** Creates a new Destination within the project. */
|
|
373
|
-
export const createDestination = /*@__PURE__*/ API.make(() => ({
|
|
374
|
-
input: CreateDestinationRequest,
|
|
375
|
-
output: DestinationResponse,
|
|
376
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
377
|
-
protocol: StackitProtocol,
|
|
378
|
-
retry: Retry.Retry,
|
|
379
|
-
}));
|
|
380
|
-
/** Creates the new Telemetry Router within the project. */
|
|
381
|
-
export const createTelemetryRouter = /*@__PURE__*/ API.make(() => ({
|
|
382
|
-
input: CreateTelemetryRouterRequest,
|
|
383
|
-
output: TelemetryRouterResponse,
|
|
384
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
385
|
-
protocol: StackitProtocol,
|
|
386
|
-
retry: Retry.Retry,
|
|
387
|
-
}));
|
|
388
|
-
/** Delete an access token for the given Telemetry Router by its ID. */
|
|
389
|
-
export const deleteAccessToken = /*@__PURE__*/ API.make(() => ({
|
|
390
|
-
input: DeleteAccessTokenRequest,
|
|
391
|
-
output: DeleteAccessTokenResponse,
|
|
392
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
393
|
-
protocol: StackitProtocol,
|
|
394
|
-
retry: Retry.Retry,
|
|
395
|
-
}));
|
|
396
|
-
/** Deletes the given Destination. */
|
|
397
|
-
export const deleteDestination = /*@__PURE__*/ API.make(() => ({
|
|
398
|
-
input: DeleteDestinationRequest,
|
|
399
|
-
output: DeleteDestinationResponse,
|
|
400
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
401
|
-
protocol: StackitProtocol,
|
|
402
|
-
retry: Retry.Retry,
|
|
403
|
-
}));
|
|
404
|
-
/** Deletes the given Telemetry Router. */
|
|
405
|
-
export const deleteTelemetryRouter = /*@__PURE__*/ API.make(() => ({
|
|
406
|
-
input: DeleteTelemetryRouterRequest,
|
|
407
|
-
output: DeleteTelemetryRouterResponse,
|
|
408
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
409
|
-
protocol: StackitProtocol,
|
|
410
|
-
retry: Retry.Retry,
|
|
411
|
-
}));
|
|
412
|
-
/** Get an access token for the given Telemetry Router by its ID. */
|
|
413
|
-
export const getAccessToken = /*@__PURE__*/ API.make(() => ({
|
|
414
|
-
input: GetAccessTokenRequest,
|
|
415
|
-
output: GetAccessTokenResponse2,
|
|
416
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
417
|
-
protocol: StackitProtocol,
|
|
418
|
-
retry: Retry.Retry,
|
|
419
|
-
}));
|
|
420
|
-
/** Returns the details for the given destination. */
|
|
421
|
-
export const getDestination = /*@__PURE__*/ API.make(() => ({
|
|
422
|
-
input: GetDestinationRequest,
|
|
423
|
-
output: DestinationResponse,
|
|
424
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
425
|
-
protocol: StackitProtocol,
|
|
426
|
-
retry: Retry.Retry,
|
|
427
|
-
}));
|
|
428
|
-
/** Returns the details for the given Telemetry Router. */
|
|
429
|
-
export const getTelemetryRouter = /*@__PURE__*/ API.make(() => ({
|
|
430
|
-
input: GetTelemetryRouterRequest,
|
|
431
|
-
output: TelemetryRouterResponse,
|
|
432
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
433
|
-
protocol: StackitProtocol,
|
|
434
|
-
retry: Retry.Retry,
|
|
435
|
-
}));
|
|
436
|
-
/** Get all access tokens for a telemetry router. */
|
|
437
|
-
export const listAccessTokens = /*@__PURE__*/ API.make(() => ({
|
|
438
|
-
input: ListAccessTokensRequest,
|
|
439
|
-
output: ListAccessTokensResponse,
|
|
440
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
441
|
-
protocol: StackitProtocol,
|
|
442
|
-
retry: Retry.Retry,
|
|
443
|
-
}));
|
|
444
|
-
/** Returns a list of all destinations of a specific Telemetry Router within a project. */
|
|
445
|
-
export const listDestinations = /*@__PURE__*/ API.make(() => ({
|
|
446
|
-
input: ListDestinationsRequest,
|
|
447
|
-
output: ListDestinationsResponse,
|
|
448
|
-
errors: [BadRequest, UnknownStackitError],
|
|
449
|
-
protocol: StackitProtocol,
|
|
450
|
-
retry: Retry.Retry,
|
|
451
|
-
}));
|
|
452
|
-
/** Returns a list of all Telemetry Routers within the project. */
|
|
453
|
-
export const listTelemetryRouters = /*@__PURE__*/ API.make(() => ({
|
|
454
|
-
input: ListTelemetryRoutersRequest,
|
|
455
|
-
output: ListTelemetryRoutersResponse,
|
|
456
|
-
errors: [BadRequest, UnknownStackitError],
|
|
457
|
-
protocol: StackitProtocol,
|
|
458
|
-
retry: Retry.Retry,
|
|
459
|
-
}));
|
|
460
|
-
/** Update an existing access token for the given Telemetry Router by its ID. */
|
|
461
|
-
export const updateAccessToken = /*@__PURE__*/ API.make(() => ({
|
|
462
|
-
input: UpdateAccessTokenRequest,
|
|
463
|
-
output: UpdateAccessTokenResponse,
|
|
464
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
465
|
-
protocol: StackitProtocol,
|
|
466
|
-
retry: Retry.Retry,
|
|
467
|
-
}));
|
|
468
|
-
/** Updates the given destination. */
|
|
469
|
-
export const updateDestination = /*@__PURE__*/ API.make(() => ({
|
|
470
|
-
input: UpdateDestinationRequest,
|
|
471
|
-
output: DestinationResponse,
|
|
472
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
473
|
-
protocol: StackitProtocol,
|
|
474
|
-
retry: Retry.Retry,
|
|
475
|
-
}));
|
|
476
|
-
/** Updates the given Telemetry Router. */
|
|
477
|
-
export const updateTelemetryRouter = /*@__PURE__*/ API.make(() => ({
|
|
478
|
-
input: UpdateTelemetryRouterRequest,
|
|
479
|
-
output: TelemetryRouterResponse,
|
|
480
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
481
|
-
protocol: StackitProtocol,
|
|
482
|
-
retry: Retry.Retry,
|
|
483
|
-
}));
|
|
484
|
-
//# sourceMappingURL=telemetry_router.js.map
|
|
34
|
+
|
|
35
|
+
export const createAccessToken = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$10,$11,$12,$13],protocol:$14,retry:$15};$8(>3)@"CreateAccessTokenRequest";$8(>4)@"CreateAccessTokenResponse";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),description:$4($3),displayName:$3,ttl:$4($6($5))}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}));$7({creatorId:$3,description:$4($3),displayName:$3,expirationTime:$4($6($3)),id:$3,status:$3,accessToken:$3.pipe($9({}))})', [__0, __1, __2, __3, __7, __8, __10, __4, __5, __11, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createAccessToken, i));
|
|
36
|
+
|
|
37
|
+
export const createDestination = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:5,errors:[$8,$9,$10],protocol:$11,retry:$12};$7(>2)@"CreateDestinationRequest";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),config:#4:4,description:$5($3),displayName:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __d0, __7, __4, __5, BadRequest, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createDestination, i));
|
|
38
|
+
|
|
39
|
+
export const createTelemetryRouter = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateTelemetryRouterRequest";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),description:$4($3),displayName:$3,filter:$4(#5:3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __d1, __4, __5, __d2, BadRequest, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createTelemetryRouter, i));
|
|
40
|
+
|
|
41
|
+
export const deleteAccessToken = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteAccessTokenRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),accessTokenId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d3, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteAccessToken, i));
|
|
42
|
+
|
|
43
|
+
export const deleteDestination = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteDestinationRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),destinationId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d3, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteDestination, i));
|
|
44
|
+
|
|
45
|
+
export const deleteTelemetryRouter = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12,$13],protocol:$14,retry:$15};$8(>2)@"DeleteTelemetryRouterRequest";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),force:$6($5.pipe($4()))}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __6, __12, __7, __4, __5, __d3, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteTelemetryRouter, i));
|
|
46
|
+
|
|
47
|
+
export const getAccessToken = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetAccessTokenRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),accessTokenId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d4, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getAccessToken, i));
|
|
48
|
+
|
|
49
|
+
export const getDestination = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:5,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetDestinationRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),destinationId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d0, BadRequest, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getDestination, i));
|
|
50
|
+
|
|
51
|
+
export const getTelemetryRouter = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetTelemetryRouterRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d2, BadRequest, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getTelemetryRouter, i));
|
|
52
|
+
|
|
53
|
+
export const listAccessTokens = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$8(>4)@"ListAccessTokensRequest";$10(#9:0);$8(>5)@"ListAccessTokensResponse";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),pageToken:$5($3.pipe($4())),pageSize:$5($6.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}));$7({accessTokens:#2,nextPageToken:$5($3)})', [__0, __1, __2, __3, __6, __7, __8, __4, __5, __d4, __9, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listAccessTokens, i));
|
|
54
|
+
|
|
55
|
+
export const listDestinations = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11,$12],protocol:$13,retry:$14};$8(>4)@"ListDestinationsRequest";$10(#9:5);$8(>5)@"ListDestinationsResponse";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),pageToken:$5($3.pipe($4())),pageSize:$5($6.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}));$7({destinations:#2,nextPageToken:$5($3)})', [__0, __1, __2, __3, __6, __7, __8, __4, __5, __d0, __9, BadRequest, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listDestinations, i));
|
|
56
|
+
|
|
57
|
+
export const listTelemetryRouters = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11,$12],protocol:$13,retry:$14};$8(>4)@"ListTelemetryRoutersRequest";$10(#9:0);$8(>5)@"ListTelemetryRoutersResponse";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),pageToken:$5($3.pipe($4())),pageSize:$5($6.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}));$7({nextPageToken:$5($3),telemetryRouters:#2})', [__0, __1, __2, __3, __6, __7, __8, __4, __5, __d2, __9, BadRequest, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listTelemetryRouters, i));
|
|
58
|
+
|
|
59
|
+
export const updateAccessToken = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateAccessTokenRequest";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),accessTokenId:$3.pipe($2()),description:$5($4($3)),displayName:$5($4($3))}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __10, __7, __4, __5, __d4, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateAccessToken, i));
|
|
60
|
+
|
|
61
|
+
export const updateDestination = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:5,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"UpdateDestinationRequest";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),destinationId:$3.pipe($2()),config:$5(#4:4),description:$5($3),displayName:$5($3)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __d0, __7, __4, __5, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateDestination, i));
|
|
62
|
+
|
|
63
|
+
export const updateTelemetryRouter = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateTelemetryRouterRequest";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),telemetryRouterId:$3.pipe($2()),description:$4($3),displayName:$4($3),filter:$4(#5:3)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",code:200,baseUrl:"https://telemetry-router.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __d1, __4, __5, __d2, BadRequest, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateTelemetryRouter, i));
|
|
64
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
65
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
// Shared schema data (see `op` in core/api).
|
|
69
|
+
function __d0() {
|
|
70
|
+
return ['$4(>6)@"DestinationConfigOpenTelemetryBasicAuth";$4(>7)@"DestinationConfigOpenTelemetry";$4(>8)@"DestinationConfigS3AccessKey";$4(>9)@"DestinationConfigS3";$4(>10)@"DestinationConfig";$4(>11)@"DestinationResponse";$3({password:$2.pipe($1({})),username:$2});$3({basicAuth:$5(#0),bearerToken:$5($2),uri:$2});$3({id:$2,secret:$2.pipe($1({}))});$3({accessKey:$5(#2),bucket:$2,endpoint:$2});$3({configType:$2,filter:$5(#6:3),openTelemetry:$5(#1),s3:$5(#3)});$3({config:#4,creationTime:$2,credentialType:$2,description:$5($2),displayName:$2,id:$2,status:$2})', [__0, __11, __3, __4, __5, __7, __d1]];
|
|
71
|
+
}
|
|
72
|
+
function __d1() {
|
|
73
|
+
return ['$2($1);$4(>4)@"ConfigFilterAttributes";$2(#1);$4(>5)@"ConfigFilter";$3({key:$1,level:$1,matcher:$1,values:#0});$3({attributes:#2,disabled:$6($5)})', [__0, __3, __9, __4, __5, __12, __7]];
|
|
74
|
+
}
|
|
75
|
+
function __d2() {
|
|
76
|
+
return ['$5(>1)@"TelemetryRouterResponse";$4({creationTime:$1,description:$2($1),displayName:$1,filter:$2(#3:3),id:$1,status:$1,uri:$1})', [__0, __3, __7, __d1, __4, __5]];
|
|
77
|
+
}
|
|
78
|
+
function __d3() {
|
|
79
|
+
return ['$2(>1)@"DeleteAccessTokenResponse";$1({})', [__0, __4, __5]];
|
|
80
|
+
}
|
|
81
|
+
function __d4() {
|
|
82
|
+
return ['$5(>1)@"GetAccessTokenResponse2";$4({creatorId:$1,description:$2($1),displayName:$1,expirationTime:$2($3($1)),id:$1,status:$1})', [__0, __3, __7, __10, __4, __5]];
|
|
83
|
+
}
|