@scaleway/sdk-vpcgw 2.6.0 → 2.7.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.
@@ -2,5 +2,4 @@
2
2
  * This file is automatically generated
3
3
  * PLEASE DO NOT EDIT HERE
4
4
  */
5
- export * as Vpcgwv1 from './v1/index.gen.js';
6
5
  export * as Vpcgwv2 from './v2/index.gen.js';
package/dist/index.gen.js CHANGED
@@ -1,3 +1,2 @@
1
- import { index_gen_exports } from "./v1/index.gen.js";
2
- import { index_gen_exports as index_gen_exports$1 } from "./v2/index.gen.js";
3
- export { index_gen_exports as Vpcgwv1, index_gen_exports$1 as Vpcgwv2 };
1
+ import { index_gen_exports } from "./v2/index.gen.js";
2
+ export { index_gen_exports as Vpcgwv2 };
@@ -1,6 +1,6 @@
1
- import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
2
1
  import { API as ParentAPI } from '@scaleway/sdk-client';
3
- import type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksResponse, ListGatewaysRequest, ListGatewaysResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListIPsRequest, ListIPsResponse, ListPatRulesRequest, ListPatRulesResponse, PatRule, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest } from './types.gen.js';
2
+ import type { WaitForOptions, ApiLocality } from '@scaleway/sdk-client';
3
+ import type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysResponse, ListIPsRequest, ListIPsResponse, ListPatRulesRequest, ListPatRulesResponse, PatRule, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest } from './types.gen.js';
4
4
  /**
5
5
  * Public Gateways API.
6
6
 
@@ -37,7 +37,7 @@ export declare class API extends ParentAPI {
37
37
  * @param options - The waiting options
38
38
  * @returns A Promise of Gateway
39
39
  */
40
- waitForGateway: (request: Readonly<GetGatewayRequest>, options?: Readonly<WaitForOptions<Gateway>> | undefined) => Promise<Gateway>;
40
+ waitForGateway: (request: Readonly<GetGatewayRequest>, options?: Readonly<WaitForOptions<Gateway>>) => Promise<Gateway>;
41
41
  /**
42
42
  * 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.
43
43
  *
@@ -91,7 +91,7 @@ export declare class API extends ParentAPI {
91
91
  * @param options - The waiting options
92
92
  * @returns A Promise of GatewayNetwork
93
93
  */
