@scaleway/sdk 2.72.0 → 2.73.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.
Files changed (146) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -9,94 +9,153 @@ export type ListPartnersRequestOrderBy = 'name_asc' | 'name_desc';
9
9
  export type ListPopsRequestOrderBy = 'name_asc' | 'name_desc';
10
10
  export type ListRoutingPoliciesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
11
11
  export interface BgpConfig {
12
- /** AS Number of the BGP peer. */
12
+ /**
13
+ * AS Number of the BGP peer.
14
+ */
13
15
  asn: number;
14
- /** IPv4 address of the BGP peer. */
16
+ /**
17
+ * IPv4 address of the BGP peer.
18
+ */
15
19
  ipv4: string;
16
- /** IPv6 address of the BGP peer. */
20
+ /**
21
+ * IPv6 address of the BGP peer.
22
+ */
17
23
  ipv6: string;
18
24
  }
19
25
  export interface PartnerHost {
20
- /** ID of the partner facilitating the link. */
26
+ /**
27
+ * ID of the partner facilitating the link.
28
+ */
21
29
  partnerId: string;
22
- /** Used to identify a link from a user or partner's point of view. */
30
+ /**
31
+ * Used to identify a link from a user or partner's point of view.
32
+ */
23
33
  pairingKey: string;
24
34
  /**
25
- * Reason given by partner to explain why they did not approve the request for
26
- * a hosted link.
35
+ * Reason given by partner to explain why they did not approve the request for a hosted link.
27
36
  */
28
37
  disapprovedReason?: string;
29
38
  }
30
39
  export interface SelfHost {
31
- /** Dedicated physical connection supporting the link. */
40
+ /**
41
+ * Dedicated physical connection supporting the link.
42
+ */
32
43
  connectionId: string;
33
44
  }
34
45
  export interface DedicatedConnection {
35
- /** Unique identifier of the dedicated connection. */
46
+ /**
47
+ * Unique identifier of the dedicated connection.
48
+ */
36
49
  id: string;
37
- /** Project ID. */
50
+ /**
51
+ * Project ID.
52
+ */
38
53
  projectId: string;
39
- /** Organization ID. */
54
+ /**
55
+ * Organization ID.
56
+ */
40
57
  organizationId: string;
41
- /** Status of the dedicated connection. */
58
+ /**
59
+ * Status of the dedicated connection.
60
+ */
42
61
  status: DedicatedConnectionStatus;
43
- /** Name of the dedicated connection. */
62
+ /**
63
+ * Name of the dedicated connection.
64
+ */
44
65
  name: string;
45
- /** List of tags associated with the dedicated connection. */
66
+ /**
67
+ * List of tags associated with the dedicated connection.
68
+ */
46
69
  tags: string[];
47
- /** ID of the PoP where the dedicated connection is located. */
70
+ /**
71
+ * ID of the PoP where the dedicated connection is located.
72
+ */
48
73
  popId: string;
49
- /** Bandwidth size of the dedicated connection. */
74
+ /**
75
+ * Bandwidth size of the dedicated connection.
76
+ */
50
77
  bandwidthMbps: number;
51
- /** Size of the links supported on this dedicated connection. */
78
+ /**
79
+ * Size of the links supported on this dedicated connection.
80
+ */
52
81
  availableLinkBandwidths: number[];
53
- /** Creation date of the dedicated connection. */
82
+ /**
83
+ * Creation date of the dedicated connection.
84
+ */
54
85
  createdAt?: Date;
55
- /** Last modification date of the dedicated connection. */
86
+ /**
87
+ * Last modification date of the dedicated connection.
88
+ */
56
89
  updatedAt?: Date;
57
90
  /**
58
- * Demarcation details required by the data center to set up the supporting
59
- * Cross Connect. This generally includes the physical space in the facility,
60
- * the cabinet or rack the connection should land in, the patch panel to go
61
- * in, the port designation, and the media type.
91
+ * Demarcation details required by the data center to set up the supporting Cross Connect. This generally includes the physical space in the facility, the cabinet or rack the connection should land in, the patch panel to go in, the port designation, and the media type.
62
92
  */
63
93
  demarcationInfo?: string;
64
- /** Region of the dedicated connection. */
94
+ /**
95
+ * Region of the dedicated connection.
96
+ */
65
97
  region: ScwRegion;
66
98
  }
