@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.20

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.
Files changed (301) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/errors.d.ts +5 -8
  4. package/lib/errors.d.ts.map +1 -1
  5. package/lib/pagination.d.ts.map +1 -1
  6. package/lib/protocol.d.ts +2 -1
  7. package/lib/protocol.d.ts.map +1 -1
  8. package/lib/services/alb.d.ts +134 -132
  9. package/lib/services/alb.d.ts.map +1 -1
  10. package/lib/services/alb.js +24 -24
  11. package/lib/services/alb.js.map +1 -1
  12. package/lib/services/alb_waf.d.ts +51 -51
  13. package/lib/services/alb_waf.d.ts.map +1 -1
  14. package/lib/services/alb_waf.js +29 -29
  15. package/lib/services/alb_waf.js.map +1 -1
  16. package/lib/services/authorization.d.ts +15 -15
  17. package/lib/services/authorization.d.ts.map +1 -1
  18. package/lib/services/authorization.js +1 -1
  19. package/lib/services/authorization.js.map +1 -1
  20. package/lib/services/automation.d.ts +47 -46
  21. package/lib/services/automation.d.ts.map +1 -1
  22. package/lib/services/automation.js +22 -22
  23. package/lib/services/automation.js.map +1 -1
  24. package/lib/services/cdn.d.ts +129 -129
  25. package/lib/services/cdn.d.ts.map +1 -1
  26. package/lib/services/cdn.js +27 -27
  27. package/lib/services/cdn.js.map +1 -1
  28. package/lib/services/certificates.d.ts +40 -40
  29. package/lib/services/certificates.d.ts.map +1 -1
  30. package/lib/services/certificates.js +1 -1
  31. package/lib/services/certificates.js.map +1 -1
  32. package/lib/services/cost.d.ts +15 -15
  33. package/lib/services/cost.d.ts.map +1 -1
  34. package/lib/services/cost.js +1 -1
  35. package/lib/services/cost.js.map +1 -1
  36. package/lib/services/dns.d.ts +218 -161
  37. package/lib/services/dns.d.ts.map +1 -1
  38. package/lib/services/dns.js +40 -39
  39. package/lib/services/dns.js.map +1 -1
  40. package/lib/services/dremio.d.ts +49 -34
  41. package/lib/services/dremio.d.ts.map +1 -1
  42. package/lib/services/dremio.js +1 -1
  43. package/lib/services/dremio.js.map +1 -1
  44. package/lib/services/edge.d.ts +21 -21
  45. package/lib/services/edge.d.ts.map +1 -1
  46. package/lib/services/edge.js +23 -23
  47. package/lib/services/edge.js.map +1 -1
  48. package/lib/services/functions.d.ts +104 -101
  49. package/lib/services/functions.d.ts.map +1 -1
  50. package/lib/services/functions.js +24 -24
  51. package/lib/services/functions.js.map +1 -1
  52. package/lib/services/git.d.ts +120 -29
  53. package/lib/services/git.d.ts.map +1 -1
  54. package/lib/services/git.js +37 -33
  55. package/lib/services/git.js.map +1 -1
  56. package/lib/services/iaas.d.ts +430 -415
  57. package/lib/services/iaas.d.ts.map +1 -1
  58. package/lib/services/iaas.js +179 -179
  59. package/lib/services/iaas.js.map +1 -1
  60. package/lib/services/identity.d.ts +204 -0
  61. package/lib/services/identity.d.ts.map +1 -0
  62. package/lib/services/identity.js +2 -0
  63. package/lib/services/identity.js.map +1 -0
  64. package/lib/services/index.d.ts +2 -0
  65. package/lib/services/index.d.ts.map +1 -1
  66. package/lib/services/index.js +2 -0
  67. package/lib/services/intake.d.ts +58 -58
  68. package/lib/services/intake.d.ts.map +1 -1
  69. package/lib/services/intake.js +25 -25
  70. package/lib/services/intake.js.map +1 -1
  71. package/lib/services/kms.d.ts +13 -13
  72. package/lib/services/kms.d.ts.map +1 -1
  73. package/lib/services/kms.js +37 -37
  74. package/lib/services/kms.js.map +1 -1
  75. package/lib/services/lb_ip_lists.d.ts +14 -14
  76. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  77. package/lib/services/lb_ip_lists.js +1 -1
  78. package/lib/services/lb_ip_lists.js.map +1 -1
  79. package/lib/services/load_balancer.d.ts +128 -126
  80. package/lib/services/load_balancer.d.ts.map +1 -1
  81. package/lib/services/load_balancer.js +25 -25
  82. package/lib/services/load_balancer.js.map +1 -1
  83. package/lib/services/logme.d.ts +96 -45
  84. package/lib/services/logme.d.ts.map +1 -1
  85. package/lib/services/logme.js +34 -31
  86. package/lib/services/logme.js.map +1 -1
  87. package/lib/services/logs.d.ts +78 -24
  88. package/lib/services/logs.d.ts.map +1 -1
  89. package/lib/services/logs.js +34 -33
  90. package/lib/services/logs.js.map +1 -1
  91. package/lib/services/mailout.d.ts +476 -0
  92. package/lib/services/mailout.d.ts.map +1 -0
  93. package/lib/services/mailout.js +33 -0
  94. package/lib/services/mailout.js.map +1 -0
  95. package/lib/services/mariadb.d.ts +81 -30
  96. package/lib/services/mariadb.d.ts.map +1 -1
  97. package/lib/services/mariadb.js +35 -32
  98. package/lib/services/mariadb.js.map +1 -1
  99. package/lib/services/model_experiments.d.ts +33 -33
  100. package/lib/services/model_experiments.d.ts.map +1 -1
  101. package/lib/services/model_experiments.js +1 -1
  102. package/lib/services/model_experiments.js.map +1 -1
  103. package/lib/services/model_serving.d.ts +25 -25
  104. package/lib/services/model_serving.d.ts.map +1 -1
  105. package/lib/services/model_serving.js +1 -1
  106. package/lib/services/model_serving.js.map +1 -1
  107. package/lib/services/mongodb_flex.d.ts +142 -137
  108. package/lib/services/mongodb_flex.d.ts.map +1 -1
  109. package/lib/services/mongodb_flex.js +38 -38
  110. package/lib/services/mongodb_flex.js.map +1 -1
  111. package/lib/services/object_storage.d.ts +6 -6
  112. package/lib/services/object_storage.d.ts.map +1 -1
  113. package/lib/services/object_storage.js +34 -34
  114. package/lib/services/object_storage.js.map +1 -1
  115. package/lib/services/observability.d.ts +362 -362
  116. package/lib/services/observability.d.ts.map +1 -1
  117. package/lib/services/observability.js +155 -155
  118. package/lib/services/observability.js.map +1 -1
  119. package/lib/services/opensearch.d.ts +87 -36
  120. package/lib/services/opensearch.d.ts.map +1 -1
  121. package/lib/services/opensearch.js +35 -32
  122. package/lib/services/opensearch.js.map +1 -1
  123. package/lib/services/pim.d.ts +334 -278
  124. package/lib/services/pim.d.ts.map +1 -1
  125. package/lib/services/pim.js +27 -27
  126. package/lib/services/pim.js.map +1 -1
  127. package/lib/services/postgres_flex.d.ts +59 -55
  128. package/lib/services/postgres_flex.d.ts.map +1 -1
  129. package/lib/services/postgres_flex.js +47 -46
  130. package/lib/services/postgres_flex.js.map +1 -1
  131. package/lib/services/pubsub.d.ts +36 -36
  132. package/lib/services/pubsub.d.ts.map +1 -1
  133. package/lib/services/pubsub.js +33 -33
  134. package/lib/services/pubsub.js.map +1 -1
  135. package/lib/services/rabbitmq.d.ts +92 -41
  136. package/lib/services/rabbitmq.d.ts.map +1 -1
  137. package/lib/services/rabbitmq.js +36 -33
  138. package/lib/services/rabbitmq.js.map +1 -1
  139. package/lib/services/registry.d.ts +26 -22
  140. package/lib/services/registry.d.ts.map +1 -1
  141. package/lib/services/registry.js +1 -1
  142. package/lib/services/registry.js.map +1 -1
  143. package/lib/services/resource_manager.d.ts +56 -56
  144. package/lib/services/resource_manager.d.ts.map +1 -1
  145. package/lib/services/resource_manager.js +32 -32
  146. package/lib/services/resource_manager.js.map +1 -1
  147. package/lib/services/run_command.d.ts +42 -42
  148. package/lib/services/run_command.d.ts.map +1 -1
  149. package/lib/services/run_command.js +1 -1
  150. package/lib/services/run_command.js.map +1 -1
  151. package/lib/services/sca.d.ts +349 -213
  152. package/lib/services/sca.d.ts.map +1 -1
  153. package/lib/services/sca.js +31 -23
  154. package/lib/services/sca.js.map +1 -1
  155. package/lib/services/scf.d.ts +24 -24
  156. package/lib/services/scf.d.ts.map +1 -1
  157. package/lib/services/scf.js +36 -36
  158. package/lib/services/scf.js.map +1 -1
  159. package/lib/services/secrets_manager.d.ts +21 -21
  160. package/lib/services/secrets_manager.d.ts.map +1 -1
  161. package/lib/services/secrets_manager.js +39 -39
  162. package/lib/services/secrets_manager.js.map +1 -1
  163. package/lib/services/server_backup.d.ts +31 -31
  164. package/lib/services/server_backup.d.ts.map +1 -1
  165. package/lib/services/server_backup.js +25 -25
  166. package/lib/services/server_backup.js.map +1 -1
  167. package/lib/services/server_update.d.ts +17 -17
  168. package/lib/services/server_update.d.ts.map +1 -1
  169. package/lib/services/server_update.js +1 -1
  170. package/lib/services/server_update.js.map +1 -1
  171. package/lib/services/service_account.d.ts +30 -30
  172. package/lib/services/service_account.d.ts.map +1 -1
  173. package/lib/services/service_account.js +26 -26
  174. package/lib/services/service_account.js.map +1 -1
  175. package/lib/services/service_enablement.d.ts +22 -21
  176. package/lib/services/service_enablement.d.ts.map +1 -1
  177. package/lib/services/service_enablement.js +1 -1
  178. package/lib/services/service_enablement.js.map +1 -1
  179. package/lib/services/sfs.d.ts +151 -141
  180. package/lib/services/sfs.d.ts.map +1 -1
  181. package/lib/services/sfs.js +46 -45
  182. package/lib/services/sfs.js.map +1 -1
  183. package/lib/services/ske.d.ts +121 -110
  184. package/lib/services/ske.d.ts.map +1 -1
  185. package/lib/services/ske.js +23 -23
  186. package/lib/services/ske.js.map +1 -1
  187. package/lib/services/sqlserverflex.d.ts +47 -47
  188. package/lib/services/sqlserverflex.d.ts.map +1 -1
  189. package/lib/services/sqlserverflex.js +42 -42
  190. package/lib/services/sqlserverflex.js.map +1 -1
  191. package/lib/services/stackit_marketplace.d.ts +39 -39
  192. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  193. package/lib/services/stackit_marketplace.js +22 -22
  194. package/lib/services/stackit_marketplace.js.map +1 -1
  195. package/lib/services/telemetry_link.d.ts +80 -38
  196. package/lib/services/telemetry_link.d.ts.map +1 -1
  197. package/lib/services/telemetry_link.js +34 -33
  198. package/lib/services/telemetry_link.js.map +1 -1
  199. package/lib/services/telemetry_router.d.ts +116 -41
  200. package/lib/services/telemetry_router.d.ts.map +1 -1
  201. package/lib/services/telemetry_router.js +31 -28
  202. package/lib/services/telemetry_router.js.map +1 -1
  203. package/lib/services/ufw.d.ts +55 -54
  204. package/lib/services/ufw.d.ts.map +1 -1
  205. package/lib/services/ufw.js +1 -1
  206. package/lib/services/ufw.js.map +1 -1
  207. package/lib/services/valkey.d.ts +94 -43
  208. package/lib/services/valkey.d.ts.map +1 -1
  209. package/lib/services/valkey.js +35 -32
  210. package/lib/services/valkey.js.map +1 -1
  211. package/lib/services/vpn.d.ts +150 -142
  212. package/lib/services/vpn.d.ts.map +1 -1
  213. package/lib/services/vpn.js +40 -40
  214. package/lib/services/vpn.js.map +1 -1
  215. package/lib/services/workflows.d.ts +65 -65
  216. package/lib/services/workflows.d.ts.map +1 -1
  217. package/lib/services/workflows.js +23 -23
  218. package/lib/services/workflows.js.map +1 -1
  219. package/lib/services.lazy/alb.js +1 -1
  220. package/lib/services.lazy/automation.js +1 -1
  221. package/lib/services.lazy/dns.js +2 -2
  222. package/lib/services.lazy/functions.js +2 -2
  223. package/lib/services.lazy/git.js +2 -2
  224. package/lib/services.lazy/iaas.js +1 -1
  225. package/lib/services.lazy/identity.js +1 -0
  226. package/lib/services.lazy/index.js +2 -2
  227. package/lib/services.lazy/load_balancer.js +1 -1
  228. package/lib/services.lazy/logme.js +2 -2
  229. package/lib/services.lazy/logs.js +1 -1
  230. package/lib/services.lazy/mailout.js +4 -0
  231. package/lib/services.lazy/mariadb.js +2 -2
  232. package/lib/services.lazy/opensearch.js +2 -2
  233. package/lib/services.lazy/pim.js +1 -1
  234. package/lib/services.lazy/postgres_flex.js +1 -1
  235. package/lib/services.lazy/rabbitmq.js +2 -2
  236. package/lib/services.lazy/resource_manager.js +1 -1
  237. package/lib/services.lazy/sca.js +2 -2
  238. package/lib/services.lazy/secrets_manager.js +1 -1
  239. package/lib/services.lazy/sfs.js +2 -2
  240. package/lib/services.lazy/ske.js +1 -1
  241. package/lib/services.lazy/telemetry_link.js +1 -1
  242. package/lib/services.lazy/telemetry_router.js +2 -2
  243. package/lib/services.lazy/valkey.js +2 -2
  244. package/lib/services.lazy/vpn.js +1 -1
  245. package/package.json +5 -5
  246. package/src/errors.ts +5 -5
  247. package/src/pagination.ts +7 -3
  248. package/src/protocol.ts +11 -10
  249. package/src/services/alb.ts +135 -132
  250. package/src/services/alb_waf.ts +51 -51
  251. package/src/services/authorization.ts +15 -15
  252. package/src/services/automation.ts +53 -49
  253. package/src/services/cdn.ts +129 -129
  254. package/src/services/certificates.ts +40 -40
  255. package/src/services/cost.ts +15 -15
  256. package/src/services/dns.ts +497 -269
  257. package/src/services/dremio.ts +156 -118
  258. package/src/services/edge.ts +21 -21
  259. package/src/services/functions.ts +176 -172
  260. package/src/services/git.ts +354 -108
  261. package/src/services/iaas.ts +438 -415
  262. package/src/services/identity.ts +625 -0
  263. package/src/services/index.ts +2 -0
  264. package/src/services/intake.ts +58 -58
  265. package/src/services/kms.ts +13 -13
  266. package/src/services/lb_ip_lists.ts +14 -14
  267. package/src/services/load_balancer.ts +129 -126
  268. package/src/services/logme.ts +294 -122
  269. package/src/services/logs.ts +123 -72
  270. package/src/services/mailout.ts +1277 -0
  271. package/src/services/mariadb.ts +277 -105
  272. package/src/services/model_experiments.ts +33 -33
  273. package/src/services/model_serving.ts +25 -25
  274. package/src/services/mongodb_flex.ts +142 -137
  275. package/src/services/object_storage.ts +6 -6
  276. package/src/services/observability.ts +369 -362
  277. package/src/services/opensearch.ts +286 -114
  278. package/src/services/pim.ts +362 -278
  279. package/src/services/postgres_flex.ts +191 -179
  280. package/src/services/pubsub.ts +36 -36
  281. package/src/services/rabbitmq.ts +297 -125
  282. package/src/services/registry.ts +30 -26
  283. package/src/services/resource_manager.ts +57 -57
  284. package/src/services/run_command.ts +42 -42
  285. package/src/services/sca.ts +732 -371
  286. package/src/services/scf.ts +24 -24
  287. package/src/services/secrets_manager.ts +22 -22
  288. package/src/services/server_backup.ts +31 -31
  289. package/src/services/server_update.ts +17 -17
  290. package/src/services/service_account.ts +32 -30
  291. package/src/services/service_enablement.ts +28 -24
  292. package/src/services/sfs.ts +404 -395
  293. package/src/services/ske.ts +258 -228
  294. package/src/services/sqlserverflex.ts +47 -47
  295. package/src/services/stackit_marketplace.ts +39 -39
  296. package/src/services/telemetry_link.ts +136 -81
  297. package/src/services/telemetry_router.ts +283 -94
  298. package/src/services/ufw.ts +56 -54
  299. package/src/services/valkey.ts +290 -118
  300. package/src/services/vpn.ts +152 -142
  301. package/src/services/workflows.ts +65 -65
