@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
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 +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
package/src/services/vpn.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
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";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -51,28 +47,26 @@ export class NotFound
|
|
|
51
47
|
|
|
52
48
|
/** The region in which the resource is located. */
|
|
53
49
|
export type CreateGatewayRequestRegion = "eu01" | "eu02";
|
|
54
|
-
export const CreateGatewayRequestRegion =
|
|
50
|
+
export const CreateGatewayRequestRegion = S.String;
|
|
55
51
|
|
|
56
52
|
export interface CreateGatewayRequestAvailabilityZones {
|
|
57
53
|
tunnel1: string;
|
|
58
54
|
tunnel2: string;
|
|
59
55
|
}
|
|
60
|
-
export const CreateGatewayRequestAvailabilityZones = /*@__PURE__*/ S.suspend(
|
|
61
|
-
(
|
|
62
|
-
S.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}),
|
|
56
|
+
export const CreateGatewayRequestAvailabilityZones = /*@__PURE__*/ S.suspend(() =>
|
|
57
|
+
S.Struct({
|
|
58
|
+
tunnel1: S.String,
|
|
59
|
+
tunnel2: S.String,
|
|
60
|
+
}),
|
|
66
61
|
).annotate({
|
|
67
62
|
identifier: "CreateGatewayRequestAvailabilityZones",
|
|
68
63
|
}) as any as S.Schema<CreateGatewayRequestAvailabilityZones>;
|
|
69
64
|
|
|
70
65
|
/** A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised. */
|
|
71
66
|
export type BGPGatewayConfigOverrideAdvertisedRoutesList = Array<string>;
|
|
72
|
-
export const BGPGatewayConfigOverrideAdvertisedRoutesList =
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
) as any as S.Schema<BGPGatewayConfigOverrideAdvertisedRoutesList>;
|
|
67
|
+
export const BGPGatewayConfigOverrideAdvertisedRoutesList = /*@__PURE__*/ S.Array(
|
|
68
|
+
S.String,
|
|
69
|
+
) as any as S.Schema<BGPGatewayConfigOverrideAdvertisedRoutesList>;
|
|
76
70
|
|
|
77
71
|
/** BGP configuration effects all connections. (only for routingMode=BGP_ROUTE_BASED) */
|
|
78
72
|
export interface BGPGatewayConfig {
|
|
@@ -83,20 +77,13 @@ export interface BGPGatewayConfig {
|
|
|
83
77
|
export const BGPGatewayConfig = /*@__PURE__*/ S.suspend(() =>
|
|
84
78
|
S.Struct({
|
|
85
79
|
localAsn: S.Number,
|
|
86
|
-
overrideAdvertisedRoutes: S.optional(
|
|
87
|
-
BGPGatewayConfigOverrideAdvertisedRoutesList,
|
|
88
|
-
),
|
|
80
|
+
overrideAdvertisedRoutes: S.optional(BGPGatewayConfigOverrideAdvertisedRoutesList),
|
|
89
81
|
}),
|
|
90
|
-
).annotate({
|
|
91
|
-
identifier: "BGPGatewayConfig",
|
|
92
|
-
}) as any as S.Schema<BGPGatewayConfig>;
|
|
82
|
+
).annotate({ identifier: "BGPGatewayConfig" }) as any as S.Schema<BGPGatewayConfig>;
|
|
93
83
|
|
|
94
84
|
/** Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty. */
|
|
95
85
|
export type Label = { [key: string]: string | undefined };
|
|
96
|
-
export const Label = /*@__PURE__*/ S.Record(
|
|
97
|
-
S.String,
|
|
98
|
-
S.String,
|
|
99
|
-
) as any as S.Schema<Label>;
|
|
86
|
+
export const Label = /*@__PURE__*/ S.Record(S.String, S.String) as any as S.Schema<Label>;
|
|
100
87
|
|
|
101
88
|
export interface NetworkConfig {
|
|
102
89
|
/** The IPv4 network prefix (CIDR notation) allocated for the VPN gateway. Must have a prefix length of /28 or larger. Once the gateway is created, is not possible to change this attribute. */
|
|
@@ -113,7 +100,7 @@ export const NetworkConfig = /*@__PURE__*/ S.suspend(() =>
|
|
|
113
100
|
|
|
114
101
|
/** Once the gateway is created, it is not possible to change this attribute. */
|
|
115
102
|
export type RoutingType = "POLICY_BASED" | "ROUTE_BASED" | "BGP_ROUTE_BASED";
|
|
116
|
-
export const RoutingType =
|
|
103
|
+
export const RoutingType = S.String;
|
|
117
104
|
|
|
118
105
|
export interface CreateGatewayRequest {
|
|
119
106
|
projectId: string;
|
|
@@ -147,18 +134,14 @@ export const CreateGatewayRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
147
134
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
148
135
|
}),
|
|
149
136
|
),
|
|
150
|
-
).annotate({
|
|
151
|
-
identifier: "CreateGatewayRequest",
|
|
152
|
-
}) as any as S.Schema<CreateGatewayRequest>;
|
|
137
|
+
).annotate({ identifier: "CreateGatewayRequest" }) as any as S.Schema<CreateGatewayRequest>;
|
|
153
138
|
|
|
154
|
-
export type CreateGatewayResponseAvailabilityZones =
|
|
155
|
-
|
|
156
|
-
export const CreateGatewayResponseAvailabilityZones =
|
|
157
|
-
CreateGatewayRequestAvailabilityZones;
|
|
139
|
+
export type CreateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
140
|
+
export const CreateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
158
141
|
|
|
159
142
|
/** The current lifecycle state of the gateway infrastructure. - `PENDING`: Provisioning or update is in progress. - `READY`: The gateway is fully operational. - `ERROR`: A failure occurred. - `DELETING`: The resource is being removed. */
|
|
160
143
|
export type GatewayStatus = "PENDING" | "READY" | "ERROR" | "DELETING";
|
|
161
|
-
export const GatewayStatus =
|
|
144
|
+
export const GatewayStatus = S.String;
|
|
162
145
|
|
|
163
146
|
export interface CreateGatewayResponse {
|
|
164
147
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
@@ -186,13 +169,11 @@ export const CreateGatewayResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
186
169
|
id: S.optional(S.String),
|
|
187
170
|
state: S.optional(GatewayStatus),
|
|
188
171
|
}),
|
|
189
|
-
).annotate({
|
|
190
|
-
identifier: "CreateGatewayResponse",
|
|
191
|
-
}) as any as S.Schema<CreateGatewayResponse>;
|
|
172
|
+
).annotate({ identifier: "CreateGatewayResponse" }) as any as S.Schema<CreateGatewayResponse>;
|
|
192
173
|
|
|
193
174
|
/** The region in which the resource is located. */
|
|
194
175
|
export type CreateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
195
|
-
export const CreateGatewayBGPFilterRequestRegion =
|
|
176
|
+
export const CreateGatewayBGPFilterRequestRegion = S.String;
|
|
196
177
|
|
|
197
178
|
export interface CreateGatewayBGPFilterRequest {
|
|
198
179
|
projectId: string;
|
|
@@ -235,34 +216,29 @@ export const BGPFilter = /*@__PURE__*/ S.suspend(() =>
|
|
|
235
216
|
|
|
236
217
|
/** The region in which the resource is located. */
|
|
237
218
|
export type CreateGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
238
|
-
export const CreateGatewayBGPFilterRuleRequestRegion =
|
|
219
|
+
export const CreateGatewayBGPFilterRuleRequestRegion = S.String;
|
|
239
220
|
|
|
240
221
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
241
222
|
export type CreateGatewayBGPFilterRuleRequestAction = "PERMIT" | "DENY";
|
|
242
|
-
export const CreateGatewayBGPFilterRuleRequestAction =
|
|
223
|
+
export const CreateGatewayBGPFilterRuleRequestAction = S.String;
|
|
243
224
|
|
|
244
225
|
/** Matches if the AS-PATH contains any one of the listed ASNs (logical OR within the list). Treated as an unordered set; ordering is not preserved by the storage layer. When combined with firstASN, both conditions must hold (logical AND, consistent with the rest of the match block). If firstASN is also listed here, its presence as the first hop is sufficient to satisfy this list; no duplicate hop is required. */
|
|
245
|
-
export type CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList =
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
S.Number,
|
|
250
|
-
) as any as S.Schema<CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList>;
|
|
226
|
+
export type CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = Array<number>;
|
|
227
|
+
export const CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = /*@__PURE__*/ S.Array(
|
|
228
|
+
S.Number,
|
|
229
|
+
) as any as S.Schema<CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList>;
|
|
251
230
|
|
|
252
231
|
/** Matches if the route carries any one of these BGP standard communities (logical OR within the list). Format is 'asn:value' per RFC 1997 (both halves must fit in a uint32, i.e. 0..4294967295). Extended, large and well-known communities are not supported. */
|
|
253
|
-
export type CreateGatewayBGPFilterRuleRequestMatchCommunitiesList =
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
S.String,
|
|
258
|
-
) as any as S.Schema<CreateGatewayBGPFilterRuleRequestMatchCommunitiesList>;
|
|
232
|
+
export type CreateGatewayBGPFilterRuleRequestMatchCommunitiesList = Array<string>;
|
|
233
|
+
export const CreateGatewayBGPFilterRuleRequestMatchCommunitiesList = /*@__PURE__*/ S.Array(
|
|
234
|
+
S.String,
|
|
235
|
+
) as any as S.Schema<CreateGatewayBGPFilterRuleRequestMatchCommunitiesList>;
|
|
259
236
|
|
|
260
237
|
/** List of IPv4 networks to match. A route's prefix matches if it equals one of these (subject to minPrefixLength/maxPrefixLength refinement). If omitted, an implicit 0.0.0.0/0 base is used when minPrefixLength or maxPrefixLength is set; if all three are omitted, prefix matching is not performed at all. Each entry must parse as a valid IPv4 CIDR; the network portion is normalised (10.0.0.5/24 → 10.0.0.0/24). */
|
|
261
238
|
export type CreateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
262
|
-
export const CreateGatewayBGPFilterRuleRequestMatchPrefixesList =
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
) as any as S.Schema<CreateGatewayBGPFilterRuleRequestMatchPrefixesList>;
|
|
239
|
+
export const CreateGatewayBGPFilterRuleRequestMatchPrefixesList = /*@__PURE__*/ S.Array(
|
|
240
|
+
S.String,
|
|
241
|
+
) as any as S.Schema<CreateGatewayBGPFilterRuleRequestMatchPrefixesList>;
|
|
266
242
|
|
|
267
243
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
268
244
|
export interface CreateGatewayBGPFilterRuleRequestMatch {
|
|
@@ -281,21 +257,16 @@ export interface CreateGatewayBGPFilterRuleRequestMatch {
|
|
|
281
257
|
/** List of IPv4 networks to match. A route's prefix matches if it equals one of these (subject to minPrefixLength/maxPrefixLength refinement). If omitted, an implicit 0.0.0.0/0 base is used when minPrefixLength or maxPrefixLength is set; if all three are omitted, prefix matching is not performed at all. Each entry must parse as a valid IPv4 CIDR; the network portion is normalised (10.0.0.5/24 → 10.0.0.0/24). */
|
|
282
258
|
prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
283
259
|
}
|
|
284
|
-
export const CreateGatewayBGPFilterRuleRequestMatch = /*@__PURE__*/ S.suspend(
|
|
285
|
-
(
|
|
286
|
-
S.
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
maxPrefixLength: S.optional(S.Number),
|
|
295
|
-
minPrefixLength: S.optional(S.Number),
|
|
296
|
-
peer: S.optional(S.String),
|
|
297
|
-
prefixes: S.optional(CreateGatewayBGPFilterRuleRequestMatchPrefixesList),
|
|
298
|
-
}),
|
|
260
|
+
export const CreateGatewayBGPFilterRuleRequestMatch = /*@__PURE__*/ S.suspend(() =>
|
|
261
|
+
S.Struct({
|
|
262
|
+
asPathContainsAny: S.optional(CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList),
|
|
263
|
+
communities: S.optional(CreateGatewayBGPFilterRuleRequestMatchCommunitiesList),
|
|
264
|
+
firstASN: S.optional(S.Number),
|
|
265
|
+
maxPrefixLength: S.optional(S.Number),
|
|
266
|
+
minPrefixLength: S.optional(S.Number),
|
|
267
|
+
peer: S.optional(S.String),
|
|
268
|
+
prefixes: S.optional(CreateGatewayBGPFilterRuleRequestMatchPrefixesList),
|
|
269
|
+
}),
|
|
299
270
|
).annotate({
|
|
300
271
|
identifier: "CreateGatewayBGPFilterRuleRequestMatch",
|
|
301
272
|
}) as any as S.Schema<CreateGatewayBGPFilterRuleRequestMatch>;
|
|
@@ -305,11 +276,10 @@ export interface CreateGatewayBGPFilterRuleRequestSet {
|
|
|
305
276
|
/** BGP LOCAL_PREF to set on the route. Higher values are preferred during best-path selection. Default BGP LOCAL_PREF is 100; any value here overrides. */
|
|
306
277
|
localPreference?: number;
|
|
307
278
|
}
|
|
308
|
-
export const CreateGatewayBGPFilterRuleRequestSet = /*@__PURE__*/ S.suspend(
|
|
309
|
-
(
|
|
310
|
-
S.
|
|
311
|
-
|
|
312
|
-
}),
|
|
279
|
+
export const CreateGatewayBGPFilterRuleRequestSet = /*@__PURE__*/ S.suspend(() =>
|
|
280
|
+
S.Struct({
|
|
281
|
+
localPreference: S.optional(S.Number),
|
|
282
|
+
}),
|
|
313
283
|
).annotate({
|
|
314
284
|
identifier: "CreateGatewayBGPFilterRuleRequestSet",
|
|
315
285
|
}) as any as S.Schema<CreateGatewayBGPFilterRuleRequestSet>;
|
|
@@ -352,7 +322,7 @@ export const CreateGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
352
322
|
|
|
353
323
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
354
324
|
export type BGPFilterRuleAction = "PERMIT" | "DENY";
|
|
355
|
-
export const BGPFilterRuleAction =
|
|
325
|
+
export const BGPFilterRuleAction = S.String;
|
|
356
326
|
|
|
357
327
|
/** Matches if the AS-PATH contains any one of the listed ASNs (logical OR within the list). Treated as an unordered set; ordering is not preserved by the storage layer. When combined with firstASN, both conditions must hold (logical AND, consistent with the rest of the match block). If firstASN is also listed here, its presence as the first hop is sufficient to satisfy this list; no duplicate hop is required. */
|
|
358
328
|
export type BGPFilterRuleMatchAsPathContainsAnyList = Array<number>;
|
|
@@ -399,9 +369,7 @@ export const BGPFilterRuleMatch = /*@__PURE__*/ S.suspend(() =>
|
|
|
399
369
|
peer: S.optional(S.String),
|
|
400
370
|
prefixes: S.optional(BGPFilterRuleMatchPrefixesList),
|
|
401
371
|
}),
|
|
402
|
-
).annotate({
|
|
403
|
-
identifier: "BGPFilterRuleMatch",
|
|
404
|
-
}) as any as S.Schema<BGPFilterRuleMatch>;
|
|
372
|
+
).annotate({ identifier: "BGPFilterRuleMatch" }) as any as S.Schema<BGPFilterRuleMatch>;
|
|
405
373
|
|
|
406
374
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
407
375
|
export type BGPFilterRuleSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
@@ -432,28 +400,25 @@ export const BGPFilterRule = /*@__PURE__*/ S.suspend(() =>
|
|
|
432
400
|
|
|
433
401
|
/** The region in which the resource is located. */
|
|
434
402
|
export type CreateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
435
|
-
export const CreateGatewayConnectionRequestRegion =
|
|
403
|
+
export const CreateGatewayConnectionRequestRegion = S.String;
|
|
436
404
|
|
|
437
405
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
438
406
|
export type CreateGatewayConnectionRequestLocalSubnetsList = Array<string>;
|
|
439
|
-
export const CreateGatewayConnectionRequestLocalSubnetsList =
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
) as any as S.Schema<CreateGatewayConnectionRequestLocalSubnetsList>;
|
|
407
|
+
export const CreateGatewayConnectionRequestLocalSubnetsList = /*@__PURE__*/ S.Array(
|
|
408
|
+
S.String,
|
|
409
|
+
) as any as S.Schema<CreateGatewayConnectionRequestLocalSubnetsList>;
|
|
443
410
|
|
|
444
411
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
445
412
|
export type CreateGatewayConnectionRequestRemoteSubnetsList = Array<string>;
|
|
446
|
-
export const CreateGatewayConnectionRequestRemoteSubnetsList =
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
) as any as S.Schema<CreateGatewayConnectionRequestRemoteSubnetsList>;
|
|
413
|
+
export const CreateGatewayConnectionRequestRemoteSubnetsList = /*@__PURE__*/ S.Array(
|
|
414
|
+
S.String,
|
|
415
|
+
) as any as S.Schema<CreateGatewayConnectionRequestRemoteSubnetsList>;
|
|
450
416
|
|
|
451
417
|
/** Optional. Use this for route-based VPN. */
|
|
452
418
|
export type CreateGatewayConnectionRequestStaticRoutesList = Array<string>;
|
|
453
|
-
export const CreateGatewayConnectionRequestStaticRoutesList =
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
) as any as S.Schema<CreateGatewayConnectionRequestStaticRoutesList>;
|
|
419
|
+
export const CreateGatewayConnectionRequestStaticRoutesList = /*@__PURE__*/ S.Array(
|
|
420
|
+
S.String,
|
|
421
|
+
) as any as S.Schema<CreateGatewayConnectionRequestStaticRoutesList>;
|
|
457
422
|
|
|
458
423
|
export interface BGPTunnelConfig {
|
|
459
424
|
/** UUID of the BGPFilter to apply to incoming routes from this tunnel's BGP neighbor. The filter must exist in the same gateway. Multiple tunnels may reference the same BGPFilter; in that case the rules' 'match.peer' field can be used to scope behavior per neighbor. Outbound filtering is not yet supported; use gateway.bgp.overrideAdvertisedRoutes to control what is advertised. */
|
|
@@ -465,9 +430,7 @@ export const BGPTunnelConfig = /*@__PURE__*/ S.suspend(() =>
|
|
|
465
430
|
inboundFilterId: S.optional(S.NullOr(S.String)),
|
|
466
431
|
remoteAsn: S.Number,
|
|
467
432
|
}),
|
|
468
|
-
).annotate({
|
|
469
|
-
identifier: "BGPTunnelConfig",
|
|
470
|
-
}) as any as S.Schema<BGPTunnelConfig>;
|
|
433
|
+
).annotate({ identifier: "BGPTunnelConfig" }) as any as S.Schema<BGPTunnelConfig>;
|
|
471
434
|
|
|
472
435
|
/** The peering object defines the point-to-point IP configuration for the Tunnel Interface. These addresses serve as next-hop identifiers and are used for BGP peering sessions and can be used in Static Route-Based connectivity. */
|
|
473
436
|
export interface PeeringConfig {
|
|
@@ -487,7 +450,7 @@ export type TunnelConfigurationPhase1DhGroupsItem =
|
|
|
487
450
|
| "ecp256"
|
|
488
451
|
| "ecp384"
|
|
489
452
|
| "modp2048s256";
|
|
490
|
-
export const TunnelConfigurationPhase1DhGroupsItem =
|
|
453
|
+
export const TunnelConfigurationPhase1DhGroupsItem = S.String;
|
|
491
454
|
|
|
492
455
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
493
456
|
export type TunnelConfigurationPhase1DhGroupsList = Array<
|
|
@@ -501,33 +464,29 @@ export type TunnelConfigurationPhase1EncryptionAlgorithmsItem =
|
|
|
501
464
|
| "aes256"
|
|
502
465
|
| "aes128gcm16"
|
|
503
466
|
| "aes256gcm16";
|
|
504
|
-
export const TunnelConfigurationPhase1EncryptionAlgorithmsItem =
|
|
505
|
-
/*@__PURE__*/ S.String;
|
|
467
|
+
export const TunnelConfigurationPhase1EncryptionAlgorithmsItem = S.String;
|
|
506
468
|
|
|
507
469
|
export type TunnelConfigurationPhase1EncryptionAlgorithmsList = Array<
|
|
508
470
|
TunnelConfigurationPhase1EncryptionAlgorithmsItem | (string & {})
|
|
509
471
|
>;
|
|
510
|
-
export const TunnelConfigurationPhase1EncryptionAlgorithmsList =
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
) as any as S.Schema<TunnelConfigurationPhase1EncryptionAlgorithmsList>;
|
|
472
|
+
export const TunnelConfigurationPhase1EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
473
|
+
TunnelConfigurationPhase1EncryptionAlgorithmsItem,
|
|
474
|
+
) as any as S.Schema<TunnelConfigurationPhase1EncryptionAlgorithmsList>;
|
|
514
475
|
|
|
515
476
|
export type TunnelConfigurationPhase1IntegrityAlgorithmsItem =
|
|
516
477
|
| "sha1"
|
|
517
478
|
| "sha2_256"
|
|
518
479
|
| "sha2_384"
|
|
519
480
|
| "sha2_512";
|
|
520
|
-
export const TunnelConfigurationPhase1IntegrityAlgorithmsItem =
|
|
521
|
-
/*@__PURE__*/ S.String;
|
|
481
|
+
export const TunnelConfigurationPhase1IntegrityAlgorithmsItem = S.String;
|
|
522
482
|
|
|
523
483
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
524
484
|
export type TunnelConfigurationPhase1IntegrityAlgorithmsList = Array<
|
|
525
485
|
TunnelConfigurationPhase1IntegrityAlgorithmsItem | (string & {})
|
|
526
486
|
>;
|
|
527
|
-
export const TunnelConfigurationPhase1IntegrityAlgorithmsList =
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
) as any as S.Schema<TunnelConfigurationPhase1IntegrityAlgorithmsList>;
|
|
487
|
+
export const TunnelConfigurationPhase1IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
488
|
+
TunnelConfigurationPhase1IntegrityAlgorithmsItem,
|
|
489
|
+
) as any as S.Schema<TunnelConfigurationPhase1IntegrityAlgorithmsList>;
|
|
531
490
|
|
|
532
491
|
export interface TunnelConfigurationPhase1 {
|
|
533
492
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
@@ -555,7 +514,7 @@ export type TunnelConfigurationPhase2DhGroupsItem =
|
|
|
555
514
|
| "ecp256"
|
|
556
515
|
| "ecp384"
|
|
557
516
|
| "modp2048s256";
|
|
558
|
-
export const TunnelConfigurationPhase2DhGroupsItem =
|
|
517
|
+
export const TunnelConfigurationPhase2DhGroupsItem = S.String;
|
|
559
518
|
|
|
560
519
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
561
520
|
export type TunnelConfigurationPhase2DhGroupsList = Array<
|
|
@@ -569,41 +528,37 @@ export type TunnelConfigurationPhase2EncryptionAlgorithmsItem =
|
|
|
569
528
|
| "aes256"
|
|
570
529
|
| "aes128gcm16"
|
|
571
530
|
| "aes256gcm16";
|
|
572
|
-
export const TunnelConfigurationPhase2EncryptionAlgorithmsItem =
|
|
573
|
-
/*@__PURE__*/ S.String;
|
|
531
|
+
export const TunnelConfigurationPhase2EncryptionAlgorithmsItem = S.String;
|
|
574
532
|
|
|
575
533
|
export type TunnelConfigurationPhase2EncryptionAlgorithmsList = Array<
|
|
576
534
|
TunnelConfigurationPhase2EncryptionAlgorithmsItem | (string & {})
|
|
577
535
|
>;
|
|
578
|
-
export const TunnelConfigurationPhase2EncryptionAlgorithmsList =
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
) as any as S.Schema<TunnelConfigurationPhase2EncryptionAlgorithmsList>;
|
|
536
|
+
export const TunnelConfigurationPhase2EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
537
|
+
TunnelConfigurationPhase2EncryptionAlgorithmsItem,
|
|
538
|
+
) as any as S.Schema<TunnelConfigurationPhase2EncryptionAlgorithmsList>;
|
|
582
539
|
|
|
583
540
|
export type TunnelConfigurationPhase2IntegrityAlgorithmsItem =
|
|
584
541
|
| "sha1"
|
|
585
542
|
| "sha2_256"
|
|
586
543
|
| "sha2_384"
|
|
587
544
|
| "sha2_512";
|
|
588
|
-
export const TunnelConfigurationPhase2IntegrityAlgorithmsItem =
|
|
589
|
-
/*@__PURE__*/ S.String;
|
|
545
|
+
export const TunnelConfigurationPhase2IntegrityAlgorithmsItem = S.String;
|
|
590
546
|
|
|
591
547
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
592
548
|
export type TunnelConfigurationPhase2IntegrityAlgorithmsList = Array<
|
|
593
549
|
TunnelConfigurationPhase2IntegrityAlgorithmsItem | (string & {})
|
|
594
550
|
>;
|
|
595
|
-
export const TunnelConfigurationPhase2IntegrityAlgorithmsList =
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
) as any as S.Schema<TunnelConfigurationPhase2IntegrityAlgorithmsList>;
|
|
551
|
+
export const TunnelConfigurationPhase2IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
552
|
+
TunnelConfigurationPhase2IntegrityAlgorithmsItem,
|
|
553
|
+
) as any as S.Schema<TunnelConfigurationPhase2IntegrityAlgorithmsList>;
|
|
599
554
|
|
|
600
555
|
/** Action to perform for this CHILD_SA on DPD timeout. "clear": Closes the CHILD_SA and does not take further action. "restart": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA. */
|
|
601
556
|
export type TunnelConfigurationPhase2DpdAction = "clear" | "restart";
|
|
602
|
-
export const TunnelConfigurationPhase2DpdAction =
|
|
557
|
+
export const TunnelConfigurationPhase2DpdAction = S.String;
|
|
603
558
|
|
|
604
559
|
/** Action to perform after loading the connection configuration. "none": The connection will be loaded but needs to be manually initiated. "start": initiates the connection actively. */
|
|
605
560
|
export type TunnelConfigurationPhase2StartAction = "none" | "start";
|
|
606
|
-
export const TunnelConfigurationPhase2StartAction =
|
|
561
|
+
export const TunnelConfigurationPhase2StartAction = S.String;
|
|
607
562
|
|
|
608
563
|
export interface TunnelConfigurationPhase2 {
|
|
609
564
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
@@ -649,9 +604,7 @@ export const TunnelConfiguration = /*@__PURE__*/ S.suspend(() =>
|
|
|
649
604
|
preSharedKey: S.optional(S.String),
|
|
650
605
|
remoteAddress: S.String,
|
|
651
606
|
}),
|
|
652
|
-
).annotate({
|
|
653
|
-
identifier: "TunnelConfiguration",
|
|
654
|
-
}) as any as S.Schema<TunnelConfiguration>;
|
|
607
|
+
).annotate({ identifier: "TunnelConfiguration" }) as any as S.Schema<TunnelConfiguration>;
|
|
655
608
|
|
|
656
609
|
export interface CreateGatewayConnectionRequest {
|
|
657
610
|
projectId: string;
|
|
@@ -720,46 +673,40 @@ export type TunnelConfigurationOutputPhase1DhGroupsItem =
|
|
|
720
673
|
| "ecp256"
|
|
721
674
|
| "ecp384"
|
|
722
675
|
| "modp2048s256";
|
|
723
|
-
export const TunnelConfigurationOutputPhase1DhGroupsItem =
|
|
724
|
-
/*@__PURE__*/ S.String;
|
|
676
|
+
export const TunnelConfigurationOutputPhase1DhGroupsItem = S.String;
|
|
725
677
|
|
|
726
678
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
727
679
|
export type TunnelConfigurationOutputPhase1DhGroupsList =
|
|
728
680
|
Array<TunnelConfigurationOutputPhase1DhGroupsItem>;
|
|
729
|
-
export const TunnelConfigurationOutputPhase1DhGroupsList =
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
) as any as S.Schema<TunnelConfigurationOutputPhase1DhGroupsList>;
|
|
681
|
+
export const TunnelConfigurationOutputPhase1DhGroupsList = /*@__PURE__*/ S.Array(
|
|
682
|
+
TunnelConfigurationOutputPhase1DhGroupsItem,
|
|
683
|
+
) as any as S.Schema<TunnelConfigurationOutputPhase1DhGroupsList>;
|
|
733
684
|
|
|
734
685
|
export type TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem =
|
|
735
686
|
| "aes256"
|
|
736
687
|
| "aes128gcm16"
|
|
737
688
|
| "aes256gcm16";
|
|
738
|
-
export const TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem =
|
|
739
|
-
/*@__PURE__*/ S.String;
|
|
689
|
+
export const TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem = S.String;
|
|
740
690
|
|
|
741
691
|
export type TunnelConfigurationOutputPhase1EncryptionAlgorithmsList =
|
|
742
692
|
Array<TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem>;
|
|
743
|
-
export const TunnelConfigurationOutputPhase1EncryptionAlgorithmsList =
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
) as any as S.Schema<TunnelConfigurationOutputPhase1EncryptionAlgorithmsList>;
|
|
693
|
+
export const TunnelConfigurationOutputPhase1EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
694
|
+
TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem,
|
|
695
|
+
) as any as S.Schema<TunnelConfigurationOutputPhase1EncryptionAlgorithmsList>;
|
|
747
696
|
|
|
748
697
|
export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem =
|
|
749
698
|
| "sha1"
|
|
750
699
|
| "sha2_256"
|
|
751
700
|
| "sha2_384"
|
|
752
701
|
| "sha2_512";
|
|
753
|
-
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem =
|
|
754
|
-
/*@__PURE__*/ S.String;
|
|
702
|
+
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem = S.String;
|
|
755
703
|
|
|
756
704
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
757
705
|
export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsList =
|
|
758
706
|
Array<TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem>;
|
|
759
|
-
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsList =
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
) as any as S.Schema<TunnelConfigurationOutputPhase1IntegrityAlgorithmsList>;
|
|
707
|
+
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
708
|
+
TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem,
|
|
709
|
+
) as any as S.Schema<TunnelConfigurationOutputPhase1IntegrityAlgorithmsList>;
|
|
763
710
|
|
|
764
711
|
export interface TunnelConfigurationOutputPhase1 {
|
|
765
712
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
@@ -773,8 +720,7 @@ export interface TunnelConfigurationOutputPhase1 {
|
|
|
773
720
|
export const TunnelConfigurationOutputPhase1 = /*@__PURE__*/ S.suspend(() =>
|
|
774
721
|
S.Struct({
|
|
775
722
|
dhGroups: S.optional(TunnelConfigurationOutputPhase1DhGroupsList),
|
|
776
|
-
encryptionAlgorithms:
|
|
777
|
-
TunnelConfigurationOutputPhase1EncryptionAlgorithmsList,
|
|
723
|
+
encryptionAlgorithms: TunnelConfigurationOutputPhase1EncryptionAlgorithmsList,
|
|
778
724
|
integrityAlgorithms: TunnelConfigurationOutputPhase1IntegrityAlgorithmsList,
|
|
779
725
|
rekeyTime: S.optional(S.Number),
|
|
780
726
|
}),
|
|
@@ -788,55 +734,48 @@ export type TunnelConfigurationOutputPhase2DhGroupsItem =
|
|
|
788
734
|
| "ecp256"
|
|
789
735
|
| "ecp384"
|
|
790
736
|
| "modp2048s256";
|
|
791
|
-
export const TunnelConfigurationOutputPhase2DhGroupsItem =
|
|
792
|
-
/*@__PURE__*/ S.String;
|
|
737
|
+
export const TunnelConfigurationOutputPhase2DhGroupsItem = S.String;
|
|
793
738
|
|
|
794
739
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
795
740
|
export type TunnelConfigurationOutputPhase2DhGroupsList =
|
|
796
741
|
Array<TunnelConfigurationOutputPhase2DhGroupsItem>;
|
|
797
|
-
export const TunnelConfigurationOutputPhase2DhGroupsList =
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
) as any as S.Schema<TunnelConfigurationOutputPhase2DhGroupsList>;
|
|
742
|
+
export const TunnelConfigurationOutputPhase2DhGroupsList = /*@__PURE__*/ S.Array(
|
|
743
|
+
TunnelConfigurationOutputPhase2DhGroupsItem,
|
|
744
|
+
) as any as S.Schema<TunnelConfigurationOutputPhase2DhGroupsList>;
|
|
801
745
|
|
|
802
746
|
export type TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem =
|
|
803
747
|
| "aes256"
|
|
804
748
|
| "aes128gcm16"
|
|
805
749
|
| "aes256gcm16";
|
|
806
|
-
export const TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem =
|
|
807
|
-
/*@__PURE__*/ S.String;
|
|
750
|
+
export const TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem = S.String;
|
|
808
751
|
|
|
809
752
|
export type TunnelConfigurationOutputPhase2EncryptionAlgorithmsList =
|
|
810
753
|
Array<TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem>;
|
|
811
|
-
export const TunnelConfigurationOutputPhase2EncryptionAlgorithmsList =
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
) as any as S.Schema<TunnelConfigurationOutputPhase2EncryptionAlgorithmsList>;
|
|
754
|
+
export const TunnelConfigurationOutputPhase2EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
755
|
+
TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem,
|
|
756
|
+
) as any as S.Schema<TunnelConfigurationOutputPhase2EncryptionAlgorithmsList>;
|
|
815
757
|
|
|
816
758
|
export type TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem =
|
|
817
759
|
| "sha1"
|
|
818
760
|
| "sha2_256"
|
|
819
761
|
| "sha2_384"
|
|
820
762
|
| "sha2_512";
|
|
821
|
-
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem =
|
|
822
|
-
/*@__PURE__*/ S.String;
|
|
763
|
+
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem = S.String;
|
|
823
764
|
|
|
824
765
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
825
766
|
export type TunnelConfigurationOutputPhase2IntegrityAlgorithmsList =
|
|
826
767
|
Array<TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem>;
|
|
827
|
-
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsList =
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
) as any as S.Schema<TunnelConfigurationOutputPhase2IntegrityAlgorithmsList>;
|
|
768
|
+
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(
|
|
769
|
+
TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem,
|
|
770
|
+
) as any as S.Schema<TunnelConfigurationOutputPhase2IntegrityAlgorithmsList>;
|
|
831
771
|
|
|
832
772
|
/** Action to perform for this CHILD_SA on DPD timeout. "clear": Closes the CHILD_SA and does not take further action. "restart": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA. */
|
|
833
773
|
export type TunnelConfigurationOutputPhase2DpdAction = "clear" | "restart";
|
|
834
|
-
export const TunnelConfigurationOutputPhase2DpdAction =
|
|
774
|
+
export const TunnelConfigurationOutputPhase2DpdAction = S.String;
|
|
835
775
|
|
|
836
776
|
/** Action to perform after loading the connection configuration. "none": The connection will be loaded but needs to be manually initiated. "start": initiates the connection actively. */
|
|
837
777
|
export type TunnelConfigurationOutputPhase2StartAction = "none" | "start";
|
|
838
|
-
export const TunnelConfigurationOutputPhase2StartAction =
|
|
839
|
-
/*@__PURE__*/ S.String;
|
|
778
|
+
export const TunnelConfigurationOutputPhase2StartAction = S.String;
|
|
840
779
|
|
|
841
780
|
export interface TunnelConfigurationOutputPhase2 {
|
|
842
781
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
@@ -854,8 +793,7 @@ export interface TunnelConfigurationOutputPhase2 {
|
|
|
854
793
|
export const TunnelConfigurationOutputPhase2 = /*@__PURE__*/ S.suspend(() =>
|
|
855
794
|
S.Struct({
|
|
856
795
|
dhGroups: S.optional(TunnelConfigurationOutputPhase2DhGroupsList),
|
|
857
|
-
encryptionAlgorithms:
|
|
858
|
-
TunnelConfigurationOutputPhase2EncryptionAlgorithmsList,
|
|
796
|
+
encryptionAlgorithms: TunnelConfigurationOutputPhase2EncryptionAlgorithmsList,
|
|
859
797
|
integrityAlgorithms: TunnelConfigurationOutputPhase2IntegrityAlgorithmsList,
|
|
860
798
|
dpdAction: S.optional(TunnelConfigurationOutputPhase2DpdAction),
|
|
861
799
|
rekeyTime: S.optional(S.Number),
|
|
@@ -913,13 +851,11 @@ export const ConnectionResponseOutput = /*@__PURE__*/ S.suspend(() =>
|
|
|
913
851
|
tunnel1: TunnelConfigurationOutput,
|
|
914
852
|
tunnel2: TunnelConfigurationOutput,
|
|
915
853
|
}),
|
|
916
|
-
).annotate({
|
|
917
|
-
identifier: "ConnectionResponseOutput",
|
|
918
|
-
}) as any as S.Schema<ConnectionResponseOutput>;
|
|
854
|
+
).annotate({ identifier: "ConnectionResponseOutput" }) as any as S.Schema<ConnectionResponseOutput>;
|
|
919
855
|
|
|
920
856
|
/** The region in which the resource is located. */
|
|
921
857
|
export type DeleteGatewayRequestRegion = "eu01" | "eu02";
|
|
922
|
-
export const DeleteGatewayRequestRegion =
|
|
858
|
+
export const DeleteGatewayRequestRegion = S.String;
|
|
923
859
|
|
|
924
860
|
export interface DeleteGatewayRequest {
|
|
925
861
|
projectId: string;
|
|
@@ -939,20 +875,16 @@ export const DeleteGatewayRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
939
875
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
940
876
|
}),
|
|
941
877
|
),
|
|
942
|
-
).annotate({
|
|
943
|
-
identifier: "DeleteGatewayRequest",
|
|
944
|
-
}) as any as S.Schema<DeleteGatewayRequest>;
|
|
878
|
+
).annotate({ identifier: "DeleteGatewayRequest" }) as any as S.Schema<DeleteGatewayRequest>;
|
|
945
879
|
|
|
946
880
|
export interface DeleteGatewayResponse {}
|
|
947
|
-
export const DeleteGatewayResponse = /*@__PURE__*/ S.suspend(() =>
|
|
948
|
-
S.Struct({}),
|
|
949
|
-
).annotate({
|
|
881
|
+
export const DeleteGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
950
882
|
identifier: "DeleteGatewayResponse",
|
|
951
883
|
}) as any as S.Schema<DeleteGatewayResponse>;
|
|
952
884
|
|
|
953
885
|
/** The region in which the resource is located. */
|
|
954
886
|
export type DeleteGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
955
|
-
export const DeleteGatewayBGPFilterRequestRegion =
|
|
887
|
+
export const DeleteGatewayBGPFilterRequestRegion = S.String;
|
|
956
888
|
|
|
957
889
|
export interface DeleteGatewayBGPFilterRequest {
|
|
958
890
|
projectId: string;
|
|
@@ -979,15 +911,13 @@ export const DeleteGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
979
911
|
}) as any as S.Schema<DeleteGatewayBGPFilterRequest>;
|
|
980
912
|
|
|
981
913
|
export interface DeleteGatewayBGPFilterResponse {}
|
|
982
|
-
export const DeleteGatewayBGPFilterResponse = /*@__PURE__*/ S.suspend(() =>
|
|
983
|
-
S.Struct({}),
|
|
984
|
-
).annotate({
|
|
914
|
+
export const DeleteGatewayBGPFilterResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
985
915
|
identifier: "DeleteGatewayBGPFilterResponse",
|
|
986
916
|
}) as any as S.Schema<DeleteGatewayBGPFilterResponse>;
|
|
987
917
|
|
|
988
918
|
/** The region in which the resource is located. */
|
|
989
919
|
export type DeleteGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
990
|
-
export const DeleteGatewayBGPFilterRuleRequestRegion =
|
|
920
|
+
export const DeleteGatewayBGPFilterRuleRequestRegion = S.String;
|
|
991
921
|
|
|
992
922
|
export interface DeleteGatewayBGPFilterRuleRequest {
|
|
993
923
|
projectId: string;
|
|
@@ -1024,7 +954,7 @@ export const DeleteGatewayBGPFilterRuleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1024
954
|
|
|
1025
955
|
/** The region in which the resource is located. */
|
|
1026
956
|
export type DeleteGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
1027
|
-
export const DeleteGatewayConnectionRequestRegion =
|
|
957
|
+
export const DeleteGatewayConnectionRequestRegion = S.String;
|
|
1028
958
|
|
|
1029
959
|
export interface DeleteGatewayConnectionRequest {
|
|
1030
960
|
projectId: string;
|
|
@@ -1051,15 +981,13 @@ export const DeleteGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1051
981
|
}) as any as S.Schema<DeleteGatewayConnectionRequest>;
|
|
1052
982
|
|
|
1053
983
|
export interface DeleteGatewayConnectionResponse {}
|
|
1054
|
-
export const DeleteGatewayConnectionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1055
|
-
|
|
1056
|
-
).
|
|
1057
|
-
identifier: "DeleteGatewayConnectionResponse",
|
|
1058
|
-
}) as any as S.Schema<DeleteGatewayConnectionResponse>;
|
|
984
|
+
export const DeleteGatewayConnectionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate(
|
|
985
|
+
{ identifier: "DeleteGatewayConnectionResponse" },
|
|
986
|
+
) as any as S.Schema<DeleteGatewayConnectionResponse>;
|
|
1059
987
|
|
|
1060
988
|
/** The region in which the resource is located. */
|
|
1061
989
|
export type GetGatewayRequestRegion = "eu01" | "eu02";
|
|
1062
|
-
export const GetGatewayRequestRegion =
|
|
990
|
+
export const GetGatewayRequestRegion = S.String;
|
|
1063
991
|
|
|
1064
992
|
export interface GetGatewayRequest {
|
|
1065
993
|
projectId: string;
|
|
@@ -1079,14 +1007,10 @@ export const GetGatewayRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1079
1007
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
1080
1008
|
}),
|
|
1081
1009
|
),
|
|
1082
|
-
).annotate({
|
|
1083
|
-
identifier: "GetGatewayRequest",
|
|
1084
|
-
}) as any as S.Schema<GetGatewayRequest>;
|
|
1010
|
+
).annotate({ identifier: "GetGatewayRequest" }) as any as S.Schema<GetGatewayRequest>;
|
|
1085
1011
|
|
|
1086
|
-
export type GetGatewayResponseAvailabilityZones =
|
|
1087
|
-
|
|
1088
|
-
export const GetGatewayResponseAvailabilityZones =
|
|
1089
|
-
CreateGatewayRequestAvailabilityZones;
|
|
1012
|
+
export type GetGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1013
|
+
export const GetGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1090
1014
|
|
|
1091
1015
|
export interface GetGatewayResponse {
|
|
1092
1016
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
@@ -1114,13 +1038,11 @@ export const GetGatewayResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1114
1038
|
id: S.optional(S.String),
|
|
1115
1039
|
state: S.optional(GatewayStatus),
|
|
1116
1040
|
}),
|
|
1117
|
-
).annotate({
|
|
1118
|
-
identifier: "GetGatewayResponse",
|
|
1119
|
-
}) as any as S.Schema<GetGatewayResponse>;
|
|
1041
|
+
).annotate({ identifier: "GetGatewayResponse" }) as any as S.Schema<GetGatewayResponse>;
|
|
1120
1042
|
|
|
1121
1043
|
/** The region in which the resource is located. */
|
|
1122
1044
|
export type GetGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
1123
|
-
export const GetGatewayBGPFilterRequestRegion =
|
|
1045
|
+
export const GetGatewayBGPFilterRequestRegion = S.String;
|
|
1124
1046
|
|
|
1125
1047
|
export interface GetGatewayBGPFilterRequest {
|
|
1126
1048
|
projectId: string;
|
|
@@ -1148,7 +1070,7 @@ export const GetGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1148
1070
|
|
|
1149
1071
|
/** The region in which the resource is located. */
|
|
1150
1072
|
export type GetGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
1151
|
-
export const GetGatewayBGPFilterRuleRequestRegion =
|
|
1073
|
+
export const GetGatewayBGPFilterRuleRequestRegion = S.String;
|
|
1152
1074
|
|
|
1153
1075
|
export interface GetGatewayBGPFilterRuleRequest {
|
|
1154
1076
|
projectId: string;
|
|
@@ -1178,7 +1100,7 @@ export const GetGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1178
1100
|
|
|
1179
1101
|
/** The region in which the resource is located. */
|
|
1180
1102
|
export type GetGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
1181
|
-
export const GetGatewayConnectionRequestRegion =
|
|
1103
|
+
export const GetGatewayConnectionRequestRegion = S.String;
|
|
1182
1104
|
|
|
1183
1105
|
export interface GetGatewayConnectionRequest {
|
|
1184
1106
|
projectId: string;
|
|
@@ -1206,7 +1128,7 @@ export const GetGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1206
1128
|
|
|
1207
1129
|
/** The region in which the resource is located. */
|
|
1208
1130
|
export type GetGatewayConnectionStatusRequestRegion = "eu01" | "eu02";
|
|
1209
|
-
export const GetGatewayConnectionStatusRequestRegion =
|
|
1131
|
+
export const GetGatewayConnectionStatusRequestRegion = S.String;
|
|
1210
1132
|
|
|
1211
1133
|
export interface GetGatewayConnectionStatusRequest {
|
|
1212
1134
|
projectId: string;
|
|
@@ -1233,7 +1155,7 @@ export const GetGatewayConnectionStatusRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1233
1155
|
}) as any as S.Schema<GetGatewayConnectionStatusRequest>;
|
|
1234
1156
|
|
|
1235
1157
|
export type TunnelStatusName = "tunnel1" | "tunnel2";
|
|
1236
|
-
export const TunnelStatusName =
|
|
1158
|
+
export const TunnelStatusName = S.String;
|
|
1237
1159
|
|
|
1238
1160
|
export interface Phase1Status {
|
|
1239
1161
|
/** The negotiated Diffie-Hellman Group */
|
|
@@ -1325,13 +1247,11 @@ export const ConnectionStatusResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1325
1247
|
id: S.optional(S.String),
|
|
1326
1248
|
tunnels: S.optional(ConnectionStatusResponseTunnelsList),
|
|
1327
1249
|
}),
|
|
1328
|
-
).annotate({
|
|
1329
|
-
identifier: "ConnectionStatusResponse",
|
|
1330
|
-
}) as any as S.Schema<ConnectionStatusResponse>;
|
|
1250
|
+
).annotate({ identifier: "ConnectionStatusResponse" }) as any as S.Schema<ConnectionStatusResponse>;
|
|
1331
1251
|
|
|
1332
1252
|
/** The region in which the resource is located. */
|
|
1333
1253
|
export type GetGatewayStatusRequestRegion = "eu01" | "eu02";
|
|
1334
|
-
export const GetGatewayStatusRequestRegion =
|
|
1254
|
+
export const GetGatewayStatusRequestRegion = S.String;
|
|
1335
1255
|
|
|
1336
1256
|
export interface GetGatewayStatusRequest {
|
|
1337
1257
|
projectId: string;
|
|
@@ -1351,12 +1271,9 @@ export const GetGatewayStatusRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1351
1271
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
1352
1272
|
}),
|
|
1353
1273
|
),
|
|
1354
|
-
).annotate({
|
|
1355
|
-
identifier: "GetGatewayStatusRequest",
|
|
1356
|
-
}) as any as S.Schema<GetGatewayStatusRequest>;
|
|
1274
|
+
).annotate({ identifier: "GetGatewayStatusRequest" }) as any as S.Schema<GetGatewayStatusRequest>;
|
|
1357
1275
|
|
|
1358
|
-
export type GatewayStatusResponseConnectionsList =
|
|
1359
|
-
Array<ConnectionStatusResponse>;
|
|
1276
|
+
export type GatewayStatusResponseConnectionsList = Array<ConnectionStatusResponse>;
|
|
1360
1277
|
export const GatewayStatusResponseConnectionsList = /*@__PURE__*/ S.Array(
|
|
1361
1278
|
ConnectionStatusResponse,
|
|
1362
1279
|
) as any as S.Schema<GatewayStatusResponseConnectionsList>;
|
|
@@ -1412,9 +1329,7 @@ export const BGPStatusRoutes = /*@__PURE__*/ S.suspend(() =>
|
|
|
1412
1329
|
peerId: S.String,
|
|
1413
1330
|
weight: S.Number,
|
|
1414
1331
|
}),
|
|
1415
|
-
).annotate({
|
|
1416
|
-
identifier: "BGPStatusRoutes",
|
|
1417
|
-
}) as any as S.Schema<BGPStatusRoutes>;
|
|
1332
|
+
).annotate({ identifier: "BGPStatusRoutes" }) as any as S.Schema<BGPStatusRoutes>;
|
|
1418
1333
|
|
|
1419
1334
|
export type BGPStatusRoutesList = Array<BGPStatusRoutes>;
|
|
1420
1335
|
export const BGPStatusRoutesList = /*@__PURE__*/ S.Array(
|
|
@@ -1433,7 +1348,7 @@ export const BGPStatus = /*@__PURE__*/ S.suspend(() =>
|
|
|
1433
1348
|
).annotate({ identifier: "BGPStatus" }) as any as S.Schema<BGPStatus>;
|
|
1434
1349
|
|
|
1435
1350
|
export type VPNTunnelsName = "tunnel1" | "tunnel2";
|
|
1436
|
-
export const VPNTunnelsName =
|
|
1351
|
+
export const VPNTunnelsName = S.String;
|
|
1437
1352
|
|
|
1438
1353
|
/** Status of the underlying tunnel instances. */
|
|
1439
1354
|
export interface VPNTunnels {
|
|
@@ -1480,13 +1395,11 @@ export const GatewayStatusResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1480
1395
|
id: S.optional(S.String),
|
|
1481
1396
|
tunnels: S.optional(GatewayStatusResponseTunnelsList),
|
|
1482
1397
|
}),
|
|
1483
|
-
).annotate({
|
|
1484
|
-
identifier: "GatewayStatusResponse",
|
|
1485
|
-
}) as any as S.Schema<GatewayStatusResponse>;
|
|
1398
|
+
).annotate({ identifier: "GatewayStatusResponse" }) as any as S.Schema<GatewayStatusResponse>;
|
|
1486
1399
|
|
|
1487
1400
|
/** The region in which the resource is located. */
|
|
1488
1401
|
export type ListGatewayBGPFilterRulesRequestRegion = "eu01" | "eu02";
|
|
1489
|
-
export const ListGatewayBGPFilterRulesRequestRegion =
|
|
1402
|
+
export const ListGatewayBGPFilterRulesRequestRegion = S.String;
|
|
1490
1403
|
|
|
1491
1404
|
export interface ListGatewayBGPFilterRulesRequest {
|
|
1492
1405
|
projectId: string;
|
|
@@ -1525,13 +1438,11 @@ export const BGPFilterRuleList = /*@__PURE__*/ S.suspend(() =>
|
|
|
1525
1438
|
S.Struct({
|
|
1526
1439
|
rules: BGPFilterRuleListRulesList,
|
|
1527
1440
|
}),
|
|
1528
|
-
).annotate({
|
|
1529
|
-
identifier: "BGPFilterRuleList",
|
|
1530
|
-
}) as any as S.Schema<BGPFilterRuleList>;
|
|
1441
|
+
).annotate({ identifier: "BGPFilterRuleList" }) as any as S.Schema<BGPFilterRuleList>;
|
|
1531
1442
|
|
|
1532
1443
|
/** The region in which the resource is located. */
|
|
1533
1444
|
export type ListGatewayBGPFiltersRequestRegion = "eu01" | "eu02";
|
|
1534
|
-
export const ListGatewayBGPFiltersRequestRegion =
|
|
1445
|
+
export const ListGatewayBGPFiltersRequestRegion = S.String;
|
|
1535
1446
|
|
|
1536
1447
|
export interface ListGatewayBGPFiltersRequest {
|
|
1537
1448
|
projectId: string;
|
|
@@ -1572,7 +1483,7 @@ export const BGPFilterList = /*@__PURE__*/ S.suspend(() =>
|
|
|
1572
1483
|
|
|
1573
1484
|
/** The region in which the resource is located. */
|
|
1574
1485
|
export type ListGatewayConnectionsRequestRegion = "eu01" | "eu02";
|
|
1575
|
-
export const ListGatewayConnectionsRequestRegion =
|
|
1486
|
+
export const ListGatewayConnectionsRequestRegion = S.String;
|
|
1576
1487
|
|
|
1577
1488
|
/** Filter resources by labels. */
|
|
1578
1489
|
export type LabelSelector = { [key: string]: string | undefined };
|
|
@@ -1606,8 +1517,7 @@ export const ListGatewayConnectionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1606
1517
|
identifier: "ListGatewayConnectionsRequest",
|
|
1607
1518
|
}) as any as S.Schema<ListGatewayConnectionsRequest>;
|
|
1608
1519
|
|
|
1609
|
-
export type ConnectionListOutputConnectionsList =
|
|
1610
|
-
Array<ConnectionResponseOutput>;
|
|
1520
|
+
export type ConnectionListOutputConnectionsList = Array<ConnectionResponseOutput>;
|
|
1611
1521
|
export const ConnectionListOutputConnectionsList = /*@__PURE__*/ S.Array(
|
|
1612
1522
|
ConnectionResponseOutput,
|
|
1613
1523
|
) as any as S.Schema<ConnectionListOutputConnectionsList>;
|
|
@@ -1619,13 +1529,11 @@ export const ConnectionListOutput = /*@__PURE__*/ S.suspend(() =>
|
|
|
1619
1529
|
S.Struct({
|
|
1620
1530
|
connections: ConnectionListOutputConnectionsList,
|
|
1621
1531
|
}),
|
|
1622
|
-
).annotate({
|
|
1623
|
-
identifier: "ConnectionListOutput",
|
|
1624
|
-
}) as any as S.Schema<ConnectionListOutput>;
|
|
1532
|
+
).annotate({ identifier: "ConnectionListOutput" }) as any as S.Schema<ConnectionListOutput>;
|
|
1625
1533
|
|
|
1626
1534
|
/** The region in which the resource is located. */
|
|
1627
1535
|
export type ListGatewaysRequestRegion = "eu01" | "eu02";
|
|
1628
|
-
export const ListGatewaysRequestRegion =
|
|
1536
|
+
export const ListGatewaysRequestRegion = S.String;
|
|
1629
1537
|
|
|
1630
1538
|
export interface ListGatewaysRequest {
|
|
1631
1539
|
projectId: string;
|
|
@@ -1646,14 +1554,10 @@ export const ListGatewaysRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1646
1554
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
1647
1555
|
}),
|
|
1648
1556
|
),
|
|
1649
|
-
).annotate({
|
|
1650
|
-
identifier: "ListGatewaysRequest",
|
|
1651
|
-
}) as any as S.Schema<ListGatewaysRequest>;
|
|
1557
|
+
).annotate({ identifier: "ListGatewaysRequest" }) as any as S.Schema<ListGatewaysRequest>;
|
|
1652
1558
|
|
|
1653
|
-
export type GatewayResponseAvailabilityZones =
|
|
1654
|
-
|
|
1655
|
-
export const GatewayResponseAvailabilityZones =
|
|
1656
|
-
CreateGatewayRequestAvailabilityZones;
|
|
1559
|
+
export type GatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1560
|
+
export const GatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1657
1561
|
|
|
1658
1562
|
export interface GatewayResponse {
|
|
1659
1563
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
@@ -1681,9 +1585,7 @@ export const GatewayResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1681
1585
|
id: S.optional(S.String),
|
|
1682
1586
|
state: S.optional(GatewayStatus),
|
|
1683
1587
|
}),
|
|
1684
|
-
).annotate({
|
|
1685
|
-
identifier: "GatewayResponse",
|
|
1686
|
-
}) as any as S.Schema<GatewayResponse>;
|
|
1588
|
+
).annotate({ identifier: "GatewayResponse" }) as any as S.Schema<GatewayResponse>;
|
|
1687
1589
|
|
|
1688
1590
|
export type GatewayListGatewaysList = Array<GatewayResponse>;
|
|
1689
1591
|
export const GatewayListGatewaysList = /*@__PURE__*/ S.Array(
|
|
@@ -1701,7 +1603,7 @@ export const GatewayList = /*@__PURE__*/ S.suspend(() =>
|
|
|
1701
1603
|
|
|
1702
1604
|
/** The region in which the resource is located. */
|
|
1703
1605
|
export type ListPlansRequestRegion = "eu01" | "eu02";
|
|
1704
|
-
export const ListPlansRequestRegion =
|
|
1606
|
+
export const ListPlansRequestRegion = S.String;
|
|
1705
1607
|
|
|
1706
1608
|
export interface ListPlansRequest {
|
|
1707
1609
|
region: ListPlansRequestRegion | (string & {});
|
|
@@ -1717,9 +1619,7 @@ export const ListPlansRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1717
1619
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
1718
1620
|
}),
|
|
1719
1621
|
),
|
|
1720
|
-
).annotate({
|
|
1721
|
-
identifier: "ListPlansRequest",
|
|
1722
|
-
}) as any as S.Schema<ListPlansRequest>;
|
|
1622
|
+
).annotate({ identifier: "ListPlansRequest" }) as any as S.Schema<ListPlansRequest>;
|
|
1723
1623
|
|
|
1724
1624
|
export interface Plan {
|
|
1725
1625
|
/** The maximum throughput supported by the gateway in each direction, measured in MBit/s */
|
|
@@ -1743,9 +1643,7 @@ export const Plan = /*@__PURE__*/ S.suspend(() =>
|
|
|
1743
1643
|
).annotate({ identifier: "Plan" }) as any as S.Schema<Plan>;
|
|
1744
1644
|
|
|
1745
1645
|
export type PlanListPlansList = Array<Plan>;
|
|
1746
|
-
export const PlanListPlansList = /*@__PURE__*/ S.Array(
|
|
1747
|
-
Plan,
|
|
1748
|
-
) as any as S.Schema<PlanListPlansList>;
|
|
1646
|
+
export const PlanListPlansList = /*@__PURE__*/ S.Array(Plan) as any as S.Schema<PlanListPlansList>;
|
|
1749
1647
|
|
|
1750
1648
|
export interface PlanList {
|
|
1751
1649
|
defaultPlanId?: string;
|
|
@@ -1760,7 +1658,7 @@ export const PlanList = /*@__PURE__*/ S.suspend(() =>
|
|
|
1760
1658
|
|
|
1761
1659
|
/** The region in which the resource is located. */
|
|
1762
1660
|
export type ListQuotasRequestRegion = "eu01" | "eu02";
|
|
1763
|
-
export const ListQuotasRequestRegion =
|
|
1661
|
+
export const ListQuotasRequestRegion = S.String;
|
|
1764
1662
|
|
|
1765
1663
|
export interface ListQuotasRequest {
|
|
1766
1664
|
projectId: string;
|
|
@@ -1778,9 +1676,7 @@ export const ListQuotasRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1778
1676
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
1779
1677
|
}),
|
|
1780
1678
|
),
|
|
1781
|
-
).annotate({
|
|
1782
|
-
identifier: "ListQuotasRequest",
|
|
1783
|
-
}) as any as S.Schema<ListQuotasRequest>;
|
|
1679
|
+
).annotate({ identifier: "ListQuotasRequest" }) as any as S.Schema<ListQuotasRequest>;
|
|
1784
1680
|
|
|
1785
1681
|
export interface Quota {
|
|
1786
1682
|
limit: number;
|
|
@@ -1810,18 +1706,14 @@ export const QuotaListResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1810
1706
|
S.Struct({
|
|
1811
1707
|
quotas: QuotaList,
|
|
1812
1708
|
}),
|
|
1813
|
-
).annotate({
|
|
1814
|
-
identifier: "QuotaListResponse",
|
|
1815
|
-
}) as any as S.Schema<QuotaListResponse>;
|
|
1709
|
+
).annotate({ identifier: "QuotaListResponse" }) as any as S.Schema<QuotaListResponse>;
|
|
1816
1710
|
|
|
1817
1711
|
/** The region in which the resource is located. */
|
|
1818
1712
|
export type UpdateGatewayRequestRegion = "eu01" | "eu02";
|
|
1819
|
-
export const UpdateGatewayRequestRegion =
|
|
1713
|
+
export const UpdateGatewayRequestRegion = S.String;
|
|
1820
1714
|
|
|
1821
|
-
export type UpdateGatewayRequestAvailabilityZones =
|
|
1822
|
-
|
|
1823
|
-
export const UpdateGatewayRequestAvailabilityZones =
|
|
1824
|
-
CreateGatewayRequestAvailabilityZones;
|
|
1715
|
+
export type UpdateGatewayRequestAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1716
|
+
export const UpdateGatewayRequestAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1825
1717
|
|
|
1826
1718
|
export interface UpdateGatewayRequest {
|
|
1827
1719
|
projectId: string;
|
|
@@ -1857,14 +1749,10 @@ export const UpdateGatewayRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1857
1749
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
1858
1750
|
}),
|
|
1859
1751
|
),
|
|
1860
|
-
).annotate({
|
|
1861
|
-
identifier: "UpdateGatewayRequest",
|
|
1862
|
-
}) as any as S.Schema<UpdateGatewayRequest>;
|
|
1752
|
+
).annotate({ identifier: "UpdateGatewayRequest" }) as any as S.Schema<UpdateGatewayRequest>;
|
|
1863
1753
|
|
|
1864
|
-
export type UpdateGatewayResponseAvailabilityZones =
|
|
1865
|
-
|
|
1866
|
-
export const UpdateGatewayResponseAvailabilityZones =
|
|
1867
|
-
CreateGatewayRequestAvailabilityZones;
|
|
1754
|
+
export type UpdateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1755
|
+
export const UpdateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
1868
1756
|
|
|
1869
1757
|
export interface UpdateGatewayResponse {
|
|
1870
1758
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
@@ -1892,13 +1780,11 @@ export const UpdateGatewayResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1892
1780
|
id: S.optional(S.String),
|
|
1893
1781
|
state: S.optional(GatewayStatus),
|
|
1894
1782
|
}),
|
|
1895
|
-
).annotate({
|
|
1896
|
-
identifier: "UpdateGatewayResponse",
|
|
1897
|
-
}) as any as S.Schema<UpdateGatewayResponse>;
|
|
1783
|
+
).annotate({ identifier: "UpdateGatewayResponse" }) as any as S.Schema<UpdateGatewayResponse>;
|
|
1898
1784
|
|
|
1899
1785
|
/** The region in which the resource is located. */
|
|
1900
1786
|
export type UpdateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
1901
|
-
export const UpdateGatewayBGPFilterRequestRegion =
|
|
1787
|
+
export const UpdateGatewayBGPFilterRequestRegion = S.String;
|
|
1902
1788
|
|
|
1903
1789
|
export interface UpdateGatewayBGPFilterRequest {
|
|
1904
1790
|
projectId: string;
|
|
@@ -1929,34 +1815,29 @@ export const UpdateGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1929
1815
|
|
|
1930
1816
|
/** The region in which the resource is located. */
|
|
1931
1817
|
export type UpdateGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
1932
|
-
export const UpdateGatewayBGPFilterRuleRequestRegion =
|
|
1818
|
+
export const UpdateGatewayBGPFilterRuleRequestRegion = S.String;
|
|
1933
1819
|
|
|
1934
1820
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
1935
1821
|
export type UpdateGatewayBGPFilterRuleRequestAction = "PERMIT" | "DENY";
|
|
1936
|
-
export const UpdateGatewayBGPFilterRuleRequestAction =
|
|
1822
|
+
export const UpdateGatewayBGPFilterRuleRequestAction = S.String;
|
|
1937
1823
|
|
|
1938
1824
|
/** Matches if the AS-PATH contains any one of the listed ASNs (logical OR within the list). Treated as an unordered set; ordering is not preserved by the storage layer. When combined with firstASN, both conditions must hold (logical AND, consistent with the rest of the match block). If firstASN is also listed here, its presence as the first hop is sufficient to satisfy this list; no duplicate hop is required. */
|
|
1939
|
-
export type UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList =
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
S.Number,
|
|
1944
|
-
) as any as S.Schema<UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList>;
|
|
1825
|
+
export type UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = Array<number>;
|
|
1826
|
+
export const UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = /*@__PURE__*/ S.Array(
|
|
1827
|
+
S.Number,
|
|
1828
|
+
) as any as S.Schema<UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList>;
|
|
1945
1829
|
|
|
1946
1830
|
/** Matches if the route carries any one of these BGP standard communities (logical OR within the list). Format is 'asn:value' per RFC 1997 (both halves must fit in a uint32, i.e. 0..4294967295). Extended, large and well-known communities are not supported. */
|
|
1947
|
-
export type UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList =
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
S.String,
|
|
1952
|
-
) as any as S.Schema<UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList>;
|
|
1831
|
+
export type UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList = Array<string>;
|
|
1832
|
+
export const UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList = /*@__PURE__*/ S.Array(
|
|
1833
|
+
S.String,
|
|
1834
|
+
) as any as S.Schema<UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList>;
|
|
1953
1835
|
|
|
1954
1836
|
/** List of IPv4 networks to match. A route's prefix matches if it equals one of these (subject to minPrefixLength/maxPrefixLength refinement). If omitted, an implicit 0.0.0.0/0 base is used when minPrefixLength or maxPrefixLength is set; if all three are omitted, prefix matching is not performed at all. Each entry must parse as a valid IPv4 CIDR; the network portion is normalised (10.0.0.5/24 → 10.0.0.0/24). */
|
|
1955
1837
|
export type UpdateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
1956
|
-
export const UpdateGatewayBGPFilterRuleRequestMatchPrefixesList =
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
) as any as S.Schema<UpdateGatewayBGPFilterRuleRequestMatchPrefixesList>;
|
|
1838
|
+
export const UpdateGatewayBGPFilterRuleRequestMatchPrefixesList = /*@__PURE__*/ S.Array(
|
|
1839
|
+
S.String,
|
|
1840
|
+
) as any as S.Schema<UpdateGatewayBGPFilterRuleRequestMatchPrefixesList>;
|
|
1960
1841
|
|
|
1961
1842
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
1962
1843
|
export interface UpdateGatewayBGPFilterRuleRequestMatch {
|
|
@@ -1975,30 +1856,23 @@ export interface UpdateGatewayBGPFilterRuleRequestMatch {
|
|
|
1975
1856
|
/** List of IPv4 networks to match. A route's prefix matches if it equals one of these (subject to minPrefixLength/maxPrefixLength refinement). If omitted, an implicit 0.0.0.0/0 base is used when minPrefixLength or maxPrefixLength is set; if all three are omitted, prefix matching is not performed at all. Each entry must parse as a valid IPv4 CIDR; the network portion is normalised (10.0.0.5/24 → 10.0.0.0/24). */
|
|
1976
1857
|
prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
1977
1858
|
}
|
|
1978
|
-
export const UpdateGatewayBGPFilterRuleRequestMatch = /*@__PURE__*/ S.suspend(
|
|
1979
|
-
(
|
|
1980
|
-
S.
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
maxPrefixLength: S.optional(S.Number),
|
|
1989
|
-
minPrefixLength: S.optional(S.Number),
|
|
1990
|
-
peer: S.optional(S.String),
|
|
1991
|
-
prefixes: S.optional(UpdateGatewayBGPFilterRuleRequestMatchPrefixesList),
|
|
1992
|
-
}),
|
|
1859
|
+
export const UpdateGatewayBGPFilterRuleRequestMatch = /*@__PURE__*/ S.suspend(() =>
|
|
1860
|
+
S.Struct({
|
|
1861
|
+
asPathContainsAny: S.optional(UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList),
|
|
1862
|
+
communities: S.optional(UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList),
|
|
1863
|
+
firstASN: S.optional(S.Number),
|
|
1864
|
+
maxPrefixLength: S.optional(S.Number),
|
|
1865
|
+
minPrefixLength: S.optional(S.Number),
|
|
1866
|
+
peer: S.optional(S.String),
|
|
1867
|
+
prefixes: S.optional(UpdateGatewayBGPFilterRuleRequestMatchPrefixesList),
|
|
1868
|
+
}),
|
|
1993
1869
|
).annotate({
|
|
1994
1870
|
identifier: "UpdateGatewayBGPFilterRuleRequestMatch",
|
|
1995
1871
|
}) as any as S.Schema<UpdateGatewayBGPFilterRuleRequestMatch>;
|
|
1996
1872
|
|
|
1997
1873
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
1998
|
-
export type UpdateGatewayBGPFilterRuleRequestSet =
|
|
1999
|
-
|
|
2000
|
-
export const UpdateGatewayBGPFilterRuleRequestSet =
|
|
2001
|
-
CreateGatewayBGPFilterRuleRequestSet;
|
|
1874
|
+
export type UpdateGatewayBGPFilterRuleRequestSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
1875
|
+
export const UpdateGatewayBGPFilterRuleRequestSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
2002
1876
|
|
|
2003
1877
|
export interface UpdateGatewayBGPFilterRuleRequest {
|
|
2004
1878
|
projectId: string;
|
|
@@ -2040,28 +1914,25 @@ export const UpdateGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
2040
1914
|
|
|
2041
1915
|
/** The region in which the resource is located. */
|
|
2042
1916
|
export type UpdateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
2043
|
-
export const UpdateGatewayConnectionRequestRegion =
|
|
1917
|
+
export const UpdateGatewayConnectionRequestRegion = S.String;
|
|
2044
1918
|
|
|
2045
1919
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
2046
1920
|
export type UpdateGatewayConnectionRequestLocalSubnetsList = Array<string>;
|
|
2047
|
-
export const UpdateGatewayConnectionRequestLocalSubnetsList =
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
) as any as S.Schema<UpdateGatewayConnectionRequestLocalSubnetsList>;
|
|
1921
|
+
export const UpdateGatewayConnectionRequestLocalSubnetsList = /*@__PURE__*/ S.Array(
|
|
1922
|
+
S.String,
|
|
1923
|
+
) as any as S.Schema<UpdateGatewayConnectionRequestLocalSubnetsList>;
|
|
2051
1924
|
|
|
2052
1925
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
2053
1926
|
export type UpdateGatewayConnectionRequestRemoteSubnetsList = Array<string>;
|
|
2054
|
-
export const UpdateGatewayConnectionRequestRemoteSubnetsList =
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
) as any as S.Schema<UpdateGatewayConnectionRequestRemoteSubnetsList>;
|
|
1927
|
+
export const UpdateGatewayConnectionRequestRemoteSubnetsList = /*@__PURE__*/ S.Array(
|
|
1928
|
+
S.String,
|
|
1929
|
+
) as any as S.Schema<UpdateGatewayConnectionRequestRemoteSubnetsList>;
|
|
2058
1930
|
|
|
2059
1931
|
/** Optional. Use this for route-based VPN. */
|
|
2060
1932
|
export type UpdateGatewayConnectionRequestStaticRoutesList = Array<string>;
|
|
2061
|
-
export const UpdateGatewayConnectionRequestStaticRoutesList =
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
) as any as S.Schema<UpdateGatewayConnectionRequestStaticRoutesList>;
|
|
1933
|
+
export const UpdateGatewayConnectionRequestStaticRoutesList = /*@__PURE__*/ S.Array(
|
|
1934
|
+
S.String,
|
|
1935
|
+
) as any as S.Schema<UpdateGatewayConnectionRequestStaticRoutesList>;
|
|
2065
1936
|
|
|
2066
1937
|
export interface UpdateGatewayConnectionRequest {
|
|
2067
1938
|
projectId: string;
|
|
@@ -2108,11 +1979,7 @@ export const UpdateGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
2108
1979
|
identifier: "UpdateGatewayConnectionRequest",
|
|
2109
1980
|
}) as any as S.Schema<UpdateGatewayConnectionRequest>;
|
|
2110
1981
|
|
|
2111
|
-
export type CreateGatewayError =
|
|
2112
|
-
| BadRequest
|
|
2113
|
-
| Forbidden
|
|
2114
|
-
| Conflict
|
|
2115
|
-
| StackitOpError;
|
|
1982
|
+
export type CreateGatewayError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
2116
1983
|
/** Create a VPN gateway in a project. Provision a new VPN gateway. */
|
|
2117
1984
|
export const createGateway: API.OperationMethod<
|
|
2118
1985
|
CreateGatewayRequest,
|
|
@@ -2167,11 +2034,7 @@ export const createGatewayBGPFilterRule: API.OperationMethod<
|
|
|
2167
2034
|
retry: Retry.Retry,
|
|
2168
2035
|
}));
|
|
2169
2036
|
|
|
2170
|
-
export type CreateGatewayConnectionError =
|
|
2171
|
-
| BadRequest
|
|
2172
|
-
| Forbidden
|
|
2173
|
-
| NotFound
|
|
2174
|
-
| StackitOpError;
|
|
2037
|
+
export type CreateGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2175
2038
|
/** Create a new connection on an existing VPN gateway. Create a new connection on an existing VPN gateway. */
|
|
2176
2039
|
export const createGatewayConnection: API.OperationMethod<
|
|
2177
2040
|
CreateGatewayConnectionRequest,
|
|
@@ -2221,11 +2084,7 @@ export const deleteGatewayBGPFilter: API.OperationMethod<
|
|
|
2221
2084
|
retry: Retry.Retry,
|
|
2222
2085
|
}));
|
|
2223
2086
|
|
|
2224
|
-
export type DeleteGatewayBGPFilterRuleError =
|
|
2225
|
-
| BadRequest
|
|
2226
|
-
| Forbidden
|
|
2227
|
-
| NotFound
|
|
2228
|
-
| StackitOpError;
|
|
2087
|
+
export type DeleteGatewayBGPFilterRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2229
2088
|
/** Delete a specific rule. */
|
|
2230
2089
|
export const deleteGatewayBGPFilterRule: API.OperationMethod<
|
|
2231
2090
|
DeleteGatewayBGPFilterRuleRequest,
|
|
@@ -2240,11 +2099,7 @@ export const deleteGatewayBGPFilterRule: API.OperationMethod<
|
|
|
2240
2099
|
retry: Retry.Retry,
|
|
2241
2100
|
}));
|
|
2242
2101
|
|
|
2243
|
-
export type DeleteGatewayConnectionError =
|
|
2244
|
-
| BadRequest
|
|
2245
|
-
| Forbidden
|
|
2246
|
-
| NotFound
|
|
2247
|
-
| StackitOpError;
|
|
2102
|
+
export type DeleteGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2248
2103
|
/** Delete a certain connection from an existing VPN gateway. Delete a certain connection from an existing VPN gateway. */
|
|
2249
2104
|
export const deleteGatewayConnection: API.OperationMethod<
|
|
2250
2105
|
DeleteGatewayConnectionRequest,
|
|
@@ -2259,11 +2114,7 @@ export const deleteGatewayConnection: API.OperationMethod<
|
|
|
2259
2114
|
retry: Retry.Retry,
|
|
2260
2115
|
}));
|
|
2261
2116
|
|
|
2262
|
-
export type GetGatewayError =
|
|
2263
|
-
| BadRequest
|
|
2264
|
-
| Forbidden
|
|
2265
|
-
| NotFound
|
|
2266
|
-
| StackitOpError;
|
|
2117
|
+
export type GetGatewayError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2267
2118
|
/** Get details of a VPN Gateway in a project. Get details of a VPN Gateway in a project. */
|
|
2268
2119
|
export const getGateway: API.OperationMethod<
|
|
2269
2120
|
GetGatewayRequest,
|
|
@@ -2278,11 +2129,7 @@ export const getGateway: API.OperationMethod<
|
|
|
2278
2129
|
retry: Retry.Retry,
|
|
2279
2130
|
}));
|
|
2280
2131
|
|
|
2281
|
-
export type GetGatewayBGPFilterError =
|
|
2282
|
-
| BadRequest
|
|
2283
|
-
| Forbidden
|
|
2284
|
-
| NotFound
|
|
2285
|
-
| StackitOpError;
|
|
2132
|
+
export type GetGatewayBGPFilterError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2286
2133
|
/** Get BGP filter metadata. */
|
|
2287
2134
|
export const getGatewayBGPFilter: API.OperationMethod<
|
|
2288
2135
|
GetGatewayBGPFilterRequest,
|
|
@@ -2297,11 +2144,7 @@ export const getGatewayBGPFilter: API.OperationMethod<
|
|
|
2297
2144
|
retry: Retry.Retry,
|
|
2298
2145
|
}));
|
|
2299
2146
|
|
|
2300
|
-
export type GetGatewayBGPFilterRuleError =
|
|
2301
|
-
| BadRequest
|
|
2302
|
-
| Forbidden
|
|
2303
|
-
| NotFound
|
|
2304
|
-
| StackitOpError;
|
|
2147
|
+
export type GetGatewayBGPFilterRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2305
2148
|
/** Get a specific rule from a BGP filter. */
|
|
2306
2149
|
export const getGatewayBGPFilterRule: API.OperationMethod<
|
|
2307
2150
|
GetGatewayBGPFilterRuleRequest,
|
|
@@ -2316,11 +2159,7 @@ export const getGatewayBGPFilterRule: API.OperationMethod<
|
|
|
2316
2159
|
retry: Retry.Retry,
|
|
2317
2160
|
}));
|
|
2318
2161
|
|
|
2319
|
-
export type GetGatewayConnectionError =
|
|
2320
|
-
| BadRequest
|
|
2321
|
-
| Forbidden
|
|
2322
|
-
| NotFound
|
|
2323
|
-
| StackitOpError;
|
|
2162
|
+
export type GetGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2324
2163
|
/** Get a certain connection for an existing VPN gateway. Get a certain connection for an existing VPN gateway. */
|
|
2325
2164
|
export const getGatewayConnection: API.OperationMethod<
|
|
2326
2165
|
GetGatewayConnectionRequest,
|
|
@@ -2335,11 +2174,7 @@ export const getGatewayConnection: API.OperationMethod<
|
|
|
2335
2174
|
retry: Retry.Retry,
|
|
2336
2175
|
}));
|
|
2337
2176
|
|
|
2338
|
-
export type GetGatewayConnectionStatusError =
|
|
2339
|
-
| BadRequest
|
|
2340
|
-
| Forbidden
|
|
2341
|
-
| NotFound
|
|
2342
|
-
| StackitOpError;
|
|
2177
|
+
export type GetGatewayConnectionStatusError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2343
2178
|
/** Gets the status for a specific connection. Get the status for a specific connection. */
|
|
2344
2179
|
export const getGatewayConnectionStatus: API.OperationMethod<
|
|
2345
2180
|
GetGatewayConnectionStatusRequest,
|
|
@@ -2354,11 +2189,7 @@ export const getGatewayConnectionStatus: API.OperationMethod<
|
|
|
2354
2189
|
retry: Retry.Retry,
|
|
2355
2190
|
}));
|
|
2356
2191
|
|
|
2357
|
-
export type GetGatewayStatusError =
|
|
2358
|
-
| BadRequest
|
|
2359
|
-
| Forbidden
|
|
2360
|
-
| NotFound
|
|
2361
|
-
| StackitOpError;
|
|
2192
|
+
export type GetGatewayStatusError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2362
2193
|
/** Get the status of a VPN gateway in a project. Get the status of a VPN gateway in a project. */
|
|
2363
2194
|
export const getGatewayStatus: API.OperationMethod<
|
|
2364
2195
|
GetGatewayStatusRequest,
|
|
@@ -2373,11 +2204,7 @@ export const getGatewayStatus: API.OperationMethod<
|
|
|
2373
2204
|
retry: Retry.Retry,
|
|
2374
2205
|
}));
|
|
2375
2206
|
|
|
2376
|
-
export type ListGatewayBGPFilterRulesError =
|
|
2377
|
-
| BadRequest
|
|
2378
|
-
| Forbidden
|
|
2379
|
-
| NotFound
|
|
2380
|
-
| StackitOpError;
|
|
2207
|
+
export type ListGatewayBGPFilterRulesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2381
2208
|
/** List all rules inside a specific BGP filter. */
|
|
2382
2209
|
export const listGatewayBGPFilterRules: API.OperationMethod<
|
|
2383
2210
|
ListGatewayBGPFilterRulesRequest,
|
|
@@ -2392,11 +2219,7 @@ export const listGatewayBGPFilterRules: API.OperationMethod<
|
|
|
2392
2219
|
retry: Retry.Retry,
|
|
2393
2220
|
}));
|
|
2394
2221
|
|
|
2395
|
-
export type ListGatewayBGPFiltersError =
|
|
2396
|
-
| BadRequest
|
|
2397
|
-
| Forbidden
|
|
2398
|
-
| NotFound
|
|
2399
|
-
| StackitOpError;
|
|
2222
|
+
export type ListGatewayBGPFiltersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2400
2223
|
/** List BGP filters for a gateway. */
|
|
2401
2224
|
export const listGatewayBGPFilters: API.OperationMethod<
|
|
2402
2225
|
ListGatewayBGPFiltersRequest,
|
|
@@ -2411,11 +2234,7 @@ export const listGatewayBGPFilters: API.OperationMethod<
|
|
|
2411
2234
|
retry: Retry.Retry,
|
|
2412
2235
|
}));
|
|
2413
2236
|
|
|
2414
|
-
export type ListGatewayConnectionsError =
|
|
2415
|
-
| BadRequest
|
|
2416
|
-
| Forbidden
|
|
2417
|
-
| NotFound
|
|
2418
|
-
| StackitOpError;
|
|
2237
|
+
export type ListGatewayConnectionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2419
2238
|
/** List connections for an existing VPN gateway. List connections for an existing VPN gateway. */
|
|
2420
2239
|
export const listGatewayConnections: API.OperationMethod<
|
|
2421
2240
|
ListGatewayConnectionsRequest,
|
|
@@ -2475,11 +2294,7 @@ export const listQuotas: API.OperationMethod<
|
|
|
2475
2294
|
retry: Retry.Retry,
|
|
2476
2295
|
}));
|
|
2477
2296
|
|
|
2478
|
-
export type UpdateGatewayError =
|
|
2479
|
-
| BadRequest
|
|
2480
|
-
| Forbidden
|
|
2481
|
-
| Conflict
|
|
2482
|
-
| StackitOpError;
|
|
2297
|
+
export type UpdateGatewayError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
2483
2298
|
/** Update a VPN gateway in a project. Modify the configuration of an existing VPN gateway. Certain changes may trigger infrastructure updates or temporary connection re-negotiations. */
|
|
2484
2299
|
export const updateGateway: API.OperationMethod<
|
|
2485
2300
|
UpdateGatewayRequest,
|
|
@@ -2534,11 +2349,7 @@ export const updateGatewayBGPFilterRule: API.OperationMethod<
|
|
|
2534
2349
|
retry: Retry.Retry,
|
|
2535
2350
|
}));
|
|
2536
2351
|
|
|
2537
|
-
export type UpdateGatewayConnectionError =
|
|
2538
|
-
| BadRequest
|
|
2539
|
-
| Forbidden
|
|
2540
|
-
| NotFound
|
|
2541
|
-
| StackitOpError;
|
|
2352
|
+
export type UpdateGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2542
2353
|
/** Update a connection on an existing VPN gateway. Updating the configuration of an existing connection. */
|
|
2543
2354
|
export const updateGatewayConnection: API.OperationMethod<
|
|
2544
2355
|
UpdateGatewayConnectionRequest,
|