67
99
  export interface Link {
68
- /** Unique identifier of the link. */
100
+ /**
101
+ * Unique identifier of the link.
102
+ */
69
103
  id: string;
70
- /** Project ID. */
104
+ /**
105
+ * Project ID.
106
+ */
71
107
  projectId: string;
72
- /** Organization ID. */
108
+ /**
109
+ * Organization ID.
110
+ */
73
111
  organizationId: string;
74
- /** Name of the link. */
112
+ /**
113
+ * Name of the link.
114
+ */
75
115
  name: string;
76
- /** List of tags associated with the link. */
116
+ /**
117
+ * List of tags associated with the link.
118
+ */
77
119
  tags: string[];
78
- /** ID of the PoP where the link's corresponding connection is located. */
120
+ /**
121
+ * ID of the PoP where the link's corresponding connection is located.
122
+ */
79
123
  popId: string;
80
- /** Rate limited bandwidth of the link. */
124
+ /**
125
+ * Rate limited bandwidth of the link.
126
+ */
81
127
  bandwidthMbps: number;
82
- /** Status of the link. */
128
+ /**
129
+ * Status of the link.
130
+ */
83
131
  status: LinkStatus;
84
- /** Status of the link's BGP IPv4 session. */
132
+ /**
133
+ * Status of the link's BGP IPv4 session.
134
+ */
85
135
  bgpV4Status: BgpStatus;
86
- /** Status of the link's BGP IPv6 session. */
136
+ /**
137
+ * Status of the link's BGP IPv6 session.
138
+ */
87
139
  bgpV6Status: BgpStatus;
88
- /** ID of the Scaleway VPC attached to the link. */
140
+ /**
141
+ * ID of the Scaleway VPC attached to the link.
142
+ */
89
143
  vpcId?: string;
90
- /** ID of the routing policy attached to the link. */
144
+ /**
145
+ * ID of the routing policy attached to the link.
146
+ */
91
147
  routingPolicyId?: string;
92
148
  /**
93
- * Defines whether route propagation is enabled or not. To enable or disable
94
- * route propagation, use the dedicated endpoint.
149
+ * Defines whether route propagation is enabled or not. To enable or disable route propagation, use the dedicated endpoint.
95
150
  */
96
151
  enableRoutePropagation: boolean;
97
- /** Creation date of the link. */
152
+ /**
153
+ * Creation date of the link.
154
+ */
98
155
  createdAt?: Date;
99
- /** Last modification date of the link. */
156
+ /**
157
+ * Last modification date of the link.
158
+ */
100
159
  updatedAt?: Date;
101
160
  /**
102
161
  * Partner host information.
@@ -110,414 +169,591 @@ export interface Link {
110
169
  * One-of ('hostInfo'): at most one of 'partner', 'self' could be set.
111
170
  */
112
171
  self?: SelfHost;
113
- /** VLAN of the link. */
172
+ /**
173
+ * VLAN of the link.
174
+ */
114
175
  vlan: number;
115
- /** BGP configuration on Scaleway's side. */
176
+ /**
177
+ * BGP configuration on Scaleway's side.
178
+ */
116
179
  scwBgpConfig?: BgpConfig;
117
- /** BGP configuration on peer's side (on-premises or other hosting provider). */
180
+ /**
181
+ * BGP configuration on peer's side (on-premises or other hosting provider).
182
+ */
118
183
  peerBgpConfig?: BgpConfig;
119
- /** Region of the link. */
184
+ /**
185
+ * Region of the link.
186
+ */
120
187
  region: ScwRegion;
121
188
  }
122
189
  export interface Partner {
123
- /** Unique identifier of the partner. */
190
+ /**
191
+ * Unique identifier of the partner.
192
+ */
124
193
  id: string;
125
- /** Name of the partner. */
194
+ /**
195
+ * Name of the partner.
196
+ */
126
197
  name: string;
127
- /** Contact email address of partner. */
198
+ /**
199
+ * Contact email address of partner.
200
+ */
128
201
  contactEmail: string;
129
- /** Image URL of the partner's logo. */
202
+ /**
203
+ * Image URL of the partner's logo.
204
+ */
130
205
  logoUrl: string;
131
- /** URL of the partner's portal. */
206
+ /**
207
+ * URL of the partner's portal.
208
+ */
132
209
  portalUrl: string;
133
- /** Creation date of the partner. */
210
+ /**
211
+ * Creation date of the partner.
212
+ */
134
213
  createdAt?: Date;
135
- /** Last modification date of the partner. */
214
+ /**
215
+ * Last modification date of the partner.
216
+ */
136
217
  updatedAt?: Date;
137
218
  }