@@ -73,15 +73,15 @@ export type BGPGatewayConfigOverrideAdvertisedRoutesList = Array<string>;
73
73
  export interface BGPGatewayConfig {
74
74
  localAsn: number;
75
75
  /** A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised. */
76
- overrideAdvertisedRoutes?: BGPGatewayConfigOverrideAdvertisedRoutesList;
76
+ overrideAdvertisedRoutes?: BGPGatewayConfigOverrideAdvertisedRoutesList | undefined;
77
77
  }
78
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. */
79
79
  export type Label = { [key: string]: string | undefined };
80
80
  export interface NetworkConfig {
81
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. */
82
- predefinedNetworkPrefix?: string;
82
+ predefinedNetworkPrefix?: string | undefined;
83
83
  /** Custom routing table ID for the VPN gateway */
84
- routingTableId?: string;
84
+ routingTableId?: string | undefined;
85
85
  }
86
86
  /** Once the gateway is created, it is not possible to change this attribute. */
87
87
  export type RoutingType = "POLICY_BASED" | "ROUTE_BASED" | "BGP_ROUTE_BASED";
@@ -89,11 +89,11 @@ export interface CreateGatewayRequest {
89
89
  projectId: string;
90
90
  region: CreateGatewayRequestRegion | (string & {});
91
91
  availabilityZones: CreateGatewayRequestAvailabilityZones;
92
- bgp?: BGPGatewayConfig;
92
+ bgp?: BGPGatewayConfig | undefined;
93
93
  /** A user-friendly name for the VPN gateway. */
94
94
  displayName: string;
95
- labels?: Label;
96
- networkConfig?: NetworkConfig;
95
+ labels?: Label | undefined;
96
+ networkConfig?: NetworkConfig | undefined;
97
97
  /** The service plan identifier. */
98
98
  planId: string;
99
99
  routingType: RoutingType | (string & {});
@@ -103,17 +103,17 @@ export type CreateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailab
103
103
  export type GatewayStatus = "PENDING" | "READY" | "ERROR" | "DELETING";
104
104
  export interface CreateGatewayResponse {
105
105
  availabilityZones: CreateGatewayRequestAvailabilityZones;
106
- bgp?: BGPGatewayConfig;
106
+ bgp?: BGPGatewayConfig | undefined;
107
107
  /** A user-friendly name for the VPN gateway. */
108
108
  displayName: string;
109
- labels?: Label;
110
- networkConfig?: NetworkConfig;
109
+ labels?: Label | undefined;
110
+ networkConfig?: NetworkConfig | undefined;
111
111
  /** The service plan identifier. */
112
112
  planId: string;
113
113
  routingType: RoutingType;
114
114
  /** The server-generated UUID of the VPN gateway. */
115
- id?: string;
116
- state?: GatewayStatus;
115
+ id?: string | undefined;
116
+ state?: GatewayStatus | undefined;
117
117
  }
118
118
  /** The region in which the resource is located. */
119
119
  export type CreateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
@@ -129,7 +129,7 @@ export interface BGPFilter {
129
129
  /** A user-friendly name for the filter. Display only -- not enforced unique across a gateway. */
130
130
  displayName: string;
131
131
  /** The server-generated UUID of the filter. */
132
- id?: string;
132
+ id?: string | undefined;
133
133
  }
134
134
  /** The region in which the resource is located. */
135
135
  export type CreateGatewayBGPFilterRuleRequestRegion = "eu01" | "eu02";
@@ -144,24 +144,24 @@ export type CreateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
144
144
  /** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
145
145
  export interface CreateGatewayBGPFilterRuleRequestMatch {
146
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. */
147
- asPathContainsAny?: CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList;
147
+ asPathContainsAny?: CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList | undefined;
148
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. */
149
- communities?: CreateGatewayBGPFilterRuleRequestMatchCommunitiesList;
149
+ communities?: CreateGatewayBGPFilterRuleRequestMatchCommunitiesList | undefined;
150
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. */
151
- firstASN?: number;
151
+ firstASN?: number | undefined;
152
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]'). */
153
- maxPrefixLength?: number;
153
+ maxPrefixLength?: number | undefined;
154
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. */
155
- minPrefixLength?: number;
155
+ minPrefixLength?: number | undefined;
156
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. */
157
- peer?: string;
157
+ peer?: string | undefined;
158
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). */
159
- prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList;
159
+ prefixes?: CreateGatewayBGPFilterRuleRequestMatchPrefixesList | undefined;
160
160
  }
