11// This file was automatically generated. DO NOT EDIT.
22// If you have any remark or suggestion do not hesitate to open an issue.
3- import type { Region } from '../../../bridge'
3+ import type { Region as ScwRegion } from '../../../bridge'
44
55export type ListPrivateNetworksRequestOrderBy =
66 | 'created_at_asc'
@@ -43,7 +43,7 @@ export interface PrivateNetwork {
4343 /** Scaleway Project the Private Network belongs to. */
4444 projectId : string
4545 /** Region in which the Private Network is available. */
46- region : Region
46+ region : ScwRegion
4747 /** Tags of the Private Network. */
4848 tags : string [ ]
4949 /** Date the Private Network was created. */
@@ -80,7 +80,7 @@ export interface Route {
8080 /** Defines whether the route can be modified or deleted by the user. */
8181 isReadOnly : boolean
8282 /** Region of the Route. */
83- region : Region
83+ region : ScwRegion
8484}
8585
8686export interface VPC {
@@ -93,7 +93,7 @@ export interface VPC {
9393 /** Scaleway Project the VPC belongs to. */
9494 projectId : string
9595 /** Region of the VPC. */
96- region : Region
96+ region : ScwRegion
9797 /** Tags for the VPC. */
9898 tags : string [ ]
9999 /** Defines whether the VPC is the default one for its Project. */
@@ -113,7 +113,7 @@ export type AddSubnetsRequest = {
113113 * Region to target. If none is passed will use default region from the
114114 * config.
115115 */
116- region ?: Region
116+ region ?: ScwRegion
117117 /** Private Network ID. */
118118 privateNetworkId : string
119119 /** Private Network subnets CIDR. */
@@ -129,7 +129,7 @@ export type CreatePrivateNetworkRequest = {
129129 * Region to target. If none is passed will use default region from the
130130 * config.
131131 */
132- region ?: Region
132+ region ?: ScwRegion
133133 /** Name for the Private Network. */
134134 name ?: string
135135 /** Scaleway Project in which to create the Private Network. */
@@ -147,7 +147,7 @@ export type CreateRouteRequest = {
147147 * Region to target. If none is passed will use default region from the
148148 * config.
149149 */
150- region ?: Region
150+ region ?: ScwRegion
151151 /** Route description. */
152152 description : string
153153 /** Tags of the Route. */
@@ -167,7 +167,7 @@ export type CreateVPCRequest = {
167167 * Region to target. If none is passed will use default region from the
168168 * config.
169169 */
170- region ?: Region
170+ region ?: ScwRegion
171171 /** Name for the VPC. */
172172 name ?: string
173173 /** Scaleway Project in which to create the VPC. */
@@ -183,7 +183,7 @@ export type DeletePrivateNetworkRequest = {
183183 * Region to target. If none is passed will use default region from the
184184 * config.
185185 */
186- region ?: Region
186+ region ?: ScwRegion
187187 /** Private Network ID. */
188188 privateNetworkId : string
189189}
@@ -193,7 +193,7 @@ export type DeleteRouteRequest = {
193193 * Region to target. If none is passed will use default region from the
194194 * config.
195195 */
196- region ?: Region
196+ region ?: ScwRegion
197197 /** Route ID. */
198198 routeId : string
199199}
@@ -203,7 +203,7 @@ export type DeleteSubnetsRequest = {
203203 * Region to target. If none is passed will use default region from the
204204 * config.
205205 */
206- region ?: Region
206+ region ?: ScwRegion
207207 /** Private Network ID. */
208208 privateNetworkId : string
209209 /** Private Network subnets CIDR. */
@@ -219,7 +219,7 @@ export type DeleteVPCRequest = {
219219 * Region to target. If none is passed will use default region from the
220220 * config.
221221 */
222- region ?: Region
222+ region ?: ScwRegion
223223 /** VPC ID. */
224224 vpcId : string
225225}
@@ -229,7 +229,7 @@ export type EnableDHCPRequest = {
229229 * Region to target. If none is passed will use default region from the
230230 * config.
231231 */
232- region ?: Region
232+ region ?: ScwRegion
233233 /** Private Network ID. */
234234 privateNetworkId : string
235235}
@@ -239,7 +239,7 @@ export type EnableRoutingRequest = {
239239 * Region to target. If none is passed will use default region from the
240240 * config.
241241 */
242- region ?: Region
242+ region ?: ScwRegion
243243 /** VPC ID. */
244244 vpcId : string
245245}
@@ -249,7 +249,7 @@ export type GetPrivateNetworkRequest = {
249249 * Region to target. If none is passed will use default region from the
250250 * config.
251251 */
252- region ?: Region
252+ region ?: ScwRegion
253253 /** Private Network ID. */
254254 privateNetworkId : string
255255}
@@ -259,7 +259,7 @@ export type GetRouteRequest = {
259259 * Region to target. If none is passed will use default region from the
260260 * config.
261261 */
262- region ?: Region
262+ region ?: ScwRegion
263263 /** Route ID. */
264264 routeId : string
265265}
@@ -269,7 +269,7 @@ export type GetVPCRequest = {
269269 * Region to target. If none is passed will use default region from the
270270 * config.
271271 */
272- region ?: Region
272+ region ?: ScwRegion
273273 /** VPC ID. */
274274 vpcId : string
275275}
@@ -279,7 +279,7 @@ export type ListPrivateNetworksRequest = {
279279 * Region to target. If none is passed will use default region from the
280280 * config.
281281 */
282- region ?: Region
282+ region ?: ScwRegion
283283 /** Sort order of the returned Private Networks. */
284284 orderBy ?: ListPrivateNetworksRequestOrderBy
285285 /** Page number to return, from the paginated results. */
@@ -333,7 +333,7 @@ export type ListSubnetsRequest = {
333333 * Region to target. If none is passed will use default region from the
334334 * config.
335335 */
336- region ?: Region
336+ region ?: ScwRegion
337337 /** Sort order of the returned subnets. */
338338 orderBy ?: ListSubnetsRequestOrderBy
339339 /** Page number to return, from the paginated results. */
@@ -369,7 +369,7 @@ export type ListVPCsRequest = {
369369 * Region to target. If none is passed will use default region from the
370370 * config.
371371 */
372- region ?: Region
372+ region ?: ScwRegion
373373 /** Sort order of the returned VPCs. */
374374 orderBy ?: ListVPCsRequestOrderBy
375375 /** Page number to return, from the paginated results. */
@@ -418,7 +418,7 @@ export type MigrateZonalPrivateNetworksRequest = {
418418 * Region to target. If none is passed will use default region from the
419419 * config.
420420 */
421- region ?: Region
421+ region ?: ScwRegion
422422 /**
423423 * Organization ID to target. The specified zoned Private Networks within this
424424 * Organization will be migrated to regional.
@@ -444,7 +444,7 @@ export type SetSubnetsRequest = {
444444 * Region to target. If none is passed will use default region from the
445445 * config.
446446 */
447- region ?: Region
447+ region ?: ScwRegion
448448 /** Private Network ID. */
449449 privateNetworkId : string
450450 /** Private Network subnets CIDR. */
@@ -460,7 +460,7 @@ export type UpdatePrivateNetworkRequest = {
460460 * Region to target. If none is passed will use default region from the
461461 * config.
462462 */
463- region ?: Region
463+ region ?: ScwRegion
464464 /** Private Network ID. */
465465 privateNetworkId : string
466466 /** Name for the Private Network. */
@@ -474,7 +474,7 @@ export type UpdateRouteRequest = {
474474 * Region to target. If none is passed will use default region from the
475475 * config.
476476 */
477- region ?: Region
477+ region ?: ScwRegion
478478 /** Route ID. */
479479 routeId : string
480480 /** Route description. */
@@ -494,7 +494,7 @@ export type UpdateVPCRequest = {
494494 * Region to target. If none is passed will use default region from the
495495 * config.
496496 */
497- region ?: Region
497+ region ?: ScwRegion
498498 /** VPC ID. */
499499 vpcId : string
500500 /** Name for the VPC. */
0 commit comments