94
- waitForGatewayNetwork: (request: Readonly<GetGatewayNetworkRequest>, options?: Readonly<WaitForOptions<GatewayNetwork>> | undefined) => Promise<GatewayNetwork>;
94
+ waitForGatewayNetwork: (request: Readonly<GetGatewayNetworkRequest>, options?: Readonly<WaitForOptions<GatewayNetwork>>) => Promise<GatewayNetwork>;
95
95
  /**
96
96
  * 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 whether to enable masquerade (dynamic NAT), and more.
97
97
  *
@@ -161,6 +161,7 @@ var API = class extends API$1 {
161
161
  this.LOCALITY = toApiLocality({ zones: [
162
162
  "fr-par-1",
163
163
  "fr-par-2",
164
+ "it-mil-1",
164
165
  "nl-ams-1",
165
166
  "nl-ams-2",
166
167
  "nl-ams-3",
@@ -1,4 +1,4 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
3
  export * from './marshalling.gen.js';
4
- export type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GatewayNetworkStatus, GatewayStatus, GatewayType, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksRequestOrderBy, ListGatewayNetworksResponse, ListGatewaysRequest, ListGatewaysRequestOrderBy, ListGatewaysResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListIPsRequest, ListIPsRequestOrderBy, ListIPsResponse, ListPatRulesRequest, ListPatRulesRequestOrderBy, ListPatRulesResponse, PatRule, PatRuleProtocol, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesRequestRule, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest, } from './types.gen.js';
4
+ export type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GatewayNetworkStatus, GatewayStatus, GatewayType, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksRequestOrderBy, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysRequestOrderBy, ListGatewaysResponse, ListIPsRequest, ListIPsRequestOrderBy, ListIPsResponse, ListPatRulesRequest, ListPatRulesRequestOrderBy, ListPatRulesResponse, PatRule, PatRuleProtocol, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesRequestRule, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest, } from './types.gen.js';
@@ -1,5 +1,5 @@
1
1
  import type { DefaultValues } from '@scaleway/sdk-client';
2
- import type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, Gateway, GatewayNetwork, IP, ListGatewayNetworksResponse, ListGatewaysResponse, ListGatewayTypesResponse, ListIPsResponse, ListPatRulesResponse, PatRule, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest } from './types.gen.js';
2
+ import type { GatewayNetwork, IP, Gateway, PatRule, AddBastionAllowedIPsResponse, ListGatewayNetworksResponse, ListGatewayTypesResponse, ListGatewaysResponse, ListIPsResponse, ListPatRulesResponse, SetBastionAllowedIPsResponse, SetPatRulesResponse, AddBastionAllowedIPsRequest, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, SetBastionAllowedIPsRequest, SetPatRulesRequest, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest } from './types.gen.js';
3
3
  export declare const unmarshalGatewayNetwork: (data: unknown) => GatewayNetwork;
4
4
  export declare const unmarshalIP: (data: unknown) => IP;
5
5
  export declare const unmarshalGateway: (data: unknown) => Gateway;
@@ -1,100 +1,100 @@
1
1
  export declare const queriesMetadata: {
2
- readonly namespace: "vpcgw";
3
- readonly version: "v2";
4
- readonly folderName: "vpcgwv2";
2
+ readonly namespace: 'vpcgw';
3
+ readonly version: 'v2';
4
+ readonly folderName: 'vpcgwv2';
5
5
  readonly services: readonly [{
6
- readonly apiClass: "API";
6
+ readonly apiClass: 'API';
7
7
  readonly methods: readonly [{
8
- readonly methodName: "listGateways";
9
- readonly protoName: "ListGateways";
10
- readonly paramsType: "ListGatewaysRequest";
11
- readonly returnType: "ListGatewaysResponse";
8
+ readonly methodName: 'listGateways';
9
+ readonly protoName: 'ListGateways';
10
+ readonly paramsType: 'ListGatewaysRequest';
11
+ readonly returnType: 'ListGatewaysResponse';
12
12
  readonly isList: true;
13
- readonly paginationType: "offset";
14
- readonly pageParamKey: "page";
15
- readonly listItemType: "Gateway";
13
+ readonly paginationType: 'offset';
14
+ readonly pageParamKey: 'page';
15
+ readonly listItemType: 'Gateway';
16
16
  readonly isPrivate: false;
17
- readonly description: "\"";
17
+ readonly description: '"';
18
18
  }, {
19
- readonly methodName: "getGateway";
20
- readonly protoName: "GetGateway";
21
- readonly paramsType: "GetGatewayRequest";
22
- readonly returnType: "Gateway";
19
+ readonly methodName: 'getGateway';
20
+ readonly protoName: 'GetGateway';
21
+ readonly paramsType: 'GetGatewayRequest';
22
+ readonly returnType: 'Gateway';
23
23
  readonly isList: false;
24
- readonly paginationType: "none";
24
+ readonly paginationType: 'none';
25
25
  readonly isPrivate: false;
26
- readonly description: "\"";
26
+ readonly description: '"';
27
27
  readonly hasWaiter: true;
28
28
  }, {
29
- readonly methodName: "listGatewayNetworks";
30
- readonly protoName: "ListGatewayNetworks";
31
- readonly paramsType: "ListGatewayNetworksRequest";
32
- readonly returnType: "ListGatewayNetworksResponse";
29
+ readonly methodName: 'listGatewayNetworks';
30
+ readonly protoName: 'ListGatewayNetworks';
31
+ readonly paramsType: 'ListGatewayNetworksRequest';
32
+ readonly returnType: 'ListGatewayNetworksResponse';
33
33
  readonly isList: true;
34
- readonly paginationType: "offset";
35
- readonly pageParamKey: "page";
36
- readonly listItemType: "GatewayNetwork";
34
+ readonly paginationType: 'offset';
35
+ readonly pageParamKey: 'page';
36
+ readonly listItemType: 'GatewayNetwork';
37
37
  readonly isPrivate: false;
38
- readonly description: "\"";
38
+ readonly description: '"';
39
39
  }, {
40
- readonly methodName: "getGatewayNetwork";
41
- readonly protoName: "GetGatewayNetwork";
42
- readonly paramsType: "GetGatewayNetworkRequest";
43
- readonly returnType: "GatewayNetwork";
40
+ readonly methodName: 'getGatewayNetwork';
41
+ readonly protoName: 'GetGatewayNetwork';
42
+ readonly paramsType: 'GetGatewayNetworkRequest';
43
+ readonly returnType: 'GatewayNetwork';
44
44
  readonly isList: false;
45
- readonly paginationType: "none";
45
+ readonly paginationType: 'none';
46
46
  readonly isPrivate: false;
47
- readonly description: "\"";
47
+ readonly description: '"';
48
48
  readonly hasWaiter: true;
49
49
  }, {
50
- readonly methodName: "listPatRules";
51
- readonly protoName: "ListPatRules";
52
- readonly paramsType: "ListPatRulesRequest";
53
- readonly returnType: "ListPatRulesResponse";
50
+ readonly methodName: 'listPatRules';
51
+ readonly protoName: 'ListPatRules';
52
+ readonly paramsType: 'ListPatRulesRequest';
53
+ readonly returnType: 'ListPatRulesResponse';
54
54
  readonly isList: true;
55
- readonly paginationType: "offset";
56
- readonly pageParamKey: "page";
57
- readonly listItemType: "PatRule";
55
+ readonly paginationType: 'offset';
56
+ readonly pageParamKey: 'page';
57
+ readonly listItemType: 'PatRule';
58
58
  readonly isPrivate: false;
59
- readonly description: "\"";
59
+ readonly description: '"';
60
60
  }, {
61
- readonly methodName: "getPatRule";
62
- readonly protoName: "GetPatRule";
63
- readonly paramsType: "GetPatRuleRequest";
64
- readonly returnType: "PatRule";
61
+ readonly methodName: 'getPatRule';
62
+ readonly protoName: 'GetPatRule';
63
+ readonly paramsType: 'GetPatRuleRequest';
64
+ readonly returnType: 'PatRule';
65
65
  readonly isList: false;
66
- readonly paginationType: "none";
66
+ readonly paginationType: 'none';
67
67
  readonly isPrivate: false;
68
- readonly description: "\"";
68
+ readonly description: '"';
69
69
  }, {
70
- readonly methodName: "listGatewayTypes";
71
- readonly protoName: "ListGatewayTypes";
72
- readonly paramsType: "ListGatewayTypesRequest";
73
- readonly returnType: "ListGatewayTypesResponse";
70
+ readonly methodName: 'listGatewayTypes';
71
+ readonly protoName: 'ListGatewayTypes';
72
+ readonly paramsType: 'ListGatewayTypesRequest';
73
+ readonly returnType: 'ListGatewayTypesResponse';
74
74
  readonly isList: false;
75
- readonly paginationType: "none";
75
+ readonly paginationType: 'none';
76
76
  readonly isPrivate: false;
77
- readonly description: "\"";
77
+ readonly description: '"';
78
78
  }, {
79
- readonly methodName: "listIPs";
80
- readonly protoName: "ListIPs";
81
- readonly paramsType: "ListIPsRequest";
82
- readonly returnType: "ListIPsResponse";
79
+ readonly methodName: 'listIPs';
80
+ readonly protoName: 'ListIPs';
81
+ readonly paramsType: 'ListIPsRequest';
82
+ readonly returnType: 'ListIPsResponse';
83
83
  readonly isList: true;
84
- readonly paginationType: "offset";
85
- readonly pageParamKey: "page";
86
- readonly listItemType: "IP";
84
+ readonly paginationType: 'offset';
85
+ readonly pageParamKey: 'page';
86
+ readonly listItemType: 'IP';
87
87
  readonly isPrivate: false;
88
- readonly description: "\"";
88
+ readonly description: '"';
89
89
  }, {
90
- readonly methodName: "getIP";
91
- readonly protoName: "GetIP";
92
- readonly paramsType: "GetIPRequest";
93
- readonly returnType: "IP";
90
+ readonly methodName: 'getIP';
91
+ readonly protoName: 'GetIP';
92
+ readonly paramsType: 'GetIPRequest';
93
+ readonly returnType: 'IP';
94
94
  readonly isList: false;
95
- readonly paginationType: "none";
95
+ readonly paginationType: 'none';
96
96
  readonly isPrivate: false;
97
- readonly description: "\"";
97
+ readonly description: '"';
98
98
  }];
99
99
  }];
100
100
  };
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-vpcgw",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Scaleway SDK vpcgw",
5
5
  "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "directory": "packages_generated/vpcgw"
9
+ },
6
10
  "files": [
7
11
  "README.md",
8
12
  "dist"
@@ -26,24 +30,19 @@
26
30
  "default": "./dist/*/metadata.gen.js"