161
161
  /** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
162
162
  export interface CreateGatewayBGPFilterRuleRequestSet {
163
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. */
164
- localPreference?: number;
164
+ localPreference?: number | undefined;
165
165
  }
166
166
  export interface CreateGatewayBGPFilterRuleRequest {
167
167
  projectId: string;
@@ -171,11 +171,11 @@ export interface CreateGatewayBGPFilterRuleRequest {
171
171
  /** The action to take if the route matches all criteria. Case-sensitive. */
172
172
  action: CreateGatewayBGPFilterRuleRequestAction | (string & {});
173
173
  /** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
174
- match?: CreateGatewayBGPFilterRuleRequestMatch;
174
+ match?: CreateGatewayBGPFilterRuleRequestMatch | undefined;
175
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. */
176
- sequence?: number;
176
+ sequence?: number | undefined;
177
177
  /** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
178
- set?: CreateGatewayBGPFilterRuleRequestSet;
178
+ set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
179
179
  }
180
180
  /** The action to take if the route matches all criteria. Case-sensitive. */
181
181
  export type BGPFilterRuleAction = "PERMIT" | "DENY";
@@ -188,19 +188,19 @@ export type BGPFilterRuleMatchPrefixesList = Array<string>;
188
188
  /** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
189
189
  export interface BGPFilterRuleMatch {
190
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. */
191
- asPathContainsAny?: BGPFilterRuleMatchAsPathContainsAnyList;
191
+ asPathContainsAny?: BGPFilterRuleMatchAsPathContainsAnyList | undefined;
192
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. */
193
- communities?: BGPFilterRuleMatchCommunitiesList;
193
+ communities?: BGPFilterRuleMatchCommunitiesList | undefined;
194
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. */
195
- firstASN?: number;
195
+ firstASN?: number | undefined;
196
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]'). */
197
- maxPrefixLength?: number;
197
+ maxPrefixLength?: number | undefined;
198
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. */
199
- minPrefixLength?: number;
199
+ minPrefixLength?: number | undefined;
200
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. */
201
- peer?: string;
201
+ peer?: string | undefined;
202
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). */
203
- prefixes?: BGPFilterRuleMatchPrefixesList;
203
+ prefixes?: BGPFilterRuleMatchPrefixesList | undefined;
204
204
  }
