@scaleway/sdk-s2s-vpn 2.15.0 → 2.16.0
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.
|
@@ -37,6 +37,7 @@ const unmarshalConnection = (data) => {
|
|
|
37
37
|
routePropagationEnabled: data.route_propagation_enabled,
|
|
38
38
|
secretId: data.secret_id,
|
|
39
39
|
secretRevision: data.secret_revision,
|
|
40
|
+
srn: data.srn,
|
|
40
41
|
status: data.status,
|
|
41
42
|
tags: data.tags,
|
|
42
43
|
tunnelStatus: data.tunnel_status,
|
|
@@ -59,6 +60,7 @@ const unmarshalCustomerGateway = (data) => {
|
|
|
59
60
|
publicIpv4: data.public_ipv4,
|
|
60
61
|
publicIpv6: data.public_ipv6,
|
|
61
62
|
region: data.region,
|
|
63
|
+
srn: data.srn,
|
|
62
64
|
tags: data.tags,
|
|
63
65
|
updatedAt: unmarshalDate(data.updated_at)
|
|
64
66
|
};
|
|
@@ -75,6 +77,7 @@ const unmarshalRoutingPolicy = (data) => {
|
|
|
75
77
|
prefixFilterOut: data.prefix_filter_out,
|
|
76
78
|
projectId: data.project_id,
|
|
77
79
|
region: data.region,
|
|
80
|
+
srn: data.srn,
|
|
78
81
|
tags: data.tags,
|
|
79
82
|
updatedAt: unmarshalDate(data.updated_at)
|
|
80
83
|
};
|
|
@@ -107,6 +110,7 @@ const unmarshalVpnGateway = (data) => {
|
|
|
107
110
|
projectId: data.project_id,
|
|
108
111
|
publicConfig: data.public_config ? unmarshalVpnGatewayPublicConfig(data.public_config) : void 0,
|
|
109
112
|
region: data.region,
|
|
113
|
+
srn: data.srn,
|
|
110
114
|
status: data.status,
|
|
111
115
|
tags: data.tags,
|
|
112
116
|
updatedAt: unmarshalDate(data.updated_at),
|
|
@@ -44,6 +44,10 @@ export interface Connection {
|
|
|
44
44
|
* Unique identifier of the connection.
|
|
45
45
|
*/
|
|
46
46
|
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* The SRN of the connection.
|
|
49
|
+
*/
|
|
50
|
+
srn: string;
|
|
47
51
|
/**
|
|
48
52
|
* Project ID.
|
|
49
53
|
*/
|
|
@@ -176,6 +180,10 @@ export interface CustomerGateway {
|
|
|
176
180
|
* Unique identifier of the customer gateway.
|
|
177
181
|
*/
|
|
178
182
|
id: string;
|
|
183
|
+
/**
|
|
184
|
+
* The SRN of the customer gateway.
|
|
185
|
+
*/
|
|
186
|
+
srn: string;
|
|
179
187
|
/**
|
|
180
188
|
* Project ID.
|
|
181
189
|
*/
|
|
@@ -226,6 +234,10 @@ export interface RoutingPolicy {
|
|
|
226
234
|
* Unique identifier of the routing policy.
|
|
227
235
|
*/
|
|
228
236
|
id: string;
|
|
237
|
+
/**
|
|
238
|
+
* The SRN of the routing policy.
|
|
239
|
+
*/
|
|
240
|
+
srn: string;
|
|
229
241
|
/**
|
|
230
242
|
* Project ID.
|
|
231
243
|
*/
|
|
@@ -282,6 +294,10 @@ export interface VpnGateway {
|
|
|
282
294
|
* Unique identifier of the VPN gateway.
|
|
283
295
|
*/
|
|
284
296
|
id: string;
|
|
297
|
+
/**
|
|
298
|
+
* The SRN of the VPN gateway.
|
|
299
|
+
*/
|
|
300
|
+
srn: string;
|
|
285
301
|
/**
|
|
286
302
|
* Project ID.
|
|
287
303
|
*/
|
|
@@ -320,15 +336,15 @@ export interface VpnGateway {
|
|
|
320
336
|
* One-of ('endpoint'): at most one of 'publicConfig', 'privateConfig' could be set.
|
|
321
337
|
*/
|
|
322
338
|
publicConfig?: VpnGatewayPublicConfig;
|
|
323
|
-
/**
|
|
324
|
-
* ID of the Private Network attached to the VPN gateway.
|
|
325
|
-
*/
|
|
326
|
-
privateNetworkId: string;
|
|
327
339
|
/**
|
|
328
340
|
*
|
|
329
341
|
* One-of ('endpoint'): at most one of 'publicConfig', 'privateConfig' could be set.
|
|
330
342
|
*/
|
|
331
343
|
privateConfig?: VpnGatewayPrivateConfig;
|
|
344
|
+
/**
|
|
345
|
+
* ID of the Private Network attached to the VPN gateway.
|
|
346
|
+
*/
|
|
347
|
+
privateNetworkId: string;
|
|
332
348
|
/**
|
|
333
349
|
* ID of the IPAM private IPv4 address attached to the VPN gateway.
|
|
334
350
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-s2s-vpn",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "Scaleway SDK s2s-vpn",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@scaleway/random-name": "6.0.2",
|
|
36
|
-
"@scaleway/sdk-std": "2.8.
|
|
36
|
+
"@scaleway/sdk-std": "2.8.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@repo/configs": "^0.1.1",
|
|
40
|
-
"@scaleway/sdk-client": "^2.
|
|
40
|
+
"@scaleway/sdk-client": "^2.9.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@scaleway/sdk-client": "^2.
|
|
43
|
+
"@scaleway/sdk-client": "^2.9.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"package:check": "pnpm publint",
|