@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
package/lib/services/vpn.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
3
|
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
4
4
|
export type { StackitOpError, StackitOpContext };
|
|
5
|
-
declare const BadRequest_base: S.
|
|
5
|
+
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
6
6
|
readonly code: any;
|
|
7
7
|
readonly message: any;
|
|
8
|
-
}
|
|
8
|
+
}> & (new (...args: any[]) => {
|
|
9
9
|
"@distilled.cloud/error/categories": {
|
|
10
10
|
BadRequestError: true;
|
|
11
11
|
};
|
|
12
12
|
});
|
|
13
13
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
14
|
}
|
|
15
|
-
declare const Conflict_base: S.
|
|
15
|
+
declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
|
|
16
16
|
readonly code: any;
|
|
17
17
|
readonly message: any;
|
|
18
|
-
}
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
19
|
"@distilled.cloud/error/categories": {
|
|
20
20
|
ConflictError: true;
|
|
21
21
|
};
|
|
22
22
|
});
|
|
23
23
|
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
24
24
|
}
|
|
25
|
-
declare const Forbidden_base: S.
|
|
25
|
+
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
26
26
|
readonly code: any;
|
|
27
27
|
readonly message: any;
|
|
28
|
-
}
|
|
28
|
+
}> & (new (...args: any[]) => {
|
|
29
29
|
"@distilled.cloud/error/categories": {
|
|
30
30
|
AuthError: true;
|
|
31
31
|
};
|
|
32
32
|
});
|
|
33
33
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
34
34
|
}
|
|
35
|
-
declare const NotFound_base: S.
|
|
35
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
36
36
|
readonly code: any;
|
|
37
37
|
readonly message: any;
|
|
38
|
-
}
|
|
38
|
+
}> & (new (...args: any[]) => {
|
|
39
39
|
"@distilled.cloud/error/categories": {
|
|
40
40
|
BadRequestError: true;
|
|
41
41
|
};
|
|
@@ -44,37 +44,30 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
|
44
44
|
}
|
|
45
45
|
/** The region in which the resource is located. */
|
|
46
46
|
export type CreateGatewayRequestRegion = "eu01" | "eu02";
|
|
47
|
-
export declare const CreateGatewayRequestRegion: any;
|
|
48
47
|
export interface CreateGatewayRequestAvailabilityZones {
|
|
49
48
|
tunnel1: string;
|
|
50
49
|
tunnel2: string;
|
|
51
50
|
}
|
|
52
|
-
export declare const CreateGatewayRequestAvailabilityZones: S.Schema<CreateGatewayRequestAvailabilityZones>;
|
|
53
51
|
/** A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised. */
|
|
54
52
|
export type BGPGatewayConfigOverrideAdvertisedRoutesList = Array<string>;
|
|
55
|
-
export declare const BGPGatewayConfigOverrideAdvertisedRoutesList: S.Schema<BGPGatewayConfigOverrideAdvertisedRoutesList>;
|
|
56
53
|
/** BGP configuration effects all connections. (only for routingMode=BGP_ROUTE_BASED) */
|
|
57
54
|
export interface BGPGatewayConfig {
|
|
58
55
|
localAsn: number;
|
|
59
56
|
/** A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised. */
|
|
60
57
|
overrideAdvertisedRoutes?: BGPGatewayConfigOverrideAdvertisedRoutesList;
|
|
61
58
|
}
|
|
62
|
-
export declare const BGPGatewayConfig: S.Schema<BGPGatewayConfig>;
|
|
63
59
|
/** 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. */
|
|
64
60
|
export type Label = {
|
|
65
61
|
[key: string]: string | undefined;
|
|
66
62
|
};
|
|
67
|
-
export declare const Label: S.Schema<Label>;
|
|
68
63
|
export interface NetworkConfig {
|
|
69
64
|
/** 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. */
|
|
70
65
|
predefinedNetworkPrefix?: string;
|
|
71
66
|
/** Custom routing table ID for the VPN gateway */
|
|
72
67
|
routingTableId?: string;
|
|
73
68
|
}
|
|
74
|
-
export declare const NetworkConfig: S.Schema<NetworkConfig>;
|
|
75
69
|
/** Once the gateway is created, it is not possible to change this attribute. */
|
|
76
70
|
export type RoutingType = "POLICY_BASED" | "ROUTE_BASED" | "BGP_ROUTE_BASED";
|
|
77
|
-
export declare const RoutingType: any;
|
|
78
71
|
export interface CreateGatewayRequest {
|
|
79
72
|
projectId: string;
|
|
80
73
|
region: CreateGatewayRequestRegion | (string & {});
|
|
@@ -88,12 +81,9 @@ export interface CreateGatewayRequest {
|
|
|
88
81
|
planId: string;
|
|
89
82
|
routingType: RoutingType | (string & {});
|
|
90
83
|
}
|
|
91
|
-
export declare const CreateGatewayRequest: S.Schema<CreateGatewayRequest>;
|
|
92
84
|
export type CreateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
93
|
-
export declare const CreateGatewayResponseAvailabilityZones: S.Schema<CreateGatewayRequestAvailabilityZones>;
|
|
94
85
|
/** 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. */
|
|
95
86
|
export type GatewayStatus = "PENDING" | "READY" | "ERROR" | "DELETING";
|
|
96
|
-
export declare const GatewayStatus: any;
|
|
97
87
|
export interface CreateGatewayResponse {
|
|
98
88
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
99
89
|
bgp?: BGPGatewayConfig;
|
|
@@ -108,41 +98,32 @@ export interface CreateGatewayResponse {
|
|
|
108
98
|
id?: string;
|
|
109
99
|
state?: GatewayStatus;
|
|
110
100
|
}
|
|
111
|
-
export declare const CreateGatewayResponse: S.Schema<CreateGatewayResponse>;
|
|
112
101
|
/** The region in which the resource is located. */
|
|
113
102
|
export type CreateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
114
|
-
export declare const CreateGatewayBGPFilterRequestRegion: any;
|
|
115
103
|
export interface CreateGatewayBGPFilterRequest {
|
|
116
104
|
projectId: string;
|
|
117
105
|
region: CreateGatewayBGPFilterRequestRegion | (string & {});
|
|
118
106
|
gatewayId: string;
|
|
119
|
-
/** A user-friendly name for the filter. Display only
|
|
107
|
+
/** A user-friendly name for the filter. Display only -- not enforced unique across a gateway. */
|
|
120
108
|
displayName: string;
|
|
121
109
|
}
|
|
122
|
-
export declare const CreateGatewayBGPFilterRequest: S.Schema<CreateGatewayBGPFilterRequest>;
|
|
123
110
|
/** A named BGP route filter. Internally a BGPFilter holds an ordered set of rules (managed via the nested /rules sub-resource); a route is evaluated against each rule in 'sequence' order and the first match decides the outcome. An implicit DENY is applied after the last rule, so a route that matches no PERMIT rule is dropped. Attaching an empty filter to a tunnel therefore denies every route. Resource limits: the maximum number of filters per gateway equals the gateway plan's maxConnections value; the maximum number of rules per filter is 10. */
|
|
124
111
|
export interface BGPFilter {
|
|
125
|
-
/** A user-friendly name for the filter. Display only
|
|
112
|
+
/** A user-friendly name for the filter. Display only -- not enforced unique across a gateway. */
|
|
126
113
|
displayName: string;
|
|
127
114
|
/** The server-generated UUID of the filter. */
|
|
128
115
|
id?: string;
|
|
129
116
|
}
|
|
130
|
-
export declare const BGPFilter: S.Schema<BGPFilter>;
|
|
131
117
|
/** The region in which the resource is located. */
|
|
132
118
|
export type CreateGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
133
|
-
export declare const CreateGatewayBGPFilterRuleRequestRegion: any;
|
|
134
119
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
135
120
|
export type CreateGatewayBGPFilterRuleRequestAction = "PERMIT" | "DENY";
|
|
136
|
-
export declare const CreateGatewayBGPFilterRuleRequestAction: any;
|
|
137
121
|
/** 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. */
|
|
138
122
|
export type CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = Array<number>;
|
|
139
|
-
export declare const CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList: S.Schema<CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList>;
|
|
140
123
|
/** 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. */
|
|
141
124
|
export type CreateGatewayBGPFilterRuleRequestMatchCommunitiesList = Array<string>;
|
|
142
|
-
|
|
143
|
-
/** 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). */
|
|
125
|
+
/** 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). */
|
|
144
126
|
export type CreateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
145
|
-
export declare const CreateGatewayBGPFilterRuleRequestMatchPrefixesList: S.Schema<CreateGatewayBGPFilterRuleRequestMatchPrefixesList>;
|
|
146
127
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
147
128
|
export interface CreateGatewayBGPFilterRuleRequestMatch {
|
|
148
129
|
/** 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. */
|
|
@@ -157,16 +138,14 @@ export interface CreateGatewayBGPFilterRuleRequestMatch {
|
|
|
157
138
|
minPrefixLength?: number;
|
|
158
139
|
/** Matches the exact IPv4 address of the BGP neighbor that advertised the route. Useful when the same filter is attached to multiple tunnels with different neighbor IPs (allows per-peer rules in a shared filter). When a filter is attached to a single tunnel, this field is effectively a no-op because the route-map is already neighbor-scoped. */
|
|
159
140
|
peer?: string;
|
|
160
|
-
/** 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
|
|
141
|
+
/** 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). */
|
|
161
142
|
prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
162
143
|
}
|
|
163
|
-
export declare const CreateGatewayBGPFilterRuleRequestMatch: S.Schema<CreateGatewayBGPFilterRuleRequestMatch>;
|
|
164
144
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
165
145
|
export interface CreateGatewayBGPFilterRuleRequestSet {
|
|
166
146
|
/** 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. */
|
|
167
147
|
localPreference?: number;
|
|
168
148
|
}
|
|
169
|
-
export declare const CreateGatewayBGPFilterRuleRequestSet: S.Schema<CreateGatewayBGPFilterRuleRequestSet>;
|
|
170
149
|
export interface CreateGatewayBGPFilterRuleRequest {
|
|
171
150
|
projectId: string;
|
|
172
151
|
region: CreateGatewayBGPFilterRuleRequestRegion | (string & {});
|
|
@@ -176,24 +155,19 @@ export interface CreateGatewayBGPFilterRuleRequest {
|
|
|
176
155
|
action: CreateGatewayBGPFilterRuleRequestAction | (string & {});
|
|
177
156
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
178
157
|
match?: CreateGatewayBGPFilterRuleRequestMatch;
|
|
179
|
-
/** The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required
|
|
158
|
+
/** The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required -- sending a partial update without 'sequence' returns 400. */
|
|
180
159
|
sequence?: number;
|
|
181
160
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
182
161
|
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
183
162
|
}
|
|
184
|
-
export declare const CreateGatewayBGPFilterRuleRequest: S.Schema<CreateGatewayBGPFilterRuleRequest>;
|
|
185
163
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
186
164
|
export type BGPFilterRuleAction = "PERMIT" | "DENY";
|
|
187
|
-
export declare const BGPFilterRuleAction: any;
|
|
188
165
|
/** 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. */
|
|
189
166
|
export type BGPFilterRuleMatchAsPathContainsAnyList = Array<number>;
|
|
190
|
-
export declare const BGPFilterRuleMatchAsPathContainsAnyList: S.Schema<BGPFilterRuleMatchAsPathContainsAnyList>;
|
|
191
167
|
/** 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. */
|
|
192
168
|
export type BGPFilterRuleMatchCommunitiesList = Array<string>;
|
|
193
|
-
|
|
194
|
-
/** 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). */
|
|
169
|
+
/** 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). */
|
|
195
170
|
export type BGPFilterRuleMatchPrefixesList = Array<string>;
|
|
196
|
-
export declare const BGPFilterRuleMatchPrefixesList: S.Schema<BGPFilterRuleMatchPrefixesList>;
|
|
197
171
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
198
172
|
export interface BGPFilterRuleMatch {
|
|
199
173
|
/** 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. */
|
|
@@ -208,13 +182,11 @@ export interface BGPFilterRuleMatch {
|
|
|
208
182
|
minPrefixLength?: number;
|
|
209
183
|
/** Matches the exact IPv4 address of the BGP neighbor that advertised the route. Useful when the same filter is attached to multiple tunnels with different neighbor IPs (allows per-peer rules in a shared filter). When a filter is attached to a single tunnel, this field is effectively a no-op because the route-map is already neighbor-scoped. */
|
|
210
184
|
peer?: string;
|
|
211
|
-
/** 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
|
|
185
|
+
/** 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). */
|
|
212
186
|
prefixes?: BGPFilterRuleMatchPrefixesList;
|
|
213
187
|
}
|
|
214
|
-
export declare const BGPFilterRuleMatch: S.Schema<BGPFilterRuleMatch>;
|
|
215
188
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
216
189
|
export type BGPFilterRuleSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
217
|
-
export declare const BGPFilterRuleSet: S.Schema<CreateGatewayBGPFilterRuleRequestSet>;
|
|
218
190
|
/** A single rule within a BGPFilter. All non-empty fields within the 'match' block are AND-combined. Rules within a filter are evaluated in 'sequence' order; the first matching rule decides the outcome (logical OR across rules). An implicit DENY follows the last rule. */
|
|
219
191
|
export interface BGPFilterRule {
|
|
220
192
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
@@ -223,50 +195,37 @@ export interface BGPFilterRule {
|
|
|
223
195
|
id?: string;
|
|
224
196
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
225
197
|
match?: BGPFilterRuleMatch;
|
|
226
|
-
/** The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required
|
|
198
|
+
/** The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required -- sending a partial update without 'sequence' returns 400. */
|
|
227
199
|
sequence?: number;
|
|
228
200
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
229
201
|
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
230
202
|
}
|
|
231
|
-
export declare const BGPFilterRule: S.Schema<BGPFilterRule>;
|
|
232
203
|
/** The region in which the resource is located. */
|
|
233
204
|
export type CreateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
234
|
-
export declare const CreateGatewayConnectionRequestRegion: any;
|
|
235
205
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
236
206
|
export type CreateGatewayConnectionRequestLocalSubnetsList = Array<string>;
|
|
237
|
-
export declare const CreateGatewayConnectionRequestLocalSubnetsList: S.Schema<CreateGatewayConnectionRequestLocalSubnetsList>;
|
|
238
207
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
239
208
|
export type CreateGatewayConnectionRequestRemoteSubnetsList = Array<string>;
|
|
240
|
-
export declare const CreateGatewayConnectionRequestRemoteSubnetsList: S.Schema<CreateGatewayConnectionRequestRemoteSubnetsList>;
|
|
241
209
|
/** Optional. Use this for route-based VPN. */
|
|
242
210
|
export type CreateGatewayConnectionRequestStaticRoutesList = Array<string>;
|
|
243
|
-
export declare const CreateGatewayConnectionRequestStaticRoutesList: S.Schema<CreateGatewayConnectionRequestStaticRoutesList>;
|
|
244
211
|
export interface BGPTunnelConfig {
|
|
245
212
|
/** 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. */
|
|
246
213
|
inboundFilterId?: string | null;
|
|
247
214
|
remoteAsn: number;
|
|
248
215
|
}
|
|
249
|
-
export declare const BGPTunnelConfig: S.Schema<BGPTunnelConfig>;
|
|
250
216
|
/** 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. */
|
|
251
217
|
export interface PeeringConfig {
|
|
252
218
|
localAddress?: string;
|
|
253
219
|
remoteAddress?: string;
|
|
254
220
|
}
|
|
255
|
-
export declare const PeeringConfig: S.Schema<PeeringConfig>;
|
|
256
221
|
export type TunnelConfigurationPhase1DhGroupsItem = "modp1024" | "modp2048" | "ecp256" | "ecp384" | "modp2048s256";
|
|
257
|
-
export declare const TunnelConfigurationPhase1DhGroupsItem: any;
|
|
258
222
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
259
223
|
export type TunnelConfigurationPhase1DhGroupsList = Array<TunnelConfigurationPhase1DhGroupsItem | (string & {})>;
|
|
260
|
-
export declare const TunnelConfigurationPhase1DhGroupsList: S.Schema<TunnelConfigurationPhase1DhGroupsList>;
|
|
261
224
|
export type TunnelConfigurationPhase1EncryptionAlgorithmsItem = "aes256" | "aes128gcm16" | "aes256gcm16";
|
|
262
|
-
export declare const TunnelConfigurationPhase1EncryptionAlgorithmsItem: any;
|
|
263
225
|
export type TunnelConfigurationPhase1EncryptionAlgorithmsList = Array<TunnelConfigurationPhase1EncryptionAlgorithmsItem | (string & {})>;
|
|
264
|
-
export declare const TunnelConfigurationPhase1EncryptionAlgorithmsList: S.Schema<TunnelConfigurationPhase1EncryptionAlgorithmsList>;
|
|
265
226
|
export type TunnelConfigurationPhase1IntegrityAlgorithmsItem = "sha1" | "sha2_256" | "sha2_384" | "sha2_512";
|
|
266
|
-
export declare const TunnelConfigurationPhase1IntegrityAlgorithmsItem: any;
|
|
267
227
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
268
228
|
export type TunnelConfigurationPhase1IntegrityAlgorithmsList = Array<TunnelConfigurationPhase1IntegrityAlgorithmsItem | (string & {})>;
|
|
269
|
-
export declare const TunnelConfigurationPhase1IntegrityAlgorithmsList: S.Schema<TunnelConfigurationPhase1IntegrityAlgorithmsList>;
|
|
270
229
|
export interface TunnelConfigurationPhase1 {
|
|
271
230
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
272
231
|
dhGroups?: TunnelConfigurationPhase1DhGroupsList;
|
|
@@ -276,27 +235,18 @@ export interface TunnelConfigurationPhase1 {
|
|
|
276
235
|
/** Time to schedule a IKE re-keying (in seconds). */
|
|
277
236
|
rekeyTime?: number;
|
|
278
237
|
}
|
|
279
|
-
export declare const TunnelConfigurationPhase1: S.Schema<TunnelConfigurationPhase1>;
|
|
280
238
|
export type TunnelConfigurationPhase2DhGroupsItem = "modp1024" | "modp2048" | "ecp256" | "ecp384" | "modp2048s256";
|
|
281
|
-
export declare const TunnelConfigurationPhase2DhGroupsItem: any;
|
|
282
239
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
283
240
|
export type TunnelConfigurationPhase2DhGroupsList = Array<TunnelConfigurationPhase2DhGroupsItem | (string & {})>;
|
|
284
|
-
export declare const TunnelConfigurationPhase2DhGroupsList: S.Schema<TunnelConfigurationPhase2DhGroupsList>;
|
|
285
241
|
export type TunnelConfigurationPhase2EncryptionAlgorithmsItem = "aes256" | "aes128gcm16" | "aes256gcm16";
|
|
286
|
-
export declare const TunnelConfigurationPhase2EncryptionAlgorithmsItem: any;
|
|
287
242
|
export type TunnelConfigurationPhase2EncryptionAlgorithmsList = Array<TunnelConfigurationPhase2EncryptionAlgorithmsItem | (string & {})>;
|
|
288
|
-
export declare const TunnelConfigurationPhase2EncryptionAlgorithmsList: S.Schema<TunnelConfigurationPhase2EncryptionAlgorithmsList>;
|
|
289
243
|
export type TunnelConfigurationPhase2IntegrityAlgorithmsItem = "sha1" | "sha2_256" | "sha2_384" | "sha2_512";
|
|
290
|
-
export declare const TunnelConfigurationPhase2IntegrityAlgorithmsItem: any;
|
|
291
244
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
292
245
|
export type TunnelConfigurationPhase2IntegrityAlgorithmsList = Array<TunnelConfigurationPhase2IntegrityAlgorithmsItem | (string & {})>;
|
|
293
|
-
export declare const TunnelConfigurationPhase2IntegrityAlgorithmsList: S.Schema<TunnelConfigurationPhase2IntegrityAlgorithmsList>;
|
|
294
246
|
/** 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. */
|
|
295
247
|
export type TunnelConfigurationPhase2DpdAction = "clear" | "restart";
|
|
296
|
-
export declare const TunnelConfigurationPhase2DpdAction: any;
|
|
297
248
|
/** 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. */
|
|
298
249
|
export type TunnelConfigurationPhase2StartAction = "none" | "start";
|
|
299
|
-
export declare const TunnelConfigurationPhase2StartAction: any;
|
|
300
250
|
export interface TunnelConfigurationPhase2 {
|
|
301
251
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
302
252
|
dhGroups?: TunnelConfigurationPhase2DhGroupsList;
|
|
@@ -310,7 +260,6 @@ export interface TunnelConfigurationPhase2 {
|
|
|
310
260
|
/** 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. */
|
|
311
261
|
startAction?: TunnelConfigurationPhase2StartAction | (string & {});
|
|
312
262
|
}
|
|
313
|
-
export declare const TunnelConfigurationPhase2: S.Schema<TunnelConfigurationPhase2>;
|
|
314
263
|
export interface TunnelConfiguration {
|
|
315
264
|
bgp?: BGPTunnelConfig;
|
|
316
265
|
peering?: PeeringConfig;
|
|
@@ -320,7 +269,6 @@ export interface TunnelConfiguration {
|
|
|
320
269
|
preSharedKey?: string;
|
|
321
270
|
remoteAddress: string;
|
|
322
271
|
}
|
|
323
|
-
export declare const TunnelConfiguration: S.Schema<TunnelConfiguration>;
|
|
324
272
|
export interface CreateGatewayConnectionRequest {
|
|
325
273
|
projectId: string;
|
|
326
274
|
region: CreateGatewayConnectionRequestRegion | (string & {});
|
|
@@ -339,30 +287,20 @@ export interface CreateGatewayConnectionRequest {
|
|
|
339
287
|
tunnel1: TunnelConfiguration;
|
|
340
288
|
tunnel2: TunnelConfiguration;
|
|
341
289
|
}
|
|
342
|
-
export declare const CreateGatewayConnectionRequest: S.Schema<CreateGatewayConnectionRequest>;
|
|
343
290
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
344
291
|
export type ConnectionResponseOutputLocalSubnetsList = Array<string>;
|
|
345
|
-
export declare const ConnectionResponseOutputLocalSubnetsList: S.Schema<ConnectionResponseOutputLocalSubnetsList>;
|
|
346
292
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
347
293
|
export type ConnectionResponseOutputRemoteSubnetsList = Array<string>;
|
|
348
|
-
export declare const ConnectionResponseOutputRemoteSubnetsList: S.Schema<ConnectionResponseOutputRemoteSubnetsList>;
|
|
349
294
|
/** Optional. Use this for route-based VPN. */
|
|
350
295
|
export type ConnectionResponseOutputStaticRoutesList = Array<string>;
|
|
351
|
-
export declare const ConnectionResponseOutputStaticRoutesList: S.Schema<ConnectionResponseOutputStaticRoutesList>;
|
|
352
296
|
export type TunnelConfigurationOutputPhase1DhGroupsItem = "modp1024" | "modp2048" | "ecp256" | "ecp384" | "modp2048s256";
|
|
353
|
-
export declare const TunnelConfigurationOutputPhase1DhGroupsItem: any;
|
|
354
297
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
355
298
|
export type TunnelConfigurationOutputPhase1DhGroupsList = Array<TunnelConfigurationOutputPhase1DhGroupsItem>;
|
|
356
|
-
export declare const TunnelConfigurationOutputPhase1DhGroupsList: S.Schema<TunnelConfigurationOutputPhase1DhGroupsList>;
|
|
357
299
|
export type TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem = "aes256" | "aes128gcm16" | "aes256gcm16";
|
|
358
|
-
export declare const TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem: any;
|
|
359
300
|
export type TunnelConfigurationOutputPhase1EncryptionAlgorithmsList = Array<TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem>;
|
|
360
|
-
export declare const TunnelConfigurationOutputPhase1EncryptionAlgorithmsList: S.Schema<TunnelConfigurationOutputPhase1EncryptionAlgorithmsList>;
|
|
361
301
|
export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem = "sha1" | "sha2_256" | "sha2_384" | "sha2_512";
|
|
362
|
-
export declare const TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem: any;
|
|
363
302
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
364
303
|
export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsList = Array<TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem>;
|
|
365
|
-
export declare const TunnelConfigurationOutputPhase1IntegrityAlgorithmsList: S.Schema<TunnelConfigurationOutputPhase1IntegrityAlgorithmsList>;
|
|
366
304
|
export interface TunnelConfigurationOutputPhase1 {
|
|
367
305
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
368
306
|
dhGroups?: TunnelConfigurationOutputPhase1DhGroupsList;
|
|
@@ -372,27 +310,18 @@ export interface TunnelConfigurationOutputPhase1 {
|
|
|
372
310
|
/** Time to schedule a IKE re-keying (in seconds). */
|
|
373
311
|
rekeyTime?: number;
|
|
374
312
|
}
|
|
375
|
-
export declare const TunnelConfigurationOutputPhase1: S.Schema<TunnelConfigurationOutputPhase1>;
|
|
376
313
|
export type TunnelConfigurationOutputPhase2DhGroupsItem = "modp1024" | "modp2048" | "ecp256" | "ecp384" | "modp2048s256";
|
|
377
|
-
export declare const TunnelConfigurationOutputPhase2DhGroupsItem: any;
|
|
378
314
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
379
315
|
export type TunnelConfigurationOutputPhase2DhGroupsList = Array<TunnelConfigurationOutputPhase2DhGroupsItem>;
|
|
380
|
-
export declare const TunnelConfigurationOutputPhase2DhGroupsList: S.Schema<TunnelConfigurationOutputPhase2DhGroupsList>;
|
|
381
316
|
export type TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem = "aes256" | "aes128gcm16" | "aes256gcm16";
|
|
382
|
-
export declare const TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem: any;
|
|
383
317
|
export type TunnelConfigurationOutputPhase2EncryptionAlgorithmsList = Array<TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem>;
|
|
384
|
-
export declare const TunnelConfigurationOutputPhase2EncryptionAlgorithmsList: S.Schema<TunnelConfigurationOutputPhase2EncryptionAlgorithmsList>;
|
|
385
318
|
export type TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem = "sha1" | "sha2_256" | "sha2_384" | "sha2_512";
|
|
386
|
-
export declare const TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem: any;
|
|
387
319
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
388
320
|
export type TunnelConfigurationOutputPhase2IntegrityAlgorithmsList = Array<TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem>;
|
|
389
|
-
export declare const TunnelConfigurationOutputPhase2IntegrityAlgorithmsList: S.Schema<TunnelConfigurationOutputPhase2IntegrityAlgorithmsList>;
|
|
390
321
|
/** 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. */
|
|
391
322
|
export type TunnelConfigurationOutputPhase2DpdAction = "clear" | "restart";
|
|
392
|
-
export declare const TunnelConfigurationOutputPhase2DpdAction: any;
|
|
393
323
|
/** 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. */
|
|
394
324
|
export type TunnelConfigurationOutputPhase2StartAction = "none" | "start";
|
|
395
|
-
export declare const TunnelConfigurationOutputPhase2StartAction: any;
|
|
396
325
|
export interface TunnelConfigurationOutputPhase2 {
|
|
397
326
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
398
327
|
dhGroups?: TunnelConfigurationOutputPhase2DhGroupsList;
|
|
@@ -406,7 +335,6 @@ export interface TunnelConfigurationOutputPhase2 {
|
|
|
406
335
|
/** 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. */
|
|
407
336
|
startAction?: TunnelConfigurationOutputPhase2StartAction;
|
|
408
337
|
}
|
|
409
|
-
export declare const TunnelConfigurationOutputPhase2: S.Schema<TunnelConfigurationOutputPhase2>;
|
|
410
338
|
export interface TunnelConfigurationOutput {
|
|
411
339
|
bgp?: BGPTunnelConfig;
|
|
412
340
|
peering?: PeeringConfig;
|
|
@@ -414,7 +342,6 @@ export interface TunnelConfigurationOutput {
|
|
|
414
342
|
phase2: TunnelConfigurationOutputPhase2;
|
|
415
343
|
remoteAddress: string;
|
|
416
344
|
}
|
|
417
|
-
export declare const TunnelConfigurationOutput: S.Schema<TunnelConfigurationOutput>;
|
|
418
345
|
export interface ConnectionResponseOutput {
|
|
419
346
|
/** A user-friendly name for the connection. */
|
|
420
347
|
displayName: string;
|
|
@@ -432,35 +359,27 @@ export interface ConnectionResponseOutput {
|
|
|
432
359
|
tunnel1: TunnelConfigurationOutput;
|
|
433
360
|
tunnel2: TunnelConfigurationOutput;
|
|
434
361
|
}
|
|
435
|
-
export declare const ConnectionResponseOutput: S.Schema<ConnectionResponseOutput>;
|
|
436
362
|
/** The region in which the resource is located. */
|
|
437
363
|
export type DeleteGatewayRequestRegion = "eu01" | "eu02";
|
|
438
|
-
export declare const DeleteGatewayRequestRegion: any;
|
|
439
364
|
export interface DeleteGatewayRequest {
|
|
440
365
|
projectId: string;
|
|
441
366
|
region: DeleteGatewayRequestRegion | (string & {});
|
|
442
367
|
gatewayId: string;
|
|
443
368
|
}
|
|
444
|
-
export declare const DeleteGatewayRequest: S.Schema<DeleteGatewayRequest>;
|
|
445
369
|
export interface DeleteGatewayResponse {
|
|
446
370
|
}
|
|
447
|
-
export declare const DeleteGatewayResponse: S.Schema<DeleteGatewayResponse>;
|
|
448
371
|
/** The region in which the resource is located. */
|
|
449
372
|
export type DeleteGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
450
|
-
export declare const DeleteGatewayBGPFilterRequestRegion: any;
|
|
451
373
|
export interface DeleteGatewayBGPFilterRequest {
|
|
452
374
|
projectId: string;
|
|
453
375
|
region: DeleteGatewayBGPFilterRequestRegion | (string & {});
|
|
454
376
|
gatewayId: string;
|
|
455
377
|
filterId: string;
|
|
456
378
|
}
|
|
457
|
-
export declare const DeleteGatewayBGPFilterRequest: S.Schema<DeleteGatewayBGPFilterRequest>;
|
|
458
379
|
export interface DeleteGatewayBGPFilterResponse {
|
|
459
380
|
}
|
|
460
|
-
export declare const DeleteGatewayBGPFilterResponse: S.Schema<DeleteGatewayBGPFilterResponse>;
|
|
461
381
|
/** The region in which the resource is located. */
|
|
462
382
|
export type DeleteGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
463
|
-
export declare const DeleteGatewayBGPFilterRuleRequestRegion: any;
|
|
464
383
|
export interface DeleteGatewayBGPFilterRuleRequest {
|
|
465
384
|
projectId: string;
|
|
466
385
|
region: DeleteGatewayBGPFilterRuleRequestRegion | (string & {});
|
|
@@ -468,34 +387,26 @@ export interface DeleteGatewayBGPFilterRuleRequest {
|
|
|
468
387
|
filterId: string;
|
|
469
388
|
ruleId: string;
|
|
470
389
|
}
|
|
471
|
-
export declare const DeleteGatewayBGPFilterRuleRequest: S.Schema<DeleteGatewayBGPFilterRuleRequest>;
|
|
472
390
|
export interface DeleteGatewayBGPFilterRuleResponse {
|
|
473
391
|
}
|
|
474
|
-
export declare const DeleteGatewayBGPFilterRuleResponse: S.Schema<DeleteGatewayBGPFilterRuleResponse>;
|
|
475
392
|
/** The region in which the resource is located. */
|
|
476
393
|
export type DeleteGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
477
|
-
export declare const DeleteGatewayConnectionRequestRegion: any;
|
|
478
394
|
export interface DeleteGatewayConnectionRequest {
|
|
479
395
|
projectId: string;
|
|
480
396
|
region: DeleteGatewayConnectionRequestRegion | (string & {});
|
|
481
397
|
gatewayId: string;
|
|
482
398
|
connectionId: string;
|
|
483
399
|
}
|
|
484
|
-
export declare const DeleteGatewayConnectionRequest: S.Schema<DeleteGatewayConnectionRequest>;
|
|
485
400
|
export interface DeleteGatewayConnectionResponse {
|
|
486
401
|
}
|
|
487
|
-
export declare const DeleteGatewayConnectionResponse: S.Schema<DeleteGatewayConnectionResponse>;
|
|
488
402
|
/** The region in which the resource is located. */
|
|
489
403
|
export type GetGatewayRequestRegion = "eu01" | "eu02";
|
|
490
|
-
export declare const GetGatewayRequestRegion: any;
|
|
491
404
|
export interface GetGatewayRequest {
|
|
492
405
|
projectId: string;
|
|
493
406
|
region: GetGatewayRequestRegion | (string & {});
|
|
494
407
|
gatewayId: string;
|
|
495
408
|
}
|
|
496
|
-
export declare const GetGatewayRequest: S.Schema<GetGatewayRequest>;
|
|
497
409
|
export type GetGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
498
|
-
export declare const GetGatewayResponseAvailabilityZones: S.Schema<CreateGatewayRequestAvailabilityZones>;
|
|
499
410
|
export interface GetGatewayResponse {
|
|
500
411
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
501
412
|
bgp?: BGPGatewayConfig;
|
|
@@ -510,20 +421,16 @@ export interface GetGatewayResponse {
|
|
|
510
421
|
id?: string;
|
|
511
422
|
state?: GatewayStatus;
|
|
512
423
|
}
|
|
513
|
-
export declare const GetGatewayResponse: S.Schema<GetGatewayResponse>;
|
|
514
424
|
/** The region in which the resource is located. */
|
|
515
425
|
export type GetGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
516
|
-
export declare const GetGatewayBGPFilterRequestRegion: any;
|
|
517
426
|
export interface GetGatewayBGPFilterRequest {
|
|
518
427
|
projectId: string;
|
|
519
428
|
region: GetGatewayBGPFilterRequestRegion | (string & {});
|
|
520
429
|
gatewayId: string;
|
|
521
430
|
filterId: string;
|
|
522
431
|
}
|
|
523
|
-
export declare const GetGatewayBGPFilterRequest: S.Schema<GetGatewayBGPFilterRequest>;
|
|
524
432
|
/** The region in which the resource is located. */
|
|
525
433
|
export type GetGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
526
|
-
export declare const GetGatewayBGPFilterRuleRequestRegion: any;
|
|
527
434
|
export interface GetGatewayBGPFilterRuleRequest {
|
|
528
435
|
projectId: string;
|
|
529
436
|
region: GetGatewayBGPFilterRuleRequestRegion | (string & {});
|
|
@@ -531,29 +438,23 @@ export interface GetGatewayBGPFilterRuleRequest {
|
|
|
531
438
|
filterId: string;
|
|
532
439
|
ruleId: string;
|
|
533
440
|
}
|
|
534
|
-
export declare const GetGatewayBGPFilterRuleRequest: S.Schema<GetGatewayBGPFilterRuleRequest>;
|
|
535
441
|
/** The region in which the resource is located. */
|
|
536
442
|
export type GetGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
537
|
-
export declare const GetGatewayConnectionRequestRegion: any;
|
|
538
443
|
export interface GetGatewayConnectionRequest {
|
|
539
444
|
projectId: string;
|
|
540
445
|
region: GetGatewayConnectionRequestRegion | (string & {});
|
|
541
446
|
gatewayId: string;
|
|
542
447
|
connectionId: string;
|
|
543
448
|
}
|
|
544
|
-
export declare const GetGatewayConnectionRequest: S.Schema<GetGatewayConnectionRequest>;
|
|
545
449
|
/** The region in which the resource is located. */
|
|
546
450
|
export type GetGatewayConnectionStatusRequestRegion = "eu01" | "eu02";
|
|
547
|
-
export declare const GetGatewayConnectionStatusRequestRegion: any;
|
|
548
451
|
export interface GetGatewayConnectionStatusRequest {
|
|
549
452
|
projectId: string;
|
|
550
453
|
region: GetGatewayConnectionStatusRequestRegion | (string & {});
|
|
551
454
|
gatewayId: string;
|
|
552
455
|
connectionId: string;
|
|
553
456
|
}
|
|
554
|
-
export declare const GetGatewayConnectionStatusRequest: S.Schema<GetGatewayConnectionStatusRequest>;
|
|
555
457
|
export type TunnelStatusName = "tunnel1" | "tunnel2";
|
|
556
|
-
export declare const TunnelStatusName: any;
|
|
557
458
|
export interface Phase1Status {
|
|
558
459
|
/** The negotiated Diffie-Hellman Group */
|
|
559
460
|
dhGroup?: string;
|
|
@@ -563,7 +464,6 @@ export interface Phase1Status {
|
|
|
563
464
|
integrityAlgorithm?: string;
|
|
564
465
|
state?: string;
|
|
565
466
|
}
|
|
566
|
-
export declare const Phase1Status: S.Schema<Phase1Status>;
|
|
567
467
|
export interface Phase2Status {
|
|
568
468
|
/** The total data volume received through this Security Association, measured in bytes. */
|
|
569
469
|
bytesIn?: string;
|
|
@@ -585,7 +485,6 @@ export interface Phase2Status {
|
|
|
585
485
|
protocol?: string;
|
|
586
486
|
state?: string;
|
|
587
487
|
}
|
|
588
|
-
export declare const Phase2Status: S.Schema<Phase2Status>;
|
|
589
488
|
/** Describes the status of the VPN itself. */
|
|
590
489
|
export interface TunnelStatus {
|
|
591
490
|
established?: boolean;
|
|
@@ -593,9 +492,7 @@ export interface TunnelStatus {
|
|
|
593
492
|
phase1?: Phase1Status;
|
|
594
493
|
phase2?: Phase2Status;
|
|
595
494
|
}
|
|
596
|
-
export declare const TunnelStatus: S.Schema<TunnelStatus>;
|
|
597
495
|
export type ConnectionStatusResponseTunnelsList = Array<TunnelStatus>;
|
|
598
|
-
export declare const ConnectionStatusResponseTunnelsList: S.Schema<ConnectionStatusResponseTunnelsList>;
|
|
599
496
|
export interface ConnectionStatusResponse {
|
|
600
497
|
/** The name of the connection. */
|
|
601
498
|
displayName?: string;
|
|
@@ -604,18 +501,14 @@ export interface ConnectionStatusResponse {
|
|
|
604
501
|
id?: string;
|
|
605
502
|
tunnels?: ConnectionStatusResponseTunnelsList;
|
|
606
503
|
}
|
|
607
|
-
export declare const ConnectionStatusResponse: S.Schema<ConnectionStatusResponse>;
|
|
608
504
|
/** The region in which the resource is located. */
|
|
609
505
|
export type GetGatewayStatusRequestRegion = "eu01" | "eu02";
|
|
610
|
-
export declare const GetGatewayStatusRequestRegion: any;
|
|
611
506
|
export interface GetGatewayStatusRequest {
|
|
612
507
|
projectId: string;
|
|
613
508
|
region: GetGatewayStatusRequestRegion | (string & {});
|
|
614
509
|
gatewayId: string;
|
|
615
510
|
}
|
|
616
|
-
export declare const GetGatewayStatusRequest: S.Schema<GetGatewayStatusRequest>;
|
|
617
511
|
export type GatewayStatusResponseConnectionsList = Array<ConnectionStatusResponse>;
|
|
618
|
-
export declare const GatewayStatusResponseConnectionsList: S.Schema<GatewayStatusResponseConnectionsList>;
|
|
619
512
|
export interface BGPStatusPeers {
|
|
620
513
|
/** The ASN of the local STACKIT gateway. */
|
|
621
514
|
localAs: number;
|
|
@@ -632,9 +525,7 @@ export interface BGPStatusPeers {
|
|
|
632
525
|
/** The current BGP session state. */
|
|
633
526
|
state: string;
|
|
634
527
|
}
|
|
635
|
-
export declare const BGPStatusPeers: S.Schema<BGPStatusPeers>;
|
|
636
528
|
export type BGPStatusPeersList = Array<BGPStatusPeers>;
|
|
637
|
-
export declare const BGPStatusPeersList: S.Schema<BGPStatusPeersList>;
|
|
638
529
|
export interface BGPStatusRoutes {
|
|
639
530
|
/** The destination network */
|
|
640
531
|
network: string;
|
|
@@ -645,16 +536,12 @@ export interface BGPStatusRoutes {
|
|
|
645
536
|
peerId: string;
|
|
646
537
|
weight: number;
|
|
647
538
|
}
|
|
648
|
-
export declare const BGPStatusRoutes: S.Schema<BGPStatusRoutes>;
|
|
649
539
|
export type BGPStatusRoutesList = Array<BGPStatusRoutes>;
|
|
650
|
-
export declare const BGPStatusRoutesList: S.Schema<BGPStatusRoutesList>;
|
|
651
540
|
export interface BGPStatus {
|
|
652
541
|
peers?: BGPStatusPeersList;
|
|
653
542
|
routes?: BGPStatusRoutesList;
|
|
654
543
|
}
|
|
655
|
-
export declare const BGPStatus: S.Schema<BGPStatus>;
|
|
656
544
|
export type VPNTunnelsName = "tunnel1" | "tunnel2";
|
|
657
|
-
export declare const VPNTunnelsName: any;
|
|
658
545
|
/** Status of the underlying tunnel instances. */
|
|
659
546
|
export interface VPNTunnels {
|
|
660
547
|
bgpStatus?: BGPStatus | null;
|
|
@@ -665,9 +552,7 @@ export interface VPNTunnels {
|
|
|
665
552
|
/** The public IPv4 address of this endpoint. */
|
|
666
553
|
publicIP?: string;
|
|
667
554
|
}
|
|
668
|
-
export declare const VPNTunnels: S.Schema<VPNTunnels>;
|
|
669
555
|
export type GatewayStatusResponseTunnelsList = Array<VPNTunnels>;
|
|
670
|
-
export declare const GatewayStatusResponseTunnelsList: S.Schema<GatewayStatusResponseTunnelsList>;
|
|
671
556
|
export interface GatewayStatusResponse {
|
|
672
557
|
connections?: GatewayStatusResponseConnectionsList;
|
|
673
558
|
/** Name of the Gateway instance. */
|
|
@@ -679,48 +564,37 @@ export interface GatewayStatusResponse {
|
|
|
679
564
|
id?: string;
|
|
680
565
|
tunnels?: GatewayStatusResponseTunnelsList;
|
|
681
566
|
}
|
|
682
|
-
export declare const GatewayStatusResponse: S.Schema<GatewayStatusResponse>;
|
|
683
567
|
/** The region in which the resource is located. */
|
|
684
568
|
export type ListGatewayBGPFilterRulesRequestRegion = "eu01" | "eu02";
|
|
685
|
-
export declare const ListGatewayBGPFilterRulesRequestRegion: any;
|
|
686
569
|
export interface ListGatewayBGPFilterRulesRequest {
|
|
687
570
|
projectId: string;
|
|
688
571
|
region: ListGatewayBGPFilterRulesRequestRegion | (string & {});
|
|
689
572
|
gatewayId: string;
|
|
690
573
|
filterId: string;
|
|
691
574
|
}
|
|
692
|
-
export declare const ListGatewayBGPFilterRulesRequest: S.Schema<ListGatewayBGPFilterRulesRequest>;
|
|
693
575
|
export type BGPFilterRuleListRulesList = Array<BGPFilterRule>;
|
|
694
|
-
export declare const BGPFilterRuleListRulesList: S.Schema<BGPFilterRuleListRulesList>;
|
|
695
576
|
/** Response wrapper for listing rules within a BGP filter. */
|
|
696
577
|
export interface BGPFilterRuleList {
|
|
697
578
|
rules: BGPFilterRuleListRulesList;
|
|
698
579
|
}
|
|
699
|
-
export declare const BGPFilterRuleList: S.Schema<BGPFilterRuleList>;
|
|
700
580
|
/** The region in which the resource is located. */
|
|
701
581
|
export type ListGatewayBGPFiltersRequestRegion = "eu01" | "eu02";
|
|
702
|
-
export declare const ListGatewayBGPFiltersRequestRegion: any;
|
|
703
582
|
export interface ListGatewayBGPFiltersRequest {
|
|
704
583
|
projectId: string;
|
|
705
584
|
region: ListGatewayBGPFiltersRequestRegion | (string & {});
|
|
706
585
|
gatewayId: string;
|
|
707
586
|
}
|
|
708
|
-
export declare const ListGatewayBGPFiltersRequest: S.Schema<ListGatewayBGPFiltersRequest>;
|
|
709
587
|
export type BGPFilterListBgpFiltersList = Array<BGPFilter>;
|
|
710
|
-
export declare const BGPFilterListBgpFiltersList: S.Schema<BGPFilterListBgpFiltersList>;
|
|
711
588
|
/** Response wrapper for listing BGP filters. */
|
|
712
589
|
export interface BGPFilterList {
|
|
713
590
|
bgpFilters: BGPFilterListBgpFiltersList;
|
|
714
591
|
}
|
|
715
|
-
export declare const BGPFilterList: S.Schema<BGPFilterList>;
|
|
716
592
|
/** The region in which the resource is located. */
|
|
717
593
|
export type ListGatewayConnectionsRequestRegion = "eu01" | "eu02";
|
|
718
|
-
export declare const ListGatewayConnectionsRequestRegion: any;
|
|
719
594
|
/** Filter resources by labels. */
|
|
720
595
|
export type LabelSelector = {
|
|
721
596
|
[key: string]: string | undefined;
|
|
722
597
|
};
|
|
723
|
-
export declare const LabelSelector: S.Schema<LabelSelector>;
|
|
724
598
|
export interface ListGatewayConnectionsRequest {
|
|
725
599
|
projectId: string;
|
|
726
600
|
region: ListGatewayConnectionsRequestRegion | (string & {});
|
|
@@ -728,25 +602,19 @@ export interface ListGatewayConnectionsRequest {
|
|
|
728
602
|
/** Filter resources by labels. */
|
|
729
603
|
label_selector?: LabelSelector;
|
|
730
604
|
}
|
|
731
|
-
export declare const ListGatewayConnectionsRequest: S.Schema<ListGatewayConnectionsRequest>;
|
|
732
605
|
export type ConnectionListOutputConnectionsList = Array<ConnectionResponseOutput>;
|
|
733
|
-
export declare const ConnectionListOutputConnectionsList: S.Schema<ConnectionListOutputConnectionsList>;
|
|
734
606
|
export interface ConnectionListOutput {
|
|
735
607
|
connections: ConnectionListOutputConnectionsList;
|
|
736
608
|
}
|
|
737
|
-
export declare const ConnectionListOutput: S.Schema<ConnectionListOutput>;
|
|
738
609
|
/** The region in which the resource is located. */
|
|
739
610
|
export type ListGatewaysRequestRegion = "eu01" | "eu02";
|
|
740
|
-
export declare const ListGatewaysRequestRegion: any;
|
|
741
611
|
export interface ListGatewaysRequest {
|
|
742
612
|
projectId: string;
|
|
743
613
|
region: ListGatewaysRequestRegion | (string & {});
|
|
744
614
|
/** Filter resources by labels. */
|
|
745
615
|
label_selector?: LabelSelector;
|
|
746
616
|
}
|
|
747
|
-
export declare const ListGatewaysRequest: S.Schema<ListGatewaysRequest>;
|
|
748
617
|
export type GatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
749
|
-
export declare const GatewayResponseAvailabilityZones: S.Schema<CreateGatewayRequestAvailabilityZones>;
|
|
750
618
|
export interface GatewayResponse {
|
|
751
619
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
752
620
|
bgp?: BGPGatewayConfig;
|
|
@@ -761,20 +629,15 @@ export interface GatewayResponse {
|
|
|
761
629
|
id?: string;
|
|
762
630
|
state?: GatewayStatus;
|
|
763
631
|
}
|
|
764
|
-
export declare const GatewayResponse: S.Schema<GatewayResponse>;
|
|
765
632
|
export type GatewayListGatewaysList = Array<GatewayResponse>;
|
|
766
|
-
export declare const GatewayListGatewaysList: S.Schema<GatewayListGatewaysList>;
|
|
767
633
|
export interface GatewayList {
|
|
768
634
|
gateways: GatewayListGatewaysList;
|
|
769
635
|
}
|
|
770
|
-
export declare const GatewayList: S.Schema<GatewayList>;
|
|
771
636
|
/** The region in which the resource is located. */
|
|
772
637
|
export type ListPlansRequestRegion = "eu01" | "eu02";
|
|
773
|
-
export declare const ListPlansRequestRegion: any;
|
|
774
638
|
export interface ListPlansRequest {
|
|
775
639
|
region: ListPlansRequestRegion | (string & {});
|
|
776
640
|
}
|
|
777
|
-
export declare const ListPlansRequest: S.Schema<ListPlansRequest>;
|
|
778
641
|
export interface Plan {
|
|
779
642
|
/** The maximum throughput supported by the gateway in each direction, measured in MBit/s */
|
|
780
643
|
maxBandwidth?: number;
|
|
@@ -786,41 +649,31 @@ export interface Plan {
|
|
|
786
649
|
/** The SKU identifier used for billing. */
|
|
787
650
|
sku?: string;
|
|
788
651
|
}
|
|
789
|
-
export declare const Plan: S.Schema<Plan>;
|
|
790
652
|
export type PlanListPlansList = Array<Plan>;
|
|
791
|
-
export declare const PlanListPlansList: S.Schema<PlanListPlansList>;
|
|
792
653
|
export interface PlanList {
|
|
793
654
|
defaultPlanId?: string;
|
|
794
655
|
plans?: PlanListPlansList;
|
|
795
656
|
}
|
|
796
|
-
export declare const PlanList: S.Schema<PlanList>;
|
|
797
657
|
/** The region in which the resource is located. */
|
|
798
658
|
export type ListQuotasRequestRegion = "eu01" | "eu02";
|
|
799
|
-
export declare const ListQuotasRequestRegion: any;
|
|
800
659
|
export interface ListQuotasRequest {
|
|
801
660
|
projectId: string;
|
|
802
661
|
region: ListQuotasRequestRegion | (string & {});
|
|
803
662
|
}
|
|
804
|
-
export declare const ListQuotasRequest: S.Schema<ListQuotasRequest>;
|
|
805
663
|
export interface Quota {
|
|
806
664
|
limit: number;
|
|
807
665
|
usage: number;
|
|
808
666
|
}
|
|
809
|
-
export declare const Quota: S.Schema<Quota>;
|
|
810
667
|
export interface QuotaList {
|
|
811
668
|
/** Current limit and usage for VPN gateways. */
|
|
812
669
|
gateways: Quota;
|
|
813
670
|
}
|
|
814
|
-
export declare const QuotaList: S.Schema<QuotaList>;
|
|
815
671
|
export interface QuotaListResponse {
|
|
816
672
|
quotas: QuotaList;
|
|
817
673
|
}
|
|
818
|
-
export declare const QuotaListResponse: S.Schema<QuotaListResponse>;
|
|
819
674
|
/** The region in which the resource is located. */
|
|
820
675
|
export type UpdateGatewayRequestRegion = "eu01" | "eu02";
|
|
821
|
-
export declare const UpdateGatewayRequestRegion: any;
|
|
822
676
|
export type UpdateGatewayRequestAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
823
|
-
export declare const UpdateGatewayRequestAvailabilityZones: S.Schema<CreateGatewayRequestAvailabilityZones>;
|
|
824
677
|
export interface UpdateGatewayRequest {
|
|
825
678
|
projectId: string;
|
|
826
679
|
region: UpdateGatewayRequestRegion | (string & {});
|
|
@@ -835,9 +688,7 @@ export interface UpdateGatewayRequest {
|
|
|
835
688
|
planId: string;
|
|
836
689
|
routingType: RoutingType | (string & {});
|
|
837
690
|
}
|
|
838
|
-
export declare const UpdateGatewayRequest: S.Schema<UpdateGatewayRequest>;
|
|
839
691
|
export type UpdateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
840
|
-
export declare const UpdateGatewayResponseAvailabilityZones: S.Schema<CreateGatewayRequestAvailabilityZones>;
|
|
841
692
|
export interface UpdateGatewayResponse {
|
|
842
693
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
843
694
|
bgp?: BGPGatewayConfig;
|
|
@@ -852,34 +703,26 @@ export interface UpdateGatewayResponse {
|
|
|
852
703
|
id?: string;
|
|
853
704
|
state?: GatewayStatus;
|
|
854
705
|
}
|
|
855
|
-
export declare const UpdateGatewayResponse: S.Schema<UpdateGatewayResponse>;
|
|
856
706
|
/** The region in which the resource is located. */
|
|
857
707
|
export type UpdateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
858
|
-
export declare const UpdateGatewayBGPFilterRequestRegion: any;
|
|
859
708
|
export interface UpdateGatewayBGPFilterRequest {
|
|
860
709
|
projectId: string;
|
|
861
710
|
region: UpdateGatewayBGPFilterRequestRegion | (string & {});
|
|
862
711
|
gatewayId: string;
|
|
863
712
|
filterId: string;
|
|
864
|
-
/** A user-friendly name for the filter. Display only
|
|
713
|
+
/** A user-friendly name for the filter. Display only -- not enforced unique across a gateway. */
|
|
865
714
|
displayName: string;
|
|
866
715
|
}
|
|
867
|
-
export declare const UpdateGatewayBGPFilterRequest: S.Schema<UpdateGatewayBGPFilterRequest>;
|
|
868
716
|
/** The region in which the resource is located. */
|
|
869
717
|
export type UpdateGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
870
|
-
export declare const UpdateGatewayBGPFilterRuleRequestRegion: any;
|
|
871
718
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
872
719
|
export type UpdateGatewayBGPFilterRuleRequestAction = "PERMIT" | "DENY";
|
|
873
|
-
export declare const UpdateGatewayBGPFilterRuleRequestAction: any;
|
|
874
720
|
/** 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. */
|
|
875
721
|
export type UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = Array<number>;
|
|
876
|
-
export declare const UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList: S.Schema<UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList>;
|
|
877
722
|
/** 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. */
|
|
878
723
|
export type UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList = Array<string>;
|
|
879
|
-
|
|
880
|
-
/** 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). */
|
|
724
|
+
/** 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). */
|
|
881
725
|
export type UpdateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
882
|
-
export declare const UpdateGatewayBGPFilterRuleRequestMatchPrefixesList: S.Schema<UpdateGatewayBGPFilterRuleRequestMatchPrefixesList>;
|
|
883
726
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
884
727
|
export interface UpdateGatewayBGPFilterRuleRequestMatch {
|
|
885
728
|
/** 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. */
|
|
@@ -894,13 +737,11 @@ export interface UpdateGatewayBGPFilterRuleRequestMatch {
|
|
|
894
737
|
minPrefixLength?: number;
|
|
895
738
|
/** Matches the exact IPv4 address of the BGP neighbor that advertised the route. Useful when the same filter is attached to multiple tunnels with different neighbor IPs (allows per-peer rules in a shared filter). When a filter is attached to a single tunnel, this field is effectively a no-op because the route-map is already neighbor-scoped. */
|
|
896
739
|
peer?: string;
|
|
897
|
-
/** 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
|
|
740
|
+
/** 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). */
|
|
898
741
|
prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
899
742
|
}
|
|
900
|
-
export declare const UpdateGatewayBGPFilterRuleRequestMatch: S.Schema<UpdateGatewayBGPFilterRuleRequestMatch>;
|
|
901
743
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
902
744
|
export type UpdateGatewayBGPFilterRuleRequestSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
903
|
-
export declare const UpdateGatewayBGPFilterRuleRequestSet: S.Schema<CreateGatewayBGPFilterRuleRequestSet>;
|
|
904
745
|
export interface UpdateGatewayBGPFilterRuleRequest {
|
|
905
746
|
projectId: string;
|
|
906
747
|
region: UpdateGatewayBGPFilterRuleRequestRegion | (string & {});
|
|
@@ -911,24 +752,19 @@ export interface UpdateGatewayBGPFilterRuleRequest {
|
|
|
911
752
|
action: UpdateGatewayBGPFilterRuleRequestAction | (string & {});
|
|
912
753
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
913
754
|
match?: UpdateGatewayBGPFilterRuleRequestMatch;
|
|
914
|
-
/** The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required
|
|
755
|
+
/** The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required -- sending a partial update without 'sequence' returns 400. */
|
|
915
756
|
sequence?: number;
|
|
916
757
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
917
758
|
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
918
759
|
}
|
|
919
|
-
export declare const UpdateGatewayBGPFilterRuleRequest: S.Schema<UpdateGatewayBGPFilterRuleRequest>;
|
|
920
760
|
/** The region in which the resource is located. */
|
|
921
761
|
export type UpdateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
922
|
-
export declare const UpdateGatewayConnectionRequestRegion: any;
|
|
923
762
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
924
763
|
export type UpdateGatewayConnectionRequestLocalSubnetsList = Array<string>;
|
|
925
|
-
export declare const UpdateGatewayConnectionRequestLocalSubnetsList: S.Schema<UpdateGatewayConnectionRequestLocalSubnetsList>;
|
|
926
764
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
927
765
|
export type UpdateGatewayConnectionRequestRemoteSubnetsList = Array<string>;
|
|
928
|
-
export declare const UpdateGatewayConnectionRequestRemoteSubnetsList: S.Schema<UpdateGatewayConnectionRequestRemoteSubnetsList>;
|
|
929
766
|
/** Optional. Use this for route-based VPN. */
|
|
930
767
|
export type UpdateGatewayConnectionRequestStaticRoutesList = Array<string>;
|
|
931
|
-
export declare const UpdateGatewayConnectionRequestStaticRoutesList: S.Schema<UpdateGatewayConnectionRequestStaticRoutesList>;
|
|
932
768
|
export interface UpdateGatewayConnectionRequest {
|
|
933
769
|
projectId: string;
|
|
934
770
|
region: UpdateGatewayConnectionRequestRegion | (string & {});
|
|
@@ -948,7 +784,6 @@ export interface UpdateGatewayConnectionRequest {
|
|
|
948
784
|
tunnel1: TunnelConfiguration;
|
|
949
785
|
tunnel2: TunnelConfiguration;
|
|
950
786
|
}
|
|
951
|
-
export declare const UpdateGatewayConnectionRequest: S.Schema<UpdateGatewayConnectionRequest>;
|
|
952
787
|
export type CreateGatewayError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
953
788
|
/** Create a VPN gateway in a project. Provision a new VPN gateway. */
|
|
954
789
|
export declare const createGateway: API.OperationMethod<CreateGatewayRequest, CreateGatewayResponse, CreateGatewayError, StackitOpContext>;
|