205
205
  /** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
206
206
  export type BGPFilterRuleSet = CreateGatewayBGPFilterRuleRequestSet;
@@ -209,13 +209,13 @@ export interface BGPFilterRule {
209
209
  /** The action to take if the route matches all criteria. Case-sensitive. */
210
210
  action: BGPFilterRuleAction;
211
211
  /** The server-generated UUID of the specific rule. */
212
- id?: string;
212
+ id?: string | undefined;
213
213
  /** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
214
- match?: BGPFilterRuleMatch;
214
+ match?: BGPFilterRuleMatch | undefined;
215
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. */
216
- sequence?: number;
216
+ sequence?: number | undefined;
217
217
  /** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
218
- set?: CreateGatewayBGPFilterRuleRequestSet;
218
+ set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
219
219
  }
220
220
  /** The region in which the resource is located. */
221
221
  export type CreateGatewayConnectionRequestRegion = "eu01" | "eu02";
@@ -227,13 +227,13 @@ export type CreateGatewayConnectionRequestRemoteSubnetsList = Array<string>;
227
227
  export type CreateGatewayConnectionRequestStaticRoutesList = Array<string>;
228
228
  export interface BGPTunnelConfig {
229
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. */
230
- inboundFilterId?: string | null;
230
+ inboundFilterId?: string | null | undefined;
231
231
  remoteAsn: number;
232
232
  }
