@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
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/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/vpn.ts
CHANGED
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "Vpn",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -60,15 +73,15 @@ export type BGPGatewayConfigOverrideAdvertisedRoutesList = Array<string>;
|
|
|
60
73
|
export interface BGPGatewayConfig {
|
|
61
74
|
localAsn: number;
|
|
62
75
|
/** A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised. */
|
|
63
|
-
overrideAdvertisedRoutes?: BGPGatewayConfigOverrideAdvertisedRoutesList;
|
|
76
|
+
overrideAdvertisedRoutes?: BGPGatewayConfigOverrideAdvertisedRoutesList | undefined;
|
|
64
77
|
}
|
|
65
78
|
/** 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. */
|
|
66
79
|
export type Label = { [key: string]: string | undefined };
|
|
67
80
|
export interface NetworkConfig {
|
|
68
81
|
/** 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. */
|
|
69
|
-
predefinedNetworkPrefix?: string;
|
|
82
|
+
predefinedNetworkPrefix?: string | undefined;
|
|
70
83
|
/** Custom routing table ID for the VPN gateway */
|
|
71
|
-
routingTableId?: string;
|
|
84
|
+
routingTableId?: string | undefined;
|
|
72
85
|
}
|
|
73
86
|
/** Once the gateway is created, it is not possible to change this attribute. */
|
|
74
87
|
export type RoutingType = "POLICY_BASED" | "ROUTE_BASED" | "BGP_ROUTE_BASED";
|
|
@@ -76,11 +89,11 @@ export interface CreateGatewayRequest {
|
|
|
76
89
|
projectId: string;
|
|
77
90
|
region: CreateGatewayRequestRegion | (string & {});
|
|
78
91
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
79
|
-
bgp?: BGPGatewayConfig;
|
|
92
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
80
93
|
/** A user-friendly name for the VPN gateway. */
|
|
81
94
|
displayName: string;
|
|
82
|
-
labels?: Label;
|
|
83
|
-
networkConfig?: NetworkConfig;
|
|
95
|
+
labels?: Label | undefined;
|
|
96
|
+
networkConfig?: NetworkConfig | undefined;
|
|
84
97
|
/** The service plan identifier. */
|
|
85
98
|
planId: string;
|
|
86
99
|
routingType: RoutingType | (string & {});
|
|
@@ -90,17 +103,17 @@ export type CreateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailab
|
|
|
90
103
|
export type GatewayStatus = "PENDING" | "READY" | "ERROR" | "DELETING";
|
|
91
104
|
export interface CreateGatewayResponse {
|
|
92
105
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
93
|
-
bgp?: BGPGatewayConfig;
|
|
106
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
94
107
|
/** A user-friendly name for the VPN gateway. */
|
|
95
108
|
displayName: string;
|
|
96
|
-
labels?: Label;
|
|
97
|
-
networkConfig?: NetworkConfig;
|
|
109
|
+
labels?: Label | undefined;
|
|
110
|
+
networkConfig?: NetworkConfig | undefined;
|
|
98
111
|
/** The service plan identifier. */
|
|
99
112
|
planId: string;
|
|
100
113
|
routingType: RoutingType;
|
|
101
114
|
/** The server-generated UUID of the VPN gateway. */
|
|
102
|
-
id?: string;
|
|
103
|
-
state?: GatewayStatus;
|
|
115
|
+
id?: string | undefined;
|
|
116
|
+
state?: GatewayStatus | undefined;
|
|
104
117
|
}
|
|
105
118
|
/** The region in which the resource is located. */
|
|
106
119
|
export type CreateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
@@ -116,7 +129,7 @@ export interface BGPFilter {
|
|
|
116
129
|
/** A user-friendly name for the filter. Display only -- not enforced unique across a gateway. */
|
|
117
130
|
displayName: string;
|
|
118
131
|
/** The server-generated UUID of the filter. */
|
|
119
|
-
id?: string;
|
|
132
|
+
id?: string | undefined;
|
|
120
133
|
}
|
|
121
134
|
/** The region in which the resource is located. */
|
|
122
135
|
export type CreateGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
@@ -131,24 +144,24 @@ export type CreateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
|
131
144
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
132
145
|
export interface CreateGatewayBGPFilterRuleRequestMatch {
|
|
133
146
|
/** 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. */
|
|
134
|
-
asPathContainsAny?: CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList;
|
|
147
|
+
asPathContainsAny?: CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList | undefined;
|
|
135
148
|
/** 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. */
|
|
136
|
-
communities?: CreateGatewayBGPFilterRuleRequestMatchCommunitiesList;
|
|
149
|
+
communities?: CreateGatewayBGPFilterRuleRequestMatchCommunitiesList | undefined;
|
|
137
150
|
/** Matches if the first ASN (immediate neighbor) in the AS-PATH equals this ASN. Combines with asPathContainsAny using logical AND: when both are set, the first ASN must equal firstASN AND the path must additionally contain at least one ASN from asPathContainsAny. */
|
|
138
|
-
firstASN?: number;
|
|
151
|
+
firstASN?: number | undefined;
|
|
139
152
|
/** Maximum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at most this long) or alone (matches any IPv4 route with a mask length <= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). */
|
|
140
|
-
maxPrefixLength?: number;
|
|
153
|
+
maxPrefixLength?: number | undefined;
|
|
141
154
|
/** Minimum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at least this long) or alone (matches any IPv4 route with a mask length >= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). If both minPrefixLength and maxPrefixLength are set, minPrefixLength must be <= maxPrefixLength. */
|
|
142
|
-
minPrefixLength?: number;
|
|
155
|
+
minPrefixLength?: number | undefined;
|
|
143
156
|
/** 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. */
|
|
144
|
-
peer?: string;
|
|
157
|
+
peer?: string | undefined;
|
|
145
158
|
/** 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). */
|
|
146
|
-
prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
159
|
+
prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList | undefined;
|
|
147
160
|
}
|
|
148
161
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
149
162
|
export interface CreateGatewayBGPFilterRuleRequestSet {
|
|
150
163
|
/** 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. */
|
|
151
|
-
localPreference?: number;
|
|
164
|
+
localPreference?: number | undefined;
|
|
152
165
|
}
|
|
153
166
|
export interface CreateGatewayBGPFilterRuleRequest {
|
|
154
167
|
projectId: string;
|
|
@@ -158,11 +171,11 @@ export interface CreateGatewayBGPFilterRuleRequest {
|
|
|
158
171
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
159
172
|
action: CreateGatewayBGPFilterRuleRequestAction | (string & {});
|
|
160
173
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
161
|
-
match?: CreateGatewayBGPFilterRuleRequestMatch;
|
|
174
|
+
match?: CreateGatewayBGPFilterRuleRequestMatch | undefined;
|
|
162
175
|
/** 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. */
|
|
163
|
-
sequence?: number;
|
|
176
|
+
sequence?: number | undefined;
|
|
164
177
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
165
|
-
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
178
|
+
set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
|
|
166
179
|
}
|
|
167
180
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
168
181
|
export type BGPFilterRuleAction = "PERMIT" | "DENY";
|
|
@@ -175,19 +188,19 @@ export type BGPFilterRuleMatchPrefixesList = Array<string>;
|
|
|
175
188
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
176
189
|
export interface BGPFilterRuleMatch {
|
|
177
190
|
/** 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. */
|
|
178
|
-
asPathContainsAny?: BGPFilterRuleMatchAsPathContainsAnyList;
|
|
191
|
+
asPathContainsAny?: BGPFilterRuleMatchAsPathContainsAnyList | undefined;
|
|
179
192
|
/** 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. */
|
|
180
|
-
communities?: BGPFilterRuleMatchCommunitiesList;
|
|
193
|
+
communities?: BGPFilterRuleMatchCommunitiesList | undefined;
|
|
181
194
|
/** Matches if the first ASN (immediate neighbor) in the AS-PATH equals this ASN. Combines with asPathContainsAny using logical AND: when both are set, the first ASN must equal firstASN AND the path must additionally contain at least one ASN from asPathContainsAny. */
|
|
182
|
-
firstASN?: number;
|
|
195
|
+
firstASN?: number | undefined;
|
|
183
196
|
/** Maximum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at most this long) or alone (matches any IPv4 route with a mask length <= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). */
|
|
184
|
-
maxPrefixLength?: number;
|
|
197
|
+
maxPrefixLength?: number | undefined;
|
|
185
198
|
/** Minimum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at least this long) or alone (matches any IPv4 route with a mask length >= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). If both minPrefixLength and maxPrefixLength are set, minPrefixLength must be <= maxPrefixLength. */
|
|
186
|
-
minPrefixLength?: number;
|
|
199
|
+
minPrefixLength?: number | undefined;
|
|
187
200
|
/** 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. */
|
|
188
|
-
peer?: string;
|
|
201
|
+
peer?: string | undefined;
|
|
189
202
|
/** 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). */
|
|
190
|
-
prefixes?: BGPFilterRuleMatchPrefixesList;
|
|
203
|
+
prefixes?: BGPFilterRuleMatchPrefixesList | undefined;
|
|
191
204
|
}
|
|
192
205
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
193
206
|
export type BGPFilterRuleSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
@@ -196,13 +209,13 @@ export interface BGPFilterRule {
|
|
|
196
209
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
197
210
|
action: BGPFilterRuleAction;
|
|
198
211
|
/** The server-generated UUID of the specific rule. */
|
|
199
|
-
id?: string;
|
|
212
|
+
id?: string | undefined;
|
|
200
213
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
201
|
-
match?: BGPFilterRuleMatch;
|
|
214
|
+
match?: BGPFilterRuleMatch | undefined;
|
|
202
215
|
/** 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. */
|
|
203
|
-
sequence?: number;
|
|
216
|
+
sequence?: number | undefined;
|
|
204
217
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
205
|
-
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
218
|
+
set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
|
|
206
219
|
}
|
|
207
220
|
/** The region in which the resource is located. */
|
|
208
221
|
export type CreateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
@@ -214,13 +227,13 @@ export type CreateGatewayConnectionRequestRemoteSubnetsList = Array<string>;
|
|
|
214
227
|
export type CreateGatewayConnectionRequestStaticRoutesList = Array<string>;
|
|
215
228
|
export interface BGPTunnelConfig {
|
|
216
229
|
/** 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. */
|
|
217
|
-
inboundFilterId?: string | null;
|
|
230
|
+
inboundFilterId?: string | null | undefined;
|
|
218
231
|
remoteAsn: number;
|
|
219
232
|
}
|
|
220
233
|
/** 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. */
|
|
221
234
|
export interface PeeringConfig {
|
|
222
|
-
localAddress?: string;
|
|
223
|
-
remoteAddress?: string;
|
|
235
|
+
localAddress?: string | undefined;
|
|
236
|
+
remoteAddress?: string | undefined;
|
|
224
237
|
}
|
|
225
238
|
export type TunnelConfigurationPhase1DhGroupsItem =
|
|
226
239
|
| "modp1024"
|
|
@@ -250,12 +263,12 @@ export type TunnelConfigurationPhase1IntegrityAlgorithmsList = Array<
|
|
|
250
263
|
>;
|
|
251
264
|
export interface TunnelConfigurationPhase1 {
|
|
252
265
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
253
|
-
dhGroups?: TunnelConfigurationPhase1DhGroupsList;
|
|
266
|
+
dhGroups?: TunnelConfigurationPhase1DhGroupsList | undefined;
|
|
254
267
|
encryptionAlgorithms: TunnelConfigurationPhase1EncryptionAlgorithmsList;
|
|
255
268
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
256
269
|
integrityAlgorithms: TunnelConfigurationPhase1IntegrityAlgorithmsList;
|
|
257
270
|
/** Time to schedule a IKE re-keying (in seconds). */
|
|
258
|
-
rekeyTime?: number;
|
|
271
|
+
rekeyTime?: number | undefined;
|
|
259
272
|
}
|
|
260
273
|
export type TunnelConfigurationPhase2DhGroupsItem =
|
|
261
274
|
| "modp1024"
|
|
@@ -289,24 +302,24 @@ export type TunnelConfigurationPhase2DpdAction = "clear" | "restart";
|
|
|
289
302
|
export type TunnelConfigurationPhase2StartAction = "none" | "start";
|
|
290
303
|
export interface TunnelConfigurationPhase2 {
|
|
291
304
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
292
|
-
dhGroups?: TunnelConfigurationPhase2DhGroupsList;
|
|
305
|
+
dhGroups?: TunnelConfigurationPhase2DhGroupsList | undefined;
|
|
293
306
|
encryptionAlgorithms: TunnelConfigurationPhase2EncryptionAlgorithmsList;
|
|
294
307
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
295
308
|
integrityAlgorithms: TunnelConfigurationPhase2IntegrityAlgorithmsList;
|
|
296
309
|
/** 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. */
|
|
297
|
-
dpdAction?: TunnelConfigurationPhase2DpdAction | (string & {});
|
|
310
|
+
dpdAction?: TunnelConfigurationPhase2DpdAction | (string & {}) | undefined;
|
|
298
311
|
/** Time to schedule a Child SA re-keying (in seconds). */
|
|
299
|
-
rekeyTime?: number;
|
|
312
|
+
rekeyTime?: number | undefined;
|
|
300
313
|
/** 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. */
|
|
301
|
-
startAction?: TunnelConfigurationPhase2StartAction | (string & {});
|
|
314
|
+
startAction?: TunnelConfigurationPhase2StartAction | (string & {}) | undefined;
|
|
302
315
|
}
|
|
303
316
|
export interface TunnelConfiguration {
|
|
304
|
-
bgp?: BGPTunnelConfig;
|
|
305
|
-
peering?: PeeringConfig;
|
|
317
|
+
bgp?: BGPTunnelConfig | undefined;
|
|
318
|
+
peering?: PeeringConfig | undefined;
|
|
306
319
|
phase1: TunnelConfigurationPhase1;
|
|
307
320
|
phase2: TunnelConfigurationPhase2;
|
|
308
321
|
/** A Pre-Shared Key for authentication. Required in create-requests, optional in update-requests and omitted in every response. */
|
|
309
|
-
preSharedKey?: string;
|
|
322
|
+
preSharedKey?: string | undefined;
|
|
310
323
|
remoteAddress: string;
|
|
311
324
|
}
|
|
312
325
|
export interface CreateGatewayConnectionRequest {
|
|
@@ -316,14 +329,14 @@ export interface CreateGatewayConnectionRequest {
|
|
|
316
329
|
/** A user-friendly name for the connection. */
|
|
317
330
|
displayName: string;
|
|
318
331
|
/** This flag decides whether this connection should be enabled or disabled */
|
|
319
|
-
enabled?: boolean;
|
|
320
|
-
labels?: Label;
|
|
332
|
+
enabled?: boolean | undefined;
|
|
333
|
+
labels?: Label | undefined;
|
|
321
334
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
322
|
-
localSubnets?: CreateGatewayConnectionRequestLocalSubnetsList;
|
|
335
|
+
localSubnets?: CreateGatewayConnectionRequestLocalSubnetsList | undefined;
|
|
323
336
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
324
|
-
remoteSubnets?: CreateGatewayConnectionRequestRemoteSubnetsList;
|
|
337
|
+
remoteSubnets?: CreateGatewayConnectionRequestRemoteSubnetsList | undefined;
|
|
325
338
|
/** Optional. Use this for route-based VPN. */
|
|
326
|
-
staticRoutes?: CreateGatewayConnectionRequestStaticRoutesList;
|
|
339
|
+
staticRoutes?: CreateGatewayConnectionRequestStaticRoutesList | undefined;
|
|
327
340
|
tunnel1: TunnelConfiguration;
|
|
328
341
|
tunnel2: TunnelConfiguration;
|
|
329
342
|
}
|
|
@@ -358,12 +371,12 @@ export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsList =
|
|
|
358
371
|
Array<TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem>;
|
|
359
372
|
export interface TunnelConfigurationOutputPhase1 {
|
|
360
373
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
361
|
-
dhGroups?: TunnelConfigurationOutputPhase1DhGroupsList;
|
|
374
|
+
dhGroups?: TunnelConfigurationOutputPhase1DhGroupsList | undefined;
|
|
362
375
|
encryptionAlgorithms: TunnelConfigurationOutputPhase1EncryptionAlgorithmsList;
|
|
363
376
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
364
377
|
integrityAlgorithms: TunnelConfigurationOutputPhase1IntegrityAlgorithmsList;
|
|
365
378
|
/** Time to schedule a IKE re-keying (in seconds). */
|
|
366
|
-
rekeyTime?: number;
|
|
379
|
+
rekeyTime?: number | undefined;
|
|
367
380
|
}
|
|
368
381
|
export type TunnelConfigurationOutputPhase2DhGroupsItem =
|
|
369
382
|
| "modp1024"
|
|
@@ -394,20 +407,20 @@ export type TunnelConfigurationOutputPhase2DpdAction = "clear" | "restart";
|
|
|
394
407
|
export type TunnelConfigurationOutputPhase2StartAction = "none" | "start";
|
|
395
408
|
export interface TunnelConfigurationOutputPhase2 {
|
|
396
409
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
397
|
-
dhGroups?: TunnelConfigurationOutputPhase2DhGroupsList;
|
|
410
|
+
dhGroups?: TunnelConfigurationOutputPhase2DhGroupsList | undefined;
|
|
398
411
|
encryptionAlgorithms: TunnelConfigurationOutputPhase2EncryptionAlgorithmsList;
|
|
399
412
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
400
413
|
integrityAlgorithms: TunnelConfigurationOutputPhase2IntegrityAlgorithmsList;
|
|
401
414
|
/** 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. */
|
|
402
|
-
dpdAction?: TunnelConfigurationOutputPhase2DpdAction;
|
|
415
|
+
dpdAction?: TunnelConfigurationOutputPhase2DpdAction | undefined;
|
|
403
416
|
/** Time to schedule a Child SA re-keying (in seconds). */
|
|
404
|
-
rekeyTime?: number;
|
|
417
|
+
rekeyTime?: number | undefined;
|
|
405
418
|
/** 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. */
|
|
406
|
-
startAction?: TunnelConfigurationOutputPhase2StartAction;
|
|
419
|
+
startAction?: TunnelConfigurationOutputPhase2StartAction | undefined;
|
|
407
420
|
}
|
|
408
421
|
export interface TunnelConfigurationOutput {
|
|
409
|
-
bgp?: BGPTunnelConfig;
|
|
410
|
-
peering?: PeeringConfig;
|
|
422
|
+
bgp?: BGPTunnelConfig | undefined;
|
|
423
|
+
peering?: PeeringConfig | undefined;
|
|
411
424
|
phase1: TunnelConfigurationOutputPhase1;
|
|
412
425
|
phase2: TunnelConfigurationOutputPhase2;
|
|
413
426
|
remoteAddress: string;
|
|
@@ -416,16 +429,16 @@ export interface ConnectionResponseOutput {
|
|
|
416
429
|
/** A user-friendly name for the connection. */
|
|
417
430
|
displayName: string;
|
|
418
431
|
/** This flag decides whether this connection should be enabled or disabled */
|
|
419
|
-
enabled?: boolean;
|
|
432
|
+
enabled?: boolean | undefined;
|
|
420
433
|
/** UUID of the Gateway instance. */
|
|
421
|
-
id?: string;
|
|
422
|
-
labels?: Label;
|
|
434
|
+
id?: string | undefined;
|
|
435
|
+
labels?: Label | undefined;
|
|
423
436
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
424
|
-
localSubnets?: ConnectionResponseOutputLocalSubnetsList;
|
|
437
|
+
localSubnets?: ConnectionResponseOutputLocalSubnetsList | undefined;
|
|
425
438
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
426
|
-
remoteSubnets?: ConnectionResponseOutputRemoteSubnetsList;
|
|
439
|
+
remoteSubnets?: ConnectionResponseOutputRemoteSubnetsList | undefined;
|
|
427
440
|
/** Optional. Use this for route-based VPN. */
|
|
428
|
-
staticRoutes?: ConnectionResponseOutputStaticRoutesList;
|
|
441
|
+
staticRoutes?: ConnectionResponseOutputStaticRoutesList | undefined;
|
|
429
442
|
tunnel1: TunnelConfigurationOutput;
|
|
430
443
|
tunnel2: TunnelConfigurationOutput;
|
|
431
444
|
}
|
|
@@ -475,17 +488,17 @@ export interface GetGatewayRequest {
|
|
|
475
488
|
export type GetGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
476
489
|
export interface GetGatewayResponse {
|
|
477
490
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
478
|
-
bgp?: BGPGatewayConfig;
|
|
491
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
479
492
|
/** A user-friendly name for the VPN gateway. */
|
|
480
493
|
displayName: string;
|
|
481
|
-
labels?: Label;
|
|
482
|
-
networkConfig?: NetworkConfig;
|
|
494
|
+
labels?: Label | undefined;
|
|
495
|
+
networkConfig?: NetworkConfig | undefined;
|
|
483
496
|
/** The service plan identifier. */
|
|
484
497
|
planId: string;
|
|
485
498
|
routingType: RoutingType;
|
|
486
499
|
/** The server-generated UUID of the VPN gateway. */
|
|
487
|
-
id?: string;
|
|
488
|
-
state?: GatewayStatus;
|
|
500
|
+
id?: string | undefined;
|
|
501
|
+
state?: GatewayStatus | undefined;
|
|
489
502
|
}
|
|
490
503
|
/** The region in which the resource is located. */
|
|
491
504
|
export type GetGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
@@ -523,49 +536,57 @@ export interface GetGatewayConnectionStatusRequest {
|
|
|
523
536
|
export type TunnelStatusName = "tunnel1" | "tunnel2";
|
|
524
537
|
export interface Phase1Status {
|
|
525
538
|
/** The negotiated Diffie-Hellman Group */
|
|
526
|
-
dhGroup?: string;
|
|
539
|
+
dhGroup?: string | undefined;
|
|
527
540
|
/** The negotiated encryption algorithm. */
|
|
528
|
-
encryptionAlgorithm?: string;
|
|
541
|
+
encryptionAlgorithm?: string | undefined;
|
|
529
542
|
/** The negotiated integrity algorithm or pseudo-random-function. */
|
|
530
|
-
integrityAlgorithm?: string;
|
|
531
|
-
state?: string;
|
|
543
|
+
integrityAlgorithm?: string | undefined;
|
|
544
|
+
state?: string | undefined;
|
|
532
545
|
}
|
|
546
|
+
/** List of negotiated local traffic selectors. */
|
|
547
|
+
export type Phase2StatusLocalTSList = Array<string>;
|
|
548
|
+
/** List of negotiated remote traffic selectors. */
|
|
549
|
+
export type Phase2StatusRemoteTSList = Array<string>;
|
|
533
550
|
export interface Phase2Status {
|
|
534
551
|
/** The total data volume received through this Security Association, measured in bytes. */
|
|
535
|
-
bytesIn?: string;
|
|
552
|
+
bytesIn?: string | undefined;
|
|
536
553
|
/** The total data volume sent through this Security Association, measured in bytes. */
|
|
537
|
-
bytesOut?: string;
|
|
554
|
+
bytesOut?: string | undefined;
|
|
538
555
|
/** The negotiated Diffie-Hellman Group */
|
|
539
|
-
dhGroup?: string;
|
|
556
|
+
dhGroup?: string | undefined;
|
|
540
557
|
/** Indicates whether NAT traversal encapsulation is active for the connection. */
|
|
541
|
-
encap?: string;
|
|
558
|
+
encap?: string | undefined;
|
|
542
559
|
/** The negotiated encryption algorithm. */
|
|
543
|
-
encryptionAlgorithm?: string;
|
|
560
|
+
encryptionAlgorithm?: string | undefined;
|
|
544
561
|
/** The negotiated integrity algorithm or pseudo-random-function. */
|
|
545
|
-
integrityAlgorithm?: string;
|
|
562
|
+
integrityAlgorithm?: string | undefined;
|
|
563
|
+
/** List of negotiated local traffic selectors. */
|
|
564
|
+
localTS?: Phase2StatusLocalTSList | undefined;
|
|
546
565
|
/** The total number of packets received through this IPsec Security Association. */
|
|
547
|
-
packetsIn?: string;
|
|
566
|
+
packetsIn?: string | undefined;
|
|
548
567
|
/** The total number of packets sent through this IPsec Security Association */
|
|
549
|
-
packetsOut?: string;
|
|
568
|
+
packetsOut?: string | undefined;
|
|
550
569
|
/** The security protocol used for the tunnel, typically `ESP` (Encapsulating Security Payload). */
|
|
551
|
-
protocol?: string;
|
|
552
|
-
|
|
570
|
+
protocol?: string | undefined;
|
|
571
|
+
/** List of negotiated remote traffic selectors. */
|
|
572
|
+
remoteTS?: Phase2StatusRemoteTSList | undefined;
|
|
573
|
+
state?: string | undefined;
|
|
553
574
|
}
|
|
554
575
|
/** Describes the status of the VPN itself. */
|
|
555
576
|
export interface TunnelStatus {
|
|
556
|
-
established?: boolean;
|
|
557
|
-
name?: TunnelStatusName;
|
|
558
|
-
phase1?: Phase1Status;
|
|
559
|
-
phase2?: Phase2Status;
|
|
577
|
+
established?: boolean | undefined;
|
|
578
|
+
name?: TunnelStatusName | undefined;
|
|
579
|
+
phase1?: Phase1Status | undefined;
|
|
580
|
+
phase2?: Phase2Status | undefined;
|
|
560
581
|
}
|
|
561
582
|
export type ConnectionStatusResponseTunnelsList = Array<TunnelStatus>;
|
|
562
583
|
export interface ConnectionStatusResponse {
|
|
563
584
|
/** The name of the connection. */
|
|
564
|
-
displayName?: string;
|
|
565
|
-
enabled?: boolean;
|
|
585
|
+
displayName?: string | undefined;
|
|
586
|
+
enabled?: boolean | undefined;
|
|
566
587
|
/** UUID of the connection. */
|
|
567
|
-
id?: string;
|
|
568
|
-
tunnels?: ConnectionStatusResponseTunnelsList;
|
|
588
|
+
id?: string | undefined;
|
|
589
|
+
tunnels?: ConnectionStatusResponseTunnelsList | undefined;
|
|
569
590
|
}
|
|
570
591
|
/** The region in which the resource is located. */
|
|
571
592
|
export type GetGatewayStatusRequestRegion = "eu01" | "eu02";
|
|
@@ -604,31 +625,31 @@ export interface BGPStatusRoutes {
|
|
|
604
625
|
}
|
|
605
626
|
export type BGPStatusRoutesList = Array<BGPStatusRoutes>;
|
|
606
627
|
export interface BGPStatus {
|
|
607
|
-
peers?: BGPStatusPeersList;
|
|
608
|
-
routes?: BGPStatusRoutesList;
|
|
628
|
+
peers?: BGPStatusPeersList | undefined;
|
|
629
|
+
routes?: BGPStatusRoutesList | undefined;
|
|
609
630
|
}
|
|
610
631
|
export type VPNTunnelsName = "tunnel1" | "tunnel2";
|
|
611
632
|
/** Status of the underlying tunnel instances. */
|
|
612
633
|
export interface VPNTunnels {
|
|
613
|
-
bgpStatus?: BGPStatus | null;
|
|
614
|
-
instanceState?: GatewayStatus;
|
|
634
|
+
bgpStatus?: BGPStatus | null | undefined;
|
|
635
|
+
instanceState?: GatewayStatus | undefined;
|
|
615
636
|
/** The IPv4 address of the endpoint in the SNA. */
|
|
616
|
-
internalNextHopIP?: string;
|
|
617
|
-
name?: VPNTunnelsName;
|
|
637
|
+
internalNextHopIP?: string | undefined;
|
|
638
|
+
name?: VPNTunnelsName | undefined;
|
|
618
639
|
/** The public IPv4 address of this endpoint. */
|
|
619
|
-
publicIP?: string;
|
|
640
|
+
publicIP?: string | undefined;
|
|
620
641
|
}
|
|
621
642
|
export type GatewayStatusResponseTunnelsList = Array<VPNTunnels>;
|
|
622
643
|
export interface GatewayStatusResponse {
|
|
623
|
-
connections?: GatewayStatusResponseConnectionsList;
|
|
644
|
+
connections?: GatewayStatusResponseConnectionsList | undefined;
|
|
624
645
|
/** Name of the Gateway instance. */
|
|
625
|
-
displayName?: string;
|
|
646
|
+
displayName?: string | undefined;
|
|
626
647
|
/** A descriptive message provided when the gateway is in an error state. */
|
|
627
|
-
errorMessage?: string;
|
|
628
|
-
gatewayStatus?: GatewayStatus;
|
|
648
|
+
errorMessage?: string | undefined;
|
|
649
|
+
gatewayStatus?: GatewayStatus | undefined;
|
|
629
650
|
/** UUID of the Gateway instance. */
|
|
630
|
-
id?: string;
|
|
631
|
-
tunnels?: GatewayStatusResponseTunnelsList;
|
|
651
|
+
id?: string | undefined;
|
|
652
|
+
tunnels?: GatewayStatusResponseTunnelsList | undefined;
|
|
632
653
|
}
|
|
633
654
|
/** The region in which the resource is located. */
|
|
634
655
|
export type ListGatewayBGPFilterRulesRequestRegion = "eu01" | "eu02";
|
|
@@ -664,7 +685,7 @@ export interface ListGatewayConnectionsRequest {
|
|
|
664
685
|
region: ListGatewayConnectionsRequestRegion | (string & {});
|
|
665
686
|
gatewayId: string;
|
|
666
687
|
/** Filter resources by labels. */
|
|
667
|
-
label_selector?: LabelSelector;
|
|
688
|
+
label_selector?: LabelSelector | undefined;
|
|
668
689
|
}
|
|
669
690
|
export type ConnectionListOutputConnectionsList = Array<ConnectionResponseOutput>;
|
|
670
691
|
export interface ConnectionListOutput {
|
|
@@ -676,22 +697,22 @@ export interface ListGatewaysRequest {
|
|
|
676
697
|
projectId: string;
|
|
677
698
|
region: ListGatewaysRequestRegion | (string & {});
|
|
678
699
|
/** Filter resources by labels. */
|
|
679
|
-
label_selector?: LabelSelector;
|
|
700
|
+
label_selector?: LabelSelector | undefined;
|
|
680
701
|
}
|
|
681
702
|
export type GatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
682
703
|
export interface GatewayResponse {
|
|
683
704
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
684
|
-
bgp?: BGPGatewayConfig;
|
|
705
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
685
706
|
/** A user-friendly name for the VPN gateway. */
|
|
686
707
|
displayName: string;
|
|
687
|
-
labels?: Label;
|
|
688
|
-
networkConfig?: NetworkConfig;
|
|
708
|
+
labels?: Label | undefined;
|
|
709
|
+
networkConfig?: NetworkConfig | undefined;
|
|
689
710
|
/** The service plan identifier. */
|
|
690
711
|
planId: string;
|
|
691
712
|
routingType: RoutingType;
|
|
692
713
|
/** The server-generated UUID of the VPN gateway. */
|
|
693
|
-
id?: string;
|
|
694
|
-
state?: GatewayStatus;
|
|
714
|
+
id?: string | undefined;
|
|
715
|
+
state?: GatewayStatus | undefined;
|
|
695
716
|
}
|
|
696
717
|
export type GatewayListGatewaysList = Array<GatewayResponse>;
|
|
697
718
|
export interface GatewayList {
|
|
@@ -704,19 +725,19 @@ export interface ListPlansRequest {
|
|
|
704
725
|
}
|
|
705
726
|
export interface Plan {
|
|
706
727
|
/** The maximum throughput supported by the gateway in each direction, measured in MBit/s */
|
|
707
|
-
maxBandwidth?: number;
|
|
728
|
+
maxBandwidth?: number | undefined;
|
|
708
729
|
/** The maximum number of connections supported by the VPN Gateway. */
|
|
709
|
-
maxConnections?: number;
|
|
730
|
+
maxConnections?: number | undefined;
|
|
710
731
|
/** The name of the service plan. */
|
|
711
|
-
name?: string;
|
|
712
|
-
planId?: string;
|
|
732
|
+
name?: string | undefined;
|
|
733
|
+
planId?: string | undefined;
|
|
713
734
|
/** The SKU identifier used for billing. */
|
|
714
|
-
sku?: string;
|
|
735
|
+
sku?: string | undefined;
|
|
715
736
|
}
|
|
716
737
|
export type PlanListPlansList = Array<Plan>;
|
|
717
738
|
export interface PlanList {
|
|
718
|
-
defaultPlanId?: string;
|
|
719
|
-
plans?: PlanListPlansList;
|
|
739
|
+
defaultPlanId?: string | undefined;
|
|
740
|
+
plans?: PlanListPlansList | undefined;
|
|
720
741
|
}
|
|
721
742
|
/** The region in which the resource is located. */
|
|
722
743
|
export type ListQuotasRequestRegion = "eu01" | "eu02";
|
|
@@ -743,11 +764,11 @@ export interface UpdateGatewayRequest {
|
|
|
743
764
|
region: UpdateGatewayRequestRegion | (string & {});
|
|
744
765
|
gatewayId: string;
|
|
745
766
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
746
|
-
bgp?: BGPGatewayConfig;
|
|
767
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
747
768
|
/** A user-friendly name for the VPN gateway. */
|
|
748
769
|
displayName: string;
|
|
749
|
-
labels?: Label;
|
|
750
|
-
networkConfig?: NetworkConfig;
|
|
770
|
+
labels?: Label | undefined;
|
|
771
|
+
networkConfig?: NetworkConfig | undefined;
|
|
751
772
|
/** The service plan identifier. */
|
|
752
773
|
planId: string;
|
|
753
774
|
routingType: RoutingType | (string & {});
|
|
@@ -755,17 +776,17 @@ export interface UpdateGatewayRequest {
|
|
|
755
776
|
export type UpdateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
756
777
|
export interface UpdateGatewayResponse {
|
|
757
778
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
758
|
-
bgp?: BGPGatewayConfig;
|
|
779
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
759
780
|
/** A user-friendly name for the VPN gateway. */
|
|
760
781
|
displayName: string;
|
|
761
|
-
labels?: Label;
|
|
762
|
-
networkConfig?: NetworkConfig;
|
|
782
|
+
labels?: Label | undefined;
|
|
783
|
+
networkConfig?: NetworkConfig | undefined;
|
|
763
784
|
/** The service plan identifier. */
|
|
764
785
|
planId: string;
|
|
765
786
|
routingType: RoutingType;
|
|
766
787
|
/** The server-generated UUID of the VPN gateway. */
|
|
767
|
-
id?: string;
|
|
768
|
-
state?: GatewayStatus;
|
|
788
|
+
id?: string | undefined;
|
|
789
|
+
state?: GatewayStatus | undefined;
|
|
769
790
|
}
|
|
770
791
|
/** The region in which the resource is located. */
|
|
771
792
|
export type UpdateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
@@ -790,19 +811,19 @@ export type UpdateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
|
790
811
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
791
812
|
export interface UpdateGatewayBGPFilterRuleRequestMatch {
|
|
792
813
|
/** 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. */
|
|
793
|
-
asPathContainsAny?: UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList;
|
|
814
|
+
asPathContainsAny?: UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList | undefined;
|
|
794
815
|
/** 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. */
|
|
795
|
-
communities?: UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList;
|
|
816
|
+
communities?: UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList | undefined;
|
|
796
817
|
/** Matches if the first ASN (immediate neighbor) in the AS-PATH equals this ASN. Combines with asPathContainsAny using logical AND: when both are set, the first ASN must equal firstASN AND the path must additionally contain at least one ASN from asPathContainsAny. */
|
|
797
|
-
firstASN?: number;
|
|
818
|
+
firstASN?: number | undefined;
|
|
798
819
|
/** Maximum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at most this long) or alone (matches any IPv4 route with a mask length <= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). */
|
|
799
|
-
maxPrefixLength?: number;
|
|
820
|
+
maxPrefixLength?: number | undefined;
|
|
800
821
|
/** Minimum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at least this long) or alone (matches any IPv4 route with a mask length >= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). If both minPrefixLength and maxPrefixLength are set, minPrefixLength must be <= maxPrefixLength. */
|
|
801
|
-
minPrefixLength?: number;
|
|
822
|
+
minPrefixLength?: number | undefined;
|
|
802
823
|
/** 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. */
|
|
803
|
-
peer?: string;
|
|
824
|
+
peer?: string | undefined;
|
|
804
825
|
/** 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). */
|
|
805
|
-
prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
826
|
+
prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList | undefined;
|
|
806
827
|
}
|
|
807
828
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
808
829
|
export type UpdateGatewayBGPFilterRuleRequestSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
@@ -815,11 +836,11 @@ export interface UpdateGatewayBGPFilterRuleRequest {
|
|
|
815
836
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
816
837
|
action: UpdateGatewayBGPFilterRuleRequestAction | (string & {});
|
|
817
838
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
818
|
-
match?: UpdateGatewayBGPFilterRuleRequestMatch;
|
|
839
|
+
match?: UpdateGatewayBGPFilterRuleRequestMatch | undefined;
|
|
819
840
|
/** 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. */
|
|
820
|
-
sequence?: number;
|
|
841
|
+
sequence?: number | undefined;
|
|
821
842
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
822
|
-
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
843
|
+
set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
|
|
823
844
|
}
|
|
824
845
|
/** The region in which the resource is located. */
|
|
825
846
|
export type UpdateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
@@ -837,14 +858,14 @@ export interface UpdateGatewayConnectionRequest {
|
|
|
837
858
|
/** A user-friendly name for the connection. */
|
|
838
859
|
displayName: string;
|
|
839
860
|
/** This flag decides whether this connection should be enabled or disabled */
|
|
840
|
-
enabled?: boolean;
|
|
841
|
-
labels?: Label;
|
|
861
|
+
enabled?: boolean | undefined;
|
|
862
|
+
labels?: Label | undefined;
|
|
842
863
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
843
|
-
localSubnets?: UpdateGatewayConnectionRequestLocalSubnetsList;
|
|
864
|
+
localSubnets?: UpdateGatewayConnectionRequestLocalSubnetsList | undefined;
|
|
844
865
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
845
|
-
remoteSubnets?: UpdateGatewayConnectionRequestRemoteSubnetsList;
|
|
866
|
+
remoteSubnets?: UpdateGatewayConnectionRequestRemoteSubnetsList | undefined;
|
|
846
867
|
/** Optional. Use this for route-based VPN. */
|
|
847
|
-
staticRoutes?: UpdateGatewayConnectionRequestStaticRoutesList;
|
|
868
|
+
staticRoutes?: UpdateGatewayConnectionRequestStaticRoutesList | undefined;
|
|
848
869
|
tunnel1: TunnelConfiguration;
|
|
849
870
|
tunnel2: TunnelConfiguration;
|
|
850
871
|
}
|
|
@@ -861,6 +882,8 @@ export const createGateway: API.OperationMethod<
|
|
|
861
882
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
862
883
|
protocol: StackitProtocol,
|
|
863
884
|
retry: Retry.Retry,
|
|
885
|
+
telemetry: TELEMETRY,
|
|
886
|
+
span: "CreateGateway",
|
|
864
887
|
}));
|
|
865
888
|
|
|
866
889
|
export type CreateGatewayBGPFilterError =
|
|
@@ -881,6 +904,8 @@ export const createGatewayBGPFilter: API.OperationMethod<
|
|
|
881
904
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
882
905
|
protocol: StackitProtocol,
|
|
883
906
|
retry: Retry.Retry,
|
|
907
|
+
telemetry: TELEMETRY,
|
|
908
|
+
span: "CreateGatewayBGPFilter",
|
|
884
909
|
}));
|
|
885
910
|
|
|
886
911
|
export type CreateGatewayBGPFilterRuleError =
|
|
@@ -901,6 +926,8 @@ export const createGatewayBGPFilterRule: API.OperationMethod<
|
|
|
901
926
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
902
927
|
protocol: StackitProtocol,
|
|
903
928
|
retry: Retry.Retry,
|
|
929
|
+
telemetry: TELEMETRY,
|
|
930
|
+
span: "CreateGatewayBGPFilterRule",
|
|
904
931
|
}));
|
|
905
932
|
|
|
906
933
|
export type CreateGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -916,6 +943,8 @@ export const createGatewayConnection: API.OperationMethod<
|
|
|
916
943
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
917
944
|
protocol: StackitProtocol,
|
|
918
945
|
retry: Retry.Retry,
|
|
946
|
+
telemetry: TELEMETRY,
|
|
947
|
+
span: "CreateGatewayConnection",
|
|
919
948
|
}));
|
|
920
949
|
|
|
921
950
|
export type DeleteGatewayError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -931,6 +960,8 @@ export const deleteGateway: API.OperationMethod<
|
|
|
931
960
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
932
961
|
protocol: StackitProtocol,
|
|
933
962
|
retry: Retry.Retry,
|
|
963
|
+
telemetry: TELEMETRY,
|
|
964
|
+
span: "DeleteGateway",
|
|
934
965
|
}));
|
|
935
966
|
|
|
936
967
|
export type DeleteGatewayBGPFilterError =
|
|
@@ -951,6 +982,8 @@ export const deleteGatewayBGPFilter: API.OperationMethod<
|
|
|
951
982
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
952
983
|
protocol: StackitProtocol,
|
|
953
984
|
retry: Retry.Retry,
|
|
985
|
+
telemetry: TELEMETRY,
|
|
986
|
+
span: "DeleteGatewayBGPFilter",
|
|
954
987
|
}));
|
|
955
988
|
|
|
956
989
|
export type DeleteGatewayBGPFilterRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -966,6 +999,8 @@ export const deleteGatewayBGPFilterRule: API.OperationMethod<
|
|
|
966
999
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
967
1000
|
protocol: StackitProtocol,
|
|
968
1001
|
retry: Retry.Retry,
|
|
1002
|
+
telemetry: TELEMETRY,
|
|
1003
|
+
span: "DeleteGatewayBGPFilterRule",
|
|
969
1004
|
}));
|
|
970
1005
|
|
|
971
1006
|
export type DeleteGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -981,6 +1016,8 @@ export const deleteGatewayConnection: API.OperationMethod<
|
|
|
981
1016
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
982
1017
|
protocol: StackitProtocol,
|
|
983
1018
|
retry: Retry.Retry,
|
|
1019
|
+
telemetry: TELEMETRY,
|
|
1020
|
+
span: "DeleteGatewayConnection",
|
|
984
1021
|
}));
|
|
985
1022
|
|
|
986
1023
|
export type GetGatewayError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -996,6 +1033,8 @@ export const getGateway: API.OperationMethod<
|
|
|
996
1033
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
997
1034
|
protocol: StackitProtocol,
|
|
998
1035
|
retry: Retry.Retry,
|
|
1036
|
+
telemetry: TELEMETRY,
|
|
1037
|
+
span: "GetGateway",
|
|
999
1038
|
}));
|
|
1000
1039
|
|
|
1001
1040
|
export type GetGatewayBGPFilterError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1011,6 +1050,8 @@ export const getGatewayBGPFilter: API.OperationMethod<
|
|
|
1011
1050
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1012
1051
|
protocol: StackitProtocol,
|
|
1013
1052
|
retry: Retry.Retry,
|
|
1053
|
+
telemetry: TELEMETRY,
|
|
1054
|
+
span: "GetGatewayBGPFilter",
|
|
1014
1055
|
}));
|
|
1015
1056
|
|
|
1016
1057
|
export type GetGatewayBGPFilterRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1026,6 +1067,8 @@ export const getGatewayBGPFilterRule: API.OperationMethod<
|
|
|
1026
1067
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1027
1068
|
protocol: StackitProtocol,
|
|
1028
1069
|
retry: Retry.Retry,
|
|
1070
|
+
telemetry: TELEMETRY,
|
|
1071
|
+
span: "GetGatewayBGPFilterRule",
|
|
1029
1072
|
}));
|
|
1030
1073
|
|
|
1031
1074
|
export type GetGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1041,6 +1084,8 @@ export const getGatewayConnection: API.OperationMethod<
|
|
|
1041
1084
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1042
1085
|
protocol: StackitProtocol,
|
|
1043
1086
|
retry: Retry.Retry,
|
|
1087
|
+
telemetry: TELEMETRY,
|
|
1088
|
+
span: "GetGatewayConnection",
|
|
1044
1089
|
}));
|
|
1045
1090
|
|
|
1046
1091
|
export type GetGatewayConnectionStatusError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1056,6 +1101,8 @@ export const getGatewayConnectionStatus: API.OperationMethod<
|
|
|
1056
1101
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1057
1102
|
protocol: StackitProtocol,
|
|
1058
1103
|
retry: Retry.Retry,
|
|
1104
|
+
telemetry: TELEMETRY,
|
|
1105
|
+
span: "GetGatewayConnectionStatus",
|
|
1059
1106
|
}));
|
|
1060
1107
|
|
|
1061
1108
|
export type GetGatewayStatusError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1071,6 +1118,8 @@ export const getGatewayStatus: API.OperationMethod<
|
|
|
1071
1118
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1072
1119
|
protocol: StackitProtocol,
|
|
1073
1120
|
retry: Retry.Retry,
|
|
1121
|
+
telemetry: TELEMETRY,
|
|
1122
|
+
span: "GetGatewayStatus",
|
|
1074
1123
|
}));
|
|
1075
1124
|
|
|
1076
1125
|
export type ListGatewayBGPFilterRulesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1086,6 +1135,8 @@ export const listGatewayBGPFilterRules: API.OperationMethod<
|
|
|
1086
1135
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1087
1136
|
protocol: StackitProtocol,
|
|
1088
1137
|
retry: Retry.Retry,
|
|
1138
|
+
telemetry: TELEMETRY,
|
|
1139
|
+
span: "ListGatewayBGPFilterRules",
|
|
1089
1140
|
}));
|
|
1090
1141
|
|
|
1091
1142
|
export type ListGatewayBGPFiltersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1101,6 +1152,8 @@ export const listGatewayBGPFilters: API.OperationMethod<
|
|
|
1101
1152
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1102
1153
|
protocol: StackitProtocol,
|
|
1103
1154
|
retry: Retry.Retry,
|
|
1155
|
+
telemetry: TELEMETRY,
|
|
1156
|
+
span: "ListGatewayBGPFilters",
|
|
1104
1157
|
}));
|
|
1105
1158
|
|
|
1106
1159
|
export type ListGatewayConnectionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1116,6 +1169,8 @@ export const listGatewayConnections: API.OperationMethod<
|
|
|
1116
1169
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1117
1170
|
protocol: StackitProtocol,
|
|
1118
1171
|
retry: Retry.Retry,
|
|
1172
|
+
telemetry: TELEMETRY,
|
|
1173
|
+
span: "ListGatewayConnections",
|
|
1119
1174
|
}));
|
|
1120
1175
|
|
|
1121
1176
|
export type ListGatewaysError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -1131,6 +1186,8 @@ export const listGateways: API.OperationMethod<
|
|
|
1131
1186
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1132
1187
|
protocol: StackitProtocol,
|
|
1133
1188
|
retry: Retry.Retry,
|
|
1189
|
+
telemetry: TELEMETRY,
|
|
1190
|
+
span: "ListGateways",
|
|
1134
1191
|
}));
|
|
1135
1192
|
|
|
1136
1193
|
export type ListPlansError = BadRequest | StackitOpError;
|
|
@@ -1146,6 +1203,8 @@ export const listPlans: API.OperationMethod<
|
|
|
1146
1203
|
errors: [BadRequest, UnknownStackitError],
|
|
1147
1204
|
protocol: StackitProtocol,
|
|
1148
1205
|
retry: Retry.Retry,
|
|
1206
|
+
telemetry: TELEMETRY,
|
|
1207
|
+
span: "ListPlans",
|
|
1149
1208
|
}));
|
|
1150
1209
|
|
|
1151
1210
|
export type ListQuotasError = BadRequest | StackitOpError;
|
|
@@ -1161,6 +1220,8 @@ export const listQuotas: API.OperationMethod<
|
|
|
1161
1220
|
errors: [BadRequest, UnknownStackitError],
|
|
1162
1221
|
protocol: StackitProtocol,
|
|
1163
1222
|
retry: Retry.Retry,
|
|
1223
|
+
telemetry: TELEMETRY,
|
|
1224
|
+
span: "ListQuotas",
|
|
1164
1225
|
}));
|
|
1165
1226
|
|
|
1166
1227
|
export type UpdateGatewayError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -1176,6 +1237,8 @@ export const updateGateway: API.OperationMethod<
|
|
|
1176
1237
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
1177
1238
|
protocol: StackitProtocol,
|
|
1178
1239
|
retry: Retry.Retry,
|
|
1240
|
+
telemetry: TELEMETRY,
|
|
1241
|
+
span: "UpdateGateway",
|
|
1179
1242
|
}));
|
|
1180
1243
|
|
|
1181
1244
|
export type UpdateGatewayBGPFilterError =
|
|
@@ -1196,6 +1259,8 @@ export const updateGatewayBGPFilter: API.OperationMethod<
|
|
|
1196
1259
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
1197
1260
|
protocol: StackitProtocol,
|
|
1198
1261
|
retry: Retry.Retry,
|
|
1262
|
+
telemetry: TELEMETRY,
|
|
1263
|
+
span: "UpdateGatewayBGPFilter",
|
|
1199
1264
|
}));
|
|
1200
1265
|
|
|
1201
1266
|
export type UpdateGatewayBGPFilterRuleError =
|
|
@@ -1216,6 +1281,8 @@ export const updateGatewayBGPFilterRule: API.OperationMethod<
|
|
|
1216
1281
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
1217
1282
|
protocol: StackitProtocol,
|
|
1218
1283
|
retry: Retry.Retry,
|
|
1284
|
+
telemetry: TELEMETRY,
|
|
1285
|
+
span: "UpdateGatewayBGPFilterRule",
|
|
1219
1286
|
}));
|
|
1220
1287
|
|
|
1221
1288
|
export type UpdateGatewayConnectionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -1231,6 +1298,8 @@ export const updateGatewayConnection: API.OperationMethod<
|
|
|
1231
1298
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1232
1299
|
protocol: StackitProtocol,
|
|
1233
1300
|
retry: Retry.Retry,
|
|
1301
|
+
telemetry: TELEMETRY,
|
|
1302
|
+
span: "UpdateGatewayConnection",
|
|
1234
1303
|
}));
|
|
1235
1304
|
|
|
1236
1305
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -1395,9 +1464,11 @@ function __c7(j: number): any {
|
|
|
1395
1464
|
encap: S.optional(S.String),
|
|
1396
1465
|
encryptionAlgorithm: S.optional(S.String),
|
|
1397
1466
|
integrityAlgorithm: S.optional(S.String),
|
|
1467
|
+
localTS: S.optional(__S(336, __c21, 0)),
|
|
1398
1468
|
packetsIn: S.optional(S.String),
|
|
1399
1469
|
packetsOut: S.optional(S.String),
|
|
1400
1470
|
protocol: S.optional(S.String),
|
|
1471
|
+
remoteTS: S.optional(__S(336, __c21, 0)),
|
|
1401
1472
|
state: S.optional(S.String),
|
|
1402
1473
|
}),
|
|
1403
1474
|
).annotate({ identifier: "Phase2Status" });
|