138
219
  export interface Pop {
139
- /** Unique identifier of the PoP. */
220
+ /**
221
+ * Unique identifier of the PoP.
222
+ */
140
223
  id: string;
141
- /** Name of the PoP. It is the common reference of Hosting DC (ex: TH2). */
224
+ /**
225
+ * Name of the PoP. It is the common reference of Hosting DC (ex: TH2).
226
+ */
142
227
  name: string;
143
228
  /**
144
- * Name of the PoP's hosting provider, e.g. Telehouse for TH2 or OpCore for
145
- * DC3.
229
+ * Name of the PoP's hosting provider, e.g. Telehouse for TH2 or OpCore for DC3.
146
230
  */
147
231
  hostingProviderName: string;
148
- /** Physical address of the PoP. */
232
+ /**
233
+ * Physical address of the PoP.
234
+ */
149
235
  address: string;
150
- /** City where PoP is located. */
236
+ /**
237
+ * City where PoP is located.
238
+ */
151
239
  city: string;
152
- /** Image URL of the PoP's logo. */
240
+ /**
241
+ * Image URL of the PoP's logo.
242
+ */
153
243
  logoUrl: string;
154
244
  /**
155
- * Available bandwidth in Mbits/s for future hosted links from available
156
- * connections in this PoP.
245
+ * Available bandwidth in Mbits/s for future hosted links from available connections in this PoP.
157
246
  */
158
247
  availableLinkBandwidthsMbps: number[];
159
- /** Region of the PoP. */
248
+ /**
249
+ * Region of the PoP.
250
+ */
160
251
  region: ScwRegion;
161
252
  }
162
253
  export interface RoutingPolicy {
163
- /** Unique identifier of the routing policy. */
254
+ /**
255
+ * Unique identifier of the routing policy.
256
+ */
164
257
  id: string;
165
- /** Project ID. */
258
+ /**
259
+ * Project ID.
260
+ */
166
261
  projectId: string;
167
- /** Organization ID. */
262
+ /**
263
+ * Organization ID.
264
+ */
168
265
  organizationId: string;
169
- /** Name of the routing policy. */
266
+ /**
267
+ * Name of the routing policy.
268
+ */
170
269
  name: string;
171
- /** List of tags associated with the routing policy. */
270
+ /**
271
+ * List of tags associated with the routing policy.
272
+ */
172
273
  tags: string[];
173
274
  /**
174
- * IP prefixes to accept from the peer (ranges of route announcements to
175
- * accept).
275
+ * IP prefixes to accept from the peer (ranges of route announcements to accept).
176
276
  */
177
277
  prefixFilterIn: string[];
178
- /** IP prefix filters to advertise to the peer (ranges of routes to advertise). */
278
+ /**
279
+ * IP prefix filters to advertise to the peer (ranges of routes to advertise).
280
+ */
179
281
  prefixFilterOut: string[];
180
- /** Creation date of the routing policy. */
282
+ /**
283
+ * Creation date of the routing policy.
284
+ */
181
285
  createdAt?: Date;
182
- /** Last modification date of the routing policy. */
286
+ /**
287
+ * Last modification date of the routing policy.
288
+ */
183
289
  updatedAt?: Date;
184
- /** Region of the routing policy. */
290
+ /**
291
+ * Region of the routing policy.
292
+ */
185
293
  region: ScwRegion;
186
294
  }
187
295
  export type AttachRoutingPolicyRequest = {
188
296
  /**
189
- * Region to target. If none is passed will use default region from the
190
- * config.
297
+ * Region to target. If none is passed will use default region from the config.
191
298
  */
192
299
  region?: ScwRegion;
193
- /** ID of the link to attach a routing policy to. */
300
+ /**
301
+ * ID of the link to attach a routing policy to.
302
+ */
194
303
  linkId: string;
195
- /** ID of the routing policy to be attached. */
304
+ /**
305
+ * ID of the routing policy to be attached.
306
+ */
196
307
  routingPolicyId: string;
197
308
  };
