@distilled.cloud/stackit 1.0.0-rc.18 → 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/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- 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 +24 -24
- 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 +29 -29
- 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 +22 -22
- 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 +22 -22
- 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 -39
- 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 +23 -23
- 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 +24 -24
- 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 +37 -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 +179 -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 +25 -25
- 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 +37 -37
- 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 +25 -25
- 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 +34 -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 -33
- 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 +35 -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 +38 -38
- 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 +34 -34
- 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 +147 -147
- 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 +35 -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 +24 -24
- 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 -46
- 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 +33 -33
- 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 +36 -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 +32 -32
- 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 +31 -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 +33 -33
- 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 +39 -39
- 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 +25 -25
- 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 +26 -26
- 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 -45
- 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 +21 -21
- 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 +36 -36
- 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 +22 -22
- 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 -33
- 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 -28
- 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 +35 -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 +40 -40
- 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 +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- 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/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/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/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/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.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/package.json +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +10 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
package/lib/services/vpn.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export type BGPGatewayConfigOverrideAdvertisedRoutesList = Array<string>;
|
|
|
54
54
|
export interface BGPGatewayConfig {
|
|
55
55
|
localAsn: number;
|
|
56
56
|
/** A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised. */
|
|
57
|
-
overrideAdvertisedRoutes?: BGPGatewayConfigOverrideAdvertisedRoutesList;
|
|
57
|
+
overrideAdvertisedRoutes?: BGPGatewayConfigOverrideAdvertisedRoutesList | undefined;
|
|
58
58
|
}
|
|
59
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. */
|
|
60
60
|
export type Label = {
|
|
@@ -62,9 +62,9 @@ export type Label = {
|
|
|
62
62
|
};
|
|
63
63
|
export interface NetworkConfig {
|
|
64
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. */
|
|
65
|
-
predefinedNetworkPrefix?: string;
|
|
65
|
+
predefinedNetworkPrefix?: string | undefined;
|
|
66
66
|
/** Custom routing table ID for the VPN gateway */
|
|
67
|
-
routingTableId?: string;
|
|
67
|
+
routingTableId?: string | undefined;
|
|
68
68
|
}
|
|
69
69
|
/** Once the gateway is created, it is not possible to change this attribute. */
|
|
70
70
|
export type RoutingType = "POLICY_BASED" | "ROUTE_BASED" | "BGP_ROUTE_BASED";
|
|
@@ -72,11 +72,11 @@ export interface CreateGatewayRequest {
|
|
|
72
72
|
projectId: string;
|
|
73
73
|
region: CreateGatewayRequestRegion | (string & {});
|
|
74
74
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
75
|
-
bgp?: BGPGatewayConfig;
|
|
75
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
76
76
|
/** A user-friendly name for the VPN gateway. */
|
|
77
77
|
displayName: string;
|
|
78
|
-
labels?: Label;
|
|
79
|
-
networkConfig?: NetworkConfig;
|
|
78
|
+
labels?: Label | undefined;
|
|
79
|
+
networkConfig?: NetworkConfig | undefined;
|
|
80
80
|
/** The service plan identifier. */
|
|
81
81
|
planId: string;
|
|
82
82
|
routingType: RoutingType | (string & {});
|
|
@@ -86,17 +86,17 @@ export type CreateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailab
|
|
|
86
86
|
export type GatewayStatus = "PENDING" | "READY" | "ERROR" | "DELETING";
|
|
87
87
|
export interface CreateGatewayResponse {
|
|
88
88
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
89
|
-
bgp?: BGPGatewayConfig;
|
|
89
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
90
90
|
/** A user-friendly name for the VPN gateway. */
|
|
91
91
|
displayName: string;
|
|
92
|
-
labels?: Label;
|
|
93
|
-
networkConfig?: NetworkConfig;
|
|
92
|
+
labels?: Label | undefined;
|
|
93
|
+
networkConfig?: NetworkConfig | undefined;
|
|
94
94
|
/** The service plan identifier. */
|
|
95
95
|
planId: string;
|
|
96
96
|
routingType: RoutingType;
|
|
97
97
|
/** The server-generated UUID of the VPN gateway. */
|
|
98
|
-
id?: string;
|
|
99
|
-
state?: GatewayStatus;
|
|
98
|
+
id?: string | undefined;
|
|
99
|
+
state?: GatewayStatus | undefined;
|
|
100
100
|
}
|
|
101
101
|
/** The region in which the resource is located. */
|
|
102
102
|
export type CreateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
@@ -112,7 +112,7 @@ export interface BGPFilter {
|
|
|
112
112
|
/** A user-friendly name for the filter. Display only -- not enforced unique across a gateway. */
|
|
113
113
|
displayName: string;
|
|
114
114
|
/** The server-generated UUID of the filter. */
|
|
115
|
-
id?: string;
|
|
115
|
+
id?: string | undefined;
|
|
116
116
|
}
|
|
117
117
|
/** The region in which the resource is located. */
|
|
118
118
|
export type CreateGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
|
|
@@ -127,24 +127,24 @@ export type CreateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
|
127
127
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
128
128
|
export interface CreateGatewayBGPFilterRuleRequestMatch {
|
|
129
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. */
|
|
130
|
-
asPathContainsAny?: CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList;
|
|
130
|
+
asPathContainsAny?: CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList | undefined;
|
|
131
131
|
/** 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. */
|
|
132
|
-
communities?: CreateGatewayBGPFilterRuleRequestMatchCommunitiesList;
|
|
132
|
+
communities?: CreateGatewayBGPFilterRuleRequestMatchCommunitiesList | undefined;
|
|
133
133
|
/** 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. */
|
|
134
|
-
firstASN?: number;
|
|
134
|
+
firstASN?: number | undefined;
|
|
135
135
|
/** 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]'). */
|
|
136
|
-
maxPrefixLength?: number;
|
|
136
|
+
maxPrefixLength?: number | undefined;
|
|
137
137
|
/** 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. */
|
|
138
|
-
minPrefixLength?: number;
|
|
138
|
+
minPrefixLength?: number | undefined;
|
|
139
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. */
|
|
140
|
-
peer?: string;
|
|
140
|
+
peer?: string | undefined;
|
|
141
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). */
|
|
142
|
-
prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
142
|
+
prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList | undefined;
|
|
143
143
|
}
|
|
144
144
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
145
145
|
export interface CreateGatewayBGPFilterRuleRequestSet {
|
|
146
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. */
|
|
147
|
-
localPreference?: number;
|
|
147
|
+
localPreference?: number | undefined;
|
|
148
148
|
}
|
|
149
149
|
export interface CreateGatewayBGPFilterRuleRequest {
|
|
150
150
|
projectId: string;
|
|
@@ -154,11 +154,11 @@ export interface CreateGatewayBGPFilterRuleRequest {
|
|
|
154
154
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
155
155
|
action: CreateGatewayBGPFilterRuleRequestAction | (string & {});
|
|
156
156
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
157
|
-
match?: CreateGatewayBGPFilterRuleRequestMatch;
|
|
157
|
+
match?: CreateGatewayBGPFilterRuleRequestMatch | undefined;
|
|
158
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. */
|
|
159
|
-
sequence?: number;
|
|
159
|
+
sequence?: number | undefined;
|
|
160
160
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
161
|
-
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
161
|
+
set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
|
|
162
162
|
}
|
|
163
163
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
164
164
|
export type BGPFilterRuleAction = "PERMIT" | "DENY";
|
|
@@ -171,19 +171,19 @@ export type BGPFilterRuleMatchPrefixesList = Array<string>;
|
|
|
171
171
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
172
172
|
export interface BGPFilterRuleMatch {
|
|
173
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. */
|
|
174
|
-
asPathContainsAny?: BGPFilterRuleMatchAsPathContainsAnyList;
|
|
174
|
+
asPathContainsAny?: BGPFilterRuleMatchAsPathContainsAnyList | undefined;
|
|
175
175
|
/** 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. */
|
|
176
|
-
communities?: BGPFilterRuleMatchCommunitiesList;
|
|
176
|
+
communities?: BGPFilterRuleMatchCommunitiesList | undefined;
|
|
177
177
|
/** 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. */
|
|
178
|
-
firstASN?: number;
|
|
178
|
+
firstASN?: number | undefined;
|
|
179
179
|
/** 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]'). */
|
|
180
|
-
maxPrefixLength?: number;
|
|
180
|
+
maxPrefixLength?: number | undefined;
|
|
181
181
|
/** 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. */
|
|
182
|
-
minPrefixLength?: number;
|
|
182
|
+
minPrefixLength?: number | undefined;
|
|
183
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. */
|
|
184
|
-
peer?: string;
|
|
184
|
+
peer?: string | undefined;
|
|
185
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). */
|
|
186
|
-
prefixes?: BGPFilterRuleMatchPrefixesList;
|
|
186
|
+
prefixes?: BGPFilterRuleMatchPrefixesList | undefined;
|
|
187
187
|
}
|
|
188
188
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
189
189
|
export type BGPFilterRuleSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
@@ -192,13 +192,13 @@ export interface BGPFilterRule {
|
|
|
192
192
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
193
193
|
action: BGPFilterRuleAction;
|
|
194
194
|
/** The server-generated UUID of the specific rule. */
|
|
195
|
-
id?: string;
|
|
195
|
+
id?: string | undefined;
|
|
196
196
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
197
|
-
match?: BGPFilterRuleMatch;
|
|
197
|
+
match?: BGPFilterRuleMatch | undefined;
|
|
198
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. */
|
|
199
|
-
sequence?: number;
|
|
199
|
+
sequence?: number | undefined;
|
|
200
200
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
201
|
-
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
201
|
+
set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
|
|
202
202
|
}
|
|
203
203
|
/** The region in which the resource is located. */
|
|
204
204
|
export type CreateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
@@ -210,13 +210,13 @@ export type CreateGatewayConnectionRequestRemoteSubnetsList = Array<string>;
|
|
|
210
210
|
export type CreateGatewayConnectionRequestStaticRoutesList = Array<string>;
|
|
211
211
|
export interface BGPTunnelConfig {
|
|
212
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. */
|
|
213
|
-
inboundFilterId?: string | null;
|
|
213
|
+
inboundFilterId?: string | null | undefined;
|
|
214
214
|
remoteAsn: number;
|
|
215
215
|
}
|
|
216
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. */
|
|
217
217
|
export interface PeeringConfig {
|
|
218
|
-
localAddress?: string;
|
|
219
|
-
remoteAddress?: string;
|
|
218
|
+
localAddress?: string | undefined;
|
|
219
|
+
remoteAddress?: string | undefined;
|
|
220
220
|
}
|
|
221
221
|
export type TunnelConfigurationPhase1DhGroupsItem = "modp1024" | "modp2048" | "ecp256" | "ecp384" | "modp2048s256";
|
|
222
222
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
@@ -228,12 +228,12 @@ export type TunnelConfigurationPhase1IntegrityAlgorithmsItem = "sha1" | "sha2_25
|
|
|
228
228
|
export type TunnelConfigurationPhase1IntegrityAlgorithmsList = Array<TunnelConfigurationPhase1IntegrityAlgorithmsItem | (string & {})>;
|
|
229
229
|
export interface TunnelConfigurationPhase1 {
|
|
230
230
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
231
|
-
dhGroups?: TunnelConfigurationPhase1DhGroupsList;
|
|
231
|
+
dhGroups?: TunnelConfigurationPhase1DhGroupsList | undefined;
|
|
232
232
|
encryptionAlgorithms: TunnelConfigurationPhase1EncryptionAlgorithmsList;
|
|
233
233
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
234
234
|
integrityAlgorithms: TunnelConfigurationPhase1IntegrityAlgorithmsList;
|
|
235
235
|
/** Time to schedule a IKE re-keying (in seconds). */
|
|
236
|
-
rekeyTime?: number;
|
|
236
|
+
rekeyTime?: number | undefined;
|
|
237
237
|
}
|
|
238
238
|
export type TunnelConfigurationPhase2DhGroupsItem = "modp1024" | "modp2048" | "ecp256" | "ecp384" | "modp2048s256";
|
|
239
239
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
@@ -249,24 +249,24 @@ export type TunnelConfigurationPhase2DpdAction = "clear" | "restart";
|
|
|
249
249
|
export type TunnelConfigurationPhase2StartAction = "none" | "start";
|
|
250
250
|
export interface TunnelConfigurationPhase2 {
|
|
251
251
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
252
|
-
dhGroups?: TunnelConfigurationPhase2DhGroupsList;
|
|
252
|
+
dhGroups?: TunnelConfigurationPhase2DhGroupsList | undefined;
|
|
253
253
|
encryptionAlgorithms: TunnelConfigurationPhase2EncryptionAlgorithmsList;
|
|
254
254
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
255
255
|
integrityAlgorithms: TunnelConfigurationPhase2IntegrityAlgorithmsList;
|
|
256
256
|
/** 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. */
|
|
257
|
-
dpdAction?: TunnelConfigurationPhase2DpdAction | (string & {});
|
|
257
|
+
dpdAction?: TunnelConfigurationPhase2DpdAction | (string & {}) | undefined;
|
|
258
258
|
/** Time to schedule a Child SA re-keying (in seconds). */
|
|
259
|
-
rekeyTime?: number;
|
|
259
|
+
rekeyTime?: number | undefined;
|
|
260
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. */
|
|
261
|
-
startAction?: TunnelConfigurationPhase2StartAction | (string & {});
|
|
261
|
+
startAction?: TunnelConfigurationPhase2StartAction | (string & {}) | undefined;
|
|
262
262
|
}
|
|
263
263
|
export interface TunnelConfiguration {
|
|
264
|
-
bgp?: BGPTunnelConfig;
|
|
265
|
-
peering?: PeeringConfig;
|
|
264
|
+
bgp?: BGPTunnelConfig | undefined;
|
|
265
|
+
peering?: PeeringConfig | undefined;
|
|
266
266
|
phase1: TunnelConfigurationPhase1;
|
|
267
267
|
phase2: TunnelConfigurationPhase2;
|
|
268
268
|
/** A Pre-Shared Key for authentication. Required in create-requests, optional in update-requests and omitted in every response. */
|
|
269
|
-
preSharedKey?: string;
|
|
269
|
+
preSharedKey?: string | undefined;
|
|
270
270
|
remoteAddress: string;
|
|
271
271
|
}
|
|
272
272
|
export interface CreateGatewayConnectionRequest {
|
|
@@ -276,14 +276,14 @@ export interface CreateGatewayConnectionRequest {
|
|
|
276
276
|
/** A user-friendly name for the connection. */
|
|
277
277
|
displayName: string;
|
|
278
278
|
/** This flag decides whether this connection should be enabled or disabled */
|
|
279
|
-
enabled?: boolean;
|
|
280
|
-
labels?: Label;
|
|
279
|
+
enabled?: boolean | undefined;
|
|
280
|
+
labels?: Label | undefined;
|
|
281
281
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
282
|
-
localSubnets?: CreateGatewayConnectionRequestLocalSubnetsList;
|
|
282
|
+
localSubnets?: CreateGatewayConnectionRequestLocalSubnetsList | undefined;
|
|
283
283
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
284
|
-
remoteSubnets?: CreateGatewayConnectionRequestRemoteSubnetsList;
|
|
284
|
+
remoteSubnets?: CreateGatewayConnectionRequestRemoteSubnetsList | undefined;
|
|
285
285
|
/** Optional. Use this for route-based VPN. */
|
|
286
|
-
staticRoutes?: CreateGatewayConnectionRequestStaticRoutesList;
|
|
286
|
+
staticRoutes?: CreateGatewayConnectionRequestStaticRoutesList | undefined;
|
|
287
287
|
tunnel1: TunnelConfiguration;
|
|
288
288
|
tunnel2: TunnelConfiguration;
|
|
289
289
|
}
|
|
@@ -303,12 +303,12 @@ export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem = "sha1" | "s
|
|
|
303
303
|
export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsList = Array<TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem>;
|
|
304
304
|
export interface TunnelConfigurationOutputPhase1 {
|
|
305
305
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
306
|
-
dhGroups?: TunnelConfigurationOutputPhase1DhGroupsList;
|
|
306
|
+
dhGroups?: TunnelConfigurationOutputPhase1DhGroupsList | undefined;
|
|
307
307
|
encryptionAlgorithms: TunnelConfigurationOutputPhase1EncryptionAlgorithmsList;
|
|
308
308
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
309
309
|
integrityAlgorithms: TunnelConfigurationOutputPhase1IntegrityAlgorithmsList;
|
|
310
310
|
/** Time to schedule a IKE re-keying (in seconds). */
|
|
311
|
-
rekeyTime?: number;
|
|
311
|
+
rekeyTime?: number | undefined;
|
|
312
312
|
}
|
|
313
313
|
export type TunnelConfigurationOutputPhase2DhGroupsItem = "modp1024" | "modp2048" | "ecp256" | "ecp384" | "modp2048s256";
|
|
314
314
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
@@ -324,20 +324,20 @@ export type TunnelConfigurationOutputPhase2DpdAction = "clear" | "restart";
|
|
|
324
324
|
export type TunnelConfigurationOutputPhase2StartAction = "none" | "start";
|
|
325
325
|
export interface TunnelConfigurationOutputPhase2 {
|
|
326
326
|
/** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
|
|
327
|
-
dhGroups?: TunnelConfigurationOutputPhase2DhGroupsList;
|
|
327
|
+
dhGroups?: TunnelConfigurationOutputPhase2DhGroupsList | undefined;
|
|
328
328
|
encryptionAlgorithms: TunnelConfigurationOutputPhase2EncryptionAlgorithmsList;
|
|
329
329
|
/** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
|
|
330
330
|
integrityAlgorithms: TunnelConfigurationOutputPhase2IntegrityAlgorithmsList;
|
|
331
331
|
/** 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. */
|
|
332
|
-
dpdAction?: TunnelConfigurationOutputPhase2DpdAction;
|
|
332
|
+
dpdAction?: TunnelConfigurationOutputPhase2DpdAction | undefined;
|
|
333
333
|
/** Time to schedule a Child SA re-keying (in seconds). */
|
|
334
|
-
rekeyTime?: number;
|
|
334
|
+
rekeyTime?: number | undefined;
|
|
335
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. */
|
|
336
|
-
startAction?: TunnelConfigurationOutputPhase2StartAction;
|
|
336
|
+
startAction?: TunnelConfigurationOutputPhase2StartAction | undefined;
|
|
337
337
|
}
|
|
338
338
|
export interface TunnelConfigurationOutput {
|
|
339
|
-
bgp?: BGPTunnelConfig;
|
|
340
|
-
peering?: PeeringConfig;
|
|
339
|
+
bgp?: BGPTunnelConfig | undefined;
|
|
340
|
+
peering?: PeeringConfig | undefined;
|
|
341
341
|
phase1: TunnelConfigurationOutputPhase1;
|
|
342
342
|
phase2: TunnelConfigurationOutputPhase2;
|
|
343
343
|
remoteAddress: string;
|
|
@@ -346,16 +346,16 @@ export interface ConnectionResponseOutput {
|
|
|
346
346
|
/** A user-friendly name for the connection. */
|
|
347
347
|
displayName: string;
|
|
348
348
|
/** This flag decides whether this connection should be enabled or disabled */
|
|
349
|
-
enabled?: boolean;
|
|
349
|
+
enabled?: boolean | undefined;
|
|
350
350
|
/** UUID of the Gateway instance. */
|
|
351
|
-
id?: string;
|
|
352
|
-
labels?: Label;
|
|
351
|
+
id?: string | undefined;
|
|
352
|
+
labels?: Label | undefined;
|
|
353
353
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
354
|
-
localSubnets?: ConnectionResponseOutputLocalSubnetsList;
|
|
354
|
+
localSubnets?: ConnectionResponseOutputLocalSubnetsList | undefined;
|
|
355
355
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
356
|
-
remoteSubnets?: ConnectionResponseOutputRemoteSubnetsList;
|
|
356
|
+
remoteSubnets?: ConnectionResponseOutputRemoteSubnetsList | undefined;
|
|
357
357
|
/** Optional. Use this for route-based VPN. */
|
|
358
|
-
staticRoutes?: ConnectionResponseOutputStaticRoutesList;
|
|
358
|
+
staticRoutes?: ConnectionResponseOutputStaticRoutesList | undefined;
|
|
359
359
|
tunnel1: TunnelConfigurationOutput;
|
|
360
360
|
tunnel2: TunnelConfigurationOutput;
|
|
361
361
|
}
|
|
@@ -409,17 +409,17 @@ export interface GetGatewayRequest {
|
|
|
409
409
|
export type GetGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
410
410
|
export interface GetGatewayResponse {
|
|
411
411
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
412
|
-
bgp?: BGPGatewayConfig;
|
|
412
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
413
413
|
/** A user-friendly name for the VPN gateway. */
|
|
414
414
|
displayName: string;
|
|
415
|
-
labels?: Label;
|
|
416
|
-
networkConfig?: NetworkConfig;
|
|
415
|
+
labels?: Label | undefined;
|
|
416
|
+
networkConfig?: NetworkConfig | undefined;
|
|
417
417
|
/** The service plan identifier. */
|
|
418
418
|
planId: string;
|
|
419
419
|
routingType: RoutingType;
|
|
420
420
|
/** The server-generated UUID of the VPN gateway. */
|
|
421
|
-
id?: string;
|
|
422
|
-
state?: GatewayStatus;
|
|
421
|
+
id?: string | undefined;
|
|
422
|
+
state?: GatewayStatus | undefined;
|
|
423
423
|
}
|
|
424
424
|
/** The region in which the resource is located. */
|
|
425
425
|
export type GetGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
@@ -457,49 +457,57 @@ export interface GetGatewayConnectionStatusRequest {
|
|
|
457
457
|
export type TunnelStatusName = "tunnel1" | "tunnel2";
|
|
458
458
|
export interface Phase1Status {
|
|
459
459
|
/** The negotiated Diffie-Hellman Group */
|
|
460
|
-
dhGroup?: string;
|
|
460
|
+
dhGroup?: string | undefined;
|
|
461
461
|
/** The negotiated encryption algorithm. */
|
|
462
|
-
encryptionAlgorithm?: string;
|
|
462
|
+
encryptionAlgorithm?: string | undefined;
|
|
463
463
|
/** The negotiated integrity algorithm or pseudo-random-function. */
|
|
464
|
-
integrityAlgorithm?: string;
|
|
465
|
-
state?: string;
|
|
464
|
+
integrityAlgorithm?: string | undefined;
|
|
465
|
+
state?: string | undefined;
|
|
466
466
|
}
|
|
467
|
+
/** List of negotiated local traffic selectors. */
|
|
468
|
+
export type Phase2StatusLocalTSList = Array<string>;
|
|
469
|
+
/** List of negotiated remote traffic selectors. */
|
|
470
|
+
export type Phase2StatusRemoteTSList = Array<string>;
|
|
467
471
|
export interface Phase2Status {
|
|
468
472
|
/** The total data volume received through this Security Association, measured in bytes. */
|
|
469
|
-
bytesIn?: string;
|
|
473
|
+
bytesIn?: string | undefined;
|
|
470
474
|
/** The total data volume sent through this Security Association, measured in bytes. */
|
|
471
|
-
bytesOut?: string;
|
|
475
|
+
bytesOut?: string | undefined;
|
|
472
476
|
/** The negotiated Diffie-Hellman Group */
|
|
473
|
-
dhGroup?: string;
|
|
477
|
+
dhGroup?: string | undefined;
|
|
474
478
|
/** Indicates whether NAT traversal encapsulation is active for the connection. */
|
|
475
|
-
encap?: string;
|
|
479
|
+
encap?: string | undefined;
|
|
476
480
|
/** The negotiated encryption algorithm. */
|
|
477
|
-
encryptionAlgorithm?: string;
|
|
481
|
+
encryptionAlgorithm?: string | undefined;
|
|
478
482
|
/** The negotiated integrity algorithm or pseudo-random-function. */
|
|
479
|
-
integrityAlgorithm?: string;
|
|
483
|
+
integrityAlgorithm?: string | undefined;
|
|
484
|
+
/** List of negotiated local traffic selectors. */
|
|
485
|
+
localTS?: Phase2StatusLocalTSList | undefined;
|
|
480
486
|
/** The total number of packets received through this IPsec Security Association. */
|
|
481
|
-
packetsIn?: string;
|
|
487
|
+
packetsIn?: string | undefined;
|
|
482
488
|
/** The total number of packets sent through this IPsec Security Association */
|
|
483
|
-
packetsOut?: string;
|
|
489
|
+
packetsOut?: string | undefined;
|
|
484
490
|
/** The security protocol used for the tunnel, typically `ESP` (Encapsulating Security Payload). */
|
|
485
|
-
protocol?: string;
|
|
486
|
-
|
|
491
|
+
protocol?: string | undefined;
|
|
492
|
+
/** List of negotiated remote traffic selectors. */
|
|
493
|
+
remoteTS?: Phase2StatusRemoteTSList | undefined;
|
|
494
|
+
state?: string | undefined;
|
|
487
495
|
}
|
|
488
496
|
/** Describes the status of the VPN itself. */
|
|
489
497
|
export interface TunnelStatus {
|
|
490
|
-
established?: boolean;
|
|
491
|
-
name?: TunnelStatusName;
|
|
492
|
-
phase1?: Phase1Status;
|
|
493
|
-
phase2?: Phase2Status;
|
|
498
|
+
established?: boolean | undefined;
|
|
499
|
+
name?: TunnelStatusName | undefined;
|
|
500
|
+
phase1?: Phase1Status | undefined;
|
|
501
|
+
phase2?: Phase2Status | undefined;
|
|
494
502
|
}
|
|
495
503
|
export type ConnectionStatusResponseTunnelsList = Array<TunnelStatus>;
|
|
496
504
|
export interface ConnectionStatusResponse {
|
|
497
505
|
/** The name of the connection. */
|
|
498
|
-
displayName?: string;
|
|
499
|
-
enabled?: boolean;
|
|
506
|
+
displayName?: string | undefined;
|
|
507
|
+
enabled?: boolean | undefined;
|
|
500
508
|
/** UUID of the connection. */
|
|
501
|
-
id?: string;
|
|
502
|
-
tunnels?: ConnectionStatusResponseTunnelsList;
|
|
509
|
+
id?: string | undefined;
|
|
510
|
+
tunnels?: ConnectionStatusResponseTunnelsList | undefined;
|
|
503
511
|
}
|
|
504
512
|
/** The region in which the resource is located. */
|
|
505
513
|
export type GetGatewayStatusRequestRegion = "eu01" | "eu02";
|
|
@@ -538,31 +546,31 @@ export interface BGPStatusRoutes {
|
|
|
538
546
|
}
|
|
539
547
|
export type BGPStatusRoutesList = Array<BGPStatusRoutes>;
|
|
540
548
|
export interface BGPStatus {
|
|
541
|
-
peers?: BGPStatusPeersList;
|
|
542
|
-
routes?: BGPStatusRoutesList;
|
|
549
|
+
peers?: BGPStatusPeersList | undefined;
|
|
550
|
+
routes?: BGPStatusRoutesList | undefined;
|
|
543
551
|
}
|
|
544
552
|
export type VPNTunnelsName = "tunnel1" | "tunnel2";
|
|
545
553
|
/** Status of the underlying tunnel instances. */
|
|
546
554
|
export interface VPNTunnels {
|
|
547
|
-
bgpStatus?: BGPStatus | null;
|
|
548
|
-
instanceState?: GatewayStatus;
|
|
555
|
+
bgpStatus?: BGPStatus | null | undefined;
|
|
556
|
+
instanceState?: GatewayStatus | undefined;
|
|
549
557
|
/** The IPv4 address of the endpoint in the SNA. */
|
|
550
|
-
internalNextHopIP?: string;
|
|
551
|
-
name?: VPNTunnelsName;
|
|
558
|
+
internalNextHopIP?: string | undefined;
|
|
559
|
+
name?: VPNTunnelsName | undefined;
|
|
552
560
|
/** The public IPv4 address of this endpoint. */
|
|
553
|
-
publicIP?: string;
|
|
561
|
+
publicIP?: string | undefined;
|
|
554
562
|
}
|
|
555
563
|
export type GatewayStatusResponseTunnelsList = Array<VPNTunnels>;
|
|
556
564
|
export interface GatewayStatusResponse {
|
|
557
|
-
connections?: GatewayStatusResponseConnectionsList;
|
|
565
|
+
connections?: GatewayStatusResponseConnectionsList | undefined;
|
|
558
566
|
/** Name of the Gateway instance. */
|
|
559
|
-
displayName?: string;
|
|
567
|
+
displayName?: string | undefined;
|
|
560
568
|
/** A descriptive message provided when the gateway is in an error state. */
|
|
561
|
-
errorMessage?: string;
|
|
562
|
-
gatewayStatus?: GatewayStatus;
|
|
569
|
+
errorMessage?: string | undefined;
|
|
570
|
+
gatewayStatus?: GatewayStatus | undefined;
|
|
563
571
|
/** UUID of the Gateway instance. */
|
|
564
|
-
id?: string;
|
|
565
|
-
tunnels?: GatewayStatusResponseTunnelsList;
|
|
572
|
+
id?: string | undefined;
|
|
573
|
+
tunnels?: GatewayStatusResponseTunnelsList | undefined;
|
|
566
574
|
}
|
|
567
575
|
/** The region in which the resource is located. */
|
|
568
576
|
export type ListGatewayBGPFilterRulesRequestRegion = "eu01" | "eu02";
|
|
@@ -600,7 +608,7 @@ export interface ListGatewayConnectionsRequest {
|
|
|
600
608
|
region: ListGatewayConnectionsRequestRegion | (string & {});
|
|
601
609
|
gatewayId: string;
|
|
602
610
|
/** Filter resources by labels. */
|
|
603
|
-
label_selector?: LabelSelector;
|
|
611
|
+
label_selector?: LabelSelector | undefined;
|
|
604
612
|
}
|
|
605
613
|
export type ConnectionListOutputConnectionsList = Array<ConnectionResponseOutput>;
|
|
606
614
|
export interface ConnectionListOutput {
|
|
@@ -612,22 +620,22 @@ export interface ListGatewaysRequest {
|
|
|
612
620
|
projectId: string;
|
|
613
621
|
region: ListGatewaysRequestRegion | (string & {});
|
|
614
622
|
/** Filter resources by labels. */
|
|
615
|
-
label_selector?: LabelSelector;
|
|
623
|
+
label_selector?: LabelSelector | undefined;
|
|
616
624
|
}
|
|
617
625
|
export type GatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
618
626
|
export interface GatewayResponse {
|
|
619
627
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
620
|
-
bgp?: BGPGatewayConfig;
|
|
628
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
621
629
|
/** A user-friendly name for the VPN gateway. */
|
|
622
630
|
displayName: string;
|
|
623
|
-
labels?: Label;
|
|
624
|
-
networkConfig?: NetworkConfig;
|
|
631
|
+
labels?: Label | undefined;
|
|
632
|
+
networkConfig?: NetworkConfig | undefined;
|
|
625
633
|
/** The service plan identifier. */
|
|
626
634
|
planId: string;
|
|
627
635
|
routingType: RoutingType;
|
|
628
636
|
/** The server-generated UUID of the VPN gateway. */
|
|
629
|
-
id?: string;
|
|
630
|
-
state?: GatewayStatus;
|
|
637
|
+
id?: string | undefined;
|
|
638
|
+
state?: GatewayStatus | undefined;
|
|
631
639
|
}
|
|
632
640
|
export type GatewayListGatewaysList = Array<GatewayResponse>;
|
|
633
641
|
export interface GatewayList {
|
|
@@ -640,19 +648,19 @@ export interface ListPlansRequest {
|
|
|
640
648
|
}
|
|
641
649
|
export interface Plan {
|
|
642
650
|
/** The maximum throughput supported by the gateway in each direction, measured in MBit/s */
|
|
643
|
-
maxBandwidth?: number;
|
|
651
|
+
maxBandwidth?: number | undefined;
|
|
644
652
|
/** The maximum number of connections supported by the VPN Gateway. */
|
|
645
|
-
maxConnections?: number;
|
|
653
|
+
maxConnections?: number | undefined;
|
|
646
654
|
/** The name of the service plan. */
|
|
647
|
-
name?: string;
|
|
648
|
-
planId?: string;
|
|
655
|
+
name?: string | undefined;
|
|
656
|
+
planId?: string | undefined;
|
|
649
657
|
/** The SKU identifier used for billing. */
|
|
650
|
-
sku?: string;
|
|
658
|
+
sku?: string | undefined;
|
|
651
659
|
}
|
|
652
660
|
export type PlanListPlansList = Array<Plan>;
|
|
653
661
|
export interface PlanList {
|
|
654
|
-
defaultPlanId?: string;
|
|
655
|
-
plans?: PlanListPlansList;
|
|
662
|
+
defaultPlanId?: string | undefined;
|
|
663
|
+
plans?: PlanListPlansList | undefined;
|
|
656
664
|
}
|
|
657
665
|
/** The region in which the resource is located. */
|
|
658
666
|
export type ListQuotasRequestRegion = "eu01" | "eu02";
|
|
@@ -679,11 +687,11 @@ export interface UpdateGatewayRequest {
|
|
|
679
687
|
region: UpdateGatewayRequestRegion | (string & {});
|
|
680
688
|
gatewayId: string;
|
|
681
689
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
682
|
-
bgp?: BGPGatewayConfig;
|
|
690
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
683
691
|
/** A user-friendly name for the VPN gateway. */
|
|
684
692
|
displayName: string;
|
|
685
|
-
labels?: Label;
|
|
686
|
-
networkConfig?: NetworkConfig;
|
|
693
|
+
labels?: Label | undefined;
|
|
694
|
+
networkConfig?: NetworkConfig | undefined;
|
|
687
695
|
/** The service plan identifier. */
|
|
688
696
|
planId: string;
|
|
689
697
|
routingType: RoutingType | (string & {});
|
|
@@ -691,17 +699,17 @@ export interface UpdateGatewayRequest {
|
|
|
691
699
|
export type UpdateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
692
700
|
export interface UpdateGatewayResponse {
|
|
693
701
|
availabilityZones: CreateGatewayRequestAvailabilityZones;
|
|
694
|
-
bgp?: BGPGatewayConfig;
|
|
702
|
+
bgp?: BGPGatewayConfig | undefined;
|
|
695
703
|
/** A user-friendly name for the VPN gateway. */
|
|
696
704
|
displayName: string;
|
|
697
|
-
labels?: Label;
|
|
698
|
-
networkConfig?: NetworkConfig;
|
|
705
|
+
labels?: Label | undefined;
|
|
706
|
+
networkConfig?: NetworkConfig | undefined;
|
|
699
707
|
/** The service plan identifier. */
|
|
700
708
|
planId: string;
|
|
701
709
|
routingType: RoutingType;
|
|
702
710
|
/** The server-generated UUID of the VPN gateway. */
|
|
703
|
-
id?: string;
|
|
704
|
-
state?: GatewayStatus;
|
|
711
|
+
id?: string | undefined;
|
|
712
|
+
state?: GatewayStatus | undefined;
|
|
705
713
|
}
|
|
706
714
|
/** The region in which the resource is located. */
|
|
707
715
|
export type UpdateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
|
|
@@ -726,19 +734,19 @@ export type UpdateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
|
|
|
726
734
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
727
735
|
export interface UpdateGatewayBGPFilterRuleRequestMatch {
|
|
728
736
|
/** 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. */
|
|
729
|
-
asPathContainsAny?: UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList;
|
|
737
|
+
asPathContainsAny?: UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList | undefined;
|
|
730
738
|
/** 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. */
|
|
731
|
-
communities?: UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList;
|
|
739
|
+
communities?: UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList | undefined;
|
|
732
740
|
/** 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. */
|
|
733
|
-
firstASN?: number;
|
|
741
|
+
firstASN?: number | undefined;
|
|
734
742
|
/** 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]'). */
|
|
735
|
-
maxPrefixLength?: number;
|
|
743
|
+
maxPrefixLength?: number | undefined;
|
|
736
744
|
/** 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. */
|
|
737
|
-
minPrefixLength?: number;
|
|
745
|
+
minPrefixLength?: number | undefined;
|
|
738
746
|
/** 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. */
|
|
739
|
-
peer?: string;
|
|
747
|
+
peer?: string | undefined;
|
|
740
748
|
/** 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). */
|
|
741
|
-
prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList;
|
|
749
|
+
prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList | undefined;
|
|
742
750
|
}
|
|
743
751
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
744
752
|
export type UpdateGatewayBGPFilterRuleRequestSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
@@ -751,11 +759,11 @@ export interface UpdateGatewayBGPFilterRuleRequest {
|
|
|
751
759
|
/** The action to take if the route matches all criteria. Case-sensitive. */
|
|
752
760
|
action: UpdateGatewayBGPFilterRuleRequestAction | (string & {});
|
|
753
761
|
/** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
|
|
754
|
-
match?: UpdateGatewayBGPFilterRuleRequestMatch;
|
|
762
|
+
match?: UpdateGatewayBGPFilterRuleRequestMatch | undefined;
|
|
755
763
|
/** 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. */
|
|
756
|
-
sequence?: number;
|
|
764
|
+
sequence?: number | undefined;
|
|
757
765
|
/** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
|
|
758
|
-
set?: CreateGatewayBGPFilterRuleRequestSet;
|
|
766
|
+
set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
|
|
759
767
|
}
|
|
760
768
|
/** The region in which the resource is located. */
|
|
761
769
|
export type UpdateGatewayConnectionRequestRegion = "eu01" | "eu02";
|
|
@@ -773,14 +781,14 @@ export interface UpdateGatewayConnectionRequest {
|
|
|
773
781
|
/** A user-friendly name for the connection. */
|
|
774
782
|
displayName: string;
|
|
775
783
|
/** This flag decides whether this connection should be enabled or disabled */
|
|
776
|
-
enabled?: boolean;
|
|
777
|
-
labels?: Label;
|
|
784
|
+
enabled?: boolean | undefined;
|
|
785
|
+
labels?: Label | undefined;
|
|
778
786
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
779
|
-
localSubnets?: UpdateGatewayConnectionRequestLocalSubnetsList;
|
|
787
|
+
localSubnets?: UpdateGatewayConnectionRequestLocalSubnetsList | undefined;
|
|
780
788
|
/** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
|
|
781
|
-
remoteSubnets?: UpdateGatewayConnectionRequestRemoteSubnetsList;
|
|
789
|
+
remoteSubnets?: UpdateGatewayConnectionRequestRemoteSubnetsList | undefined;
|
|
782
790
|
/** Optional. Use this for route-based VPN. */
|
|
783
|
-
staticRoutes?: UpdateGatewayConnectionRequestStaticRoutesList;
|
|
791
|
+
staticRoutes?: UpdateGatewayConnectionRequestStaticRoutesList | undefined;
|
|
784
792
|
tunnel1: TunnelConfiguration;
|
|
785
793
|
tunnel2: TunnelConfiguration;
|
|
786
794
|
}
|