Skip to content

Commit ebaf806

Browse files
chore(vpc_gw): deprecate v1 (#1992)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 9a2ebdf commit ebaf806

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

packages/clients/src/api/vpcgw/v1/api.gen.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export class API extends ParentAPI {
150150
/**
151151
* List Public Gateways. List Public Gateways in a given Scaleway Organization or Project. By default, results are displayed in ascending order of creation date.
152152
*
153+
* @deprecated
153154
* @param request - The request {@link ListGatewaysRequest}
154155
* @returns A Promise of ListGatewaysResponse
155156
*/
@@ -159,6 +160,7 @@ export class API extends ParentAPI {
159160
/**
160161
* 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.
161162
*
163+
* @deprecated
162164
* @param request - The request {@link GetGatewayRequest}
163165
* @returns A Promise of Gateway
164166
*/
@@ -196,6 +198,7 @@ export class API extends ParentAPI {
196198
/**
197199
* 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.
198200
*
201+
* @deprecated
199202
* @param request - The request {@link CreateGatewayRequest}
200203
* @returns A Promise of Gateway
201204
*/
@@ -215,6 +218,7 @@ export class API extends ParentAPI {
215218
/**
216219
* Update a Public Gateway. Update the parameters of an existing Public Gateway, for example, its **name**, **tags**, **SSH bastion configuration**, and **DNS servers**.
217220
*
221+
* @deprecated
218222
* @param request - The request {@link UpdateGatewayRequest}
219223
* @returns A Promise of Gateway
220224
*/
@@ -234,6 +238,7 @@ export class API extends ParentAPI {
234238
/**
235239
* Delete a Public Gateway. Delete an existing Public Gateway, specified by its gateway ID. This action is irreversible.
236240
*
241+
* @deprecated
237242
* @param request - The request {@link DeleteGatewayRequest}
238243
*/
239244
deleteGateway = (request: Readonly<DeleteGatewayRequest>) =>
@@ -246,6 +251,7 @@ export class API extends ParentAPI {
246251
/**
247252
* 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.
248253
*
254+
* @deprecated
249255
* @param request - The request {@link UpgradeGatewayRequest}
250256
* @returns A Promise of Gateway
251257
*/
@@ -265,6 +271,7 @@ export class API extends ParentAPI {
265271
/**
266272
* 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.
267273
*
274+
* @deprecated
268275
* @param request - The request {@link EnableIPMobilityRequest}
269276
*/
270277
enableIPMobility = (request: Readonly<EnableIPMobilityRequest>) =>
@@ -302,6 +309,7 @@ export class API extends ParentAPI {
302309
/**
303310
* 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.
304311
*
312+
* @deprecated
305313
* @param request - The request {@link ListGatewayNetworksRequest}
306314
* @returns A Promise of ListGatewayNetworksResponse
307315
*/
@@ -315,6 +323,7 @@ export class API extends ParentAPI {
315323
/**
316324
* 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.
317325
*
326+
* @deprecated
318327
* @param request - The request {@link GetGatewayNetworkRequest}
319328
* @returns A Promise of GatewayNetwork
320329
*/
@@ -352,6 +361,7 @@ export class API extends ParentAPI {
352361
/**
353362
* 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.
354363
*
364+
* @deprecated
355365
* @param request - The request {@link CreateGatewayNetworkRequest}
356366
* @returns A Promise of GatewayNetwork
357367
*/
@@ -371,6 +381,7 @@ export class API extends ParentAPI {
371381
/**
372382
* 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).
373383
*
384+
* @deprecated
374385
* @param request - The request {@link UpdateGatewayNetworkRequest}
375386
* @returns A Promise of GatewayNetwork
376387
*/
@@ -390,6 +401,7 @@ export class API extends ParentAPI {
390401
/**
391402
* 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.
392403
*
404+
* @deprecated
393405
* @param request - The request {@link DeleteGatewayNetworkRequest}
394406
*/
395407
deleteGatewayNetwork = (request: Readonly<DeleteGatewayNetworkRequest>) =>
@@ -423,6 +435,7 @@ export class API extends ParentAPI {
423435
/**
424436
* 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.
425437
*
438+
* @deprecated
426439
* @param request - The request {@link ListDHCPsRequest}
427440
* @returns A Promise of ListDHCPsResponse
428441
*/
@@ -432,6 +445,7 @@ export class API extends ParentAPI {
432445
/**
433446
* 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.
434447
*
448+
* @deprecated
435449
* @param request - The request {@link GetDHCPRequest}
436450
* @returns A Promise of DHCP
437451
*/
@@ -447,6 +461,7 @@ export class API extends ParentAPI {
447461
/**
448462
* 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.
449463
*
464+
* @deprecated
450465
* @param request - The request {@link CreateDHCPRequest}
451466
* @returns A Promise of DHCP
452467
*/
@@ -466,6 +481,7 @@ export class API extends ParentAPI {
466481
/**
467482
* Update a DHCP configuration. Update a DHCP configuration object, identified by its DHCP ID.
468483
*
484+
* @deprecated
469485
* @param request - The request {@link UpdateDHCPRequest}
470486
* @returns A Promise of DHCP
471487
*/
@@ -485,6 +501,7 @@ export class API extends ParentAPI {
485501
/**
486502
* 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.
487503
*
504+
* @deprecated
488505
* @param request - The request {@link DeleteDHCPRequest}
489506
*/
490507
deleteDHCP = (request: Readonly<DeleteDHCPRequest>) =>
@@ -520,6 +537,7 @@ export class API extends ParentAPI {
520537
/**
521538
* 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.
522539
*
540+
* @deprecated
523541
* @param request - The request {@link ListDHCPEntriesRequest}
524542
* @returns A Promise of ListDHCPEntriesResponse
525543
*/
@@ -529,6 +547,7 @@ export class API extends ParentAPI {
529547
/**
530548
* Get a DHCP entry. Get a DHCP entry, specified by its DHCP entry ID.
531549
*
550+
* @deprecated
532551
* @param request - The request {@link GetDHCPEntryRequest}
533552
* @returns A Promise of DHCPEntry
534553
*/
@@ -544,6 +563,7 @@ export class API extends ParentAPI {
544563
/**
545564
* 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.
546565
*
566+
* @deprecated
547567
* @param request - The request {@link CreateDHCPEntryRequest}
548568
* @returns A Promise of DHCPEntry
549569
*/
@@ -563,6 +583,7 @@ export class API extends ParentAPI {
563583
/**
564584
* 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.
565585
*
586+
* @deprecated
566587
* @param request - The request {@link UpdateDHCPEntryRequest}
567588
* @returns A Promise of DHCPEntry
568589
*/
@@ -582,6 +603,7 @@ export class API extends ParentAPI {
582603
/**
583604
* 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.
584605
*
606+
* @deprecated
585607
* @param request - The request {@link SetDHCPEntriesRequest}
586608
* @returns A Promise of SetDHCPEntriesResponse
587609
*/
@@ -601,6 +623,7 @@ export class API extends ParentAPI {
601623
/**
602624
* 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.
603625
*
626+
* @deprecated
604627
* @param request - The request {@link DeleteDHCPEntryRequest}
605628
*/
606629
deleteDHCPEntry = (request: Readonly<DeleteDHCPEntryRequest>) =>
@@ -634,6 +657,7 @@ export class API extends ParentAPI {
634657
/**
635658
* 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.
636659
*
660+
* @deprecated
637661
* @param request - The request {@link ListPATRulesRequest}
638662
* @returns A Promise of ListPATRulesResponse
639663
*/
@@ -643,6 +667,7 @@ export class API extends ParentAPI {
643667
/**
644668
* 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.
645669
*
670+
* @deprecated
646671
* @param request - The request {@link GetPATRuleRequest}
647672
* @returns A Promise of PATRule
648673
*/
@@ -658,6 +683,7 @@ export class API extends ParentAPI {
658683
/**
659684
* 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.
660685
*
686+
* @deprecated
661687
* @param request - The request {@link CreatePATRuleRequest}
662688
* @returns A Promise of PATRule
663689
*/
@@ -677,6 +703,7 @@ export class API extends ParentAPI {
677703
/**
678704
* 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.
679705
*
706+
* @deprecated
680707
* @param request - The request {@link UpdatePATRuleRequest}
681708
* @returns A Promise of PATRule
682709
*/
@@ -696,6 +723,7 @@ export class API extends ParentAPI {
696723
/**
697724
* 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.
698725
*
726+
* @deprecated
699727
* @param request - The request {@link SetPATRulesRequest}
700728
* @returns A Promise of SetPATRulesResponse
701729
*/
@@ -715,6 +743,7 @@ export class API extends ParentAPI {
715743
/**
716744
* Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This action is irreversible.
717745
*
746+
* @deprecated
718747
* @param request - The request {@link DeletePATRuleRequest}
719748
*/
720749
deletePATRule = (request: Readonly<DeletePATRuleRequest>) =>
@@ -726,6 +755,7 @@ export class API extends ParentAPI {
726755
/**
727756
* 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.
728757
*
758+
* @deprecated
729759
* @param request - The request {@link ListGatewayTypesRequest}
730760
* @returns A Promise of ListGatewayTypesResponse
731761
*/
@@ -763,6 +793,7 @@ export class API extends ParentAPI {
763793
/**
764794
* List IPs. List Public Gateway flexible IP addresses. A number of filter options are available for limiting results in the response.
765795
*
796+
* @deprecated
766797
* @param request - The request {@link ListIPsRequest}
767798
* @returns A Promise of ListIPsResponse
768799
*/
@@ -772,6 +803,7 @@ export class API extends ParentAPI {
772803
/**
773804
* 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.
774805
*
806+
* @deprecated
775807
* @param request - The request {@link GetIPRequest}
776808
* @returns A Promise of IP
777809
*/
@@ -787,6 +819,7 @@ export class API extends ParentAPI {
787819
/**
788820
* Reserve an IP. Create (reserve) a new flexible IP address that can be used for a Public Gateway in a specified Scaleway Project.
789821
*
822+
* @deprecated
790823
* @param request - The request {@link CreateIPRequest}
791824
* @returns A Promise of IP
792825
*/
@@ -806,6 +839,7 @@ export class API extends ParentAPI {
806839
/**
807840
* Update an IP. Update details of an existing flexible IP address, including its tags, reverse and the Public Gateway it is assigned to.
808841
*
842+
* @deprecated
809843
* @param request - The request {@link UpdateIPRequest}
810844
* @returns A Promise of IP
811845
*/
@@ -825,6 +859,7 @@ export class API extends ParentAPI {
825859
/**
826860
* Delete an IP. Delete a flexible IP address from your account. This action is irreversible.
827861
*
862+
* @deprecated
828863
* @param request - The request {@link DeleteIPRequest}
829864
*/
830865
deleteIP = (request: Readonly<DeleteIPRequest>) =>
@@ -836,6 +871,7 @@ export class API extends ParentAPI {
836871
/**
837872
* 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.
838873
*
874+
* @deprecated
839875
* @param request - The request {@link RefreshSSHKeysRequest}
840876
* @returns A Promise of Gateway
841877
*/
@@ -853,6 +889,7 @@ export class API extends ParentAPI {
853889
/**
854890
* 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.
855891
*
892+
* @deprecated
856893
* @param request - The request {@link MigrateToV2Request}
857894
*/
858895
migrateToV2 = (request: Readonly<MigrateToV2Request>) =>

0 commit comments

Comments
 (0)