198
309
  export type AttachVpcRequest = {
199
310
  /**
200
- * Region to target. If none is passed will use default region from the
201
- * config.
311
+ * Region to target. If none is passed will use default region from the config.
202
312
  */
203
313
  region?: ScwRegion;
204
- /** ID of the link to attach VPC to. */
314
+ /**
315
+ * ID of the link to attach VPC to.
316
+ */
205
317
  linkId: string;
206
- /** ID of the VPC to attach. */
318
+ /**
319
+ * ID of the VPC to attach.
320
+ */
207
321
  vpcId: string;
208
322
  };
209
323
  export type CreateLinkRequest = {
210
324
  /**
211
- * Region to target. If none is passed will use default region from the
212
- * config.
325
+ * Region to target. If none is passed will use default region from the config.
213
326
  */
214
327
  region?: ScwRegion;
215
- /** ID of the Project to create the link in. */
328
+ /**
329
+ * ID of the Project to create the link in.
330
+ */
216
331
  projectId?: string;
217
- /** Name of the link. */
332
+ /**
333
+ * Name of the link.
334
+ */
218
335
  name: string;
219
- /** List of tags to apply to the link. */
336
+ /**
337
+ * List of tags to apply to the link.
338
+ */
220
339
  tags?: string[];
221
- /** PoP (location) where the link will be created. */
340
+ /**
341
+ * PoP (location) where the link will be created.
342
+ */
222
343
  popId: string;
223
344
  /**
224
- * Desired bandwidth for the link. Must be compatible with available link
225
- * bandwidths and remaining bandwidth capacity of the connection.
345
+ * Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
226
346
  */
227
347
  bandwidthMbps: number;
228
348
  /**
229
- * If set, creates a self-hosted link using this dedicated physical
230
- * connection. As the customer, specify the ID of the physical connection you
231
- * already have for this link.
349
+ * If set, creates a self-hosted link using this dedicated physical connection. As the customer, specify the ID of the physical connection you already have for this link.
232
350
  *
233
351
  * One-of ('host'): at most one of 'connectionId', 'partnerId' could be set.
234
352
  */
235
353
  connectionId?: string;
236
354
  /**
237
- * If set, creates a hosted link on a partner's connection. Specify the ID of
238
- * the chosen partner, who already has a shared connection with available
239
- * bandwidth.
355
+ * If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth.
240
356
  *
241
357
  * One-of ('host'): at most one of 'connectionId', 'partnerId' could be set.
242
358
  */
243
359
  partnerId?: string;
360
+ /**
361
+ * For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
362
+ */
363
+ peerAsn?: number;
244
364
  };
245
365
  export type CreateRoutingPolicyRequest = {
246
366
  /**
247
- * Region to target. If none is passed will use default region from the
248
- * config.
367
+ * Region to target. If none is passed will use default region from the config.
249
368
  */
250
369
  region?: ScwRegion;
251
- /** ID of the Project to create the routing policy in. */
370
+ /**
371
+ * ID of the Project to create the routing policy in.
372
+ */
252
373
  projectId?: string;
253
- /** Name of the routing policy. */
374
+ /**
375
+ * Name of the routing policy.
376
+ */
254
377
  name: string;
255
- /** List of tags to apply to the routing policy. */
378
+ /**
379
+ * List of tags to apply to the routing policy.
380
+ */
256
381
  tags?: string[];
257
382
  /**
258
- * IP prefixes to accept from the peer (ranges of route announcements to
259
- * accept).
383
+ * IP prefixes to accept from the peer (ranges of route announcements to accept).
260
384
  */
261
385
  prefixFilterIn?: string[];
262
- /** IP prefix filters to advertise to the peer (ranges of routes to advertise). */
386
+ /**
387
+ * IP prefix filters to advertise to the peer (ranges of routes to advertise).
388
+ */
263
389
  prefixFilterOut?: string[];
264
390
  };
265
391
  export type DeleteLinkRequest = {
266
392
  /**
267
- * Region to target. If none is passed will use default region from the
268
- * config.
393
+ * Region to target. If none is passed will use default region from the config.
269
394
  */
270
395
  region?: ScwRegion;
271
- /** ID of the link to delete. */
396
+ /**
397
+ * ID of the link to delete.
398
+ */
272
399
  linkId: string;
273
400
  };
