@scaleway/sdk-lb 2.20.0 → 2.21.1
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/v1/api.gen.d.ts +15 -1
- package/dist/v1/api.gen.js +25 -5
- package/dist/v1/index.gen.d.ts +4 -4
- package/dist/v1/index.gen.js +4 -2
- package/dist/v1/marshalling.gen.d.ts +3 -1
- package/dist/v1/marshalling.gen.js +138 -126
- package/dist/v1/types.gen.d.ts +522 -456
- package/package.json +4 -4
|
@@ -7,16 +7,24 @@ const unmarshalIp = (data) => {
|
|
|
7
7
|
return {
|
|
8
8
|
id: data.id,
|
|
9
9
|
ipAddress: data.ip_address,
|
|
10
|
-
|
|
10
|
+
ipamIpId: data.ipam_ip_id ?? null,
|
|
11
|
+
lbId: data.lb_id ?? null,
|
|
11
12
|
organizationId: data.organization_id,
|
|
12
13
|
projectId: data.project_id,
|
|
13
|
-
region: data.region,
|
|
14
|
+
region: data.region ?? null,
|
|
14
15
|
reverse: data.reverse,
|
|
15
16
|
srn: data.srn,
|
|
16
17
|
tags: data.tags,
|
|
17
18
|
zone: data.zone
|
|
18
19
|
};
|
|
19
20
|
};
|
|
21
|
+
const unmarshalIpamIP = (data) => {
|
|
22
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'IpamIP' failed as data isn't a dictionary.`);
|
|
23
|
+
return {
|
|
24
|
+
id: data.id,
|
|
25
|
+
ipAddress: data.ip_address
|
|
26
|
+
};
|
|
27
|
+
};
|
|
20
28
|
const unmarshalSubscriberEmailConfig = (data) => {
|
|
21
29
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SubscriberEmailConfig' failed as data isn't a dictionary.`);
|
|
22
30
|
return { email: data.email };
|
|
@@ -28,18 +36,18 @@ const unmarshalSubscriberWebhookConfig = (data) => {
|
|
|
28
36
|
const unmarshalSubscriber = (data) => {
|
|
29
37
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Subscriber' failed as data isn't a dictionary.`);
|
|
30
38
|
return {
|
|
31
|
-
emailConfig: data.email_config ? unmarshalSubscriberEmailConfig(data.email_config) :
|
|
39
|
+
emailConfig: data.email_config ? unmarshalSubscriberEmailConfig(data.email_config) : null,
|
|
32
40
|
id: data.id,
|
|
33
41
|
name: data.name,
|
|
34
42
|
srn: data.srn,
|
|
35
|
-
webhookConfig: data.webhook_config ? unmarshalSubscriberWebhookConfig(data.webhook_config) :
|
|
43
|
+
webhookConfig: data.webhook_config ? unmarshalSubscriberWebhookConfig(data.webhook_config) : null,
|
|
36
44
|
zone: data.zone
|
|
37
45
|
};
|
|
38
46
|
};
|
|
39
47
|
const unmarshalHealthCheckHttpConfig = (data) => {
|
|
40
48
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'HealthCheckHttpConfig' failed as data isn't a dictionary.`);
|
|
41
49
|
return {
|
|
42
|
-
code: data.code,
|
|
50
|
+
code: data.code ?? null,
|
|
43
51
|
hostHeader: data.host_header,
|
|
44
52
|
method: data.method,
|
|
45
53
|
uri: data.uri
|
|
@@ -48,7 +56,7 @@ const unmarshalHealthCheckHttpConfig = (data) => {
|
|
|
48
56
|
const unmarshalHealthCheckHttpsConfig = (data) => {
|
|
49
57
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'HealthCheckHttpsConfig' failed as data isn't a dictionary.`);
|
|
50
58
|
return {
|
|
51
|
-
code: data.code,
|
|
59
|
+
code: data.code ?? null,
|
|
52
60
|
hostHeader: data.host_header,
|
|
53
61
|
method: data.method,
|
|
54
62
|
sni: data.sni,
|
|
@@ -78,30 +86,30 @@ const unmarshalHealthCheckTcpConfig = (data) => {
|
|
|
78
86
|
const unmarshalHealthCheck = (data) => {
|
|
79
87
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'HealthCheck' failed as data isn't a dictionary.`);
|
|
80
88
|
return {
|
|
81
|
-
checkDelay: data.check_delay,
|
|
89
|
+
checkDelay: data.check_delay ?? null,
|
|
82
90
|
checkMaxRetries: data.check_max_retries,
|
|
83
91
|
checkSendProxy: data.check_send_proxy,
|
|
84
|
-
checkTimeout: data.check_timeout,
|
|
85
|
-
httpConfig: data.http_config ? unmarshalHealthCheckHttpConfig(data.http_config) :
|
|
86
|
-
httpsConfig: data.https_config ? unmarshalHealthCheckHttpsConfig(data.https_config) :
|
|
87
|
-
ldapConfig: data.ldap_config ? unmarshalHealthCheckLdapConfig(data.ldap_config) :
|
|
88
|
-
mysqlConfig: data.mysql_config ? unmarshalHealthCheckMysqlConfig(data.mysql_config) :
|
|
89
|
-
pgsqlConfig: data.pgsql_config ? unmarshalHealthCheckPgsqlConfig(data.pgsql_config) :
|
|
92
|
+
checkTimeout: data.check_timeout ?? null,
|
|
93
|
+
httpConfig: data.http_config ? unmarshalHealthCheckHttpConfig(data.http_config) : null,
|
|
94
|
+
httpsConfig: data.https_config ? unmarshalHealthCheckHttpsConfig(data.https_config) : null,
|
|
95
|
+
ldapConfig: data.ldap_config ? unmarshalHealthCheckLdapConfig(data.ldap_config) : null,
|
|
96
|
+
mysqlConfig: data.mysql_config ? unmarshalHealthCheckMysqlConfig(data.mysql_config) : null,
|
|
97
|
+
pgsqlConfig: data.pgsql_config ? unmarshalHealthCheckPgsqlConfig(data.pgsql_config) : null,
|
|
90
98
|
port: data.port,
|
|
91
|
-
redisConfig: data.redis_config ? unmarshalHealthCheckRedisConfig(data.redis_config) :
|
|
92
|
-
tcpConfig: data.tcp_config ? unmarshalHealthCheckTcpConfig(data.tcp_config) :
|
|
93
|
-
transientCheckDelay: data.transient_check_delay
|
|
99
|
+
redisConfig: data.redis_config ? unmarshalHealthCheckRedisConfig(data.redis_config) : null,
|
|
100
|
+
tcpConfig: data.tcp_config ? unmarshalHealthCheckTcpConfig(data.tcp_config) : null,
|
|
101
|
+
transientCheckDelay: data.transient_check_delay ?? null
|
|
94
102
|
};
|
|
95
103
|
};
|
|
96
104
|
const unmarshalInstance = (data) => {
|
|
97
105
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Instance' failed as data isn't a dictionary.`);
|
|
98
106
|
return {
|
|
99
|
-
createdAt: unmarshalDate(data.created_at),
|
|
107
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
100
108
|
id: data.id,
|
|
101
109
|
ipAddress: data.ip_address,
|
|
102
|
-
region: data.region,
|
|
110
|
+
region: data.region ?? null,
|
|
103
111
|
status: data.status,
|
|
104
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
112
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null,
|
|
105
113
|
zone: data.zone
|
|
106
114
|
};
|
|
107
115
|
};
|
|
@@ -109,58 +117,59 @@ const unmarshalLb = (data) => {
|
|
|
109
117
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Lb' failed as data isn't a dictionary.`);
|
|
110
118
|
return {
|
|
111
119
|
backendCount: data.backend_count,
|
|
112
|
-
createdAt: unmarshalDate(data.created_at),
|
|
120
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
113
121
|
description: data.description,
|
|
114
122
|
frontendCount: data.frontend_count,
|
|
115
123
|
id: data.id,
|
|
116
124
|
instances: unmarshalArrayOfObject(data.instances, unmarshalInstance),
|
|
117
125
|
ip: unmarshalArrayOfObject(data.ip, unmarshalIp),
|
|
126
|
+
ipamIps: unmarshalArrayOfObject(data.ipam_ips, unmarshalIpamIP),
|
|
118
127
|
name: data.name,
|
|
119
128
|
organizationId: data.organization_id,
|
|
120
129
|
privateNetworkCount: data.private_network_count,
|
|
121
130
|
projectId: data.project_id,
|
|
122
|
-
region: data.region,
|
|
131
|
+
region: data.region ?? null,
|
|
123
132
|
routeCount: data.route_count,
|
|
124
133
|
srn: data.srn,
|
|
125
134
|
sslCompatibilityLevel: data.ssl_compatibility_level,
|
|
126
135
|
status: data.status,
|
|
127
|
-
subscriber: data.subscriber ? unmarshalSubscriber(data.subscriber) :
|
|
136
|
+
subscriber: data.subscriber ? unmarshalSubscriber(data.subscriber) : null,
|
|
128
137
|
tags: data.tags,
|
|
129
138
|
type: data.type,
|
|
130
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
139
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null,
|
|
131
140
|
zone: data.zone
|
|
132
141
|
};
|
|
133
142
|
};
|
|
134
143
|
const unmarshalBackend = (data) => {
|
|
135
144
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Backend' failed as data isn't a dictionary.`);
|
|
136
145
|
return {
|
|
137
|
-
createdAt: unmarshalDate(data.created_at),
|
|
138
|
-
failoverHost: data.failover_host,
|
|
146
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
147
|
+
failoverHost: data.failover_host ?? null,
|
|
139
148
|
forwardPort: data.forward_port,
|
|
140
149
|
forwardPortAlgorithm: data.forward_port_algorithm,
|
|
141
150
|
forwardProtocol: data.forward_protocol,
|
|
142
|
-
healthCheck: data.health_check ? unmarshalHealthCheck(data.health_check) :
|
|
143
|
-
host: data.host,
|
|
151
|
+
healthCheck: data.health_check ? unmarshalHealthCheck(data.health_check) : null,
|
|
152
|
+
host: data.host ?? null,
|
|
144
153
|
id: data.id,
|
|
145
|
-
ignoreSslServerVerify: data.ignore_ssl_server_verify,
|
|
146
|
-
lb: data.lb ? unmarshalLb(data.lb) :
|
|
147
|
-
maxConnections: data.max_connections,
|
|
148
|
-
maxRetries: data.max_retries,
|
|
154
|
+
ignoreSslServerVerify: data.ignore_ssl_server_verify ?? null,
|
|
155
|
+
lb: data.lb ? unmarshalLb(data.lb) : null,
|
|
156
|
+
maxConnections: data.max_connections ?? null,
|
|
157
|
+
maxRetries: data.max_retries ?? null,
|
|
149
158
|
name: data.name,
|
|
150
159
|
onMarkedDownAction: data.on_marked_down_action,
|
|
151
160
|
pool: data.pool,
|
|
152
161
|
proxyProtocol: data.proxy_protocol,
|
|
153
|
-
redispatchAttemptCount: data.redispatch_attempt_count,
|
|
154
|
-
sendProxyV2: data.send_proxy_v2,
|
|
162
|
+
redispatchAttemptCount: data.redispatch_attempt_count ?? null,
|
|
163
|
+
sendProxyV2: data.send_proxy_v2 ?? null,
|
|
155
164
|
srn: data.srn,
|
|
156
|
-
sslBridging: data.ssl_bridging,
|
|
165
|
+
sslBridging: data.ssl_bridging ?? null,
|
|
157
166
|
stickySessions: data.sticky_sessions,
|
|
158
167
|
stickySessionsCookieName: data.sticky_sessions_cookie_name,
|
|
159
|
-
timeoutConnect: data.timeout_connect,
|
|
160
|
-
timeoutQueue: data.timeout_queue,
|
|
161
|
-
timeoutServer: data.timeout_server,
|
|
162
|
-
timeoutTunnel: data.timeout_tunnel,
|
|
163
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
168
|
+
timeoutConnect: data.timeout_connect ?? null,
|
|
169
|
+
timeoutQueue: data.timeout_queue ?? null,
|
|
170
|
+
timeoutServer: data.timeout_server ?? null,
|
|
171
|
+
timeoutTunnel: data.timeout_tunnel ?? null,
|
|
172
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null,
|
|
164
173
|
zone: data.zone
|
|
165
174
|
};
|
|
166
175
|
};
|
|
@@ -168,46 +177,46 @@ const unmarshalCertificate = (data) => {
|
|
|
168
177
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Certificate' failed as data isn't a dictionary.`);
|
|
169
178
|
return {
|
|
170
179
|
commonName: data.common_name,
|
|
171
|
-
createdAt: unmarshalDate(data.created_at),
|
|
180
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
172
181
|
fingerprint: data.fingerprint,
|
|
173
182
|
id: data.id,
|
|
174
|
-
lb: data.lb ? unmarshalLb(data.lb) :
|
|
183
|
+
lb: data.lb ? unmarshalLb(data.lb) : null,
|
|
175
184
|
name: data.name,
|
|
176
|
-
notValidAfter: unmarshalDate(data.not_valid_after),
|
|
177
|
-
notValidBefore: unmarshalDate(data.not_valid_before),
|
|
185
|
+
notValidAfter: unmarshalDate(data.not_valid_after) ?? null,
|
|
186
|
+
notValidBefore: unmarshalDate(data.not_valid_before) ?? null,
|
|
178
187
|
srn: data.srn,
|
|
179
188
|
status: data.status,
|
|
180
|
-
statusDetails: data.status_details,
|
|
189
|
+
statusDetails: data.status_details ?? null,
|
|
181
190
|
subjectAlternativeName: data.subject_alternative_name,
|
|
182
191
|
type: data.type,
|
|
183
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
192
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null,
|
|
184
193
|
zone: data.zone
|
|
185
194
|
};
|
|
186
195
|
};
|
|
187
196
|
const unmarshalFrontend = (data) => {
|
|
188
197
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Frontend' failed as data isn't a dictionary.`);
|
|
189
198
|
return {
|
|
190
|
-
backend: data.backend ? unmarshalBackend(data.backend) :
|
|
191
|
-
certificate: data.certificate ? unmarshalCertificate(data.certificate) :
|
|
199
|
+
backend: data.backend ? unmarshalBackend(data.backend) : null,
|
|
200
|
+
certificate: data.certificate ? unmarshalCertificate(data.certificate) : null,
|
|
192
201
|
certificateIds: data.certificate_ids,
|
|
193
|
-
connectionRateLimit: data.connection_rate_limit,
|
|
194
|
-
createdAt: unmarshalDate(data.created_at),
|
|
202
|
+
connectionRateLimit: data.connection_rate_limit ?? null,
|
|
203
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
195
204
|
enableAccessLogs: data.enable_access_logs,
|
|
196
205
|
enableHttp3: data.enable_http3,
|
|
197
206
|
id: data.id,
|
|
198
207
|
inboundPort: data.inbound_port,
|
|
199
|
-
lb: data.lb ? unmarshalLb(data.lb) :
|
|
208
|
+
lb: data.lb ? unmarshalLb(data.lb) : null,
|
|
200
209
|
name: data.name,
|
|
201
210
|
srn: data.srn,
|
|
202
|
-
timeoutClient: data.timeout_client,
|
|
203
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
211
|
+
timeoutClient: data.timeout_client ?? null,
|
|
212
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null,
|
|
204
213
|
zone: data.zone
|
|
205
214
|
};
|
|
206
215
|
};
|
|
207
216
|
const unmarshalAclActionRedirect = (data) => {
|
|
208
217
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AclActionRedirect' failed as data isn't a dictionary.`);
|
|
209
218
|
return {
|
|
210
|
-
code: data.code,
|
|
219
|
+
code: data.code ?? null,
|
|
211
220
|
target: data.target,
|
|
212
221
|
type: data.type
|
|
213
222
|
};
|
|
@@ -215,7 +224,7 @@ const unmarshalAclActionRedirect = (data) => {
|
|
|
215
224
|
const unmarshalAclAction = (data) => {
|
|
216
225
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AclAction' failed as data isn't a dictionary.`);
|
|
217
226
|
return {
|
|
218
|
-
redirect: data.redirect ? unmarshalAclActionRedirect(data.redirect) :
|
|
227
|
+
redirect: data.redirect ? unmarshalAclActionRedirect(data.redirect) : null,
|
|
219
228
|
type: data.type
|
|
220
229
|
};
|
|
221
230
|
};
|
|
@@ -223,7 +232,7 @@ const unmarshalAclMatch = (data) => {
|
|
|
223
232
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AclMatch' failed as data isn't a dictionary.`);
|
|
224
233
|
return {
|
|
225
234
|
httpFilter: data.http_filter,
|
|
226
|
-
httpFilterOption: data.http_filter_option,
|
|
235
|
+
httpFilterOption: data.http_filter_option ?? null,
|
|
227
236
|
httpFilterValue: data.http_filter_value,
|
|
228
237
|
invert: data.invert,
|
|
229
238
|
ipSubnet: data.ip_subnet,
|
|
@@ -233,22 +242,22 @@ const unmarshalAclMatch = (data) => {
|
|
|
233
242
|
const unmarshalAcl = (data) => {
|
|
234
243
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Acl' failed as data isn't a dictionary.`);
|
|
235
244
|
return {
|
|
236
|
-
action: data.action ? unmarshalAclAction(data.action) :
|
|
237
|
-
createdAt: unmarshalDate(data.created_at),
|
|
245
|
+
action: data.action ? unmarshalAclAction(data.action) : null,
|
|
246
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
238
247
|
description: data.description,
|
|
239
|
-
frontend: data.frontend ? unmarshalFrontend(data.frontend) :
|
|
248
|
+
frontend: data.frontend ? unmarshalFrontend(data.frontend) : null,
|
|
240
249
|
id: data.id,
|
|
241
250
|
index: data.index,
|
|
242
|
-
match: data.match ? unmarshalAclMatch(data.match) :
|
|
251
|
+
match: data.match ? unmarshalAclMatch(data.match) : null,
|
|
243
252
|
name: data.name,
|
|
244
253
|
srn: data.srn,
|
|
245
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
254
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null,
|
|
246
255
|
zone: data.zone
|
|
247
256
|
};
|
|
248
257
|
};
|
|
249
258
|
const unmarshalPrivateNetworkDHCPConfig = (data) => {
|
|
250
259
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PrivateNetworkDHCPConfig' failed as data isn't a dictionary.`);
|
|
251
|
-
return { ipId: data.ip_id };
|
|
260
|
+
return { ipId: data.ip_id ?? null };
|
|
252
261
|
};
|
|
253
262
|
const unmarshalPrivateNetworkIpamConfig = (data) => {
|
|
254
263
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PrivateNetworkIpamConfig' failed as data isn't a dictionary.`);
|
|
@@ -256,41 +265,41 @@ const unmarshalPrivateNetworkIpamConfig = (data) => {
|
|
|
256
265
|
};
|
|
257
266
|
const unmarshalPrivateNetworkStaticConfig = (data) => {
|
|
258
267
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PrivateNetworkStaticConfig' failed as data isn't a dictionary.`);
|
|
259
|
-
return { ipAddress: data.ip_address ? data.ip_address :
|
|
268
|
+
return { ipAddress: data.ip_address ? data.ip_address : null };
|
|
260
269
|
};
|
|
261
270
|
const unmarshalPrivateNetwork = (data) => {
|
|
262
271
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PrivateNetwork' failed as data isn't a dictionary.`);
|
|
263
272
|
return {
|
|
264
|
-
createdAt: unmarshalDate(data.created_at),
|
|
265
|
-
dhcpConfig: data.dhcp_config ? unmarshalPrivateNetworkDHCPConfig(data.dhcp_config) :
|
|
266
|
-
ipamConfig: data.ipam_config ? unmarshalPrivateNetworkIpamConfig(data.ipam_config) :
|
|
273
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
274
|
+
dhcpConfig: data.dhcp_config ? unmarshalPrivateNetworkDHCPConfig(data.dhcp_config) : null,
|
|
275
|
+
ipamConfig: data.ipam_config ? unmarshalPrivateNetworkIpamConfig(data.ipam_config) : null,
|
|
267
276
|
ipamIds: data.ipam_ids,
|
|
268
|
-
lb: data.lb ? unmarshalLb(data.lb) :
|
|
277
|
+
lb: data.lb ? unmarshalLb(data.lb) : null,
|
|
269
278
|
privateNetworkId: data.private_network_id,
|
|
270
|
-
staticConfig: data.static_config ? unmarshalPrivateNetworkStaticConfig(data.static_config) :
|
|
279
|
+
staticConfig: data.static_config ? unmarshalPrivateNetworkStaticConfig(data.static_config) : null,
|
|
271
280
|
status: data.status,
|
|
272
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
281
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null
|
|
273
282
|
};
|
|
274
283
|
};
|
|
275
284
|
const unmarshalRouteMatch = (data) => {
|
|
276
285
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RouteMatch' failed as data isn't a dictionary.`);
|
|
277
286
|
return {
|
|
278
|
-
hostHeader: data.host_header,
|
|
287
|
+
hostHeader: data.host_header ?? null,
|
|
279
288
|
matchSubdomains: data.match_subdomains,
|
|
280
|
-
pathBegin: data.path_begin,
|
|
281
|
-
sni: data.sni
|
|
289
|
+
pathBegin: data.path_begin ?? null,
|
|
290
|
+
sni: data.sni ?? null
|
|
282
291
|
};
|
|
283
292
|
};
|
|
284
293
|
const unmarshalRoute = (data) => {
|
|
285
294
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Route' failed as data isn't a dictionary.`);
|
|
286
295
|
return {
|
|
287
296
|
backendId: data.backend_id,
|
|
288
|
-
createdAt: unmarshalDate(data.created_at),
|
|
297
|
+
createdAt: unmarshalDate(data.created_at) ?? null,
|
|
289
298
|
frontendId: data.frontend_id,
|
|
290
299
|
id: data.id,
|
|
291
|
-
match: data.match ? unmarshalRouteMatch(data.match) :
|
|
300
|
+
match: data.match ? unmarshalRouteMatch(data.match) : null,
|
|
292
301
|
srn: data.srn,
|
|
293
|
-
updatedAt: unmarshalDate(data.updated_at),
|
|
302
|
+
updatedAt: unmarshalDate(data.updated_at) ?? null,
|
|
294
303
|
zone: data.zone
|
|
295
304
|
};
|
|
296
305
|
};
|
|
@@ -302,7 +311,7 @@ const unmarshalBackendServerStats = (data) => {
|
|
|
302
311
|
ip: data.ip,
|
|
303
312
|
lastHealthCheckStatus: data.last_health_check_status,
|
|
304
313
|
serverState: data.server_state,
|
|
305
|
-
serverStateChangedAt: unmarshalDate(data.server_state_changed_at)
|
|
314
|
+
serverStateChangedAt: unmarshalDate(data.server_state_changed_at) ?? null
|
|
306
315
|
};
|
|
307
316
|
};
|
|
308
317
|
const unmarshalLbStats = (data) => {
|
|
@@ -365,7 +374,7 @@ const unmarshalLbType = (data) => {
|
|
|
365
374
|
description: data.description,
|
|
366
375
|
multicloud: data.multicloud,
|
|
367
376
|
name: data.name,
|
|
368
|
-
region: data.region,
|
|
377
|
+
region: data.region ?? null,
|
|
369
378
|
srn: data.srn,
|
|
370
379
|
stockStatus: data.stock_status,
|
|
371
380
|
zone: data.zone
|
|
@@ -415,15 +424,15 @@ const marshalAttachPrivateNetworkRequest = (request, defaults) => ({
|
|
|
415
424
|
...resolveOneOf([
|
|
416
425
|
{
|
|
417
426
|
param: "static_config",
|
|
418
|
-
value: request.staticConfig
|
|
427
|
+
value: request.staticConfig != null ? marshalPrivateNetworkStaticConfig(request.staticConfig, defaults) : void 0
|
|
419
428
|
},
|
|
420
429
|
{
|
|
421
430
|
param: "dhcp_config",
|
|
422
|
-
value: request.dhcpConfig
|
|
431
|
+
value: request.dhcpConfig != null ? marshalPrivateNetworkDHCPConfig(request.dhcpConfig, defaults) : void 0
|
|
423
432
|
},
|
|
424
433
|
{
|
|
425
434
|
param: "ipam_config",
|
|
426
|
-
value: request.ipamConfig
|
|
435
|
+
value: request.ipamConfig != null ? marshalPrivateNetworkIpamConfig(request.ipamConfig, defaults) : void 0
|
|
427
436
|
}
|
|
428
437
|
])
|
|
429
438
|
});
|
|
@@ -433,7 +442,7 @@ const marshalAclActionRedirect = (request, defaults) => ({
|
|
|
433
442
|
type: request.type
|
|
434
443
|
});
|
|
435
444
|
const marshalAclAction = (request, defaults) => ({
|
|
436
|
-
redirect: request.redirect
|
|
445
|
+
redirect: request.redirect != null ? marshalAclActionRedirect(request.redirect, defaults) : void 0,
|
|
437
446
|
type: request.type
|
|
438
447
|
});
|
|
439
448
|
const marshalAclMatch = (request, defaults) => ({
|
|
@@ -448,7 +457,7 @@ const marshalCreateAclRequest = (request, defaults) => ({
|
|
|
448
457
|
action: marshalAclAction(request.action, defaults),
|
|
449
458
|
description: request.description,
|
|
450
459
|
index: request.index,
|
|
451
|
-
match: request.match
|
|
460
|
+
match: request.match != null ? marshalAclMatch(request.match, defaults) : void 0,
|
|
452
461
|
name: request.name || randomName("acl")
|
|
453
462
|
});
|
|
454
463
|
const marshalHealthCheckHttpConfig = (request, defaults) => ({
|
|
@@ -479,31 +488,31 @@ const marshalHealthCheck = (request, defaults) => ({
|
|
|
479
488
|
...resolveOneOf([
|
|
480
489
|
{
|
|
481
490
|
param: "tcp_config",
|
|
482
|
-
value: request.tcpConfig
|
|
491
|
+
value: request.tcpConfig != null ? marshalHealthCheckTcpConfig(request.tcpConfig, defaults) : void 0
|
|
483
492
|
},
|
|
484
493
|
{
|
|
485
494
|
param: "mysql_config",
|
|
486
|
-
value: request.mysqlConfig
|
|
495
|
+
value: request.mysqlConfig != null ? marshalHealthCheckMysqlConfig(request.mysqlConfig, defaults) : void 0
|
|
487
496
|
},
|
|
488
497
|
{
|
|
489
498
|
param: "pgsql_config",
|
|
490
|
-
value: request.pgsqlConfig
|
|
499
|
+
value: request.pgsqlConfig != null ? marshalHealthCheckPgsqlConfig(request.pgsqlConfig, defaults) : void 0
|
|
491
500
|
},
|
|
492
501
|
{
|
|
493
502
|
param: "ldap_config",
|
|
494
|
-
value: request.ldapConfig
|
|
503
|
+
value: request.ldapConfig != null ? marshalHealthCheckLdapConfig(request.ldapConfig, defaults) : void 0
|
|
495
504
|
},
|
|
496
505
|
{
|
|
497
506
|
param: "redis_config",
|
|
498
|
-
value: request.redisConfig
|
|
507
|
+
value: request.redisConfig != null ? marshalHealthCheckRedisConfig(request.redisConfig, defaults) : void 0
|
|
499
508
|
},
|
|
500
509
|
{
|
|
501
510
|
param: "http_config",
|
|
502
|
-
value: request.httpConfig
|
|
511
|
+
value: request.httpConfig != null ? marshalHealthCheckHttpConfig(request.httpConfig, defaults) : void 0
|
|
503
512
|
},
|
|
504
513
|
{
|
|
505
514
|
param: "https_config",
|
|
506
|
-
value: request.httpsConfig
|
|
515
|
+
value: request.httpsConfig != null ? marshalHealthCheckHttpsConfig(request.httpsConfig, defaults) : void 0
|
|
507
516
|
}
|
|
508
517
|
])
|
|
509
518
|
});
|
|
@@ -540,10 +549,10 @@ const marshalCreateCertificateRequest = (request, defaults) => ({
|
|
|
540
549
|
name: request.name || randomName("certificate"),
|
|
541
550
|
...resolveOneOf([{
|
|
542
551
|
param: "letsencrypt",
|
|
543
|
-
value: request.letsencrypt
|
|
552
|
+
value: request.letsencrypt != null ? marshalCreateCertificateRequestLetsencryptConfig(request.letsencrypt, defaults) : void 0
|
|
544
553
|
}, {
|
|
545
554
|
param: "custom_certificate",
|
|
546
|
-
value: request.customCertificate
|
|
555
|
+
value: request.customCertificate != null ? marshalCreateCertificateRequestCustomCertificate(request.customCertificate, defaults) : void 0
|
|
547
556
|
}])
|
|
548
557
|
});
|
|
549
558
|
const marshalCreateFrontendRequest = (request, defaults) => ({
|
|
@@ -577,6 +586,7 @@ const marshalCreateLbRequest = (request, defaults) => ({
|
|
|
577
586
|
description: request.description,
|
|
578
587
|
ip_id: request.ipId,
|
|
579
588
|
ip_ids: request.ipIds,
|
|
589
|
+
ipam_ip_ids: request.ipamIpIds,
|
|
580
590
|
name: request.name || randomName("lb"),
|
|
581
591
|
ssl_compatibility_level: request.sslCompatibilityLevel,
|
|
582
592
|
tags: request.tags,
|
|
@@ -611,7 +621,7 @@ const marshalRouteMatch = (request, defaults) => ({
|
|
|
611
621
|
const marshalCreateRouteRequest = (request, defaults) => ({
|
|
612
622
|
backend_id: request.backendId,
|
|
613
623
|
frontend_id: request.frontendId,
|
|
614
|
-
match: request.match
|
|
624
|
+
match: request.match != null ? marshalRouteMatch(request.match, defaults) : void 0
|
|
615
625
|
});
|
|
616
626
|
const marshalSubscriberEmailConfig = (request, defaults) => ({ email: request.email });
|
|
617
627
|
const marshalSubscriberWebhookConfig = (request, defaults) => ({ uri: request.uri });
|
|
@@ -628,10 +638,10 @@ const marshalCreateSubscriberRequest = (request, defaults) => ({
|
|
|
628
638
|
}]),
|
|
629
639
|
...resolveOneOf([{
|
|
630
640
|
param: "email_config",
|
|
631
|
-
value: request.emailConfig
|
|
641
|
+
value: request.emailConfig != null ? marshalSubscriberEmailConfig(request.emailConfig, defaults) : void 0
|
|
632
642
|
}, {
|
|
633
643
|
param: "webhook_config",
|
|
634
|
-
value: request.webhookConfig
|
|
644
|
+
value: request.webhookConfig != null ? marshalSubscriberWebhookConfig(request.webhookConfig, defaults) : void 0
|
|
635
645
|
}])
|
|
636
646
|
});
|
|
637
647
|
const marshalMigrateLbRequest = (request, defaults) => ({ type: request.type });
|
|
@@ -642,7 +652,7 @@ const marshalUpdateAclRequest = (request, defaults) => ({
|
|
|
642
652
|
action: marshalAclAction(request.action, defaults),
|
|
643
653
|
description: request.description,
|
|
644
654
|
index: request.index,
|
|
645
|
-
match: request.match
|
|
655
|
+
match: request.match != null ? marshalAclMatch(request.match, defaults) : void 0,
|
|
646
656
|
name: request.name
|
|
647
657
|
});
|
|
648
658
|
const marshalUpdateBackendRequest = (request, defaults) => ({
|
|
@@ -689,31 +699,31 @@ const marshalUpdateHealthCheckRequest = (request, defaults) => ({
|
|
|
689
699
|
...resolveOneOf([
|
|
690
700
|
{
|
|
691
701
|
param: "tcp_config",
|
|
692
|
-
value: request.tcpConfig
|
|
702
|
+
value: request.tcpConfig != null ? marshalHealthCheckTcpConfig(request.tcpConfig, defaults) : void 0
|
|
693
703
|
},
|
|
694
704
|
{
|
|
695
705
|
param: "mysql_config",
|
|
696
|
-
value: request.mysqlConfig
|
|
706
|
+
value: request.mysqlConfig != null ? marshalHealthCheckMysqlConfig(request.mysqlConfig, defaults) : void 0
|
|
697
707
|
},
|
|
698
708
|
{
|
|
699
709
|
param: "pgsql_config",
|
|
700
|
-
value: request.pgsqlConfig
|
|
710
|
+
value: request.pgsqlConfig != null ? marshalHealthCheckPgsqlConfig(request.pgsqlConfig, defaults) : void 0
|
|
701
711
|
},
|
|
702
712
|
{
|
|
703
713
|
param: "ldap_config",
|
|
704
|
-
value: request.ldapConfig
|
|
714
|
+
value: request.ldapConfig != null ? marshalHealthCheckLdapConfig(request.ldapConfig, defaults) : void 0
|
|
705
715
|
},
|
|
706
716
|
{
|
|
707
717
|
param: "redis_config",
|
|
708
|
-
value: request.redisConfig
|
|
718
|
+
value: request.redisConfig != null ? marshalHealthCheckRedisConfig(request.redisConfig, defaults) : void 0
|
|
709
719
|
},
|
|
710
720
|
{
|
|
711
721
|
param: "http_config",
|
|
712
|
-
value: request.httpConfig
|
|
722
|
+
value: request.httpConfig != null ? marshalHealthCheckHttpConfig(request.httpConfig, defaults) : void 0
|
|
713
723
|
},
|
|
714
724
|
{
|
|
715
725
|
param: "https_config",
|
|
716
|
-
value: request.httpsConfig
|
|
726
|
+
value: request.httpsConfig != null ? marshalHealthCheckHttpsConfig(request.httpsConfig, defaults) : void 0
|
|
717
727
|
}
|
|
718
728
|
])
|
|
719
729
|
});
|
|
@@ -730,34 +740,35 @@ const marshalUpdateLbRequest = (request, defaults) => ({
|
|
|
730
740
|
});
|
|
731
741
|
const marshalUpdateRouteRequest = (request, defaults) => ({
|
|
732
742
|
backend_id: request.backendId,
|
|
733
|
-
match: request.match
|
|
743
|
+
match: request.match != null ? marshalRouteMatch(request.match, defaults) : void 0
|
|
734
744
|
});
|
|
735
745
|
const marshalUpdateSubscriberRequest = (request, defaults) => ({
|
|
736
746
|
name: request.name,
|
|
737
747
|
...resolveOneOf([{
|
|
738
748
|
param: "email_config",
|
|
739
|
-
value: request.emailConfig
|
|
749
|
+
value: request.emailConfig != null ? marshalSubscriberEmailConfig(request.emailConfig, defaults) : void 0
|
|
740
750
|
}, {
|
|
741
751
|
param: "webhook_config",
|
|
742
|
-
value: request.webhookConfig
|
|
752
|
+
value: request.webhookConfig != null ? marshalSubscriberWebhookConfig(request.webhookConfig, defaults) : void 0
|
|
743
753
|
}])
|
|
744
754
|
});
|
|
745
755
|
const marshalZonedApiAddBackendServersRequest = (request, defaults) => ({ server_ip: request.serverIp });
|
|
756
|
+
const marshalZonedApiAttachIpamIPRequest = (request, defaults) => ({ ipam_ip_ids: request.ipamIpIds });
|
|
746
757
|
const marshalZonedApiAttachPrivateNetworkRequest = (request, defaults) => ({
|
|
747
758
|
ipam_ids: request.ipamIds,
|
|
748
759
|
private_network_id: request.privateNetworkId,
|
|
749
760
|
...resolveOneOf([
|
|
750
761
|
{
|
|
751
762
|
param: "static_config",
|
|
752
|
-
value: request.staticConfig
|
|
763
|
+
value: request.staticConfig != null ? marshalPrivateNetworkStaticConfig(request.staticConfig, defaults) : void 0
|
|
753
764
|
},
|
|
754
765
|
{
|
|
755
766
|
param: "dhcp_config",
|
|
756
|
-
value: request.dhcpConfig
|
|
767
|
+
value: request.dhcpConfig != null ? marshalPrivateNetworkDHCPConfig(request.dhcpConfig, defaults) : void 0
|
|
757
768
|
},
|
|
758
769
|
{
|
|
759
770
|
param: "ipam_config",
|
|
760
|
-
value: request.ipamConfig
|
|
771
|
+
value: request.ipamConfig != null ? marshalPrivateNetworkIpamConfig(request.ipamConfig, defaults) : void 0
|
|
761
772
|
}
|
|
762
773
|
])
|
|
763
774
|
});
|
|
@@ -765,7 +776,7 @@ const marshalZonedApiCreateAclRequest = (request, defaults) => ({
|
|
|
765
776
|
action: marshalAclAction(request.action, defaults),
|
|
766
777
|
description: request.description,
|
|
767
778
|
index: request.index,
|
|
768
|
-
match: request.match
|
|
779
|
+
match: request.match != null ? marshalAclMatch(request.match, defaults) : void 0,
|
|
769
780
|
name: request.name || randomName("acl")
|
|
770
781
|
});
|
|
771
782
|
const marshalZonedApiCreateBackendRequest = (request, defaults) => ({
|
|
@@ -796,10 +807,10 @@ const marshalZonedApiCreateCertificateRequest = (request, defaults) => ({
|
|
|
796
807
|
name: request.name || randomName("certificate"),
|
|
797
808
|
...resolveOneOf([{
|
|
798
809
|
param: "letsencrypt",
|
|
799
|
-
value: request.letsencrypt
|
|
810
|
+
value: request.letsencrypt != null ? marshalCreateCertificateRequestLetsencryptConfig(request.letsencrypt, defaults) : void 0
|
|
800
811
|
}, {
|
|
801
812
|
param: "custom_certificate",
|
|
802
|
-
value: request.customCertificate
|
|
813
|
+
value: request.customCertificate != null ? marshalCreateCertificateRequestCustomCertificate(request.customCertificate, defaults) : void 0
|
|
803
814
|
}])
|
|
804
815
|
});
|
|
805
816
|
const marshalZonedApiCreateFrontendRequest = (request, defaults) => ({
|
|
@@ -833,6 +844,7 @@ const marshalZonedApiCreateLbRequest = (request, defaults) => ({
|
|
|
833
844
|
description: request.description,
|
|
834
845
|
ip_id: request.ipId,
|
|
835
846
|
ip_ids: request.ipIds,
|
|
847
|
+
ipam_ip_ids: request.ipamIpIds,
|
|
836
848
|
name: request.name || randomName("lb"),
|
|
837
849
|
ssl_compatibility_level: request.sslCompatibilityLevel,
|
|
838
850
|
tags: request.tags,
|
|
@@ -850,7 +862,7 @@ const marshalZonedApiCreateLbRequest = (request, defaults) => ({
|
|
|
850
862
|
const marshalZonedApiCreateRouteRequest = (request, defaults) => ({
|
|
851
863
|
backend_id: request.backendId,
|
|
852
864
|
frontend_id: request.frontendId,
|
|
853
|
-
match: request.match
|
|
865
|
+
match: request.match != null ? marshalRouteMatch(request.match, defaults) : void 0
|
|
854
866
|
});
|
|
855
867
|
const marshalZonedApiCreateSubscriberRequest = (request, defaults) => ({
|
|
856
868
|
name: request.name,
|
|
@@ -865,10 +877,10 @@ const marshalZonedApiCreateSubscriberRequest = (request, defaults) => ({
|
|
|
865
877
|
}]),
|
|
866
878
|
...resolveOneOf([{
|
|
867
879
|
param: "email_config",
|
|
868
|
-
value: request.emailConfig
|
|
880
|
+
value: request.emailConfig != null ? marshalSubscriberEmailConfig(request.emailConfig, defaults) : void 0
|
|
869
881
|
}, {
|
|
870
882
|
param: "webhook_config",
|
|
871
|
-
value: request.webhookConfig
|
|
883
|
+
value: request.webhookConfig != null ? marshalSubscriberWebhookConfig(request.webhookConfig, defaults) : void 0
|
|
872
884
|
}])
|
|
873
885
|
});
|
|
874
886
|
const marshalZonedApiDetachPrivateNetworkRequest = (request, defaults) => ({ private_network_id: request.privateNetworkId });
|
|
@@ -878,7 +890,7 @@ const marshalAclSpec = (request, defaults) => ({
|
|
|
878
890
|
action: marshalAclAction(request.action, defaults),
|
|
879
891
|
description: request.description,
|
|
880
892
|
index: request.index,
|
|
881
|
-
match: request.match
|
|
893
|
+
match: request.match != null ? marshalAclMatch(request.match, defaults) : void 0,
|
|
882
894
|
name: request.name
|
|
883
895
|
});
|
|
884
896
|
const marshalZonedApiSetAclsRequest = (request, defaults) => ({ acls: request.acls.map((elt) => marshalAclSpec(elt, defaults)) });
|
|
@@ -888,7 +900,7 @@ const marshalZonedApiUpdateAclRequest = (request, defaults) => ({
|
|
|
888
900
|
action: marshalAclAction(request.action, defaults),
|
|
889
901
|
description: request.description,
|
|
890
902
|
index: request.index,
|
|
891
|
-
match: request.match
|
|
903
|
+
match: request.match != null ? marshalAclMatch(request.match, defaults) : void 0,
|
|
892
904
|
name: request.name
|
|
893
905
|
});
|
|
894
906
|
const marshalZonedApiUpdateBackendRequest = (request, defaults) => ({
|
|
@@ -935,31 +947,31 @@ const marshalZonedApiUpdateHealthCheckRequest = (request, defaults) => ({
|
|
|
935
947
|
...resolveOneOf([
|
|
936
948
|
{
|
|
937
949
|
param: "tcp_config",
|
|
938
|
-
value: request.tcpConfig
|
|
950
|
+
value: request.tcpConfig != null ? marshalHealthCheckTcpConfig(request.tcpConfig, defaults) : void 0
|
|
939
951
|
},
|
|
940
952
|
{
|
|
941
953
|
param: "mysql_config",
|
|
942
|
-
value: request.mysqlConfig
|
|
954
|
+
value: request.mysqlConfig != null ? marshalHealthCheckMysqlConfig(request.mysqlConfig, defaults) : void 0
|
|
943
955
|
},
|
|
944
956
|
{
|
|
945
957
|
param: "pgsql_config",
|
|
946
|
-
value: request.pgsqlConfig
|
|
958
|
+
value: request.pgsqlConfig != null ? marshalHealthCheckPgsqlConfig(request.pgsqlConfig, defaults) : void 0
|
|
947
959
|
},
|
|
948
960
|
{
|
|
949
961
|
param: "ldap_config",
|
|
950
|
-
value: request.ldapConfig
|
|
962
|
+
value: request.ldapConfig != null ? marshalHealthCheckLdapConfig(request.ldapConfig, defaults) : void 0
|
|
951
963
|
},
|
|
952
964
|
{
|
|
953
965
|
param: "redis_config",
|
|
954
|
-
value: request.redisConfig
|
|
966
|
+
value: request.redisConfig != null ? marshalHealthCheckRedisConfig(request.redisConfig, defaults) : void 0
|
|
955
967
|
},
|
|
956
968
|
{
|
|
957
969
|
param: "http_config",
|
|
958
|
-
value: request.httpConfig
|
|
970
|
+
value: request.httpConfig != null ? marshalHealthCheckHttpConfig(request.httpConfig, defaults) : void 0
|
|
959
971
|
},
|
|
960
972
|
{
|
|
961
973
|
param: "https_config",
|
|
962
|
-
value: request.httpsConfig
|
|
974
|
+
value: request.httpsConfig != null ? marshalHealthCheckHttpsConfig(request.httpsConfig, defaults) : void 0
|
|
963
975
|
}
|
|
964
976
|
])
|
|
965
977
|
});
|
|
@@ -976,18 +988,18 @@ const marshalZonedApiUpdateLbRequest = (request, defaults) => ({
|
|
|
976
988
|
});
|
|
977
989
|
const marshalZonedApiUpdateRouteRequest = (request, defaults) => ({
|
|
978
990
|
backend_id: request.backendId,
|
|
979
|
-
match: request.match
|
|
991
|
+
match: request.match != null ? marshalRouteMatch(request.match, defaults) : void 0
|
|
980
992
|
});
|
|
981
993
|
const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
|
|
982
994
|
name: request.name,
|
|
983
995
|
...resolveOneOf([{
|
|
984
996
|
param: "email_config",
|
|
985
|
-
value: request.emailConfig
|
|
997
|
+
value: request.emailConfig != null ? marshalSubscriberEmailConfig(request.emailConfig, defaults) : void 0
|
|
986
998
|
}, {
|
|
987
999
|
param: "webhook_config",
|
|
988
|
-
value: request.webhookConfig
|
|
1000
|
+
value: request.webhookConfig != null ? marshalSubscriberWebhookConfig(request.webhookConfig, defaults) : void 0
|
|
989
1001
|
}])
|
|
990
1002
|
});
|
|
991
1003
|
|
|
992
1004
|
//#endregion
|
|
993
|
-
export { marshalAddBackendServersRequest, marshalAttachPrivateNetworkRequest, marshalCreateAclRequest, marshalCreateBackendRequest, marshalCreateCertificateRequest, marshalCreateFrontendRequest, marshalCreateIpRequest, marshalCreateLbRequest, marshalCreateRouteRequest, marshalCreateSubscriberRequest, marshalMigrateLbRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalSubscribeToLbRequest, marshalUpdateAclRequest, marshalUpdateBackendRequest, marshalUpdateCertificateRequest, marshalUpdateFrontendRequest, marshalUpdateHealthCheckRequest, marshalUpdateIpRequest, marshalUpdateLbRequest, marshalUpdateRouteRequest, marshalUpdateSubscriberRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiAttachPrivateNetworkRequest, marshalZonedApiCreateAclRequest, marshalZonedApiCreateBackendRequest, marshalZonedApiCreateCertificateRequest, marshalZonedApiCreateFrontendRequest, marshalZonedApiCreateIpRequest, marshalZonedApiCreateLbRequest, marshalZonedApiCreateRouteRequest, marshalZonedApiCreateSubscriberRequest, marshalZonedApiDetachPrivateNetworkRequest, marshalZonedApiMigrateLbRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetAclsRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiSubscribeToLbRequest, marshalZonedApiUpdateAclRequest, marshalZonedApiUpdateBackendRequest, marshalZonedApiUpdateCertificateRequest, marshalZonedApiUpdateFrontendRequest, marshalZonedApiUpdateHealthCheckRequest, marshalZonedApiUpdateIpRequest, marshalZonedApiUpdateLbRequest, marshalZonedApiUpdateRouteRequest, marshalZonedApiUpdateSubscriberRequest, unmarshalAcl, unmarshalBackend, unmarshalBackendServerStats, unmarshalCertificate, unmarshalFrontend, unmarshalHealthCheck, unmarshalIp, unmarshalLb, unmarshalLbStats, unmarshalListAclResponse, unmarshalListBackendStatsResponse, unmarshalListBackendsResponse, unmarshalListCertificatesResponse, unmarshalListFrontendsResponse, unmarshalListIpsResponse, unmarshalListLbPrivateNetworksResponse, unmarshalListLbTypesResponse, unmarshalListLbsResponse, unmarshalListRoutesResponse, unmarshalListSubscriberResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclsResponse, unmarshalSubscriber };
|
|
1005
|
+
export { marshalAddBackendServersRequest, marshalAttachPrivateNetworkRequest, marshalCreateAclRequest, marshalCreateBackendRequest, marshalCreateCertificateRequest, marshalCreateFrontendRequest, marshalCreateIpRequest, marshalCreateLbRequest, marshalCreateRouteRequest, marshalCreateSubscriberRequest, marshalMigrateLbRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalSubscribeToLbRequest, marshalUpdateAclRequest, marshalUpdateBackendRequest, marshalUpdateCertificateRequest, marshalUpdateFrontendRequest, marshalUpdateHealthCheckRequest, marshalUpdateIpRequest, marshalUpdateLbRequest, marshalUpdateRouteRequest, marshalUpdateSubscriberRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiAttachIpamIPRequest, marshalZonedApiAttachPrivateNetworkRequest, marshalZonedApiCreateAclRequest, marshalZonedApiCreateBackendRequest, marshalZonedApiCreateCertificateRequest, marshalZonedApiCreateFrontendRequest, marshalZonedApiCreateIpRequest, marshalZonedApiCreateLbRequest, marshalZonedApiCreateRouteRequest, marshalZonedApiCreateSubscriberRequest, marshalZonedApiDetachPrivateNetworkRequest, marshalZonedApiMigrateLbRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetAclsRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiSubscribeToLbRequest, marshalZonedApiUpdateAclRequest, marshalZonedApiUpdateBackendRequest, marshalZonedApiUpdateCertificateRequest, marshalZonedApiUpdateFrontendRequest, marshalZonedApiUpdateHealthCheckRequest, marshalZonedApiUpdateIpRequest, marshalZonedApiUpdateLbRequest, marshalZonedApiUpdateRouteRequest, marshalZonedApiUpdateSubscriberRequest, unmarshalAcl, unmarshalBackend, unmarshalBackendServerStats, unmarshalCertificate, unmarshalFrontend, unmarshalHealthCheck, unmarshalIp, unmarshalIpamIP, unmarshalLb, unmarshalLbStats, unmarshalListAclResponse, unmarshalListBackendStatsResponse, unmarshalListBackendsResponse, unmarshalListCertificatesResponse, unmarshalListFrontendsResponse, unmarshalListIpsResponse, unmarshalListLbPrivateNetworksResponse, unmarshalListLbTypesResponse, unmarshalListLbsResponse, unmarshalListRoutesResponse, unmarshalListSubscriberResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclsResponse, unmarshalSubscriber };
|