@scaleway/sdk-vpcgw 2.9.0 → 2.11.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.
- package/dist/.vite/license.md +3 -0
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/index.gen.d.ts +5 -0
- package/dist/index.gen.js +2 -0
- package/dist/metadata.gen.d.ts +12 -0
- package/dist/metadata.gen.js +13 -0
- package/dist/v2/api.gen.d.ts +233 -0
- package/dist/v2/api.gen.js +175 -0
- package/dist/v2/content.gen.d.ts +5 -0
- package/dist/v2/content.gen.js +16 -0
- package/dist/v2/index.gen.d.ts +4 -0
- package/dist/v2/index.gen.js +36 -0
- package/dist/v2/marshalling.gen.d.ts +26 -0
- package/dist/v2/marshalling.gen.js +191 -0
- package/dist/v2/metadata.gen.d.ts +114 -0
- package/dist/v2/metadata.gen.js +126 -0
- package/dist/v2/types.gen.d.ts +838 -0
- package/dist/v2/types.gen.js +0 -0
- package/package.json +4 -4
- package/LICENSE +0 -191
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { isJSONObject, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
|
+
import randomName from "@scaleway/random-name";
|
|
3
|
+
//#region src/v2/marshalling.gen.ts
|
|
4
|
+
const unmarshalGatewayNetwork = (data) => {
|
|
5
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GatewayNetwork' failed as data isn't a dictionary.`);
|
|
6
|
+
return {
|
|
7
|
+
createdAt: unmarshalDate(data.created_at),
|
|
8
|
+
gatewayId: data.gateway_id,
|
|
9
|
+
id: data.id,
|
|
10
|
+
ipamIpId: data.ipam_ip_id,
|
|
11
|
+
macAddress: data.mac_address,
|
|
12
|
+
masqueradeEnabled: data.masquerade_enabled,
|
|
13
|
+
privateNetworkId: data.private_network_id,
|
|
14
|
+
pushDefaultRoute: data.push_default_route,
|
|
15
|
+
status: data.status,
|
|
16
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
17
|
+
zone: data.zone
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
const unmarshalIP = (data) => {
|
|
21
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'IP' failed as data isn't a dictionary.`);
|
|
22
|
+
return {
|
|
23
|
+
address: data.address,
|
|
24
|
+
createdAt: unmarshalDate(data.created_at),
|
|
25
|
+
gatewayId: data.gateway_id,
|
|
26
|
+
id: data.id,
|
|
27
|
+
organizationId: data.organization_id,
|
|
28
|
+
projectId: data.project_id,
|
|
29
|
+
reverse: data.reverse,
|
|
30
|
+
tags: data.tags,
|
|
31
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
32
|
+
zone: data.zone
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const unmarshalGateway = (data) => {
|
|
36
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Gateway' failed as data isn't a dictionary.`);
|
|
37
|
+
return {
|
|
38
|
+
bandwidth: data.bandwidth,
|
|
39
|
+
bastionAllowedIps: data.bastion_allowed_ips,
|
|
40
|
+
bastionEnabled: data.bastion_enabled,
|
|
41
|
+
bastionPort: data.bastion_port,
|
|
42
|
+
canUpgradeTo: data.can_upgrade_to,
|
|
43
|
+
createdAt: unmarshalDate(data.created_at),
|
|
44
|
+
gatewayNetworks: unmarshalArrayOfObject(data.gateway_networks, unmarshalGatewayNetwork),
|
|
45
|
+
id: data.id,
|
|
46
|
+
ipv4: data.ipv4 ? unmarshalIP(data.ipv4) : void 0,
|
|
47
|
+
isLegacy: data.is_legacy,
|
|
48
|
+
name: data.name,
|
|
49
|
+
organizationId: data.organization_id,
|
|
50
|
+
projectId: data.project_id,
|
|
51
|
+
smtpEnabled: data.smtp_enabled,
|
|
52
|
+
status: data.status,
|
|
53
|
+
tags: data.tags,
|
|
54
|
+
type: data.type,
|
|
55
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
56
|
+
version: data.version,
|
|
57
|
+
zone: data.zone
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
const unmarshalPatRule = (data) => {
|
|
61
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PatRule' failed as data isn't a dictionary.`);
|
|
62
|
+
return {
|
|
63
|
+
createdAt: unmarshalDate(data.created_at),
|
|
64
|
+
gatewayId: data.gateway_id,
|
|
65
|
+
id: data.id,
|
|
66
|
+
privateIp: data.private_ip,
|
|
67
|
+
privatePort: data.private_port,
|
|
68
|
+
protocol: data.protocol,
|
|
69
|
+
publicPort: data.public_port,
|
|
70
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
71
|
+
zone: data.zone
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
const unmarshalAddBastionAllowedIPsResponse = (data) => {
|
|
75
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AddBastionAllowedIPsResponse' failed as data isn't a dictionary.`);
|
|
76
|
+
return { ipRanges: data.ip_ranges };
|
|
77
|
+
};
|
|
78
|
+
const unmarshalListGatewayNetworksResponse = (data) => {
|
|
79
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListGatewayNetworksResponse' failed as data isn't a dictionary.`);
|
|
80
|
+
return {
|
|
81
|
+
gatewayNetworks: unmarshalArrayOfObject(data.gateway_networks, unmarshalGatewayNetwork),
|
|
82
|
+
totalCount: data.total_count
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
const unmarshalGatewayType = (data) => {
|
|
86
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GatewayType' failed as data isn't a dictionary.`);
|
|
87
|
+
return {
|
|
88
|
+
bandwidth: data.bandwidth,
|
|
89
|
+
name: data.name,
|
|
90
|
+
zone: data.zone
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
const unmarshalListGatewayTypesResponse = (data) => {
|
|
94
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListGatewayTypesResponse' failed as data isn't a dictionary.`);
|
|
95
|
+
return { types: unmarshalArrayOfObject(data.types, unmarshalGatewayType) };
|
|
96
|
+
};
|
|
97
|
+
const unmarshalListGatewaysResponse = (data) => {
|
|
98
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListGatewaysResponse' failed as data isn't a dictionary.`);
|
|
99
|
+
return {
|
|
100
|
+
gateways: unmarshalArrayOfObject(data.gateways, unmarshalGateway),
|
|
101
|
+
totalCount: data.total_count
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
const unmarshalListIPsResponse = (data) => {
|
|
105
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListIPsResponse' failed as data isn't a dictionary.`);
|
|
106
|
+
return {
|
|
107
|
+
ips: unmarshalArrayOfObject(data.ips, unmarshalIP),
|
|
108
|
+
totalCount: data.total_count
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
const unmarshalListPatRulesResponse = (data) => {
|
|
112
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPatRulesResponse' failed as data isn't a dictionary.`);
|
|
113
|
+
return {
|
|
114
|
+
patRules: unmarshalArrayOfObject(data.pat_rules, unmarshalPatRule),
|
|
115
|
+
totalCount: data.total_count
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
const unmarshalSetBastionAllowedIPsResponse = (data) => {
|
|
119
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetBastionAllowedIPsResponse' failed as data isn't a dictionary.`);
|
|
120
|
+
return { ipRanges: data.ip_ranges };
|
|
121
|
+
};
|
|
122
|
+
const unmarshalSetPatRulesResponse = (data) => {
|
|
123
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetPatRulesResponse' failed as data isn't a dictionary.`);
|
|
124
|
+
return { patRules: unmarshalArrayOfObject(data.pat_rules, unmarshalPatRule) };
|
|
125
|
+
};
|
|
126
|
+
const marshalAddBastionAllowedIPsRequest = (request, defaults) => ({ ip_range: request.ipRange });
|
|
127
|
+
const marshalCreateGatewayNetworkRequest = (request, defaults) => ({
|
|
128
|
+
enable_masquerade: request.enableMasquerade,
|
|
129
|
+
gateway_id: request.gatewayId,
|
|
130
|
+
ipam_ip_id: request.ipamIpId,
|
|
131
|
+
private_network_id: request.privateNetworkId,
|
|
132
|
+
push_default_route: request.pushDefaultRoute
|
|
133
|
+
});
|
|
134
|
+
const marshalCreateGatewayRequest = (request, defaults) => ({
|
|
135
|
+
bastion_port: request.bastionPort,
|
|
136
|
+
enable_bastion: request.enableBastion,
|
|
137
|
+
enable_smtp: request.enableSmtp,
|
|
138
|
+
ip_id: request.ipId,
|
|
139
|
+
name: request.name || randomName("gw"),
|
|
140
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
141
|
+
tags: request.tags,
|
|
142
|
+
type: request.type
|
|
143
|
+
});
|
|
144
|
+
const marshalCreateIPRequest = (request, defaults) => ({
|
|
145
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
146
|
+
tags: request.tags
|
|
147
|
+
});
|
|
148
|
+
const marshalCreatePatRuleRequest = (request, defaults) => ({
|
|
149
|
+
gateway_id: request.gatewayId,
|
|
150
|
+
private_ip: request.privateIp,
|
|
151
|
+
private_port: request.privatePort,
|
|
152
|
+
protocol: request.protocol,
|
|
153
|
+
public_port: request.publicPort
|
|
154
|
+
});
|
|
155
|
+
const marshalSetBastionAllowedIPsRequest = (request, defaults) => ({ ip_ranges: request.ipRanges });
|
|
156
|
+
const marshalSetPatRulesRequestRule = (request, defaults) => ({
|
|
157
|
+
private_ip: request.privateIp,
|
|
158
|
+
private_port: request.privatePort,
|
|
159
|
+
protocol: request.protocol,
|
|
160
|
+
public_port: request.publicPort
|
|
161
|
+
});
|
|
162
|
+
const marshalSetPatRulesRequest = (request, defaults) => ({
|
|
163
|
+
gateway_id: request.gatewayId,
|
|
164
|
+
pat_rules: request.patRules.map((elt) => marshalSetPatRulesRequestRule(elt, defaults))
|
|
165
|
+
});
|
|
166
|
+
const marshalUpdateGatewayNetworkRequest = (request, defaults) => ({
|
|
167
|
+
enable_masquerade: request.enableMasquerade,
|
|
168
|
+
ipam_ip_id: request.ipamIpId,
|
|
169
|
+
push_default_route: request.pushDefaultRoute
|
|
170
|
+
});
|
|
171
|
+
const marshalUpdateGatewayRequest = (request, defaults) => ({
|
|
172
|
+
bastion_port: request.bastionPort,
|
|
173
|
+
enable_bastion: request.enableBastion,
|
|
174
|
+
enable_smtp: request.enableSmtp,
|
|
175
|
+
name: request.name,
|
|
176
|
+
tags: request.tags
|
|
177
|
+
});
|
|
178
|
+
const marshalUpdateIPRequest = (request, defaults) => ({
|
|
179
|
+
gateway_id: request.gatewayId,
|
|
180
|
+
reverse: request.reverse,
|
|
181
|
+
tags: request.tags
|
|
182
|
+
});
|
|
183
|
+
const marshalUpdatePatRuleRequest = (request, defaults) => ({
|
|
184
|
+
private_ip: request.privateIp,
|
|
185
|
+
private_port: request.privatePort,
|
|
186
|
+
protocol: request.protocol,
|
|
187
|
+
public_port: request.publicPort
|
|
188
|
+
});
|
|
189
|
+
const marshalUpgradeGatewayRequest = (request, defaults) => ({ type: request.type });
|
|
190
|
+
//#endregion
|
|
191
|
+
export { marshalAddBastionAllowedIPsRequest, marshalCreateGatewayNetworkRequest, marshalCreateGatewayRequest, marshalCreateIPRequest, marshalCreatePatRuleRequest, marshalSetBastionAllowedIPsRequest, marshalSetPatRulesRequest, marshalUpdateGatewayNetworkRequest, marshalUpdateGatewayRequest, marshalUpdateIPRequest, marshalUpdatePatRuleRequest, marshalUpgradeGatewayRequest, unmarshalAddBastionAllowedIPsResponse, unmarshalGateway, unmarshalGatewayNetwork, unmarshalIP, unmarshalListGatewayNetworksResponse, unmarshalListGatewayTypesResponse, unmarshalListGatewaysResponse, unmarshalListIPsResponse, unmarshalListPatRulesResponse, unmarshalPatRule, unmarshalSetBastionAllowedIPsResponse, unmarshalSetPatRulesResponse };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export declare const queriesMetadata: {
|
|
2
|
+
readonly namespace: 'vpcgw';
|
|
3
|
+
readonly version: 'v2';
|
|
4
|
+
readonly folderName: 'vpcgwv2';
|
|
5
|
+
readonly services: readonly [{
|
|
6
|
+
readonly apiClass: 'API';
|
|
7
|
+
readonly methods: readonly [{
|
|
8
|
+
readonly methodName: 'listGateways';
|
|
9
|
+
readonly protoName: 'ListGateways';
|
|
10
|
+
readonly paramsType: 'ListGatewaysRequest';
|
|
11
|
+
readonly returnType: 'ListGatewaysResponse';
|
|
12
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
13
|
+
readonly isList: true;
|
|
14
|
+
readonly paginationType: 'offset';
|
|
15
|
+
readonly pageParamKey: 'page';
|
|
16
|
+
readonly listItemType: 'Gateway';
|
|
17
|
+
readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
18
|
+
readonly isPrivate: false;
|
|
19
|
+
readonly description: '"';
|
|
20
|
+
}, {
|
|
21
|
+
readonly methodName: 'getGateway';
|
|
22
|
+
readonly protoName: 'GetGateway';
|
|
23
|
+
readonly paramsType: 'GetGatewayRequest';
|
|
24
|
+
readonly returnType: 'Gateway';
|
|
25
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
26
|
+
readonly isList: false;
|
|
27
|
+
readonly paginationType: 'none';
|
|
28
|
+
readonly isPrivate: false;
|
|
29
|
+
readonly description: '"';
|
|
30
|
+
readonly hasWaiter: true;
|
|
31
|
+
}, {
|
|
32
|
+
readonly methodName: 'listGatewayNetworks';
|
|
33
|
+
readonly protoName: 'ListGatewayNetworks';
|
|
34
|
+
readonly paramsType: 'ListGatewayNetworksRequest';
|
|
35
|
+
readonly returnType: 'ListGatewayNetworksResponse';
|
|
36
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
37
|
+
readonly isList: true;
|
|
38
|
+
readonly paginationType: 'offset';
|
|
39
|
+
readonly pageParamKey: 'page';
|
|
40
|
+
readonly listItemType: 'GatewayNetwork';
|
|
41
|
+
readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
42
|
+
readonly isPrivate: false;
|
|
43
|
+
readonly description: '"';
|
|
44
|
+
}, {
|
|
45
|
+
readonly methodName: 'getGatewayNetwork';
|
|
46
|
+
readonly protoName: 'GetGatewayNetwork';
|
|
47
|
+
readonly paramsType: 'GetGatewayNetworkRequest';
|
|
48
|
+
readonly returnType: 'GatewayNetwork';
|
|
49
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
50
|
+
readonly isList: false;
|
|
51
|
+
readonly paginationType: 'none';
|
|
52
|
+
readonly isPrivate: false;
|
|
53
|
+
readonly description: '"';
|
|
54
|
+
readonly hasWaiter: true;
|
|
55
|
+
}, {
|
|
56
|
+
readonly methodName: 'listPatRules';
|
|
57
|
+
readonly protoName: 'ListPatRules';
|
|
58
|
+
readonly paramsType: 'ListPatRulesRequest';
|
|
59
|
+
readonly returnType: 'ListPatRulesResponse';
|
|
60
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
61
|
+
readonly isList: true;
|
|
62
|
+
readonly paginationType: 'offset';
|
|
63
|
+
readonly pageParamKey: 'page';
|
|
64
|
+
readonly listItemType: 'PatRule';
|
|
65
|
+
readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
66
|
+
readonly isPrivate: false;
|
|
67
|
+
readonly description: '"';
|
|
68
|
+
}, {
|
|
69
|
+
readonly methodName: 'getPatRule';
|
|
70
|
+
readonly protoName: 'GetPatRule';
|
|
71
|
+
readonly paramsType: 'GetPatRuleRequest';
|
|
72
|
+
readonly returnType: 'PatRule';
|
|
73
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
74
|
+
readonly isList: false;
|
|
75
|
+
readonly paginationType: 'none';
|
|
76
|
+
readonly isPrivate: false;
|
|
77
|
+
readonly description: '"';
|
|
78
|
+
}, {
|
|
79
|
+
readonly methodName: 'listGatewayTypes';
|
|
80
|
+
readonly protoName: 'ListGatewayTypes';
|
|
81
|
+
readonly paramsType: 'ListGatewayTypesRequest';
|
|
82
|
+
readonly returnType: 'ListGatewayTypesResponse';
|
|
83
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
84
|
+
readonly isList: false;
|
|
85
|
+
readonly paginationType: 'none';
|
|
86
|
+
readonly isPrivate: false;
|
|
87
|
+
readonly description: '"';
|
|
88
|
+
}, {
|
|
89
|
+
readonly methodName: 'listIPs';
|
|
90
|
+
readonly protoName: 'ListIPs';
|
|
91
|
+
readonly paramsType: 'ListIPsRequest';
|
|
92
|
+
readonly returnType: 'ListIPsResponse';
|
|
93
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
94
|
+
readonly isList: true;
|
|
95
|
+
readonly paginationType: 'offset';
|
|
96
|
+
readonly pageParamKey: 'page';
|
|
97
|
+
readonly listItemType: 'IP';
|
|
98
|
+
readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
99
|
+
readonly isPrivate: false;
|
|
100
|
+
readonly description: '"';
|
|
101
|
+
}, {
|
|
102
|
+
readonly methodName: 'getIP';
|
|
103
|
+
readonly protoName: 'GetIP';
|
|
104
|
+
readonly paramsType: 'GetIPRequest';
|
|
105
|
+
readonly returnType: 'IP';
|
|
106
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
|
|
107
|
+
readonly isList: false;
|
|
108
|
+
readonly paginationType: 'none';
|
|
109
|
+
readonly isPrivate: false;
|
|
110
|
+
readonly description: '"';
|
|
111
|
+
}];
|
|
112
|
+
}];
|
|
113
|
+
};
|
|
114
|
+
export type QueriesMetadata = typeof queriesMetadata;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
//#region src/v2/metadata.gen.ts
|
|
2
|
+
const queriesMetadata = {
|
|
3
|
+
namespace: "vpcgw",
|
|
4
|
+
version: "v2",
|
|
5
|
+
folderName: "vpcgwv2",
|
|
6
|
+
services: [{
|
|
7
|
+
apiClass: "API",
|
|
8
|
+
methods: [
|
|
9
|
+
{
|
|
10
|
+
methodName: "listGateways",
|
|
11
|
+
protoName: "ListGateways",
|
|
12
|
+
paramsType: "ListGatewaysRequest",
|
|
13
|
+
returnType: "ListGatewaysResponse",
|
|
14
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
15
|
+
isList: true,
|
|
16
|
+
paginationType: "offset",
|
|
17
|
+
pageParamKey: "page",
|
|
18
|
+
listItemType: "Gateway",
|
|
19
|
+
listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
20
|
+
isPrivate: false,
|
|
21
|
+
description: "\""
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
methodName: "getGateway",
|
|
25
|
+
protoName: "GetGateway",
|
|
26
|
+
paramsType: "GetGatewayRequest",
|
|
27
|
+
returnType: "Gateway",
|
|
28
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
29
|
+
isList: false,
|
|
30
|
+
paginationType: "none",
|
|
31
|
+
isPrivate: false,
|
|
32
|
+
description: "\"",
|
|
33
|
+
hasWaiter: true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
methodName: "listGatewayNetworks",
|
|
37
|
+
protoName: "ListGatewayNetworks",
|
|
38
|
+
paramsType: "ListGatewayNetworksRequest",
|
|
39
|
+
returnType: "ListGatewayNetworksResponse",
|
|
40
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
41
|
+
isList: true,
|
|
42
|
+
paginationType: "offset",
|
|
43
|
+
pageParamKey: "page",
|
|
44
|
+
listItemType: "GatewayNetwork",
|
|
45
|
+
listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
46
|
+
isPrivate: false,
|
|
47
|
+
description: "\""
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
methodName: "getGatewayNetwork",
|
|
51
|
+
protoName: "GetGatewayNetwork",
|
|
52
|
+
paramsType: "GetGatewayNetworkRequest",
|
|
53
|
+
returnType: "GatewayNetwork",
|
|
54
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
55
|
+
isList: false,
|
|
56
|
+
paginationType: "none",
|
|
57
|
+
isPrivate: false,
|
|
58
|
+
description: "\"",
|
|
59
|
+
hasWaiter: true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
methodName: "listPatRules",
|
|
63
|
+
protoName: "ListPatRules",
|
|
64
|
+
paramsType: "ListPatRulesRequest",
|
|
65
|
+
returnType: "ListPatRulesResponse",
|
|
66
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
67
|
+
isList: true,
|
|
68
|
+
paginationType: "offset",
|
|
69
|
+
pageParamKey: "page",
|
|
70
|
+
listItemType: "PatRule",
|
|
71
|
+
listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
72
|
+
isPrivate: false,
|
|
73
|
+
description: "\""
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
methodName: "getPatRule",
|
|
77
|
+
protoName: "GetPatRule",
|
|
78
|
+
paramsType: "GetPatRuleRequest",
|
|
79
|
+
returnType: "PatRule",
|
|
80
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
81
|
+
isList: false,
|
|
82
|
+
paginationType: "none",
|
|
83
|
+
isPrivate: false,
|
|
84
|
+
description: "\""
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
methodName: "listGatewayTypes",
|
|
88
|
+
protoName: "ListGatewayTypes",
|
|
89
|
+
paramsType: "ListGatewayTypesRequest",
|
|
90
|
+
returnType: "ListGatewayTypesResponse",
|
|
91
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
92
|
+
isList: false,
|
|
93
|
+
paginationType: "none",
|
|
94
|
+
isPrivate: false,
|
|
95
|
+
description: "\""
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
methodName: "listIPs",
|
|
99
|
+
protoName: "ListIPs",
|
|
100
|
+
paramsType: "ListIPsRequest",
|
|
101
|
+
returnType: "ListIPsResponse",
|
|
102
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
103
|
+
isList: true,
|
|
104
|
+
paginationType: "offset",
|
|
105
|
+
pageParamKey: "page",
|
|
106
|
+
listItemType: "IP",
|
|
107
|
+
listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
108
|
+
isPrivate: false,
|
|
109
|
+
description: "\""
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
methodName: "getIP",
|
|
113
|
+
protoName: "GetIP",
|
|
114
|
+
paramsType: "GetIPRequest",
|
|
115
|
+
returnType: "IP",
|
|
116
|
+
returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
|
|
117
|
+
isList: false,
|
|
118
|
+
paginationType: "none",
|
|
119
|
+
isPrivate: false,
|
|
120
|
+
description: "\""
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}]
|
|
124
|
+
};
|
|
125
|
+
//#endregion
|
|
126
|
+
export { queriesMetadata };
|