274
401
  export type DeleteRoutingPolicyRequest = {
275
402
  /**
276
- * Region to target. If none is passed will use default region from the
277
- * config.
403
+ * Region to target. If none is passed will use default region from the config.
278
404
  */
279
405
  region?: ScwRegion;
280
- /** ID of the routing policy to delete. */
406
+ /**
407
+ * ID of the routing policy to delete.
408
+ */
281
409
  routingPolicyId: string;
282
410
  };
283
411
  export type DetachRoutingPolicyRequest = {
284
412
  /**
285
- * Region to target. If none is passed will use default region from the
286
- * config.
413
+ * Region to target. If none is passed will use default region from the config.
287
414
  */
288
415
  region?: ScwRegion;
289
- /** ID of the link to detach a routing policy from. */
416
+ /**
417
+ * ID of the link to detach a routing policy from.
418
+ */
290
419
  linkId: string;
291
420
  };
292
421
  export type DetachVpcRequest = {
293
422
  /**
294
- * Region to target. If none is passed will use default region from the
295
- * config.
423
+ * Region to target. If none is passed will use default region from the config.
296
424
  */
297
425
  region?: ScwRegion;
298
- /** ID of the link to detach the VPC from. */
426
+ /**
427
+ * ID of the link to detach the VPC from.
428
+ */
299
429
  linkId: string;
300
430
  };
301
431
  export type DisableRoutePropagationRequest = {
302
432
  /**
303
- * Region to target. If none is passed will use default region from the
304
- * config.
433
+ * Region to target. If none is passed will use default region from the config.
305
434
  */
306
435
  region?: ScwRegion;
307
- /** ID of the link on which to disable route propagation. */
436
+ /**
437
+ * ID of the link on which to disable route propagation.
438
+ */
308
439
  linkId: string;
309
440
  };
310
441
  export type EnableRoutePropagationRequest = {
311
442
  /**
312
- * Region to target. If none is passed will use default region from the
313
- * config.
443
+ * Region to target. If none is passed will use default region from the config.
314
444
  */
315
445
  region?: ScwRegion;
316
- /** ID of the link on which to enable route propagation. */
446
+ /**
447
+ * ID of the link on which to enable route propagation.
448
+ */
317
449
  linkId: string;
318
450
  };
319
451
  export type GetDedicatedConnectionRequest = {
320
452
  /**
321
- * Region to target. If none is passed will use default region from the
322
- * config.
453
+ * Region to target. If none is passed will use default region from the config.
323
454
  */
324
455
  region?: ScwRegion;
325
- /** ID of connection to get. */
456
+ /**
457
+ * ID of connection to get.
458
+ */
326
459
  connectionId: string;
327
460
  };
328
461
  export type GetLinkRequest = {
329
462
  /**
330
- * Region to target. If none is passed will use default region from the
331
- * config.
463
+ * Region to target. If none is passed will use default region from the config.
332
464
  */
333
465
  region?: ScwRegion;
334
- /** ID of the link to get. */
466
+ /**
467
+ * ID of the link to get.
468
+ */
335
469
  linkId: string;
336
470
  };
337
471
  export type GetPartnerRequest = {
338
472
  /**
339
- * Region to target. If none is passed will use default region from the
340
- * config.
473
+ * Region to target. If none is passed will use default region from the config.
341
474
  */
342
475
  region?: ScwRegion;
343
- /** ID of partner to get. */
476
+ /**
477
+ * ID of partner to get.
478
+ */
344
479
  partnerId: string;
345
480
  };
346
481
  export type GetPopRequest = {
347
482
  /**
348
- * Region to target. If none is passed will use default region from the
349
- * config.
483
+ * Region to target. If none is passed will use default region from the config.
350
484
  */
351
485
  region?: ScwRegion;
352
- /** ID of PoP to get. */
486
+ /**
487
+ * ID of PoP to get.
488
+ */
353
489
  popId: string;
354
490
  };
355
491
  export type GetRoutingPolicyRequest = {
356
492
  /**
357
- * Region to target. If none is passed will use default region from the
358
- * config.
493
+ * Region to target. If none is passed will use default region from the config.
359
494
  */
360
495
  region?: ScwRegion;
361
- /** ID of the routing policy to get. */
496
+ /**
497
+ * ID of the routing policy to get.
498
+ */
362
499
  routingPolicyId: string;
363
500
  };
