@scaleway/sdk-vpc 2.16.0 → 2.17.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.
@@ -9,6 +9,7 @@ const unmarshalSubnet = (data) => {
9
9
  privateNetworkId: data.private_network_id,
10
10
  projectId: data.project_id,
11
11
  region: data.region,
12
+ srn: data.srn,
12
13
  subnet: data.subnet,
13
14
  updatedAt: unmarshalDate(data.updated_at),
14
15
  vpcId: data.vpc_id
@@ -26,6 +27,7 @@ const unmarshalPrivateNetwork = (data) => {
26
27
  organizationId: data.organization_id,
27
28
  projectId: data.project_id,
28
29
  region: data.region,
30
+ srn: data.srn,
29
31
  subnets: unmarshalArrayOfObject(data.subnets, unmarshalSubnet),
30
32
  tags: data.tags,
31
33
  updatedAt: unmarshalDate(data.updated_at),
@@ -44,6 +46,7 @@ const unmarshalRoute = (data) => {
44
46
  nexthopResourceId: data.nexthop_resource_id,
45
47
  nexthopVpcConnectorId: data.nexthop_vpc_connector_id,
46
48
  region: data.region,
49
+ srn: data.srn,
47
50
  tags: data.tags,
48
51
  type: data.type ? data.type : void 0,
49
52
  updatedAt: unmarshalDate(data.updated_at),
@@ -63,6 +66,7 @@ const unmarshalIngressRule = (data) => {
63
66
  projectId: data.project_id,
64
67
  region: data.region,
65
68
  source: data.source,
69
+ srn: data.srn,
66
70
  tags: data.tags,
67
71
  updatedAt: unmarshalDate(data.updated_at),
68
72
  vpcId: data.vpc_id
@@ -86,6 +90,7 @@ const unmarshalVPCConnector = (data) => {
86
90
  peerInfo: data.peer_info ? unmarshalVPCConnectorPeerInfo(data.peer_info) : void 0,
87
91
  projectId: data.project_id,
88
92
  region: data.region,
93
+ srn: data.srn,
89
94
  status: data.status,
90
95
  tags: data.tags,
91
96
  targetVpcId: data.target_vpc_id,
@@ -107,6 +112,7 @@ const unmarshalVPC = (data) => {
107
112
  projectId: data.project_id,
108
113
  region: data.region,
109
114
  routingEnabled: data.routing_enabled,
115
+ srn: data.srn,
110
116
  tags: data.tags,
111
117
  transitivityEnabled: data.transitivity_enabled,
112
118
  updatedAt: unmarshalDate(data.updated_at)
@@ -14,6 +14,10 @@ export interface Subnet {
14
14
  * ID of the subnet.
15
15
  */
16
16
  id: string;
17
+ /**
18
+ * The SRN of the subnet.
19
+ */
20
+ srn: string;
17
21
  /**
18
22
  * Subnet creation date.
19
23
  */
@@ -48,6 +52,10 @@ export interface PrivateNetwork {
48
52
  * Private Network ID.
49
53
  */
50
54
  id: string;
55
+ /**
56
+ * The SRN of the private network.
57
+ */
58
+ srn: string;
51
59
  /**
52
60
  * Private Network name.
53
61
  */
@@ -102,6 +110,10 @@ export interface Route {
102
110
  * Route ID.
103
111
  */
104
112
  id: string;
113
+ /**
114
+ * The SRN of the route.
115
+ */
116
+ srn: string;
105
117
  /**
106
118
  * Route description.
107
119
  */
@@ -199,6 +211,10 @@ export interface IngressRule {
199
211
  * ID of the ingress rule.
200
212
  */
201
213
  id: string;
214
+ /**
215
+ * The SRN of the ingress rule.
216
+ */
217
+ srn: string;
202
218
  /**
203
219
  * ID of the VPC this rule belongs to.
204
220
  */
@@ -259,6 +275,10 @@ export interface VPCConnector {
259
275
  * VPC connector ID.
260
276
  */
261
277
  id: string;
278
+ /**
279
+ * The SRN of the VPC connector.
280
+ */
281
+ srn: string;
262
282
  /**
263
283
  * VPC connector name.
264
284
  */
@@ -309,6 +329,10 @@ export interface VPC {
309
329
  * VPC ID.
310
330
  */
311
331
  id: string;
332
+ /**
333
+ * The SRN of the VPC.
334
+ */
335
+ srn: string;
312
336
  /**
313
337
  * VPC name.
314
338
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-vpc",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "description": "Scaleway SDK vpc",
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.0"
36
+ "@scaleway/sdk-std": "2.8.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.8.0"
40
+ "@scaleway/sdk-client": "^2.9.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scaleway/sdk-client": "^2.8.0"
43
+ "@scaleway/sdk-client": "^2.9.0"
44
44
  },
45
45
  "scripts": {
46
46
  "package:check": "pnpm publint",