233
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. */
234
234
  export interface PeeringConfig {
235
- localAddress?: string;
236
- remoteAddress?: string;
235
+ localAddress?: string | undefined;
236
+ remoteAddress?: string | undefined;
237
237
  }
238
238
  export type TunnelConfigurationPhase1DhGroupsItem =
239
239
  | "modp1024"
@@ -263,12 +263,12 @@ export type TunnelConfigurationPhase1IntegrityAlgorithmsList = Array<
263
263
  >;
264
264
  export interface TunnelConfigurationPhase1 {
265
265
  /** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
266
- dhGroups?: TunnelConfigurationPhase1DhGroupsList;
266
+ dhGroups?: TunnelConfigurationPhase1DhGroupsList | undefined;
267
267
  encryptionAlgorithms: TunnelConfigurationPhase1EncryptionAlgorithmsList;
268
268
  /** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
269
269
  integrityAlgorithms: TunnelConfigurationPhase1IntegrityAlgorithmsList;
270
270
  /** Time to schedule a IKE re-keying (in seconds). */
271
- rekeyTime?: number;
271
+ rekeyTime?: number | undefined;
272
272
  }
273
273
  export type TunnelConfigurationPhase2DhGroupsItem =
274
274
  | "modp1024"
@@ -302,24 +302,24 @@ export type TunnelConfigurationPhase2DpdAction = "clear" | "restart";
302
302
  export type TunnelConfigurationPhase2StartAction = "none" | "start";
303
303
  export interface TunnelConfigurationPhase2 {
304
304
  /** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
305
- dhGroups?: TunnelConfigurationPhase2DhGroupsList;
305
+ dhGroups?: TunnelConfigurationPhase2DhGroupsList | undefined;
306
306
  encryptionAlgorithms: TunnelConfigurationPhase2EncryptionAlgorithmsList;
307
307
  /** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
308
308
  integrityAlgorithms: TunnelConfigurationPhase2IntegrityAlgorithmsList;
309
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. */
310
- dpdAction?: TunnelConfigurationPhase2DpdAction | (string & {});
310
+ dpdAction?: TunnelConfigurationPhase2DpdAction | (string & {}) | undefined;
311
311
  /** Time to schedule a Child SA re-keying (in seconds). */
312
- rekeyTime?: number;
312
+ rekeyTime?: number | undefined;
313
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. */
314
- startAction?: TunnelConfigurationPhase2StartAction | (string & {});
314
+ startAction?: TunnelConfigurationPhase2StartAction | (string & {}) | undefined;
315
315
  }
316
316
  export interface TunnelConfiguration {
317
- bgp?: BGPTunnelConfig;
318
- peering?: PeeringConfig;
317
+ bgp?: BGPTunnelConfig | undefined;
318
+ peering?: PeeringConfig | undefined;
319
319
  phase1: TunnelConfigurationPhase1;
320
320
  phase2: TunnelConfigurationPhase2;
321
321
  /** A Pre-Shared Key for authentication. Required in create-requests, optional in update-requests and omitted in every response. */
322
- preSharedKey?: string;
322
+ preSharedKey?: string | undefined;
323
323
  remoteAddress: string;
324
324
  }