364
501
  export type ListDedicatedConnectionsRequest = {
365
502
  /**
366
- * Region to target. If none is passed will use default region from the
367
- * config.
503
+ * Region to target. If none is passed will use default region from the config.
368
504
  */
369
505
  region?: ScwRegion;
370
- /** Order in which to return results. */
506
+ /**
507
+ * Order in which to return results.
508
+ */
371
509
  orderBy?: ListDedicatedConnectionsRequestOrderBy;
372
- /** Page number to return. */
510
+ /**
511
+ * Page number to return.
512
+ */
373
513
  page?: number;
374
- /** Maximum number of connections to return per page. */
514
+ /**
515
+ * Maximum number of connections to return per page.
516
+ */
375
517
  pageSize?: number;
376
- /** Project ID to filter for. */
518
+ /**
519
+ * Project ID to filter for.
520
+ */
377
521
  projectId?: string;
378
- /** Organization ID to filter for. */
522
+ /**
523
+ * Organization ID to filter for.
524
+ */
379
525
  organizationId?: string;
380
- /** Link name to filter for. */
526
+ /**
527
+ * Link name to filter for.
528
+ */
381
529
  name?: string;
382
- /** Tags to filter for. */
530
+ /**
531
+ * Tags to filter for.
532
+ */
383
533
  tags?: string[];
384
- /** Connection status to filter for. */
534
+ /**
535
+ * Connection status to filter for.
536
+ */
385
537
  status?: DedicatedConnectionStatus;
386
- /** Filter for dedicated connections with this bandwidth size. */
538
+ /**
539
+ * Filter for dedicated connections with this bandwidth size.
540
+ */
387
541
  bandwidthMbps?: number;
388
- /** Filter for dedicated connections present in this PoP. */
542
+ /**
543
+ * Filter for dedicated connections present in this PoP.
544
+ */
389
545
  popId?: string;
390
546
  };
391
547
  export interface ListDedicatedConnectionsResponse {
392
- /** List of connections on current page. */
548
+ /**
549
+ * List of connections on current page.
550
+ */
393
551
  connections: DedicatedConnection[];
394
- /** Total number of connections returned. */
552
+ /**
553
+ * Total number of connections returned.
554
+ */
395
555
  totalCount: number;
396
556
  }
397
557
  export type ListLinksRequest = {
398
558
  /**
399
- * Region to target. If none is passed will use default region from the
400
- * config.
559
+ * Region to target. If none is passed will use default region from the config.
401
560
  */
402
561
  region?: ScwRegion;
403
- /** Order in which to return results. */
562
+ /**
563
+ * Order in which to return results.
564
+ */
404
565
  orderBy?: ListLinksRequestOrderBy;
405
- /** Page number to return. */
566
+ /**
567
+ * Page number to return.
568
+ */
406
569
  page?: number;
407
- /** Maximum number of links to return per page. */
570
+ /**
571
+ * Maximum number of links to return per page.
572
+ */
408
573
  pageSize?: number;
409
- /** Project ID to filter for. */
574
+ /**
575
+ * Project ID to filter for.
576
+ */
410
577
  projectId?: string;
411
- /** Organization ID to filter for. */
578
+ /**
579
+ * Organization ID to filter for.
580
+ */
412
581
  organizationId?: string;
413
- /** Link name to filter for. */
582
+ /**
583
+ * Link name to filter for.
584
+ */
414
585
  name?: string;
415
- /** Tags to filter for. */
586
+ /**
587
+ * Tags to filter for.
588
+ */
416
589
  tags?: string[];
417
- /** Link status to filter for. */
590
+ /**
591
+ * Link status to filter for.
592
+ */
418
593
  status?: LinkStatus;
419
- /** BGP IPv4 status to filter for. */
594
+ /**
595
+ * BGP IPv4 status to filter for.
596
+ */
420
597
  bgpV4Status?: BgpStatus;
421
- /** BGP IPv6 status to filter for. */
598
+ /**
599
+ * BGP IPv6 status to filter for.
600
+ */
422
601
  bgpV6Status?: BgpStatus;
423
- /** Filter for links attached to this PoP (via connections). */
602
+ /**
603
+ * Filter for links attached to this PoP (via connections).
604
+ */
424
605
  popId?: string;
425
- /** Filter for link bandwidth (in Mbps). */
606
+ /**
607
+ * Filter for link bandwidth (in Mbps).
608
+ */
426
609
  bandwidthMbps?: number;
427
- /** Filter for links hosted by this partner. */
610
+ /**
611
+ * Filter for links hosted by this partner.
612
+ */
428
613
  partnerId?: string;
429
- /** Filter for links attached to this VPC. */
614
+ /**
615
+ * Filter for links attached to this VPC.
616
+ */
430
617
  vpcId?: string;
431
- /** Filter for links using this routing policy. */
618
+ /**
619
+ * Filter for links using this routing policy.
620
+ */
432
621
  routingPolicyId?: string;
433
- /** Filter for the link with this pairing_key. */
622
+ /**
623
+ * Filter for the link with this pairing_key.
624
+ */
434
625
  pairingKey?: string;
435
- /** Filter for hosted or self-hosted links. */
626
+ /**
627
+ * Filter for hosted or self-hosted links.
628
+ */
436
629
  kind?: LinkKind;
437
- /** Filter for links self-hosted on this connection. */
630
+ /**
631
+ * Filter for links self-hosted on this connection.
632
+ */
438
633
  connectionId?: string;
439
634
  };
