You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/clients/src/api/vpcgw/v1/api.gen.ts
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,7 @@ export class API extends ParentAPI {
150
150
/**
151
151
* List Public Gateways. List Public Gateways in a given Scaleway Organization or Project. By default, results are displayed in ascending order of creation date.
152
152
*
153
+
* @deprecated
153
154
* @param request - The request {@link ListGatewaysRequest}
154
155
* @returns A Promise of ListGatewaysResponse
155
156
*/
@@ -159,6 +160,7 @@ export class API extends ParentAPI {
159
160
/**
160
161
* Get a Public Gateway. Get details of a Public Gateway, specified by its gateway ID. The response object contains full details of the gateway, including its **name**, **type**, **status** and more.
161
162
*
163
+
* @deprecated
162
164
* @param request - The request {@link GetGatewayRequest}
163
165
* @returns A Promise of Gateway
164
166
*/
@@ -196,6 +198,7 @@ export class API extends ParentAPI {
196
198
/**
197
199
* Create a Public Gateway. Create a new Public Gateway in the specified Scaleway Project, defining its **name**, **type** and other configuration details such as whether to enable SSH bastion.
198
200
*
201
+
* @deprecated
199
202
* @param request - The request {@link CreateGatewayRequest}
200
203
* @returns A Promise of Gateway
201
204
*/
@@ -215,6 +218,7 @@ export class API extends ParentAPI {
215
218
/**
216
219
* Update a Public Gateway. Update the parameters of an existing Public Gateway, for example, its **name**, **tags**, **SSH bastion configuration**, and **DNS servers**.
217
220
*
221
+
* @deprecated
218
222
* @param request - The request {@link UpdateGatewayRequest}
219
223
* @returns A Promise of Gateway
220
224
*/
@@ -234,6 +238,7 @@ export class API extends ParentAPI {
234
238
/**
235
239
* Delete a Public Gateway. Delete an existing Public Gateway, specified by its gateway ID. This action is irreversible.
236
240
*
241
+
* @deprecated
237
242
* @param request - The request {@link DeleteGatewayRequest}
@@ -246,6 +251,7 @@ export class API extends ParentAPI {
246
251
/**
247
252
* Upgrade a Public Gateway to the latest version and/or to a different commercial offer type. Upgrade a given Public Gateway to the newest software version or to a different commercial offer type. This applies the latest bugfixes and features to your Public Gateway. Note that gateway service will be interrupted during the update.
248
253
*
254
+
* @deprecated
249
255
* @param request - The request {@link UpgradeGatewayRequest}
250
256
* @returns A Promise of Gateway
251
257
*/
@@ -265,6 +271,7 @@ export class API extends ParentAPI {
265
271
/**
266
272
* Upgrade a Public Gateway to IP mobility. Upgrade a Public Gateway to IP mobility (move from NAT IP to routed IP). This is idempotent: repeated calls after the first will return no error but have no effect.
267
273
*
274
+
* @deprecated
268
275
* @param request - The request {@link EnableIPMobilityRequest}
@@ -302,6 +309,7 @@ export class API extends ParentAPI {
302
309
/**
303
310
* List Public Gateway connections to Private Networks. List the connections between Public Gateways and Private Networks (a connection = a GatewayNetwork). You can choose to filter by `gateway-id` to list all Private Networks attached to the specified Public Gateway, or by `private_network_id` to list all Public Gateways attached to the specified Private Network. Other query parameters are also available. The result is an array of GatewayNetwork objects, each giving details of the connection between a given Public Gateway and a given Private Network.
304
311
*
312
+
* @deprecated
305
313
* @param request - The request {@link ListGatewayNetworksRequest}
306
314
* @returns A Promise of ListGatewayNetworksResponse
307
315
*/
@@ -315,6 +323,7 @@ export class API extends ParentAPI {
315
323
/**
316
324
* Get a Public Gateway connection to a Private Network. Get details of a given connection between a Public Gateway and a Private Network (this connection = a GatewayNetwork), specified by its `gateway_network_id`. The response object contains details of the connection including the IDs of the Public Gateway and Private Network, the dates the connection was created/updated and its configuration settings.
317
325
*
326
+
* @deprecated
318
327
* @param request - The request {@link GetGatewayNetworkRequest}
319
328
* @returns A Promise of GatewayNetwork
320
329
*/
@@ -352,6 +361,7 @@ export class API extends ParentAPI {
352
361
/**
353
362
* Attach a Public Gateway to a Private Network. Attach a specific Public Gateway to a specific Private Network (create a GatewayNetwork). You can configure parameters for the connection including DHCP settings, whether to enable masquerade (dynamic NAT), and more.
354
363
*
364
+
* @deprecated
355
365
* @param request - The request {@link CreateGatewayNetworkRequest}
356
366
* @returns A Promise of GatewayNetwork
357
367
*/
@@ -371,6 +381,7 @@ export class API extends ParentAPI {
371
381
/**
372
382
* Update a Public Gateway's connection to a Private Network. Update the configuration parameters of a connection between a given Public Gateway and Private Network (the connection = a GatewayNetwork). Updatable parameters include DHCP settings and whether to enable traffic masquerade (dynamic NAT).
373
383
*
384
+
* @deprecated
374
385
* @param request - The request {@link UpdateGatewayNetworkRequest}
375
386
* @returns A Promise of GatewayNetwork
376
387
*/
@@ -390,6 +401,7 @@ export class API extends ParentAPI {
390
401
/**
391
402
* Detach a Public Gateway from a Private Network. Detach a given Public Gateway from a given Private Network, i.e. delete a GatewayNetwork specified by a gateway_network_id.
392
403
*
404
+
* @deprecated
393
405
* @param request - The request {@link DeleteGatewayNetworkRequest}
@@ -423,6 +435,7 @@ export class API extends ParentAPI {
423
435
/**
424
436
* List DHCP configurations. List DHCP configurations, optionally filtering by Organization, Project, Public Gateway IP address or more. The response is an array of DHCP configuration objects, each identified by a DHCP ID and containing configuration settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. Note that the response does not contain the IDs of any Private Network / Public Gateway the configuration is attached to. Use the `List Public Gateway connections to Private Networks` method for that purpose, filtering on DHCP ID.
425
437
*
438
+
* @deprecated
426
439
* @param request - The request {@link ListDHCPsRequest}
427
440
* @returns A Promise of ListDHCPsResponse
428
441
*/
@@ -432,6 +445,7 @@ export class API extends ParentAPI {
432
445
/**
433
446
* Get a DHCP configuration. Get a DHCP configuration object, identified by its DHCP ID. The response object contains configuration settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. Note that the response does not contain the IDs of any Private Network / Public Gateway the configuration is attached to. Use the `List Public Gateway connections to Private Networks` method for that purpose, filtering on DHCP ID.
434
447
*
448
+
* @deprecated
435
449
* @param request - The request {@link GetDHCPRequest}
436
450
* @returns A Promise of DHCP
437
451
*/
@@ -447,6 +461,7 @@ export class API extends ParentAPI {
447
461
/**
448
462
* Create a DHCP configuration. Create a new DHCP configuration object, containing settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. The response object includes the ID of the DHCP configuration object. You can use this ID as part of a call to `Create a Public Gateway connection to a Private Network` or `Update a Public Gateway connection to a Private Network` to directly apply this DHCP configuration.
449
463
*
464
+
* @deprecated
450
465
* @param request - The request {@link CreateDHCPRequest}
451
466
* @returns A Promise of DHCP
452
467
*/
@@ -466,6 +481,7 @@ export class API extends ParentAPI {
466
481
/**
467
482
* Update a DHCP configuration. Update a DHCP configuration object, identified by its DHCP ID.
468
483
*
484
+
* @deprecated
469
485
* @param request - The request {@link UpdateDHCPRequest}
470
486
* @returns A Promise of DHCP
471
487
*/
@@ -485,6 +501,7 @@ export class API extends ParentAPI {
485
501
/**
486
502
* Delete a DHCP configuration. Delete a DHCP configuration object, identified by its DHCP ID. Note that you cannot delete a DHCP configuration object that is currently being used by a Gateway Network.
487
503
*
504
+
* @deprecated
488
505
* @param request - The request {@link DeleteDHCPRequest}
@@ -520,6 +537,7 @@ export class API extends ParentAPI {
520
537
/**
521
538
* List DHCP entries. List DHCP entries, whether dynamically assigned and/or statically reserved. DHCP entries can be filtered by the Gateway Network they are on, their MAC address, IP address, type or hostname.
522
539
*
540
+
* @deprecated
523
541
* @param request - The request {@link ListDHCPEntriesRequest}
524
542
* @returns A Promise of ListDHCPEntriesResponse
525
543
*/
@@ -529,6 +547,7 @@ export class API extends ParentAPI {
529
547
/**
530
548
* Get a DHCP entry. Get a DHCP entry, specified by its DHCP entry ID.
531
549
*
550
+
* @deprecated
532
551
* @param request - The request {@link GetDHCPEntryRequest}
533
552
* @returns A Promise of DHCPEntry
534
553
*/
@@ -544,6 +563,7 @@ export class API extends ParentAPI {
544
563
/**
545
564
* Create a DHCP entry. Create a static DHCP reservation, specifying the Gateway Network for the reservation, the MAC address of the target device and the IP address to assign this device. The response is a DHCP entry object, confirming the ID and configuration details of the static DHCP reservation.
546
565
*
566
+
* @deprecated
547
567
* @param request - The request {@link CreateDHCPEntryRequest}
548
568
* @returns A Promise of DHCPEntry
549
569
*/
@@ -563,6 +583,7 @@ export class API extends ParentAPI {
563
583
/**
564
584
* Update a DHCP entry. Update the IP address for a DHCP entry, specified by its DHCP entry ID. You can update an existing DHCP entry of any type (`reservation` (static), `lease` (dynamic) or `unknown`), but in manually updating the IP address the entry will necessarily be of type `reservation` after the update.
565
585
*
586
+
* @deprecated
566
587
* @param request - The request {@link UpdateDHCPEntryRequest}
567
588
* @returns A Promise of DHCPEntry
568
589
*/
@@ -582,6 +603,7 @@ export class API extends ParentAPI {
582
603
/**
583
604
* Set all DHCP reservations on a Gateway Network. Set the list of DHCP reservations attached to a Gateway Network. Reservations are identified by their MAC address, and will sync the current DHCP entry list to the given list, creating, updating or deleting DHCP entries accordingly.
584
605
*
606
+
* @deprecated
585
607
* @param request - The request {@link SetDHCPEntriesRequest}
586
608
* @returns A Promise of SetDHCPEntriesResponse
587
609
*/
@@ -601,6 +623,7 @@ export class API extends ParentAPI {
601
623
/**
602
624
* Delete a DHCP entry. Delete a static DHCP reservation, identified by its DHCP entry ID. Note that you cannot delete DHCP entries of type `lease`, these are deleted automatically when their time-to-live expires.
603
625
*
626
+
* @deprecated
604
627
* @param request - The request {@link DeleteDHCPEntryRequest}
@@ -634,6 +657,7 @@ export class API extends ParentAPI {
634
657
/**
635
658
* List PAT rules. List PAT rules. You can filter by gateway ID to list all PAT rules for a particular gateway, or filter for PAT rules targeting a specific IP address or using a specific protocol.
636
659
*
660
+
* @deprecated
637
661
* @param request - The request {@link ListPATRulesRequest}
638
662
* @returns A Promise of ListPATRulesResponse
639
663
*/
@@ -643,6 +667,7 @@ export class API extends ParentAPI {
643
667
/**
644
668
* Get a PAT rule. Get a PAT rule, specified by its PAT rule ID. The response object gives full details of the PAT rule, including the Public Gateway it belongs to and the configuration settings in terms of public / private ports, private IP and protocol.
645
669
*
670
+
* @deprecated
646
671
* @param request - The request {@link GetPATRuleRequest}
647
672
* @returns A Promise of PATRule
648
673
*/
@@ -658,6 +683,7 @@ export class API extends ParentAPI {
658
683
/**
659
684
* Create a PAT rule. Create a new PAT rule on a specified Public Gateway, defining the protocol to use, public port to listen on, and private port / IP address to map to.
660
685
*
686
+
* @deprecated
661
687
* @param request - The request {@link CreatePATRuleRequest}
662
688
* @returns A Promise of PATRule
663
689
*/
@@ -677,6 +703,7 @@ export class API extends ParentAPI {
677
703
/**
678
704
* Update a PAT rule. Update a PAT rule, specified by its PAT rule ID. Configuration settings including private/public port, private IP address and protocol can all be updated.
679
705
*
706
+
* @deprecated
680
707
* @param request - The request {@link UpdatePATRuleRequest}
681
708
* @returns A Promise of PATRule
682
709
*/
@@ -696,6 +723,7 @@ export class API extends ParentAPI {
696
723
/**
697
724
* Set all PAT rules. Set a definitive list of PAT rules attached to a Public Gateway. Each rule is identified by its public port and protocol. This will sync the current PAT rule list on the gateway with the new list, creating, updating or deleting PAT rules accordingly.
698
725
*
726
+
* @deprecated
699
727
* @param request - The request {@link SetPATRulesRequest}
700
728
* @returns A Promise of SetPATRulesResponse
701
729
*/
@@ -715,6 +743,7 @@ export class API extends ParentAPI {
715
743
/**
716
744
* Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This action is irreversible.
717
745
*
746
+
* @deprecated
718
747
* @param request - The request {@link DeletePATRuleRequest}
@@ -726,6 +755,7 @@ export class API extends ParentAPI {
726
755
/**
727
756
* List Public Gateway types. List the different Public Gateway commercial offer types available at Scaleway. The response is an array of objects describing the name and technical details of each available gateway type.
728
757
*
758
+
* @deprecated
729
759
* @param request - The request {@link ListGatewayTypesRequest}
730
760
* @returns A Promise of ListGatewayTypesResponse
731
761
*/
@@ -763,6 +793,7 @@ export class API extends ParentAPI {
763
793
/**
764
794
* List IPs. List Public Gateway flexible IP addresses. A number of filter options are available for limiting results in the response.
765
795
*
796
+
* @deprecated
766
797
* @param request - The request {@link ListIPsRequest}
767
798
* @returns A Promise of ListIPsResponse
768
799
*/
@@ -772,6 +803,7 @@ export class API extends ParentAPI {
772
803
/**
773
804
* Get an IP. Get details of a Public Gateway flexible IP address, identified by its IP ID. The response object contains information including which (if any) Public Gateway using this IP address, the reverse and various other metadata.
774
805
*
806
+
* @deprecated
775
807
* @param request - The request {@link GetIPRequest}
776
808
* @returns A Promise of IP
777
809
*/
@@ -787,6 +819,7 @@ export class API extends ParentAPI {
787
819
/**
788
820
* Reserve an IP. Create (reserve) a new flexible IP address that can be used for a Public Gateway in a specified Scaleway Project.
789
821
*
822
+
* @deprecated
790
823
* @param request - The request {@link CreateIPRequest}
791
824
* @returns A Promise of IP
792
825
*/
@@ -806,6 +839,7 @@ export class API extends ParentAPI {
806
839
/**
807
840
* Update an IP. Update details of an existing flexible IP address, including its tags, reverse and the Public Gateway it is assigned to.
808
841
*
842
+
* @deprecated
809
843
* @param request - The request {@link UpdateIPRequest}
810
844
* @returns A Promise of IP
811
845
*/
@@ -825,6 +859,7 @@ export class API extends ParentAPI {
825
859
/**
826
860
* Delete an IP. Delete a flexible IP address from your account. This action is irreversible.
827
861
*
862
+
* @deprecated
828
863
* @param request - The request {@link DeleteIPRequest}
829
864
*/
830
865
deleteIP=(request: Readonly<DeleteIPRequest>)=>
@@ -836,6 +871,7 @@ export class API extends ParentAPI {
836
871
/**
837
872
* Refresh a Public Gateway's SSH keys. Refresh the SSH keys of a given Public Gateway, specified by its gateway ID. This adds any new SSH keys in the gateway's Scaleway Project to the gateway itself.
838
873
*
874
+
* @deprecated
839
875
* @param request - The request {@link RefreshSSHKeysRequest}
840
876
* @returns A Promise of Gateway
841
877
*/
@@ -853,6 +889,7 @@ export class API extends ParentAPI {
853
889
/**
854
890
* Put a Public Gateway in IPAM mode. Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2. This call is idempotent.
855
891
*
892
+
* @deprecated
856
893
* @param request - The request {@link MigrateToV2Request}
0 commit comments