325
325
  export interface CreateGatewayConnectionRequest {
@@ -329,14 +329,14 @@ export interface CreateGatewayConnectionRequest {
329
329
  /** A user-friendly name for the connection. */
330
330
  displayName: string;
331
331
  /** This flag decides whether this connection should be enabled or disabled */
332
- enabled?: boolean;
333
- labels?: Label;
332
+ enabled?: boolean | undefined;
333
+ labels?: Label | undefined;
334
334
  /** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
335
- localSubnets?: CreateGatewayConnectionRequestLocalSubnetsList;
335
+ localSubnets?: CreateGatewayConnectionRequestLocalSubnetsList | undefined;
336
336
  /** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
337
- remoteSubnets?: CreateGatewayConnectionRequestRemoteSubnetsList;
337
+ remoteSubnets?: CreateGatewayConnectionRequestRemoteSubnetsList | undefined;
338
338
  /** Optional. Use this for route-based VPN. */
339
- staticRoutes?: CreateGatewayConnectionRequestStaticRoutesList;
339
+ staticRoutes?: CreateGatewayConnectionRequestStaticRoutesList | undefined;
340
340
  tunnel1: TunnelConfiguration;
341
341
  tunnel2: TunnelConfiguration;
342
342
  }
@@ -371,12 +371,12 @@ export type TunnelConfigurationOutputPhase1IntegrityAlgorithmsList =
371
371
  Array<TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem>;
372
372
  export interface TunnelConfigurationOutputPhase1 {
373
373
  /** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
374
- dhGroups?: TunnelConfigurationOutputPhase1DhGroupsList;
374
+ dhGroups?: TunnelConfigurationOutputPhase1DhGroupsList | undefined;
375
375
  encryptionAlgorithms: TunnelConfigurationOutputPhase1EncryptionAlgorithmsList;
376
376
  /** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
377
377
  integrityAlgorithms: TunnelConfigurationOutputPhase1IntegrityAlgorithmsList;
378
378
  /** Time to schedule a IKE re-keying (in seconds). */
379
- rekeyTime?: number;
379
+ rekeyTime?: number | undefined;
380
380
  }
381
381
  export type TunnelConfigurationOutputPhase2DhGroupsItem =
382
382
  | "modp1024"
@@ -407,20 +407,20 @@ export type TunnelConfigurationOutputPhase2DpdAction = "clear" | "restart";
407
407
  export type TunnelConfigurationOutputPhase2StartAction = "none" | "start";
408
408
  export interface TunnelConfigurationOutputPhase2 {
409
409
  /** The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. */
410
- dhGroups?: TunnelConfigurationOutputPhase2DhGroupsList;
410
+ dhGroups?: TunnelConfigurationOutputPhase2DhGroupsList | undefined;
411
411
  encryptionAlgorithms: TunnelConfigurationOutputPhase2EncryptionAlgorithmsList;
412
412
  /** Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. */
413
413
  integrityAlgorithms: TunnelConfigurationOutputPhase2IntegrityAlgorithmsList;
414
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. */
415
- dpdAction?: TunnelConfigurationOutputPhase2DpdAction;
415
+ dpdAction?: TunnelConfigurationOutputPhase2DpdAction | undefined;
416
416
  /** Time to schedule a Child SA re-keying (in seconds). */
417
- rekeyTime?: number;
417
+ rekeyTime?: number | undefined;
418
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. */
419
- startAction?: TunnelConfigurationOutputPhase2StartAction;
419
+ startAction?: TunnelConfigurationOutputPhase2StartAction | undefined;
420
420
  }
421
421
  export interface TunnelConfigurationOutput {
422
- bgp?: BGPTunnelConfig;
423
- peering?: PeeringConfig;
422
+ bgp?: BGPTunnelConfig | undefined;
423
+ peering?: PeeringConfig | undefined;
424
424
  phase1: TunnelConfigurationOutputPhase1;
425
425
  phase2: TunnelConfigurationOutputPhase2;
426
426
  remoteAddress: string;
@@ -429,16 +429,16 @@ export interface ConnectionResponseOutput {
429
429
  /** A user-friendly name for the connection. */
430
430
  displayName: string;
431
431
  /** This flag decides whether this connection should be enabled or disabled */
432
- enabled?: boolean;
432
+ enabled?: boolean | undefined;
433
433
  /** UUID of the Gateway instance. */
434
- id?: string;
435
- labels?: Label;
434
+ id?: string | undefined;
435
+ labels?: Label | undefined;
436
436
  /** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
437
- localSubnets?: ConnectionResponseOutputLocalSubnetsList;
437
+ localSubnets?: ConnectionResponseOutputLocalSubnetsList | undefined;
438
438
  /** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
439
- remoteSubnets?: ConnectionResponseOutputRemoteSubnetsList;
439
+ remoteSubnets?: ConnectionResponseOutputRemoteSubnetsList | undefined;
440
440
  /** Optional. Use this for route-based VPN. */
441
- staticRoutes?: ConnectionResponseOutputStaticRoutesList;
441
+ staticRoutes?: ConnectionResponseOutputStaticRoutesList | undefined;
442
442
  tunnel1: TunnelConfigurationOutput;
443
443
  tunnel2: TunnelConfigurationOutput;
444
444
  }
@@ -488,17 +488,17 @@ export interface GetGatewayRequest {
488
488
  export type GetGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
489
489
  export interface GetGatewayResponse {
490
490
  availabilityZones: CreateGatewayRequestAvailabilityZones;
491
- bgp?: BGPGatewayConfig;
491
+ bgp?: BGPGatewayConfig | undefined;
492
492
  /** A user-friendly name for the VPN gateway. */
493
493
  displayName: string;
494
- labels?: Label;
495
- networkConfig?: NetworkConfig;
494
+ labels?: Label | undefined;
495
+ networkConfig?: NetworkConfig | undefined;
496
496
  /** The service plan identifier. */
497
497
  planId: string;
498
498
  routingType: RoutingType;
499
499
  /** The server-generated UUID of the VPN gateway. */
500
- id?: string;
501
- state?: GatewayStatus;
500
+ id?: string | undefined;
501
+ state?: GatewayStatus | undefined;
502
502
  }
503
503
  /** The region in which the resource is located. */
504
504
  export type GetGatewayBGPFilterRequestRegion = "eu01" | "eu02";
@@ -536,49 +536,57 @@ export interface GetGatewayConnectionStatusRequest {
536
536
  export type TunnelStatusName = "tunnel1" | "tunnel2";
537
537
  export interface Phase1Status {
538
538
  /** The negotiated Diffie-Hellman Group */
539
- dhGroup?: string;
539
+ dhGroup?: string | undefined;
540
540
  /** The negotiated encryption algorithm. */
541
- encryptionAlgorithm?: string;
541
+ encryptionAlgorithm?: string | undefined;
542
542
  /** The negotiated integrity algorithm or pseudo-random-function. */
543
- integrityAlgorithm?: string;
544
- state?: string;
543
+ integrityAlgorithm?: string | undefined;
544
+ state?: string | undefined;
545
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>;
546
550
  export interface Phase2Status {
547
551
  /** The total data volume received through this Security Association, measured in bytes. */
548
- bytesIn?: string;
552
+ bytesIn?: string | undefined;
549
553
  /** The total data volume sent through this Security Association, measured in bytes. */
550
- bytesOut?: string;
554
+ bytesOut?: string | undefined;
551
555
  /** The negotiated Diffie-Hellman Group */
552
- dhGroup?: string;
556
+ dhGroup?: string | undefined;
553
557
  /** Indicates whether NAT traversal encapsulation is active for the connection. */
554
- encap?: string;
558
+ encap?: string | undefined;
555
559
  /** The negotiated encryption algorithm. */
556
- encryptionAlgorithm?: string;
560
+ encryptionAlgorithm?: string | undefined;
557
561
  /** The negotiated integrity algorithm or pseudo-random-function. */
558
- integrityAlgorithm?: string;
562
+ integrityAlgorithm?: string | undefined;
563
+ /** List of negotiated local traffic selectors. */
564
+ localTS?: Phase2StatusLocalTSList | undefined;
559
565
  /** The total number of packets received through this IPsec Security Association. */
560
- packetsIn?: string;
566
+ packetsIn?: string | undefined;
561
567
  /** The total number of packets sent through this IPsec Security Association */
562
- packetsOut?: string;
568
+ packetsOut?: string | undefined;
563
569
  /** The security protocol used for the tunnel, typically `ESP` (Encapsulating Security Payload). */
564
- protocol?: string;
565
- state?: string;
570
+ protocol?: string | undefined;
571
+ /** List of negotiated remote traffic selectors. */
572
+ remoteTS?: Phase2StatusRemoteTSList | undefined;
573
+ state?: string | undefined;
566
574
  }
567
575
  /** Describes the status of the VPN itself. */
568
576
  export interface TunnelStatus {
569
- established?: boolean;
570
- name?: TunnelStatusName;
571
- phase1?: Phase1Status;
572
- phase2?: Phase2Status;
577
+ established?: boolean | undefined;
578
+ name?: TunnelStatusName | undefined;
579
+ phase1?: Phase1Status | undefined;
580
+ phase2?: Phase2Status | undefined;
573
581
  }
574
582
  export type ConnectionStatusResponseTunnelsList = Array<TunnelStatus>;
575
583
  export interface ConnectionStatusResponse {
576
584
  /** The name of the connection. */
577
- displayName?: string;
578
- enabled?: boolean;
585
+ displayName?: string | undefined;
586
+ enabled?: boolean | undefined;
579
587
  /** UUID of the connection. */
580
- id?: string;
581
- tunnels?: ConnectionStatusResponseTunnelsList;
588
+ id?: string | undefined;
589
+ tunnels?: ConnectionStatusResponseTunnelsList | undefined;
582
590
  }
583
591
  /** The region in which the resource is located. */
584
592
  export type GetGatewayStatusRequestRegion = "eu01" | "eu02";
@@ -617,31 +625,31 @@ export interface BGPStatusRoutes {
617
625
  }
618
626
  export type BGPStatusRoutesList = Array<BGPStatusRoutes>;
619
627
  export interface BGPStatus {
620
- peers?: BGPStatusPeersList;
621
- routes?: BGPStatusRoutesList;
628
+ peers?: BGPStatusPeersList | undefined;
629
+ routes?: BGPStatusRoutesList | undefined;
622
630
  }
623
631
  export type VPNTunnelsName = "tunnel1" | "tunnel2";
624
632
  /** Status of the underlying tunnel instances. */
625
633
  export interface VPNTunnels {
626
- bgpStatus?: BGPStatus | null;
627
- instanceState?: GatewayStatus;
634
+ bgpStatus?: BGPStatus | null | undefined;
635
+ instanceState?: GatewayStatus | undefined;
628
636
  /** The IPv4 address of the endpoint in the SNA. */
629
- internalNextHopIP?: string;
630
- name?: VPNTunnelsName;
637
+ internalNextHopIP?: string | undefined;
638
+ name?: VPNTunnelsName | undefined;
631
639
  /** The public IPv4 address of this endpoint. */
632
- publicIP?: string;
640
+ publicIP?: string | undefined;
633
641
  }
634
642
  export type GatewayStatusResponseTunnelsList = Array<VPNTunnels>;
635
643
  export interface GatewayStatusResponse {
636
- connections?: GatewayStatusResponseConnectionsList;
644
+ connections?: GatewayStatusResponseConnectionsList | undefined;
637
645
  /** Name of the Gateway instance. */
638
- displayName?: string;
646
+ displayName?: string | undefined;
639
647
  /** A descriptive message provided when the gateway is in an error state. */
640
- errorMessage?: string;
641
- gatewayStatus?: GatewayStatus;
648
+ errorMessage?: string | undefined;
649
+ gatewayStatus?: GatewayStatus | undefined;
642
650
  /** UUID of the Gateway instance. */
643
- id?: string;
644
- tunnels?: GatewayStatusResponseTunnelsList;
651
+ id?: string | undefined;
652
+ tunnels?: GatewayStatusResponseTunnelsList | undefined;
645
653
  }
646
654
  /** The region in which the resource is located. */
647
655
  export type ListGatewayBGPFilterRulesRequestRegion = "eu01" | "eu02";
@@ -677,7 +685,7 @@ export interface ListGatewayConnectionsRequest {
677
685
  region: ListGatewayConnectionsRequestRegion | (string & {});
678
686
  gatewayId: string;
679
687
  /** Filter resources by labels. */
680
- label_selector?: LabelSelector;
688
+ label_selector?: LabelSelector | undefined;
681
689
  }
682
690
  export type ConnectionListOutputConnectionsList = Array<ConnectionResponseOutput>;
683
691
  export interface ConnectionListOutput {
@@ -689,22 +697,22 @@ export interface ListGatewaysRequest {
689
697
  projectId: string;
690
698
  region: ListGatewaysRequestRegion | (string & {});
691
699
  /** Filter resources by labels. */
692
- label_selector?: LabelSelector;
700
+ label_selector?: LabelSelector | undefined;
693
701
  }
694
702
  export type GatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
695
703
  export interface GatewayResponse {
696
704
  availabilityZones: CreateGatewayRequestAvailabilityZones;
697
- bgp?: BGPGatewayConfig;
705
+ bgp?: BGPGatewayConfig | undefined;
698
706
  /** A user-friendly name for the VPN gateway. */
699
707
  displayName: string;
700
- labels?: Label;
701
- networkConfig?: NetworkConfig;
708
+ labels?: Label | undefined;
709
+ networkConfig?: NetworkConfig | undefined;
702
710
  /** The service plan identifier. */
703
711
  planId: string;
704
712
  routingType: RoutingType;
705
713
  /** The server-generated UUID of the VPN gateway. */
706
- id?: string;
707
- state?: GatewayStatus;
714
+ id?: string | undefined;
715
+ state?: GatewayStatus | undefined;
708
716
  }
709
717
  export type GatewayListGatewaysList = Array<GatewayResponse>;
710
718
  export interface GatewayList {
@@ -717,19 +725,19 @@ export interface ListPlansRequest {
717
725
  }
718
726
  export interface Plan {
719
727
  /** The maximum throughput supported by the gateway in each direction, measured in MBit/s */
720
- maxBandwidth?: number;
728
+ maxBandwidth?: number | undefined;
721
729
  /** The maximum number of connections supported by the VPN Gateway. */
722
- maxConnections?: number;
730
+ maxConnections?: number | undefined;
723
731
  /** The name of the service plan. */
724
- name?: string;
725
- planId?: string;
732
+ name?: string | undefined;
733
+ planId?: string | undefined;
726
734
  /** The SKU identifier used for billing. */
727
- sku?: string;
735
+ sku?: string | undefined;
728
736
  }
729
737
  export type PlanListPlansList = Array<Plan>;
730
738
  export interface PlanList {
731
- defaultPlanId?: string;
732
- plans?: PlanListPlansList;
739
+ defaultPlanId?: string | undefined;
740
+ plans?: PlanListPlansList | undefined;
733
741
  }
734
742
  /** The region in which the resource is located. */
735
743
  export type ListQuotasRequestRegion = "eu01" | "eu02";
@@ -756,11 +764,11 @@ export interface UpdateGatewayRequest {
756
764
  region: UpdateGatewayRequestRegion | (string & {});
757
765
  gatewayId: string;
758
766
  availabilityZones: CreateGatewayRequestAvailabilityZones;
759
- bgp?: BGPGatewayConfig;
767
+ bgp?: BGPGatewayConfig | undefined;
760
768
  /** A user-friendly name for the VPN gateway. */
761
769
  displayName: string;
762
- labels?: Label;
763
- networkConfig?: NetworkConfig;
770
+ labels?: Label | undefined;
771
+ networkConfig?: NetworkConfig | undefined;
764
772
  /** The service plan identifier. */
765
773
  planId: string;
766
774
  routingType: RoutingType | (string & {});
@@ -768,17 +776,17 @@ export interface UpdateGatewayRequest {
768
776
  export type UpdateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
769
777
  export interface UpdateGatewayResponse {
770
778
  availabilityZones: CreateGatewayRequestAvailabilityZones;
771
- bgp?: BGPGatewayConfig;
779
+ bgp?: BGPGatewayConfig | undefined;
772
780
  /** A user-friendly name for the VPN gateway. */
773
781
  displayName: string;
774
- labels?: Label;
775
- networkConfig?: NetworkConfig;
782
+ labels?: Label | undefined;
783
+ networkConfig?: NetworkConfig | undefined;
776
784
  /** The service plan identifier. */
777
785
  planId: string;
778
786
  routingType: RoutingType;
779
787
  /** The server-generated UUID of the VPN gateway. */
780
- id?: string;
781
- state?: GatewayStatus;
788
+ id?: string | undefined;
789
+ state?: GatewayStatus | undefined;
782
790
  }
783
791
  /** The region in which the resource is located. */
784
792
  export type UpdateGatewayBGPFilterRequestRegion = "eu01" | "eu02";
@@ -803,19 +811,19 @@ export type UpdateGatewayBGPFilterRuleRequestMatchPrefixesList = Array<string>;
803
811
  /** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
804
812
  export interface UpdateGatewayBGPFilterRuleRequestMatch {
805
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. */
806
- asPathContainsAny?: UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList;
814
+ asPathContainsAny?: UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList | undefined;
807
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. */
808
- communities?: UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList;
816
+ communities?: UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList | undefined;
809
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. */
810
- firstASN?: number;
818
+ firstASN?: number | undefined;
811
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]'). */
812
- maxPrefixLength?: number;
820
+ maxPrefixLength?: number | undefined;
813
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. */
814
- minPrefixLength?: number;
822
+ minPrefixLength?: number | undefined;
815
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. */
816
- peer?: string;
824
+ peer?: string | undefined;
817
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). */
818
- prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList;
826
+ prefixes?: UpdateGatewayBGPFilterRuleRequestMatchPrefixesList | undefined;
819
827
  }
820
828
  /** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
821
829
  export type UpdateGatewayBGPFilterRuleRequestSet = CreateGatewayBGPFilterRuleRequestSet;
@@ -828,11 +836,11 @@ export interface UpdateGatewayBGPFilterRuleRequest {
828
836
  /** The action to take if the route matches all criteria. Case-sensitive. */
829
837
  action: UpdateGatewayBGPFilterRuleRequestAction | (string & {});
830
838
  /** Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND). */
831
- match?: UpdateGatewayBGPFilterRuleRequestMatch;
839
+ match?: UpdateGatewayBGPFilterRuleRequestMatch | undefined;
832
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. */
833
- sequence?: number;
841
+ sequence?: number | undefined;
834
842
  /** Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules. */
835
- set?: CreateGatewayBGPFilterRuleRequestSet;
843
+ set?: CreateGatewayBGPFilterRuleRequestSet | undefined;
836
844
  }
837
845
  /** The region in which the resource is located. */
838
846
  export type UpdateGatewayConnectionRequestRegion = "eu01" | "eu02";
@@ -850,14 +858,14 @@ export interface UpdateGatewayConnectionRequest {
850
858
  /** A user-friendly name for the connection. */
851
859
  displayName: string;
852
860
  /** This flag decides whether this connection should be enabled or disabled */
853
- enabled?: boolean;
854
- labels?: Label;
861
+ enabled?: boolean | undefined;
862
+ labels?: Label | undefined;
855
863
  /** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
856
- localSubnets?: UpdateGatewayConnectionRequestLocalSubnetsList;
864
+ localSubnets?: UpdateGatewayConnectionRequestLocalSubnetsList | undefined;
857
865
  /** Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. */
858
- remoteSubnets?: UpdateGatewayConnectionRequestRemoteSubnetsList;
866
+ remoteSubnets?: UpdateGatewayConnectionRequestRemoteSubnetsList | undefined;
859
867
  /** Optional. Use this for route-based VPN. */
860
- staticRoutes?: UpdateGatewayConnectionRequestStaticRoutesList;
868
+ staticRoutes?: UpdateGatewayConnectionRequestStaticRoutesList | undefined;
861
869
  tunnel1: TunnelConfiguration;
862
870
  tunnel2: TunnelConfiguration;
863
871
  }
@@ -1456,9 +1464,11 @@ function __c7(j: number): any {
1456
1464
  encap: S.optional(S.String),
1457
1465
  encryptionAlgorithm: S.optional(S.String),
1458
1466
  integrityAlgorithm: S.optional(S.String),
1467
+ localTS: S.optional(__S(336, __c21, 0)),
1459
1468
  packetsIn: S.optional(S.String),
1460
1469
  packetsOut: S.optional(S.String),
1461
1470
  protocol: S.optional(S.String),
1471
+ remoteTS: S.optional(__S(336, __c21, 0)),
1462
1472
  state: S.optional(S.String),
1463
1473
  }),
1464
1474
  ).annotate({ identifier: "Phase2Status" });