440
635
  export interface ListLinksResponse {
441
- /** List of links on the current page. */
636
+ /**
637
+ * List of links on the current page.
638
+ */
442
639
  links: Link[];
443
- /** Total number of links. */
640
+ /**
641
+ * Total number of links.
642
+ */
444
643
  totalCount: number;
445
644
  }
446
645
  export type ListPartnersRequest = {
447
646
  /**
448
- * Region to target. If none is passed will use default region from the
449
- * config.
647
+ * Region to target. If none is passed will use default region from the config.
450
648
  */
451
649
  region?: ScwRegion;
452
- /** Order in which to return results. */
650
+ /**
651
+ * Order in which to return results.
652
+ */
453
653
  orderBy?: ListPartnersRequestOrderBy;
454
- /** Page number to return. */
654
+ /**
655
+ * Page number to return.
656
+ */
455
657
  page?: number;
456
- /** Maximum number of partners to return per page. */
658
+ /**
659
+ * Maximum number of partners to return per page.
660
+ */
457
661
  pageSize?: number;
458
- /** Filter for partners present (offering a connection) in one of these PoPs. */
662
+ /**
663
+ * Filter for partners present (offering a connection) in one of these PoPs.
664
+ */
459
665
  popIds?: string[];
460
666
  };
461
667
  export interface ListPartnersResponse {
462
- /** List of partners on current page. */
668
+ /**
669
+ * List of partners on current page.
670
+ */
463
671
  partners: Partner[];
464
- /** Total number of partners returned. */
672
+ /**
673
+ * Total number of partners returned.
674
+ */
465
675
  totalCount: number;
466
676
  }
467
677
  export type ListPopsRequest = {
468
678
  /**
469
- * Region to target. If none is passed will use default region from the
470
- * config.
679
+ * Region to target. If none is passed will use default region from the config.
471
680
  */
472
681
  region?: ScwRegion;
473
- /** Order in which to return results. */
682
+ /**
683
+ * Order in which to return results.
684
+ */
474
685
  orderBy?: ListPopsRequestOrderBy;
475
- /** Page number to return. */
686
+ /**
687
+ * Page number to return.
688
+ */
476
689
  page?: number;
477
- /** Maximum number of PoPs to return per page. */
690
+ /**
691
+ * Maximum number of PoPs to return per page.
692
+ */
478
693
  pageSize?: number;
479
- /** PoP name to filter for. */
694
+ /**
695
+ * PoP name to filter for.
696
+ */
480
697
  name?: string;
481
- /** Hosting provider name to filter for. */
698
+ /**
699
+ * Hosting provider name to filter for.
700
+ */
482
701
  hostingProviderName?: string;
483
- /** Filter for PoPs hosting an available shared connection from this partner. */
702
+ /**
703
+ * Filter for PoPs hosting an available shared connection from this partner.
704
+ */
484
705
  partnerId?: string;
485
706
  /**
486
- * Filter for PoPs with a shared connection allowing this bandwidth size. Note
487
- * that we cannot guarantee that PoPs returned will have available capacity.
707
+ * Filter for PoPs with a shared connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity.
488
708
  */
489
709
  linkBandwidthMbps?: number;
490
710
  /**
491
- * Filter for PoPs with a dedicated connection available for self-hosted
492
- * links.
711
+ * Filter for PoPs with a dedicated connection available for self-hosted links.
493
712
  */
494
713
  dedicatedAvailable?: boolean;
495
714
  };