27
31
  }
28
32
  },
29
- "repository": {
30
- "type": "git",
31
- "directory": "packages_generated/vpcgw"
32
- },
33
- "engines": {
34
- "node": ">=20.19.6"
35
- },
36
33
  "dependencies": {
37
34
  "@scaleway/random-name": "5.1.4",
38
- "@scaleway/sdk-std": "2.4.0"
35
+ "@scaleway/sdk-std": "2.4.2"
36
+ },
37
+ "devDependencies": {
38
+ "@repo/configs": "^0.1.1",
39
+ "@scaleway/sdk-client": "^2.4.0"
39
40
  },
40
41
  "peerDependencies": {
41
- "@scaleway/sdk-client": "^2.3.0",
42
- "@repo/configs": "^0.1.1"
42
+ "@scaleway/sdk-client": "^2.4.0"
43
43
  },
44
- "devDependencies": {
45
- "@scaleway/sdk-client": "^2.3.0",
46
- "@repo/configs": "^0.1.1"
44
+ "engines": {
45
+ "node": ">=20.20.2"
47
46
  },
48
47
  "scripts": {
49
48
  "package:check": "pnpm publint",
@@ -1,343 +0,0 @@
1
- import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
2
- import { API as ParentAPI } from '@scaleway/sdk-client';
3
- import type { CreateDHCPEntryRequest, CreateDHCPRequest, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePATRuleRequest, DeleteDHCPEntryRequest, DeleteDHCPRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePATRuleRequest, DHCP, DHCPEntry, EnableIPMobilityRequest, Gateway, GatewayNetwork, GetDHCPEntryRequest, GetDHCPRequest, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPATRuleRequest, IP, ListDHCPEntriesRequest, ListDHCPEntriesResponse, ListDHCPsRequest, ListDHCPsResponse, ListGatewayNetworksRequest, ListGatewayNetworksResponse, ListGatewaysRequest, ListGatewaysResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListIPsRequest, ListIPsResponse, ListPATRulesRequest, ListPATRulesResponse, MigrateToV2Request, PATRule, RefreshSSHKeysRequest, SetDHCPEntriesRequest, SetDHCPEntriesResponse, SetPATRulesRequest, SetPATRulesResponse, UpdateDHCPEntryRequest, UpdateDHCPRequest, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePATRuleRequest, UpgradeGatewayRequest } from './types.gen.js';
4
- /**
5
- * Public Gateways API.
6
-
7
- This API allows you to manage your Public Gateways.
8
- */
9
- export declare class API extends ParentAPI {
10
- /**
11
- * Locality of this API.
12
- * type ∈ {'zone','region','global','unspecified'}
13
- */
14
- static readonly LOCALITY: ApiLocality;
15
- protected pageOfListGateways: (request?: Readonly<ListGatewaysRequest>) => Promise<ListGatewaysResponse>;
16
- /**
17
- * List Public Gateways. List Public Gateways in a given Scaleway Organization or Project. By default, results are displayed in ascending order of creation date.
18
- *
19
- * @deprecated
20
- * @param request - The request {@link ListGatewaysRequest}
21
- * @returns A Promise of ListGatewaysResponse
22
- */
23
- listGateways: (request?: Readonly<ListGatewaysRequest>) => Promise<ListGatewaysResponse> & {
24
- all: () => Promise<Gateway[]>;
25
- [Symbol.asyncIterator]: () => AsyncGenerator<Gateway[], void, void>;
26
- };
27
- /**
28
- * 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.
29
- *
30
- * @deprecated
31
- * @param request - The request {@link GetGatewayRequest}
32
- * @returns A Promise of Gateway
33
- */
34
- getGateway: (request: Readonly<GetGatewayRequest>) => Promise<Gateway>;
35
- /**
36
- * Waits for {@link Gateway} to be in a final state.
37
- *
38
- * @param request - The request {@link GetGatewayRequest}
39
- * @param options - The waiting options
40
- * @returns A Promise of Gateway
41
- */
42
- waitForGateway: (request: Readonly<GetGatewayRequest>, options?: Readonly<WaitForOptions<Gateway>> | undefined) => Promise<Gateway>;
43
- /**
44
- * 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.
45
- *
46
- * @deprecated
47
- * @param request - The request {@link CreateGatewayRequest}
48
- * @returns A Promise of Gateway
49
- */
50
- createGateway: (request: Readonly<CreateGatewayRequest>) => Promise<Gateway>;
51
- /**
52
- * Update a Public Gateway. Update the parameters of an existing Public Gateway, for example, its **name**, **tags**, **SSH bastion configuration**, and **DNS servers**.
53
- *
54
- * @deprecated
55
- * @param request - The request {@link UpdateGatewayRequest}
56
- * @returns A Promise of Gateway
57
- */
58
- updateGateway: (request: Readonly<UpdateGatewayRequest>) => Promise<Gateway>;
59
- /**
60
- * Delete a Public Gateway. Delete an existing Public Gateway, specified by its gateway ID. This action is irreversible.
61
- *
62
- * @deprecated
63
- * @param request - The request {@link DeleteGatewayRequest}
64
- */
65
- deleteGateway: (request: Readonly<DeleteGatewayRequest>) => Promise<void>;
66
- /**
67
- * 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.
68
- *
69
- * @deprecated
70
- * @param request - The request {@link UpgradeGatewayRequest}
71
- * @returns A Promise of Gateway
72
- */
73
- upgradeGateway: (request: Readonly<UpgradeGatewayRequest>) => Promise<Gateway>;
74
- /**
75
- * 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.
76
- *
77
- * @deprecated
78
- * @param request - The request {@link EnableIPMobilityRequest}
79
- */
80
- enableIPMobility: (request: Readonly<EnableIPMobilityRequest>) => Promise<void>;
81
- protected pageOfListGatewayNetworks: (request?: Readonly<ListGatewayNetworksRequest>) => Promise<ListGatewayNetworksResponse>;
82
- /**
83
- * 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.
84
- *
85
- * @deprecated
86
- * @param request - The request {@link ListGatewayNetworksRequest}
87
- * @returns A Promise of ListGatewayNetworksResponse
88
- */
89
- listGatewayNetworks: (request?: Readonly<ListGatewayNetworksRequest>) => Promise<ListGatewayNetworksResponse> & {
90
- all: () => Promise<GatewayNetwork[]>;
91
- [Symbol.asyncIterator]: () => AsyncGenerator<GatewayNetwork[], void, void>;
92
- };
93
- /**
94
- * 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.
95
- *
96
- * @deprecated
97
- * @param request - The request {@link GetGatewayNetworkRequest}
98
- * @returns A Promise of GatewayNetwork
99
- */
100
- getGatewayNetwork: (request: Readonly<GetGatewayNetworkRequest>) => Promise<GatewayNetwork>;
101
- /**
102
- * Waits for {@link GatewayNetwork} to be in a final state.
103
- *
104
- * @param request - The request {@link GetGatewayNetworkRequest}
105
- * @param options - The waiting options
106
- * @returns A Promise of GatewayNetwork
107
- */
108
- waitForGatewayNetwork: (request: Readonly<GetGatewayNetworkRequest>, options?: Readonly<WaitForOptions<GatewayNetwork>> | undefined) => Promise<GatewayNetwork>;
109
- /**
110
- * 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.
111
- *
112
- * @deprecated
113
- * @param request - The request {@link CreateGatewayNetworkRequest}
114
- * @returns A Promise of GatewayNetwork
115
- */
116
- createGatewayNetwork: (request: Readonly<CreateGatewayNetworkRequest>) => Promise<GatewayNetwork>;
117
- /**
118
- * 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).
119
- *
120
- * @deprecated
121
- * @param request - The request {@link UpdateGatewayNetworkRequest}
122
- * @returns A Promise of GatewayNetwork
123
- */
124
- updateGatewayNetwork: (request: Readonly<UpdateGatewayNetworkRequest>) => Promise<GatewayNetwork>;
125
- /**
126
- * 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.
127
- *
128
- * @deprecated
129
- * @param request - The request {@link DeleteGatewayNetworkRequest}
130
- */
131
- deleteGatewayNetwork: (request: Readonly<DeleteGatewayNetworkRequest>) => Promise<void>;
132
- protected pageOfListDHCPs: (request?: Readonly<ListDHCPsRequest>) => Promise<ListDHCPsResponse>;
133
- /**
134
- * 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.
135
- *
136
- * @deprecated
137
- * @param request - The request {@link ListDHCPsRequest}
138
- * @returns A Promise of ListDHCPsResponse
139
- */
140
- listDHCPs: (request?: Readonly<ListDHCPsRequest>) => Promise<ListDHCPsResponse> & {
141
- all: () => Promise<DHCP[]>;
142
- [Symbol.asyncIterator]: () => AsyncGenerator<DHCP[], void, void>;
143
- };
144
- /**
145
- * 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.
146
- *
147
- * @deprecated
148
- * @param request - The request {@link GetDHCPRequest}
149
- * @returns A Promise of DHCP
150
- */
151
- getDHCP: (request: Readonly<GetDHCPRequest>) => Promise<DHCP>;
152
- /**
153
- * 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.
154
- *
155
- * @deprecated
156
- * @param request - The request {@link CreateDHCPRequest}
157
- * @returns A Promise of DHCP
158
- */
159
- createDHCP: (request: Readonly<CreateDHCPRequest>) => Promise<DHCP>;
160
- /**
161
- * Update a DHCP configuration. Update a DHCP configuration object, identified by its DHCP ID.
162
- *
163
- * @deprecated
164
- * @param request - The request {@link UpdateDHCPRequest}
165
- * @returns A Promise of DHCP
166
- */
167
- updateDHCP: (request: Readonly<UpdateDHCPRequest>) => Promise<DHCP>;
168
- /**
169
- * 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.
170
- *
171
- * @deprecated
172
- * @param request - The request {@link DeleteDHCPRequest}
173
- */
174
- deleteDHCP: (request: Readonly<DeleteDHCPRequest>) => Promise<void>;
175
- protected pageOfListDHCPEntries: (request?: Readonly<ListDHCPEntriesRequest>) => Promise<ListDHCPEntriesResponse>;
176
- /**
177
- * 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.
178
- *
179
- * @deprecated
180
- * @param request - The request {@link ListDHCPEntriesRequest}
181
- * @returns A Promise of ListDHCPEntriesResponse
182
- */
183
- listDHCPEntries: (request?: Readonly<ListDHCPEntriesRequest>) => Promise<ListDHCPEntriesResponse> & {
184
- all: () => Promise<DHCPEntry[]>;
185
- [Symbol.asyncIterator]: () => AsyncGenerator<DHCPEntry[], void, void>;
186
- };
187
- /**
188
- * Get a DHCP entry. Get a DHCP entry, specified by its DHCP entry ID.
189
- *
190
- * @deprecated
191
- * @param request - The request {@link GetDHCPEntryRequest}
192
- * @returns A Promise of DHCPEntry
193
- */
194
- getDHCPEntry: (request: Readonly<GetDHCPEntryRequest>) => Promise<DHCPEntry>;
195
- /**
196
- * 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.
197
- *
198
- * @deprecated
199
- * @param request - The request {@link CreateDHCPEntryRequest}
200
- * @returns A Promise of DHCPEntry
201
- */
202
- createDHCPEntry: (request: Readonly<CreateDHCPEntryRequest>) => Promise<DHCPEntry>;
203
- /**
204
- * 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.
205
- *
206
- * @deprecated
207
- * @param request - The request {@link UpdateDHCPEntryRequest}
208
- * @returns A Promise of DHCPEntry
209
- */
210
- updateDHCPEntry: (request: Readonly<UpdateDHCPEntryRequest>) => Promise<DHCPEntry>;
211
- /**
212
- * 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.
213
- *
214
- * @deprecated
215
- * @param request - The request {@link SetDHCPEntriesRequest}
216
- * @returns A Promise of SetDHCPEntriesResponse
217
- */
218
- setDHCPEntries: (request: Readonly<SetDHCPEntriesRequest>) => Promise<SetDHCPEntriesResponse>;
219
- /**
220
- * 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.
221
- *
222
- * @deprecated
223
- * @param request - The request {@link DeleteDHCPEntryRequest}
224
- */
225
- deleteDHCPEntry: (request: Readonly<DeleteDHCPEntryRequest>) => Promise<void>;
226
- protected pageOfListPATRules: (request?: Readonly<ListPATRulesRequest>) => Promise<ListPATRulesResponse>;
227
- /**
228
- * 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.
229
- *
230
- * @deprecated
231
- * @param request - The request {@link ListPATRulesRequest}
232
- * @returns A Promise of ListPATRulesResponse
233
- */
234
- listPATRules: (request?: Readonly<ListPATRulesRequest>) => Promise<ListPATRulesResponse> & {
235
- all: () => Promise<PATRule[]>;
236
- [Symbol.asyncIterator]: () => AsyncGenerator<PATRule[], void, void>;
237
- };
238
- /**
239
- * 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.
240
- *
241
- * @deprecated
242
- * @param request - The request {@link GetPATRuleRequest}
243
- * @returns A Promise of PATRule
244
- */
245
- getPATRule: (request: Readonly<GetPATRuleRequest>) => Promise<PATRule>;
246
- /**
247
- * 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.
248
- *
249
- * @deprecated
250
- * @param request - The request {@link CreatePATRuleRequest}
251
- * @returns A Promise of PATRule
252
- */
253
- createPATRule: (request: Readonly<CreatePATRuleRequest>) => Promise<PATRule>;
254
- /**
255
- * 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.
256
- *
257
- * @deprecated
258
- * @param request - The request {@link UpdatePATRuleRequest}
259
- * @returns A Promise of PATRule
260
- */
261
- updatePATRule: (request: Readonly<UpdatePATRuleRequest>) => Promise<PATRule>;
262
- /**
263
- * 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.
264
- *
265
- * @deprecated
266
- * @param request - The request {@link SetPATRulesRequest}
267
- * @returns A Promise of SetPATRulesResponse
268
- */
269
- setPATRules: (request: Readonly<SetPATRulesRequest>) => Promise<SetPATRulesResponse>;
270
- /**
271
- * Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This action is irreversible.
272
- *
273
- * @deprecated
274
- * @param request - The request {@link DeletePATRuleRequest}
275
- */
276
- deletePATRule: (request: Readonly<DeletePATRuleRequest>) => Promise<void>;
277
- /**
278
- * 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.
279
- *
280
- * @deprecated
281
- * @param request - The request {@link ListGatewayTypesRequest}
282
- * @returns A Promise of ListGatewayTypesResponse
283
- */
284
- listGatewayTypes: (request?: Readonly<ListGatewayTypesRequest>) => Promise<ListGatewayTypesResponse>;
285
- protected pageOfListIPs: (request?: Readonly<ListIPsRequest>) => Promise<ListIPsResponse>;
286
- /**
287
- * List IPs. List Public Gateway flexible IP addresses. A number of filter options are available for limiting results in the response.
288
- *
289
- * @deprecated
290
- * @param request - The request {@link ListIPsRequest}
291
- * @returns A Promise of ListIPsResponse
292
- */
293
- listIPs: (request?: Readonly<ListIPsRequest>) => Promise<ListIPsResponse> & {
294
- all: () => Promise<IP[]>;
295
- [Symbol.asyncIterator]: () => AsyncGenerator<IP[], void, void>;
296
- };
297
- /**
298
- * 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.
299
- *
300
- * @deprecated
301
- * @param request - The request {@link GetIPRequest}
302
- * @returns A Promise of IP
303
- */
304
- getIP: (request: Readonly<GetIPRequest>) => Promise<IP>;
305
- /**
306
- * Reserve an IP. Create (reserve) a new flexible IP address that can be used for a Public Gateway in a specified Scaleway Project.
307
- *
308
- * @deprecated
309
- * @param request - The request {@link CreateIPRequest}
310
- * @returns A Promise of IP
311
- */
312
- createIP: (request?: Readonly<CreateIPRequest>) => Promise<IP>;
313
- /**
314
- * Update an IP. Update details of an existing flexible IP address, including its tags, reverse and the Public Gateway it is assigned to.
315
- *
316
- * @deprecated
317
- * @param request - The request {@link UpdateIPRequest}
318
- * @returns A Promise of IP
319
- */
320
- updateIP: (request: Readonly<UpdateIPRequest>) => Promise<IP>;
321
- /**
322
- * Delete an IP. Delete a flexible IP address from your account. This action is irreversible.
323
- *
324
- * @deprecated
325
- * @param request - The request {@link DeleteIPRequest}
326
- */
327
- deleteIP: (request: Readonly<DeleteIPRequest>) => Promise<void>;
328
- /**
329
- * 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.
330
- *
331
- * @deprecated
332
- * @param request - The request {@link RefreshSSHKeysRequest}
333
- * @returns A Promise of Gateway
334
- */
335
- refreshSSHKeys: (request: Readonly<RefreshSSHKeysRequest>) => Promise<Gateway>;
336
- /**
337
- * 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.
338
- *
339
- * @deprecated
340
- * @param request - The request {@link MigrateToV2Request}
341
- */
342
- migrateToV2: (request: Readonly<MigrateToV2Request>) => Promise<void>;
343
- }