496
715
  export interface ListPopsResponse {
497
- /** List of PoPs on the current page. */
716
+ /**
717
+ * List of PoPs on the current page.
718
+ */
498
719
  pops: Pop[];
499
- /** Total number of PoPs. */
720
+ /**
721
+ * Total number of PoPs.
722
+ */
500
723
  totalCount: number;
501
724
  }
502
725
  export type ListRoutingPoliciesRequest = {
503
726
  /**
504
- * Region to target. If none is passed will use default region from the
505
- * config.
727
+ * Region to target. If none is passed will use default region from the config.
506
728
  */
507
729
  region?: ScwRegion;
508
- /** Order in which to return results. */
730
+ /**
731
+ * Order in which to return results.
732
+ */
509
733
  orderBy?: ListRoutingPoliciesRequestOrderBy;
510
- /** Page number to return. */
734
+ /**
735
+ * Page number to return.
736
+ */
511
737
  page?: number;
512
- /** Maximum number of routing policies to return per page. */
738
+ /**
739
+ * Maximum number of routing policies to return per page.
740
+ */
513
741
  pageSize?: number;
514
- /** Project ID to filter for. */
742
+ /**
743
+ * Project ID to filter for.
744
+ */
515
745
  projectId?: string;
516
- /** Organization ID to filter for. */
746
+ /**
747
+ * Organization ID to filter for.
748
+ */
517
749
  organizationId?: string;
518
- /** Routing policy name to filter for. */
750
+ /**
751
+ * Routing policy name to filter for.
752
+ */
519
753
  name?: string;
520
- /** Tags to filter for. */
754
+ /**
755
+ * Tags to filter for.
756
+ */
521
757
  tags?: string[];
522
758
  };
523
759
  export interface ListRoutingPoliciesResponse {
@@ -526,37 +762,49 @@ export interface ListRoutingPoliciesResponse {
526
762
  }
527
763
  export type UpdateLinkRequest = {
528
764
  /**
529
- * Region to target. If none is passed will use default region from the
530
- * config.
765
+ * Region to target. If none is passed will use default region from the config.
531
766
  */
532
767
  region?: ScwRegion;
533
- /** ID of the link to update. */
768
+ /**
769
+ * ID of the link to update.
770
+ */
534
771
  linkId: string;
535
- /** Name of the link. */
772
+ /**
773
+ * Name of the link.
774
+ */
536
775
  name?: string;
537
- /** List of tags to apply to the link. */
776
+ /**
777
+ * List of tags to apply to the link.
778
+ */
538
779
  tags?: string[];
780
+ /**
781
+ * For self-hosted links, AS Number to establish BGP session.
782
+ */
783
+ peerAsn?: number;
539
784
  };
540
785
  export type UpdateRoutingPolicyRequest = {
541
786
  /**
542
- * Region to target. If none is passed will use default region from the
543
- * config.
787
+ * Region to target. If none is passed will use default region from the config.
544
788
  */
545
789
  region?: ScwRegion;
546
- /** ID of the routing policy to update. */
790
+ /**
791
+ * ID of the routing policy to update.
792
+ */
547
793
  routingPolicyId: string;
548
- /** Name of the routing policy. */
794
+ /**
795
+ * Name of the routing policy.
796
+ */
549
797
  name?: string;
550
- /** List of tags to apply to the routing policy. */
798
+ /**
799
+ * List of tags to apply to the routing policy.
800
+ */
551
801
  tags?: string[];
552
802
  /**
553
- * IP prefixes to accept from the peer (ranges of route announcements to
554
- * accept).
803
+ * IP prefixes to accept from the peer (ranges of route announcements to accept).
555
804
  */
556
805
  prefixFilterIn?: string[];
557
806
  /**
558
- * IP prefix filters for routes to advertise to the peer (ranges of routes to
559
- * advertise).
807
+ * IP prefix filters for routes to advertise to the peer (ranges of routes to advertise).
560
808
  */
561
809
  prefixFilterOut?: string[];
562
810
  };