@scaleway/sdk-lb 2.19.3 → 2.21.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/v1/api.gen.d.ts +15 -1
- package/dist/v1/api.gen.js +221 -54
- 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 +153 -126
- package/dist/v1/types.gen.d.ts +582 -456
- package/package.json +4 -4
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export interface HealthCheckHttpConfig {
|
|
|
53
53
|
/**
|
|
54
54
|
* The HTTP response code that should be returned for a health check to be considered successful.
|
|
55
55
|
*/
|
|
56
|
-
code?: number;
|
|
56
|
+
code?: number | null;
|
|
57
57
|
/**
|
|
58
58
|
* The HTTP host header used when performing a health check on backend servers.
|
|
59
59
|
*/
|
|
@@ -71,7 +71,7 @@ export interface HealthCheckHttpsConfig {
|
|
|
71
71
|
/**
|
|
72
72
|
* The HTTP response code that should be returned for a health check to be considered successful.
|
|
73
73
|
*/
|
|
74
|
-
code?: number;
|
|
74
|
+
code?: number | null;
|
|
75
75
|
/**
|
|
76
76
|
* The HTTP host header used when performing a health check on backend servers.
|
|
77
77
|
*/
|
|
@@ -112,15 +112,15 @@ export interface Instance {
|
|
|
112
112
|
/**
|
|
113
113
|
* Date on which the Instance was created.
|
|
114
114
|
*/
|
|
115
|
-
createdAt?: Date;
|
|
115
|
+
createdAt?: Date | null;
|
|
116
116
|
/**
|
|
117
117
|
* Date on which the Instance was last updated.
|
|
118
118
|
*/
|
|
119
|
-
updatedAt?: Date;
|
|
119
|
+
updatedAt?: Date | null;
|
|
120
120
|
/**
|
|
121
121
|
* @deprecated The region the Instance is in.
|
|
122
122
|
*/
|
|
123
|
-
region?: Region;
|
|
123
|
+
region?: Region | null;
|
|
124
124
|
/**
|
|
125
125
|
* The zone the Instance is in.
|
|
126
126
|
*/
|
|
@@ -146,7 +146,7 @@ export interface Ip {
|
|
|
146
146
|
/**
|
|
147
147
|
* Load Balancer ID.
|
|
148
148
|
*/
|
|
149
|
-
lbId?: string;
|
|
149
|
+
lbId?: string | null;
|
|
150
150
|
/**
|
|
151
151
|
* Reverse DNS (domain name) of the IP address.
|
|
152
152
|
*/
|
|
@@ -155,14 +155,32 @@ export interface Ip {
|
|
|
155
155
|
* IP tags.
|
|
156
156
|
*/
|
|
157
157
|
tags: string[];
|
|
158
|
+
/**
|
|
159
|
+
* ID of the IPAM IP address associated with the flexible IP.
|
|
160
|
+
*/
|
|
161
|
+
ipamIpId?: string | null;
|
|
158
162
|
/**
|
|
159
163
|
* @deprecated The region the IP address is in.
|
|
160
164
|
*/
|
|
161
|
-
region?: Region;
|
|
165
|
+
region?: Region | null;
|
|
162
166
|
/**
|
|
163
167
|
* The zone the IP address is in.
|
|
164
168
|
*/
|
|
165
169
|
zone: Zone;
|
|
170
|
+
/**
|
|
171
|
+
* The SRN of the IP address.
|
|
172
|
+
*/
|
|
173
|
+
srn: string;
|
|
174
|
+
}
|
|
175
|
+
export interface IpamIP {
|
|
176
|
+
/**
|
|
177
|
+
* IPAM IP ID.
|
|
178
|
+
*/
|
|
179
|
+
id: string;
|
|
180
|
+
/**
|
|
181
|
+
* Actual IP address.
|
|
182
|
+
*/
|
|
183
|
+
ipAddress: string;
|
|
166
184
|
}
|
|
167
185
|
/**
|
|
168
186
|
* Subscriber.
|
|
@@ -181,13 +199,21 @@ export interface Subscriber {
|
|
|
181
199
|
*
|
|
182
200
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
183
201
|
*/
|
|
184
|
-
emailConfig?: SubscriberEmailConfig;
|
|
202
|
+
emailConfig?: SubscriberEmailConfig | null;
|
|
185
203
|
/**
|
|
186
204
|
* Webhook URI of subscriber.
|
|
187
205
|
*
|
|
188
206
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
189
207
|
*/
|
|
190
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
208
|
+
webhookConfig?: SubscriberWebhookConfig | null;
|
|
209
|
+
/**
|
|
210
|
+
* The zone the subscriber is in.
|
|
211
|
+
*/
|
|
212
|
+
zone: Zone;
|
|
213
|
+
/**
|
|
214
|
+
* The SRN of the subscriber.
|
|
215
|
+
*/
|
|
216
|
+
srn: string;
|
|
191
217
|
}
|
|
192
218
|
export interface HealthCheck {
|
|
193
219
|
/**
|
|
@@ -197,11 +223,11 @@ export interface HealthCheck {
|
|
|
197
223
|
/**
|
|
198
224
|
* Time to wait between two consecutive health checks.
|
|
199
225
|
*/
|
|
200
|
-
checkDelay?: string;
|
|
226
|
+
checkDelay?: string | null;
|
|
201
227
|
/**
|
|
202
228
|
* Maximum time a backend server has to reply to the health check.
|
|
203
229
|
*/
|
|
204
|
-
checkTimeout?: string;
|
|
230
|
+
checkTimeout?: string | null;
|
|
205
231
|
/**
|
|
206
232
|
* Number of consecutive unsuccessful health checks after which the server will be considered dead.
|
|
207
233
|
*/
|
|
@@ -211,43 +237,43 @@ export interface HealthCheck {
|
|
|
211
237
|
*
|
|
212
238
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
213
239
|
*/
|
|
214
|
-
tcpConfig?: HealthCheckTcpConfig;
|
|
240
|
+
tcpConfig?: HealthCheckTcpConfig | null;
|
|
215
241
|
/**
|
|
216
242
|
* Object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
|
|
217
243
|
*
|
|
218
244
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
219
245
|
*/
|
|
220
|
-
mysqlConfig?: HealthCheckMysqlConfig;
|
|
246
|
+
mysqlConfig?: HealthCheckMysqlConfig | null;
|
|
221
247
|
/**
|
|
222
248
|
* Object to configure a PostgreSQL health check.
|
|
223
249
|
*
|
|
224
250
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
225
251
|
*/
|
|
226
|
-
pgsqlConfig?: HealthCheckPgsqlConfig;
|
|
252
|
+
pgsqlConfig?: HealthCheckPgsqlConfig | null;
|
|
227
253
|
/**
|
|
228
254
|
* Object to configure an LDAP health check. The response is analyzed to find the LDAPv3 response message.
|
|
229
255
|
*
|
|
230
256
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
231
257
|
*/
|
|
232
|
-
ldapConfig?: HealthCheckLdapConfig;
|
|
258
|
+
ldapConfig?: HealthCheckLdapConfig | null;
|
|
233
259
|
/**
|
|
234
260
|
* Object to configure a Redis health check. The response is analyzed to find the +PONG response message.
|
|
235
261
|
*
|
|
236
262
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
237
263
|
*/
|
|
238
|
-
redisConfig?: HealthCheckRedisConfig;
|
|
264
|
+
redisConfig?: HealthCheckRedisConfig | null;
|
|
239
265
|
/**
|
|
240
266
|
* Object to configure an HTTP health check.
|
|
241
267
|
*
|
|
242
268
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
243
269
|
*/
|
|
244
|
-
httpConfig?: HealthCheckHttpConfig;
|
|
270
|
+
httpConfig?: HealthCheckHttpConfig | null;
|
|
245
271
|
/**
|
|
246
272
|
* Object to configure an HTTPS health check.
|
|
247
273
|
*
|
|
248
274
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
249
275
|
*/
|
|
250
|
-
httpsConfig?: HealthCheckHttpsConfig;
|
|
276
|
+
httpsConfig?: HealthCheckHttpsConfig | null;
|
|
251
277
|
/**
|
|
252
278
|
* Defines whether proxy protocol should be activated for the health check.
|
|
253
279
|
*/
|
|
@@ -255,7 +281,7 @@ export interface HealthCheck {
|
|
|
255
281
|
/**
|
|
256
282
|
* Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
|
|
257
283
|
*/
|
|
258
|
-
transientCheckDelay?: string;
|
|
284
|
+
transientCheckDelay?: string | null;
|
|
259
285
|
}
|
|
260
286
|
export interface Lb {
|
|
261
287
|
/**
|
|
@@ -290,6 +316,10 @@ export interface Lb {
|
|
|
290
316
|
* List of IP addresses attached to the Load Balancer.
|
|
291
317
|
*/
|
|
292
318
|
ip: Ip[];
|
|
319
|
+
/**
|
|
320
|
+
* List of public IPAM IP addresses attached to the Load Balancer.
|
|
321
|
+
*/
|
|
322
|
+
ipamIps: IpamIP[];
|
|
293
323
|
/**
|
|
294
324
|
* Load Balancer tags.
|
|
295
325
|
*/
|
|
@@ -309,7 +339,7 @@ export interface Lb {
|
|
|
309
339
|
/**
|
|
310
340
|
* Subscriber information.
|
|
311
341
|
*/
|
|
312
|
-
subscriber?: Subscriber;
|
|
342
|
+
subscriber?: Subscriber | null;
|
|
313
343
|
/**
|
|
314
344
|
* Determines the minimal SSL version which needs to be supported on client side.
|
|
315
345
|
*/
|
|
@@ -317,11 +347,11 @@ export interface Lb {
|
|
|
317
347
|
/**
|
|
318
348
|
* Date on which the Load Balancer was created.
|
|
319
349
|
*/
|
|
320
|
-
createdAt?: Date;
|
|
350
|
+
createdAt?: Date | null;
|
|
321
351
|
/**
|
|
322
352
|
* Date on which the Load Balancer was last updated.
|
|
323
353
|
*/
|
|
324
|
-
updatedAt?: Date;
|
|
354
|
+
updatedAt?: Date | null;
|
|
325
355
|
/**
|
|
326
356
|
* Number of Private Networks attached to the Load Balancer.
|
|
327
357
|
*/
|
|
@@ -333,11 +363,15 @@ export interface Lb {
|
|
|
333
363
|
/**
|
|
334
364
|
* @deprecated The region the Load Balancer is in.
|
|
335
365
|
*/
|
|
336
|
-
region?: Region;
|
|
366
|
+
region?: Region | null;
|
|
337
367
|
/**
|
|
338
368
|
* The zone the Load Balancer is in.
|
|
339
369
|
*/
|
|
340
370
|
zone: Zone;
|
|
371
|
+
/**
|
|
372
|
+
* The SRN of the Load Balancer.
|
|
373
|
+
*/
|
|
374
|
+
srn: string;
|
|
341
375
|
}
|
|
342
376
|
export interface AclActionRedirect {
|
|
343
377
|
/**
|
|
@@ -351,7 +385,7 @@ export interface AclActionRedirect {
|
|
|
351
385
|
/**
|
|
352
386
|
* HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302.
|
|
353
387
|
*/
|
|
354
|
-
code?: number;
|
|
388
|
+
code?: number | null;
|
|
355
389
|
}
|
|
356
390
|
export interface Backend {
|
|
357
391
|
/**
|
|
@@ -385,7 +419,7 @@ export interface Backend {
|
|
|
385
419
|
/**
|
|
386
420
|
* Object defining the health check to be carried out by the backend when checking the status and health of backend servers.
|
|
387
421
|
*/
|
|
388
|
-
healthCheck?: HealthCheck;
|
|
422
|
+
healthCheck?: HealthCheck | null;
|
|
389
423
|
/**
|
|
390
424
|
* List of IP addresses of backend servers attached to this backend.
|
|
391
425
|
*/
|
|
@@ -393,23 +427,23 @@ export interface Backend {
|
|
|
393
427
|
/**
|
|
394
428
|
* Load Balancer the backend is attached to.
|
|
395
429
|
*/
|
|
396
|
-
lb?: Lb;
|
|
430
|
+
lb?: Lb | null;
|
|
397
431
|
/**
|
|
398
432
|
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
399
433
|
*/
|
|
400
|
-
sendProxyV2?: boolean;
|
|
434
|
+
sendProxyV2?: boolean | null;
|
|
401
435
|
/**
|
|
402
436
|
* Maximum allowed time for a backend server to process a request.
|
|
403
437
|
*/
|
|
404
|
-
timeoutServer?: string;
|
|
438
|
+
timeoutServer?: string | null;
|
|
405
439
|
/**
|
|
406
440
|
* Maximum allowed time for establishing a connection to a backend server.
|
|
407
441
|
*/
|
|
408
|
-
timeoutConnect?: string;
|
|
442
|
+
timeoutConnect?: string | null;
|
|
409
443
|
/**
|
|
410
444
|
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
411
445
|
*/
|
|
412
|
-
timeoutTunnel?: string;
|
|
446
|
+
timeoutTunnel?: string | null;
|
|
413
447
|
/**
|
|
414
448
|
* Action to take when a backend server is marked as down.
|
|
415
449
|
*/
|
|
@@ -421,43 +455,51 @@ export interface Backend {
|
|
|
421
455
|
/**
|
|
422
456
|
* Date at which the backend was created.
|
|
423
457
|
*/
|
|
424
|
-
createdAt?: Date;
|
|
458
|
+
createdAt?: Date | null;
|
|
425
459
|
/**
|
|
426
460
|
* Date at which the backend was updated.
|
|
427
461
|
*/
|
|
428
|
-
updatedAt?: Date;
|
|
462
|
+
updatedAt?: Date | null;
|
|
429
463
|
/**
|
|
430
464
|
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
431
465
|
*/
|
|
432
|
-
failoverHost?: string;
|
|
466
|
+
failoverHost?: string | null;
|
|
433
467
|
/**
|
|
434
468
|
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
435
469
|
*/
|
|
436
|
-
sslBridging?: boolean;
|
|
470
|
+
sslBridging?: boolean | null;
|
|
437
471
|
/**
|
|
438
472
|
* Defines whether the server certificate verification should be ignored.
|
|
439
473
|
*/
|
|
440
|
-
ignoreSslServerVerify?: boolean;
|
|
474
|
+
ignoreSslServerVerify?: boolean | null;
|
|
441
475
|
/**
|
|
442
476
|
* Whether to use another backend server on each attempt.
|
|
443
477
|
*/
|
|
444
|
-
redispatchAttemptCount?: number;
|
|
478
|
+
redispatchAttemptCount?: number | null;
|
|
445
479
|
/**
|
|
446
480
|
* Number of retries when a backend server connection failed.
|
|
447
481
|
*/
|
|
448
|
-
maxRetries?: number;
|
|
482
|
+
maxRetries?: number | null;
|
|
449
483
|
/**
|
|
450
484
|
* Maximum number of connections allowed per backend server.
|
|
451
485
|
*/
|
|
452
|
-
maxConnections?: number;
|
|
486
|
+
maxConnections?: number | null;
|
|
453
487
|
/**
|
|
454
488
|
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
455
489
|
*/
|
|
456
|
-
timeoutQueue?: string;
|
|
490
|
+
timeoutQueue?: string | null;
|
|
457
491
|
/**
|
|
458
492
|
* When connecting to backend servers, use this value as the HTTP Host header or TLS SNI. This allows routing to specific services on the backend server that are configured to respond to particular hostnames.
|
|
459
493
|
*/
|
|
460
|
-
host?: string;
|
|
494
|
+
host?: string | null;
|
|
495
|
+
/**
|
|
496
|
+
* The zone the backend is in.
|
|
497
|
+
*/
|
|
498
|
+
zone: Zone;
|
|
499
|
+
/**
|
|
500
|
+
* The SRN of the backend.
|
|
501
|
+
*/
|
|
502
|
+
srn: string;
|
|
461
503
|
}
|
|
462
504
|
export interface Certificate {
|
|
463
505
|
/**
|
|
@@ -483,11 +525,11 @@ export interface Certificate {
|
|
|
483
525
|
/**
|
|
484
526
|
* Lower validity bound.
|
|
485
527
|
*/
|
|
486
|
-
notValidBefore?: Date;
|
|
528
|
+
notValidBefore?: Date | null;
|
|
487
529
|
/**
|
|
488
530
|
* Upper validity bound.
|
|
489
531
|
*/
|
|
490
|
-
notValidAfter?: Date;
|
|
532
|
+
notValidAfter?: Date | null;
|
|
491
533
|
/**
|
|
492
534
|
* Certificate status.
|
|
493
535
|
*/
|
|
@@ -495,7 +537,7 @@ export interface Certificate {
|
|
|
495
537
|
/**
|
|
496
538
|
* Load Balancer object the certificate is attached to.
|
|
497
539
|
*/
|
|
498
|
-
lb?: Lb;
|
|
540
|
+
lb?: Lb | null;
|
|
499
541
|
/**
|
|
500
542
|
* Certificate name.
|
|
501
543
|
*/
|
|
@@ -503,15 +545,23 @@ export interface Certificate {
|
|
|
503
545
|
/**
|
|
504
546
|
* Date on which the certificate was created.
|
|
505
547
|
*/
|
|
506
|
-
createdAt?: Date;
|
|
548
|
+
createdAt?: Date | null;
|
|
507
549
|
/**
|
|
508
550
|
* Date on which the certificate was last updated.
|
|
509
551
|
*/
|
|
510
|
-
updatedAt?: Date;
|
|
552
|
+
updatedAt?: Date | null;
|
|
511
553
|
/**
|
|
512
554
|
* Additional information about the certificate status (useful in case of certificate generation failure, for example).
|
|
513
555
|
*/
|
|
514
|
-
statusDetails?: string;
|
|
556
|
+
statusDetails?: string | null;
|
|
557
|
+
/**
|
|
558
|
+
* The zone the certificate is in.
|
|
559
|
+
*/
|
|
560
|
+
zone: Zone;
|
|
561
|
+
/**
|
|
562
|
+
* The SRN of the certificate.
|
|
563
|
+
*/
|
|
564
|
+
srn: string;
|
|
515
565
|
}
|
|
516
566
|
export interface AclAction {
|
|
517
567
|
/**
|
|
@@ -521,7 +571,7 @@ export interface AclAction {
|
|
|
521
571
|
/**
|
|
522
572
|
* Redirection parameters when using an ACL with a `redirect` action.
|
|
523
573
|
*/
|
|
524
|
-
redirect?: AclActionRedirect;
|
|
574
|
+
redirect?: AclActionRedirect | null;
|
|
525
575
|
}
|
|
526
576
|
export interface AclMatch {
|
|
527
577
|
/**
|
|
@@ -543,7 +593,7 @@ export interface AclMatch {
|
|
|
543
593
|
/**
|
|
544
594
|
* Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`.
|
|
545
595
|
*/
|
|
546
|
-
httpFilterOption?: string;
|
|
596
|
+
httpFilterOption?: string | null;
|
|
547
597
|
/**
|
|
548
598
|
* Defines whether to invert the match condition. If set to `true`, the ACL carries out its action when the condition DOES NOT match.
|
|
549
599
|
*/
|
|
@@ -565,19 +615,19 @@ export interface Frontend {
|
|
|
565
615
|
/**
|
|
566
616
|
* Backend object the frontend is attached to.
|
|
567
617
|
*/
|
|
568
|
-
backend?: Backend;
|
|
618
|
+
backend?: Backend | null;
|
|
569
619
|
/**
|
|
570
620
|
* Load Balancer object the frontend is attached to.
|
|
571
621
|
*/
|
|
572
|
-
lb?: Lb;
|
|
622
|
+
lb?: Lb | null;
|
|
573
623
|
/**
|
|
574
624
|
* Maximum allowed inactivity time on the client side.
|
|
575
625
|
*/
|
|
576
|
-
timeoutClient?: string;
|
|
626
|
+
timeoutClient?: string | null;
|
|
577
627
|
/**
|
|
578
628
|
* @deprecated Certificate, deprecated in favor of certificate_ids array.
|
|
579
629
|
*/
|
|
580
|
-
certificate?: Certificate;
|
|
630
|
+
certificate?: Certificate | null;
|
|
581
631
|
/**
|
|
582
632
|
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
583
633
|
*/
|
|
@@ -585,11 +635,11 @@ export interface Frontend {
|
|
|
585
635
|
/**
|
|
586
636
|
* Date on which the frontend was created.
|
|
587
637
|
*/
|
|
588
|
-
createdAt?: Date;
|
|
638
|
+
createdAt?: Date | null;
|
|
589
639
|
/**
|
|
590
640
|
* Date on which the frontend was last updated.
|
|
591
641
|
*/
|
|
592
|
-
updatedAt?: Date;
|
|
642
|
+
updatedAt?: Date | null;
|
|
593
643
|
/**
|
|
594
644
|
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
595
645
|
*/
|
|
@@ -597,24 +647,32 @@ export interface Frontend {
|
|
|
597
647
|
/**
|
|
598
648
|
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
599
649
|
*/
|
|
600
|
-
connectionRateLimit?: number;
|
|
650
|
+
connectionRateLimit?: number | null;
|
|
601
651
|
/**
|
|
602
652
|
* Defines whether to enable access logs on the frontend.
|
|
603
653
|
*/
|
|
604
654
|
enableAccessLogs: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* The zone the frontend is in.
|
|
657
|
+
*/
|
|
658
|
+
zone: Zone;
|
|
659
|
+
/**
|
|
660
|
+
* The SRN of the frontend.
|
|
661
|
+
*/
|
|
662
|
+
srn: string;
|
|
605
663
|
}
|
|
606
664
|
export interface PrivateNetworkDHCPConfig {
|
|
607
665
|
/**
|
|
608
666
|
* @deprecated
|
|
609
667
|
*/
|
|
610
|
-
ipId?: string;
|
|
668
|
+
ipId?: string | null;
|
|
611
669
|
}
|
|
612
670
|
export interface PrivateNetworkIpamConfig {}
|
|
613
671
|
export interface PrivateNetworkStaticConfig {
|
|
614
672
|
/**
|
|
615
673
|
* @deprecated Array of a local IP address for the Load Balancer on this Private Network.
|
|
616
674
|
*/
|
|
617
|
-
ipAddress?: string[];
|
|
675
|
+
ipAddress?: string[] | null;
|
|
618
676
|
}
|
|
619
677
|
export interface RouteMatch {
|
|
620
678
|
/**
|
|
@@ -622,13 +680,13 @@ export interface RouteMatch {
|
|
|
622
680
|
*
|
|
623
681
|
* One-of ('matchType'): at most one of 'sni', 'hostHeader', 'pathBegin' could be set.
|
|
624
682
|
*/
|
|
625
|
-
sni?: string;
|
|
683
|
+
sni?: string | null;
|
|
626
684
|
/**
|
|
627
685
|
* Value to match in the HTTP Host request header from an incoming request. This field should be set for routes on HTTP Load Balancers.
|
|
628
686
|
*
|
|
629
687
|
* One-of ('matchType'): at most one of 'sni', 'hostHeader', 'pathBegin' could be set.
|
|
630
688
|
*/
|
|
631
|
-
hostHeader?: string;
|
|
689
|
+
hostHeader?: string | null;
|
|
632
690
|
/**
|
|
633
691
|
* If true, all subdomains will match.
|
|
634
692
|
*/
|
|
@@ -638,7 +696,7 @@ export interface RouteMatch {
|
|
|
638
696
|
*
|
|
639
697
|
* One-of ('matchType'): at most one of 'sni', 'hostHeader', 'pathBegin' could be set.
|
|
640
698
|
*/
|
|
641
|
-
pathBegin?: string;
|
|
699
|
+
pathBegin?: string | null;
|
|
642
700
|
}
|
|
643
701
|
export interface CreateCertificateRequestCustomCertificate {
|
|
644
702
|
/**
|
|
@@ -676,7 +734,7 @@ export interface BackendServerStats {
|
|
|
676
734
|
/**
|
|
677
735
|
* Time since last operational change.
|
|
678
736
|
*/
|
|
679
|
-
serverStateChangedAt?: Date;
|
|
737
|
+
serverStateChangedAt?: Date | null;
|
|
680
738
|
/**
|
|
681
739
|
* Last health check status (unknown/neutral/failed/passed/condpass).
|
|
682
740
|
*/
|
|
@@ -694,15 +752,15 @@ export interface Acl {
|
|
|
694
752
|
/**
|
|
695
753
|
* ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
|
|
696
754
|
*/
|
|
697
|
-
match?: AclMatch;
|
|
755
|
+
match?: AclMatch | null;
|
|
698
756
|
/**
|
|
699
757
|
* Action to take when incoming traffic matches an ACL filter.
|
|
700
758
|
*/
|
|
701
|
-
action?: AclAction;
|
|
759
|
+
action?: AclAction | null;
|
|
702
760
|
/**
|
|
703
761
|
* ACL is attached to this frontend object.
|
|
704
762
|
*/
|
|
705
|
-
frontend?: Frontend;
|
|
763
|
+
frontend?: Frontend | null;
|
|
706
764
|
/**
|
|
707
765
|
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
708
766
|
*/
|
|
@@ -710,21 +768,29 @@ export interface Acl {
|
|
|
710
768
|
/**
|
|
711
769
|
* Date on which the ACL was created.
|
|
712
770
|
*/
|
|
713
|
-
createdAt?: Date;
|
|
771
|
+
createdAt?: Date | null;
|
|
714
772
|
/**
|
|
715
773
|
* Date on which the ACL was last updated.
|
|
716
774
|
*/
|
|
717
|
-
updatedAt?: Date;
|
|
775
|
+
updatedAt?: Date | null;
|
|
718
776
|
/**
|
|
719
777
|
* ACL description.
|
|
720
778
|
*/
|
|
721
779
|
description: string;
|
|
780
|
+
/**
|
|
781
|
+
* The zone the ACL is in.
|
|
782
|
+
*/
|
|
783
|
+
zone: Zone;
|
|
784
|
+
/**
|
|
785
|
+
* The SRN of the ACL.
|
|
786
|
+
*/
|
|
787
|
+
srn: string;
|
|
722
788
|
}
|
|
723
789
|
export interface PrivateNetwork {
|
|
724
790
|
/**
|
|
725
791
|
* Load Balancer object which is attached to the Private Network.
|
|
726
792
|
*/
|
|
727
|
-
lb?: Lb;
|
|
793
|
+
lb?: Lb | null;
|
|
728
794
|
/**
|
|
729
795
|
* IPAM IDs of the booked IP addresses.
|
|
730
796
|
*/
|
|
@@ -734,19 +800,19 @@ export interface PrivateNetwork {
|
|
|
734
800
|
*
|
|
735
801
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
736
802
|
*/
|
|
737
|
-
staticConfig?: PrivateNetworkStaticConfig;
|
|
803
|
+
staticConfig?: PrivateNetworkStaticConfig | null;
|
|
738
804
|
/**
|
|
739
805
|
* @deprecated Object containing DHCP-assigned IP addresses.
|
|
740
806
|
*
|
|
741
807
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
742
808
|
*/
|
|
743
|
-
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
809
|
+
dhcpConfig?: PrivateNetworkDHCPConfig | null;
|
|
744
810
|
/**
|
|
745
811
|
* @deprecated For internal use only.
|
|
746
812
|
*
|
|
747
813
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
748
814
|
*/
|
|
749
|
-
ipamConfig?: PrivateNetworkIpamConfig;
|
|
815
|
+
ipamConfig?: PrivateNetworkIpamConfig | null;
|
|
750
816
|
/**
|
|
751
817
|
* Private Network ID.
|
|
752
818
|
*/
|
|
@@ -758,11 +824,11 @@ export interface PrivateNetwork {
|
|
|
758
824
|
/**
|
|
759
825
|
* Date on which the Private Network was created.
|
|
760
826
|
*/
|
|
761
|
-
createdAt?: Date;
|
|
827
|
+
createdAt?: Date | null;
|
|
762
828
|
/**
|
|
763
829
|
* Date on which the PN was last updated.
|
|
764
830
|
*/
|
|
765
|
-
updatedAt?: Date;
|
|
831
|
+
updatedAt?: Date | null;
|
|
766
832
|
}
|
|
767
833
|
export interface LbType {
|
|
768
834
|
/**
|
|
@@ -788,11 +854,15 @@ export interface LbType {
|
|
|
788
854
|
/**
|
|
789
855
|
* @deprecated The region the Load Balancer stock is in.
|
|
790
856
|
*/
|
|
791
|
-
region?: Region;
|
|
857
|
+
region?: Region | null;
|
|
792
858
|
/**
|
|
793
859
|
* The zone the Load Balancer stock is in.
|
|
794
860
|
*/
|
|
795
861
|
zone: Zone;
|
|
862
|
+
/**
|
|
863
|
+
* The SRN of the Load Balancer offer type.
|
|
864
|
+
*/
|
|
865
|
+
srn: string;
|
|
796
866
|
}
|
|
797
867
|
export interface Route {
|
|
798
868
|
/**
|
|
@@ -810,15 +880,23 @@ export interface Route {
|
|
|
810
880
|
/**
|
|
811
881
|
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
812
882
|
*/
|
|
813
|
-
match?: RouteMatch;
|
|
883
|
+
match?: RouteMatch | null;
|
|
814
884
|
/**
|
|
815
885
|
* Date on which the route was created.
|
|
816
886
|
*/
|
|
817
|
-
createdAt?: Date;
|
|
887
|
+
createdAt?: Date | null;
|
|
818
888
|
/**
|
|
819
889
|
* Date on which the route was last updated.
|
|
820
890
|
*/
|
|
821
|
-
updatedAt?: Date;
|
|
891
|
+
updatedAt?: Date | null;
|
|
892
|
+
/**
|
|
893
|
+
* The zone the route is in.
|
|
894
|
+
*/
|
|
895
|
+
zone: Zone;
|
|
896
|
+
/**
|
|
897
|
+
* The SRN of the route.
|
|
898
|
+
*/
|
|
899
|
+
srn: string;
|
|
822
900
|
}
|
|
823
901
|
export interface AclSpec {
|
|
824
902
|
/**
|
|
@@ -832,7 +910,7 @@ export interface AclSpec {
|
|
|
832
910
|
/**
|
|
833
911
|
* ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` and `http_filter_value` are required.
|
|
834
912
|
*/
|
|
835
|
-
match?: AclMatch;
|
|
913
|
+
match?: AclMatch | null;
|
|
836
914
|
/**
|
|
837
915
|
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
838
916
|
*/
|
|
@@ -846,7 +924,7 @@ export type AddBackendServersRequest = {
|
|
|
846
924
|
/**
|
|
847
925
|
* Region to target. If none is passed will use default region from the config.
|
|
848
926
|
*/
|
|
849
|
-
region?: Region;
|
|
927
|
+
region?: Region | null;
|
|
850
928
|
/**
|
|
851
929
|
* Backend ID.
|
|
852
930
|
*/
|
|
@@ -860,7 +938,7 @@ export type AttachPrivateNetworkRequest = {
|
|
|
860
938
|
/**
|
|
861
939
|
* Region to target. If none is passed will use default region from the config.
|
|
862
940
|
*/
|
|
863
|
-
region?: Region;
|
|
941
|
+
region?: Region | null;
|
|
864
942
|
/**
|
|
865
943
|
* Load Balancer ID.
|
|
866
944
|
*/
|
|
@@ -874,23 +952,23 @@ export type AttachPrivateNetworkRequest = {
|
|
|
874
952
|
*
|
|
875
953
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
876
954
|
*/
|
|
877
|
-
staticConfig?: PrivateNetworkStaticConfig;
|
|
955
|
+
staticConfig?: PrivateNetworkStaticConfig | null;
|
|
878
956
|
/**
|
|
879
957
|
* @deprecated Defines whether to let DHCP assign IP addresses.
|
|
880
958
|
*
|
|
881
959
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
882
960
|
*/
|
|
883
|
-
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
961
|
+
dhcpConfig?: PrivateNetworkDHCPConfig | null;
|
|
884
962
|
/**
|
|
885
963
|
* @deprecated For internal use only.
|
|
886
964
|
*
|
|
887
965
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
888
966
|
*/
|
|
889
|
-
ipamConfig?: PrivateNetworkIpamConfig;
|
|
967
|
+
ipamConfig?: PrivateNetworkIpamConfig | null;
|
|
890
968
|
/**
|
|
891
969
|
* IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network. In the future, it will be possible to specify multiple IPs in this field (IPv4 and IPv6), for now only one ID of an IPv4 address is expected. When null, a new private IP address is created for the Load Balancer on this Private Network.
|
|
892
970
|
*/
|
|
893
|
-
ipamIds?: string[];
|
|
971
|
+
ipamIds?: string[] | null;
|
|
894
972
|
};
|
|
895
973
|
/**
|
|
896
974
|
* Add an ACL to a Load Balancer frontend.
|
|
@@ -899,7 +977,7 @@ export type CreateAclRequest = {
|
|
|
899
977
|
/**
|
|
900
978
|
* Region to target. If none is passed will use default region from the config.
|
|
901
979
|
*/
|
|
902
|
-
region?: Region;
|
|
980
|
+
region?: Region | null;
|
|
903
981
|
/**
|
|
904
982
|
* Frontend ID to attach the ACL to.
|
|
905
983
|
*/
|
|
@@ -907,7 +985,7 @@ export type CreateAclRequest = {
|
|
|
907
985
|
/**
|
|
908
986
|
* ACL name.
|
|
909
987
|
*/
|
|
910
|
-
name?: string;
|
|
988
|
+
name?: string | null;
|
|
911
989
|
/**
|
|
912
990
|
* Action to take when incoming traffic matches an ACL filter.
|
|
913
991
|
*/
|
|
@@ -915,7 +993,7 @@ export type CreateAclRequest = {
|
|
|
915
993
|
/**
|
|
916
994
|
* ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
|
|
917
995
|
*/
|
|
918
|
-
match?: AclMatch;
|
|
996
|
+
match?: AclMatch | null;
|
|
919
997
|
/**
|
|
920
998
|
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
921
999
|
*/
|
|
@@ -929,7 +1007,7 @@ export type CreateBackendRequest = {
|
|
|
929
1007
|
/**
|
|
930
1008
|
* Region to target. If none is passed will use default region from the config.
|
|
931
1009
|
*/
|
|
932
|
-
region?: Region;
|
|
1010
|
+
region?: Region | null;
|
|
933
1011
|
/**
|
|
934
1012
|
* Load Balancer ID.
|
|
935
1013
|
*/
|
|
@@ -937,7 +1015,7 @@ export type CreateBackendRequest = {
|
|
|
937
1015
|
/**
|
|
938
1016
|
* Name for the backend.
|
|
939
1017
|
*/
|
|
940
|
-
name?: string;
|
|
1018
|
+
name?: string | null;
|
|
941
1019
|
/**
|
|
942
1020
|
* Protocol to be used by the backend when forwarding traffic to backend servers.
|
|
943
1021
|
*/
|
|
@@ -969,65 +1047,65 @@ export type CreateBackendRequest = {
|
|
|
969
1047
|
/**
|
|
970
1048
|
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
971
1049
|
*/
|
|
972
|
-
sendProxyV2?: boolean;
|
|
1050
|
+
sendProxyV2?: boolean | null;
|
|
973
1051
|
/**
|
|
974
1052
|
* Maximum allowed time for a backend server to process a request.
|
|
975
1053
|
*/
|
|
976
|
-
timeoutServer?: string;
|
|
1054
|
+
timeoutServer?: string | null;
|
|
977
1055
|
/**
|
|
978
1056
|
* Maximum allowed time for establishing a connection to a backend server.
|
|
979
1057
|
*/
|
|
980
|
-
timeoutConnect?: string;
|
|
1058
|
+
timeoutConnect?: string | null;
|
|
981
1059
|
/**
|
|
982
1060
|
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
983
1061
|
*/
|
|
984
|
-
timeoutTunnel?: string;
|
|
1062
|
+
timeoutTunnel?: string | null;
|
|
985
1063
|
/**
|
|
986
1064
|
* Action to take when a backend server is marked as down.
|
|
987
1065
|
*/
|
|
988
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
1066
|
+
onMarkedDownAction?: OnMarkedDownAction | null;
|
|
989
1067
|
/**
|
|
990
1068
|
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
991
1069
|
*/
|
|
992
|
-
proxyProtocol?: ProxyProtocol;
|
|
1070
|
+
proxyProtocol?: ProxyProtocol | null;
|
|
993
1071
|
/**
|
|
994
1072
|
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
995
1073
|
*/
|
|
996
|
-
failoverHost?: string;
|
|
1074
|
+
failoverHost?: string | null;
|
|
997
1075
|
/**
|
|
998
1076
|
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
999
1077
|
*/
|
|
1000
|
-
sslBridging?: boolean;
|
|
1078
|
+
sslBridging?: boolean | null;
|
|
1001
1079
|
/**
|
|
1002
1080
|
* Defines whether the server certificate verification should be ignored.
|
|
1003
1081
|
*/
|
|
1004
|
-
ignoreSslServerVerify?: boolean;
|
|
1082
|
+
ignoreSslServerVerify?: boolean | null;
|
|
1005
1083
|
/**
|
|
1006
1084
|
* Whether to use another backend server on each attempt.
|
|
1007
1085
|
*/
|
|
1008
|
-
redispatchAttemptCount?: number;
|
|
1086
|
+
redispatchAttemptCount?: number | null;
|
|
1009
1087
|
/**
|
|
1010
1088
|
* Number of retries when a backend server connection failed.
|
|
1011
1089
|
*/
|
|
1012
|
-
maxRetries?: number;
|
|
1090
|
+
maxRetries?: number | null;
|
|
1013
1091
|
/**
|
|
1014
1092
|
* Maximum number of connections allowed per backend server.
|
|
1015
1093
|
*/
|
|
1016
|
-
maxConnections?: number;
|
|
1094
|
+
maxConnections?: number | null;
|
|
1017
1095
|
/**
|
|
1018
1096
|
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
1019
1097
|
*/
|
|
1020
|
-
timeoutQueue?: string;
|
|
1098
|
+
timeoutQueue?: string | null;
|
|
1021
1099
|
/**
|
|
1022
1100
|
* When connecting to backend servers, use this value as the HTTP Host header or TLS SNI. This allows routing to specific services on the backend server that are configured to respond to particular hostnames.
|
|
1023
1101
|
*/
|
|
1024
|
-
host?: string;
|
|
1102
|
+
host?: string | null;
|
|
1025
1103
|
};
|
|
1026
1104
|
export type CreateCertificateRequest = {
|
|
1027
1105
|
/**
|
|
1028
1106
|
* Region to target. If none is passed will use default region from the config.
|
|
1029
1107
|
*/
|
|
1030
|
-
region?: Region;
|
|
1108
|
+
region?: Region | null;
|
|
1031
1109
|
/**
|
|
1032
1110
|
* Load Balancer ID.
|
|
1033
1111
|
*/
|
|
@@ -1035,25 +1113,25 @@ export type CreateCertificateRequest = {
|
|
|
1035
1113
|
/**
|
|
1036
1114
|
* Name for the certificate.
|
|
1037
1115
|
*/
|
|
1038
|
-
name?: string;
|
|
1116
|
+
name?: string | null;
|
|
1039
1117
|
/**
|
|
1040
1118
|
* Object to define a new Let's Encrypt certificate to be generated.
|
|
1041
1119
|
*
|
|
1042
1120
|
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
1043
1121
|
*/
|
|
1044
|
-
letsencrypt?: CreateCertificateRequestLetsencryptConfig;
|
|
1122
|
+
letsencrypt?: CreateCertificateRequestLetsencryptConfig | null;
|
|
1045
1123
|
/**
|
|
1046
1124
|
* Object to define an existing custom certificate to be imported.
|
|
1047
1125
|
*
|
|
1048
1126
|
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
1049
1127
|
*/
|
|
1050
|
-
customCertificate?: CreateCertificateRequestCustomCertificate;
|
|
1128
|
+
customCertificate?: CreateCertificateRequestCustomCertificate | null;
|
|
1051
1129
|
};
|
|
1052
1130
|
export type CreateFrontendRequest = {
|
|
1053
1131
|
/**
|
|
1054
1132
|
* Region to target. If none is passed will use default region from the config.
|
|
1055
1133
|
*/
|
|
1056
|
-
region?: Region;
|
|
1134
|
+
region?: Region | null;
|
|
1057
1135
|
/**
|
|
1058
1136
|
* Load Balancer ID (ID of the Load Balancer to attach the frontend to).
|
|
1059
1137
|
*/
|
|
@@ -1061,7 +1139,7 @@ export type CreateFrontendRequest = {
|
|
|
1061
1139
|
/**
|
|
1062
1140
|
* Name for the frontend.
|
|
1063
1141
|
*/
|
|
1064
|
-
name?: string;
|
|
1142
|
+
name?: string | null;
|
|
1065
1143
|
/**
|
|
1066
1144
|
* Port the frontend should listen on.
|
|
1067
1145
|
*/
|
|
@@ -1073,15 +1151,15 @@ export type CreateFrontendRequest = {
|
|
|
1073
1151
|
/**
|
|
1074
1152
|
* Maximum allowed inactivity time on the client side.
|
|
1075
1153
|
*/
|
|
1076
|
-
timeoutClient?: string;
|
|
1154
|
+
timeoutClient?: string | null;
|
|
1077
1155
|
/**
|
|
1078
1156
|
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
1079
1157
|
*/
|
|
1080
|
-
certificateId?: string;
|
|
1158
|
+
certificateId?: string | null;
|
|
1081
1159
|
/**
|
|
1082
1160
|
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
1083
1161
|
*/
|
|
1084
|
-
certificateIds?: string[];
|
|
1162
|
+
certificateIds?: string[] | null;
|
|
1085
1163
|
/**
|
|
1086
1164
|
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
1087
1165
|
*/
|
|
@@ -1089,7 +1167,7 @@ export type CreateFrontendRequest = {
|
|
|
1089
1167
|
/**
|
|
1090
1168
|
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
1091
1169
|
*/
|
|
1092
|
-
connectionRateLimit?: number;
|
|
1170
|
+
connectionRateLimit?: number | null;
|
|
1093
1171
|
/**
|
|
1094
1172
|
* Defines whether to enable access logs on the frontend.
|
|
1095
1173
|
*/
|
|
@@ -1099,23 +1177,23 @@ export type CreateIpRequest = {
|
|
|
1099
1177
|
/**
|
|
1100
1178
|
* Region to target. If none is passed will use default region from the config.
|
|
1101
1179
|
*/
|
|
1102
|
-
region?: Region;
|
|
1180
|
+
region?: Region | null;
|
|
1103
1181
|
/**
|
|
1104
1182
|
* @deprecated Organization ID of the Organization where the IP address should be created.
|
|
1105
1183
|
*
|
|
1106
1184
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1107
1185
|
*/
|
|
1108
|
-
organizationId?: string;
|
|
1186
|
+
organizationId?: string | null;
|
|
1109
1187
|
/**
|
|
1110
1188
|
* Project ID of the Project where the IP address should be created.
|
|
1111
1189
|
*
|
|
1112
1190
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1113
1191
|
*/
|
|
1114
|
-
projectId?: string;
|
|
1192
|
+
projectId?: string | null;
|
|
1115
1193
|
/**
|
|
1116
1194
|
* Reverse DNS (domain name) for the IP address.
|
|
1117
1195
|
*/
|
|
1118
|
-
reverse?: string;
|
|
1196
|
+
reverse?: string | null;
|
|
1119
1197
|
/**
|
|
1120
1198
|
* If true, creates a Flexible IP with an ipv6 address.
|
|
1121
1199
|
*/
|
|
@@ -1123,29 +1201,29 @@ export type CreateIpRequest = {
|
|
|
1123
1201
|
/**
|
|
1124
1202
|
* List of tags for the IP.
|
|
1125
1203
|
*/
|
|
1126
|
-
tags?: string[];
|
|
1204
|
+
tags?: string[] | null;
|
|
1127
1205
|
};
|
|
1128
1206
|
export type CreateLbRequest = {
|
|
1129
1207
|
/**
|
|
1130
1208
|
* Region to target. If none is passed will use default region from the config.
|
|
1131
1209
|
*/
|
|
1132
|
-
region?: Region;
|
|
1210
|
+
region?: Region | null;
|
|
1133
1211
|
/**
|
|
1134
1212
|
* @deprecated Scaleway Organization to create the Load Balancer in.
|
|
1135
1213
|
*
|
|
1136
1214
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1137
1215
|
*/
|
|
1138
|
-
organizationId?: string;
|
|
1216
|
+
organizationId?: string | null;
|
|
1139
1217
|
/**
|
|
1140
1218
|
* Scaleway Project to create the Load Balancer in.
|
|
1141
1219
|
*
|
|
1142
1220
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1143
1221
|
*/
|
|
1144
|
-
projectId?: string;
|
|
1222
|
+
projectId?: string | null;
|
|
1145
1223
|
/**
|
|
1146
1224
|
* Name for the Load Balancer.
|
|
1147
1225
|
*/
|
|
1148
|
-
name?: string;
|
|
1226
|
+
name?: string | null;
|
|
1149
1227
|
/**
|
|
1150
1228
|
* Description for the Load Balancer.
|
|
1151
1229
|
*/
|
|
@@ -1153,23 +1231,27 @@ export type CreateLbRequest = {
|
|
|
1153
1231
|
/**
|
|
1154
1232
|
* @deprecated ID of an existing flexible IP address to attach to the Load Balancer.
|
|
1155
1233
|
*/
|
|
1156
|
-
ipId?: string;
|
|
1234
|
+
ipId?: string | null;
|
|
1157
1235
|
/**
|
|
1158
1236
|
* Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
|
|
1159
1237
|
*/
|
|
1160
|
-
assignFlexibleIp?: boolean;
|
|
1238
|
+
assignFlexibleIp?: boolean | null;
|
|
1161
1239
|
/**
|
|
1162
1240
|
* Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
|
|
1163
1241
|
*/
|
|
1164
|
-
assignFlexibleIpv6?: boolean;
|
|
1242
|
+
assignFlexibleIpv6?: boolean | null;
|
|
1165
1243
|
/**
|
|
1166
1244
|
* List of IP IDs to attach to the Load Balancer.
|
|
1167
1245
|
*/
|
|
1168
|
-
ipIds?: string[];
|
|
1246
|
+
ipIds?: string[] | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* List of IPAM IP IDs to attach to the Load Balancer.
|
|
1249
|
+
*/
|
|
1250
|
+
ipamIpIds?: string[] | null;
|
|
1169
1251
|
/**
|
|
1170
1252
|
* List of tags for the Load Balancer.
|
|
1171
1253
|
*/
|
|
1172
|
-
tags?: string[];
|
|
1254
|
+
tags?: string[] | null;
|
|
1173
1255
|
/**
|
|
1174
1256
|
* Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
|
|
1175
1257
|
*/
|
|
@@ -1177,13 +1259,13 @@ export type CreateLbRequest = {
|
|
|
1177
1259
|
/**
|
|
1178
1260
|
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
|
|
1179
1261
|
*/
|
|
1180
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
1262
|
+
sslCompatibilityLevel?: SSLCompatibilityLevel | null;
|
|
1181
1263
|
};
|
|
1182
1264
|
export type CreateRouteRequest = {
|
|
1183
1265
|
/**
|
|
1184
1266
|
* Region to target. If none is passed will use default region from the config.
|
|
1185
1267
|
*/
|
|
1186
|
-
region?: Region;
|
|
1268
|
+
region?: Region | null;
|
|
1187
1269
|
/**
|
|
1188
1270
|
* ID of the source frontend to create the route on.
|
|
1189
1271
|
*/
|
|
@@ -1195,7 +1277,7 @@ export type CreateRouteRequest = {
|
|
|
1195
1277
|
/**
|
|
1196
1278
|
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
1197
1279
|
*/
|
|
1198
|
-
match?: RouteMatch;
|
|
1280
|
+
match?: RouteMatch | null;
|
|
1199
1281
|
};
|
|
1200
1282
|
/**
|
|
1201
1283
|
* Create a new alert subscriber (webhook or email).
|
|
@@ -1204,7 +1286,7 @@ export type CreateSubscriberRequest = {
|
|
|
1204
1286
|
/**
|
|
1205
1287
|
* Region to target. If none is passed will use default region from the config.
|
|
1206
1288
|
*/
|
|
1207
|
-
region?: Region;
|
|
1289
|
+
region?: Region | null;
|
|
1208
1290
|
/**
|
|
1209
1291
|
* Subscriber name.
|
|
1210
1292
|
*/
|
|
@@ -1214,31 +1296,31 @@ export type CreateSubscriberRequest = {
|
|
|
1214
1296
|
*
|
|
1215
1297
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
1216
1298
|
*/
|
|
1217
|
-
emailConfig?: SubscriberEmailConfig;
|
|
1299
|
+
emailConfig?: SubscriberEmailConfig | null;
|
|
1218
1300
|
/**
|
|
1219
1301
|
* WebHook URI configuration.
|
|
1220
1302
|
*
|
|
1221
1303
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
1222
1304
|
*/
|
|
1223
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
1305
|
+
webhookConfig?: SubscriberWebhookConfig | null;
|
|
1224
1306
|
/**
|
|
1225
1307
|
* @deprecated Organization ID to create the subscriber in.
|
|
1226
1308
|
*
|
|
1227
1309
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1228
1310
|
*/
|
|
1229
|
-
organizationId?: string;
|
|
1311
|
+
organizationId?: string | null;
|
|
1230
1312
|
/**
|
|
1231
1313
|
* Project ID to create the subscriber in.
|
|
1232
1314
|
*
|
|
1233
1315
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
1234
1316
|
*/
|
|
1235
|
-
projectId?: string;
|
|
1317
|
+
projectId?: string | null;
|
|
1236
1318
|
};
|
|
1237
1319
|
export type DeleteAclRequest = {
|
|
1238
1320
|
/**
|
|
1239
1321
|
* Region to target. If none is passed will use default region from the config.
|
|
1240
1322
|
*/
|
|
1241
|
-
region?: Region;
|
|
1323
|
+
region?: Region | null;
|
|
1242
1324
|
/**
|
|
1243
1325
|
* ACL ID.
|
|
1244
1326
|
*/
|
|
@@ -1248,7 +1330,7 @@ export type DeleteBackendRequest = {
|
|
|
1248
1330
|
/**
|
|
1249
1331
|
* Region to target. If none is passed will use default region from the config.
|
|
1250
1332
|
*/
|
|
1251
|
-
region?: Region;
|
|
1333
|
+
region?: Region | null;
|
|
1252
1334
|
/**
|
|
1253
1335
|
* ID of the backend to delete.
|
|
1254
1336
|
*/
|
|
@@ -1258,7 +1340,7 @@ export type DeleteCertificateRequest = {
|
|
|
1258
1340
|
/**
|
|
1259
1341
|
* Region to target. If none is passed will use default region from the config.
|
|
1260
1342
|
*/
|
|
1261
|
-
region?: Region;
|
|
1343
|
+
region?: Region | null;
|
|
1262
1344
|
/**
|
|
1263
1345
|
* Certificate ID.
|
|
1264
1346
|
*/
|
|
@@ -1268,7 +1350,7 @@ export type DeleteFrontendRequest = {
|
|
|
1268
1350
|
/**
|
|
1269
1351
|
* Region to target. If none is passed will use default region from the config.
|
|
1270
1352
|
*/
|
|
1271
|
-
region?: Region;
|
|
1353
|
+
region?: Region | null;
|
|
1272
1354
|
/**
|
|
1273
1355
|
* ID of the frontend to delete.
|
|
1274
1356
|
*/
|
|
@@ -1278,7 +1360,7 @@ export type DeleteLbRequest = {
|
|
|
1278
1360
|
/**
|
|
1279
1361
|
* Region to target. If none is passed will use default region from the config.
|
|
1280
1362
|
*/
|
|
1281
|
-
region?: Region;
|
|
1363
|
+
region?: Region | null;
|
|
1282
1364
|
/**
|
|
1283
1365
|
* ID of the Load Balancer to delete.
|
|
1284
1366
|
*/
|
|
@@ -1287,12 +1369,16 @@ export type DeleteLbRequest = {
|
|
|
1287
1369
|
* Defines whether the Load Balancer's flexible IP should be deleted. Set to true to release the flexible IP, or false to keep it available in your account for future Load Balancers.
|
|
1288
1370
|
*/
|
|
1289
1371
|
releaseIp: boolean;
|
|
1372
|
+
/**
|
|
1373
|
+
* If true and one or several ips of the LB are legacy flexible IP, they will be migrated to IPAM, free to use in other Scaleway products.
|
|
1374
|
+
*/
|
|
1375
|
+
migrateFlexipToIpam?: boolean | null;
|
|
1290
1376
|
};
|
|
1291
1377
|
export type DeleteRouteRequest = {
|
|
1292
1378
|
/**
|
|
1293
1379
|
* Region to target. If none is passed will use default region from the config.
|
|
1294
1380
|
*/
|
|
1295
|
-
region?: Region;
|
|
1381
|
+
region?: Region | null;
|
|
1296
1382
|
/**
|
|
1297
1383
|
* Route ID.
|
|
1298
1384
|
*/
|
|
@@ -1302,7 +1388,7 @@ export type DeleteSubscriberRequest = {
|
|
|
1302
1388
|
/**
|
|
1303
1389
|
* Region to target. If none is passed will use default region from the config.
|
|
1304
1390
|
*/
|
|
1305
|
-
region?: Region;
|
|
1391
|
+
region?: Region | null;
|
|
1306
1392
|
/**
|
|
1307
1393
|
* Subscriber ID.
|
|
1308
1394
|
*/
|
|
@@ -1312,7 +1398,7 @@ export type DetachPrivateNetworkRequest = {
|
|
|
1312
1398
|
/**
|
|
1313
1399
|
* Region to target. If none is passed will use default region from the config.
|
|
1314
1400
|
*/
|
|
1315
|
-
region?: Region;
|
|
1401
|
+
region?: Region | null;
|
|
1316
1402
|
/**
|
|
1317
1403
|
* Load balancer ID.
|
|
1318
1404
|
*/
|
|
@@ -1326,7 +1412,7 @@ export type GetAclRequest = {
|
|
|
1326
1412
|
/**
|
|
1327
1413
|
* Region to target. If none is passed will use default region from the config.
|
|
1328
1414
|
*/
|
|
1329
|
-
region?: Region;
|
|
1415
|
+
region?: Region | null;
|
|
1330
1416
|
/**
|
|
1331
1417
|
* ACL ID.
|
|
1332
1418
|
*/
|
|
@@ -1336,7 +1422,7 @@ export type GetBackendRequest = {
|
|
|
1336
1422
|
/**
|
|
1337
1423
|
* Region to target. If none is passed will use default region from the config.
|
|
1338
1424
|
*/
|
|
1339
|
-
region?: Region;
|
|
1425
|
+
region?: Region | null;
|
|
1340
1426
|
/**
|
|
1341
1427
|
* Backend ID.
|
|
1342
1428
|
*/
|
|
@@ -1346,7 +1432,7 @@ export type GetCertificateRequest = {
|
|
|
1346
1432
|
/**
|
|
1347
1433
|
* Region to target. If none is passed will use default region from the config.
|
|
1348
1434
|
*/
|
|
1349
|
-
region?: Region;
|
|
1435
|
+
region?: Region | null;
|
|
1350
1436
|
/**
|
|
1351
1437
|
* Certificate ID.
|
|
1352
1438
|
*/
|
|
@@ -1356,7 +1442,7 @@ export type GetFrontendRequest = {
|
|
|
1356
1442
|
/**
|
|
1357
1443
|
* Region to target. If none is passed will use default region from the config.
|
|
1358
1444
|
*/
|
|
1359
|
-
region?: Region;
|
|
1445
|
+
region?: Region | null;
|
|
1360
1446
|
/**
|
|
1361
1447
|
* Frontend ID.
|
|
1362
1448
|
*/
|
|
@@ -1366,7 +1452,7 @@ export type GetIpRequest = {
|
|
|
1366
1452
|
/**
|
|
1367
1453
|
* Region to target. If none is passed will use default region from the config.
|
|
1368
1454
|
*/
|
|
1369
|
-
region?: Region;
|
|
1455
|
+
region?: Region | null;
|
|
1370
1456
|
/**
|
|
1371
1457
|
* IP address ID.
|
|
1372
1458
|
*/
|
|
@@ -1376,7 +1462,7 @@ export type GetLbRequest = {
|
|
|
1376
1462
|
/**
|
|
1377
1463
|
* Region to target. If none is passed will use default region from the config.
|
|
1378
1464
|
*/
|
|
1379
|
-
region?: Region;
|
|
1465
|
+
region?: Region | null;
|
|
1380
1466
|
/**
|
|
1381
1467
|
* Load Balancer ID.
|
|
1382
1468
|
*/
|
|
@@ -1389,7 +1475,7 @@ export type GetLbStatsRequest = {
|
|
|
1389
1475
|
/**
|
|
1390
1476
|
* Region to target. If none is passed will use default region from the config.
|
|
1391
1477
|
*/
|
|
1392
|
-
region?: Region;
|
|
1478
|
+
region?: Region | null;
|
|
1393
1479
|
/**
|
|
1394
1480
|
* Load Balancer ID.
|
|
1395
1481
|
*/
|
|
@@ -1397,13 +1483,13 @@ export type GetLbStatsRequest = {
|
|
|
1397
1483
|
/**
|
|
1398
1484
|
* ID of the backend.
|
|
1399
1485
|
*/
|
|
1400
|
-
backendId?: string;
|
|
1486
|
+
backendId?: string | null;
|
|
1401
1487
|
};
|
|
1402
1488
|
export type GetRouteRequest = {
|
|
1403
1489
|
/**
|
|
1404
1490
|
* Region to target. If none is passed will use default region from the config.
|
|
1405
1491
|
*/
|
|
1406
|
-
region?: Region;
|
|
1492
|
+
region?: Region | null;
|
|
1407
1493
|
/**
|
|
1408
1494
|
* Route ID.
|
|
1409
1495
|
*/
|
|
@@ -1413,7 +1499,7 @@ export type GetSubscriberRequest = {
|
|
|
1413
1499
|
/**
|
|
1414
1500
|
* Region to target. If none is passed will use default region from the config.
|
|
1415
1501
|
*/
|
|
1416
|
-
region?: Region;
|
|
1502
|
+
region?: Region | null;
|
|
1417
1503
|
/**
|
|
1418
1504
|
* Subscriber ID.
|
|
1419
1505
|
*/
|
|
@@ -1439,7 +1525,7 @@ export type ListAclsRequest = {
|
|
|
1439
1525
|
/**
|
|
1440
1526
|
* Region to target. If none is passed will use default region from the config.
|
|
1441
1527
|
*/
|
|
1442
|
-
region?: Region;
|
|
1528
|
+
region?: Region | null;
|
|
1443
1529
|
/**
|
|
1444
1530
|
* Frontend ID (ACLs attached to this frontend will be returned in the response).
|
|
1445
1531
|
*/
|
|
@@ -1447,25 +1533,25 @@ export type ListAclsRequest = {
|
|
|
1447
1533
|
/**
|
|
1448
1534
|
* Sort order of ACLs in the response.
|
|
1449
1535
|
*/
|
|
1450
|
-
orderBy?: ListAclRequestOrderBy;
|
|
1536
|
+
orderBy?: ListAclRequestOrderBy | null;
|
|
1451
1537
|
/**
|
|
1452
1538
|
* The page number to return, from the paginated results.
|
|
1453
1539
|
*/
|
|
1454
|
-
page?: number;
|
|
1540
|
+
page?: number | null;
|
|
1455
1541
|
/**
|
|
1456
1542
|
* The number of ACLs to return.
|
|
1457
1543
|
*/
|
|
1458
|
-
pageSize?: number;
|
|
1544
|
+
pageSize?: number | null;
|
|
1459
1545
|
/**
|
|
1460
1546
|
* ACL name to filter for.
|
|
1461
1547
|
*/
|
|
1462
|
-
name?: string;
|
|
1548
|
+
name?: string | null;
|
|
1463
1549
|
};
|
|
1464
1550
|
export type ListBackendStatsRequest = {
|
|
1465
1551
|
/**
|
|
1466
1552
|
* Region to target. If none is passed will use default region from the config.
|
|
1467
1553
|
*/
|
|
1468
|
-
region?: Region;
|
|
1554
|
+
region?: Region | null;
|
|
1469
1555
|
/**
|
|
1470
1556
|
* Load Balancer ID.
|
|
1471
1557
|
*/
|
|
@@ -1473,15 +1559,15 @@ export type ListBackendStatsRequest = {
|
|
|
1473
1559
|
/**
|
|
1474
1560
|
* The page number to return, from the paginated results.
|
|
1475
1561
|
*/
|
|
1476
|
-
page?: number;
|
|
1562
|
+
page?: number | null;
|
|
1477
1563
|
/**
|
|
1478
1564
|
* Number of items to return.
|
|
1479
1565
|
*/
|
|
1480
|
-
pageSize?: number;
|
|
1566
|
+
pageSize?: number | null;
|
|
1481
1567
|
/**
|
|
1482
1568
|
* ID of the backend.
|
|
1483
1569
|
*/
|
|
1484
|
-
backendId?: string;
|
|
1570
|
+
backendId?: string | null;
|
|
1485
1571
|
};
|
|
1486
1572
|
export interface ListBackendStatsResponse {
|
|
1487
1573
|
/**
|
|
@@ -1497,7 +1583,7 @@ export type ListBackendsRequest = {
|
|
|
1497
1583
|
/**
|
|
1498
1584
|
* Region to target. If none is passed will use default region from the config.
|
|
1499
1585
|
*/
|
|
1500
|
-
region?: Region;
|
|
1586
|
+
region?: Region | null;
|
|
1501
1587
|
/**
|
|
1502
1588
|
* Load Balancer ID.
|
|
1503
1589
|
*/
|
|
@@ -1505,19 +1591,19 @@ export type ListBackendsRequest = {
|
|
|
1505
1591
|
/**
|
|
1506
1592
|
* Name of the backend to filter for.
|
|
1507
1593
|
*/
|
|
1508
|
-
name?: string;
|
|
1594
|
+
name?: string | null;
|
|
1509
1595
|
/**
|
|
1510
1596
|
* Sort order of backends in the response.
|
|
1511
1597
|
*/
|
|
1512
|
-
orderBy?: ListBackendsRequestOrderBy;
|
|
1598
|
+
orderBy?: ListBackendsRequestOrderBy | null;
|
|
1513
1599
|
/**
|
|
1514
1600
|
* The page number to return, from the paginated results.
|
|
1515
1601
|
*/
|
|
1516
|
-
page?: number;
|
|
1602
|
+
page?: number | null;
|
|
1517
1603
|
/**
|
|
1518
1604
|
* Number of backends to return.
|
|
1519
1605
|
*/
|
|
1520
|
-
pageSize?: number;
|
|
1606
|
+
pageSize?: number | null;
|
|
1521
1607
|
};
|
|
1522
1608
|
export interface ListBackendsResponse {
|
|
1523
1609
|
/**
|
|
@@ -1533,7 +1619,7 @@ export type ListCertificatesRequest = {
|
|
|
1533
1619
|
/**
|
|
1534
1620
|
* Region to target. If none is passed will use default region from the config.
|
|
1535
1621
|
*/
|
|
1536
|
-
region?: Region;
|
|
1622
|
+
region?: Region | null;
|
|
1537
1623
|
/**
|
|
1538
1624
|
* Load Balancer ID.
|
|
1539
1625
|
*/
|
|
@@ -1541,19 +1627,19 @@ export type ListCertificatesRequest = {
|
|
|
1541
1627
|
/**
|
|
1542
1628
|
* Sort order of certificates in the response.
|
|
1543
1629
|
*/
|
|
1544
|
-
orderBy?: ListCertificatesRequestOrderBy;
|
|
1630
|
+
orderBy?: ListCertificatesRequestOrderBy | null;
|
|
1545
1631
|
/**
|
|
1546
1632
|
* The page number to return, from the paginated results.
|
|
1547
1633
|
*/
|
|
1548
|
-
page?: number;
|
|
1634
|
+
page?: number | null;
|
|
1549
1635
|
/**
|
|
1550
1636
|
* Number of certificates to return.
|
|
1551
1637
|
*/
|
|
1552
|
-
pageSize?: number;
|
|
1638
|
+
pageSize?: number | null;
|
|
1553
1639
|
/**
|
|
1554
1640
|
* Certificate name to filter for, only certificates of this name will be returned.
|
|
1555
1641
|
*/
|
|
1556
|
-
name?: string;
|
|
1642
|
+
name?: string | null;
|
|
1557
1643
|
};
|
|
1558
1644
|
export interface ListCertificatesResponse {
|
|
1559
1645
|
/**
|
|
@@ -1569,7 +1655,7 @@ export type ListFrontendsRequest = {
|
|
|
1569
1655
|
/**
|
|
1570
1656
|
* Region to target. If none is passed will use default region from the config.
|
|
1571
1657
|
*/
|
|
1572
|
-
region?: Region;
|
|
1658
|
+
region?: Region | null;
|
|
1573
1659
|
/**
|
|
1574
1660
|
* Load Balancer ID.
|
|
1575
1661
|
*/
|
|
@@ -1577,19 +1663,19 @@ export type ListFrontendsRequest = {
|
|
|
1577
1663
|
/**
|
|
1578
1664
|
* Name of the frontend to filter for.
|
|
1579
1665
|
*/
|
|
1580
|
-
name?: string;
|
|
1666
|
+
name?: string | null;
|
|
1581
1667
|
/**
|
|
1582
1668
|
* Sort order of frontends in the response.
|
|
1583
1669
|
*/
|
|
1584
|
-
orderBy?: ListFrontendsRequestOrderBy;
|
|
1670
|
+
orderBy?: ListFrontendsRequestOrderBy | null;
|
|
1585
1671
|
/**
|
|
1586
1672
|
* The page number to return, from the paginated results.
|
|
1587
1673
|
*/
|
|
1588
|
-
page?: number;
|
|
1674
|
+
page?: number | null;
|
|
1589
1675
|
/**
|
|
1590
1676
|
* Number of frontends to return.
|
|
1591
1677
|
*/
|
|
1592
|
-
pageSize?: number;
|
|
1678
|
+
pageSize?: number | null;
|
|
1593
1679
|
};
|
|
1594
1680
|
export interface ListFrontendsResponse {
|
|
1595
1681
|
/**
|
|
@@ -1605,35 +1691,39 @@ export type ListIPsRequest = {
|
|
|
1605
1691
|
/**
|
|
1606
1692
|
* Region to target. If none is passed will use default region from the config.
|
|
1607
1693
|
*/
|
|
1608
|
-
region?: Region;
|
|
1694
|
+
region?: Region | null;
|
|
1609
1695
|
/**
|
|
1610
1696
|
* The page number to return, from the paginated results.
|
|
1611
1697
|
*/
|
|
1612
|
-
page?: number;
|
|
1698
|
+
page?: number | null;
|
|
1613
1699
|
/**
|
|
1614
1700
|
* Number of IP addresses to return.
|
|
1615
1701
|
*/
|
|
1616
|
-
pageSize?: number;
|
|
1702
|
+
pageSize?: number | null;
|
|
1617
1703
|
/**
|
|
1618
1704
|
* IP address to filter for.
|
|
1619
1705
|
*/
|
|
1620
|
-
ipAddress?: string;
|
|
1706
|
+
ipAddress?: string | null;
|
|
1621
1707
|
/**
|
|
1622
1708
|
* Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
|
|
1623
1709
|
*/
|
|
1624
|
-
organizationId?: string;
|
|
1710
|
+
organizationId?: string | null;
|
|
1625
1711
|
/**
|
|
1626
1712
|
* Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
|
|
1627
1713
|
*/
|
|
1628
|
-
projectId?: string;
|
|
1714
|
+
projectId?: string | null;
|
|
1629
1715
|
/**
|
|
1630
1716
|
* IP type to filter for.
|
|
1631
1717
|
*/
|
|
1632
|
-
ipType?: ListIpsRequestIpType;
|
|
1718
|
+
ipType?: ListIpsRequestIpType | null;
|
|
1633
1719
|
/**
|
|
1634
1720
|
* Tag to filter for, only IPs with one or more matching tags will be returned.
|
|
1635
1721
|
*/
|
|
1636
|
-
tags?: string[];
|
|
1722
|
+
tags?: string[] | null;
|
|
1723
|
+
/**
|
|
1724
|
+
* Defines whether to filter only for Flexible IPs which are attached to a Load Balancer.
|
|
1725
|
+
*/
|
|
1726
|
+
attached?: boolean | null;
|
|
1637
1727
|
};
|
|
1638
1728
|
export interface ListIpsResponse {
|
|
1639
1729
|
/**
|
|
@@ -1649,7 +1739,7 @@ export type ListLbPrivateNetworksRequest = {
|
|
|
1649
1739
|
/**
|
|
1650
1740
|
* Region to target. If none is passed will use default region from the config.
|
|
1651
1741
|
*/
|
|
1652
|
-
region?: Region;
|
|
1742
|
+
region?: Region | null;
|
|
1653
1743
|
/**
|
|
1654
1744
|
* Load Balancer ID.
|
|
1655
1745
|
*/
|
|
@@ -1657,15 +1747,15 @@ export type ListLbPrivateNetworksRequest = {
|
|
|
1657
1747
|
/**
|
|
1658
1748
|
* Sort order of Private Network objects in the response.
|
|
1659
1749
|
*/
|
|
1660
|
-
orderBy?: ListPrivateNetworksRequestOrderBy;
|
|
1750
|
+
orderBy?: ListPrivateNetworksRequestOrderBy | null;
|
|
1661
1751
|
/**
|
|
1662
1752
|
* Number of objects to return.
|
|
1663
1753
|
*/
|
|
1664
|
-
pageSize?: number;
|
|
1754
|
+
pageSize?: number | null;
|
|
1665
1755
|
/**
|
|
1666
1756
|
* The page number to return, from the paginated results.
|
|
1667
1757
|
*/
|
|
1668
|
-
page?: number;
|
|
1758
|
+
page?: number | null;
|
|
1669
1759
|
};
|
|
1670
1760
|
export interface ListLbPrivateNetworksResponse {
|
|
1671
1761
|
/**
|
|
@@ -1681,15 +1771,15 @@ export type ListLbTypesRequest = {
|
|
|
1681
1771
|
/**
|
|
1682
1772
|
* Region to target. If none is passed will use default region from the config.
|
|
1683
1773
|
*/
|
|
1684
|
-
region?: Region;
|
|
1774
|
+
region?: Region | null;
|
|
1685
1775
|
/**
|
|
1686
1776
|
* The page number to return, from the paginated results.
|
|
1687
1777
|
*/
|
|
1688
|
-
page?: number;
|
|
1778
|
+
page?: number | null;
|
|
1689
1779
|
/**
|
|
1690
1780
|
* The number of items to return.
|
|
1691
1781
|
*/
|
|
1692
|
-
pageSize?: number;
|
|
1782
|
+
pageSize?: number | null;
|
|
1693
1783
|
};
|
|
1694
1784
|
export interface ListLbTypesResponse {
|
|
1695
1785
|
/**
|
|
@@ -1705,39 +1795,39 @@ export type ListLbsRequest = {
|
|
|
1705
1795
|
/**
|
|
1706
1796
|
* Region to target. If none is passed will use default region from the config.
|
|
1707
1797
|
*/
|
|
1708
|
-
region?: Region;
|
|
1798
|
+
region?: Region | null;
|
|
1709
1799
|
/**
|
|
1710
1800
|
* Load Balancer name to filter for.
|
|
1711
1801
|
*/
|
|
1712
|
-
name?: string;
|
|
1802
|
+
name?: string | null;
|
|
1713
1803
|
/**
|
|
1714
1804
|
* Sort order of Load Balancers in the response.
|
|
1715
1805
|
*/
|
|
1716
|
-
orderBy?: ListLbsRequestOrderBy;
|
|
1806
|
+
orderBy?: ListLbsRequestOrderBy | null;
|
|
1717
1807
|
/**
|
|
1718
1808
|
* Number of Load Balancers to return.
|
|
1719
1809
|
*/
|
|
1720
|
-
pageSize?: number;
|
|
1810
|
+
pageSize?: number | null;
|
|
1721
1811
|
/**
|
|
1722
1812
|
* Page number to return, from the paginated results.
|
|
1723
1813
|
*/
|
|
1724
|
-
page?: number;
|
|
1814
|
+
page?: number | null;
|
|
1725
1815
|
/**
|
|
1726
1816
|
* Organization ID to filter for, only Load Balancers from this Organization will be returned.
|
|
1727
1817
|
*/
|
|
1728
|
-
organizationId?: string;
|
|
1818
|
+
organizationId?: string | null;
|
|
1729
1819
|
/**
|
|
1730
1820
|
* Project ID to filter for, only Load Balancers from this Project will be returned.
|
|
1731
1821
|
*/
|
|
1732
|
-
projectId?: string;
|
|
1822
|
+
projectId?: string | null;
|
|
1733
1823
|
/**
|
|
1734
1824
|
* Filter by tag, only Load Balancers with one or more matching tags will be returned.
|
|
1735
1825
|
*/
|
|
1736
|
-
tags?: string[];
|
|
1826
|
+
tags?: string[] | null;
|
|
1737
1827
|
/**
|
|
1738
1828
|
* Filter by lb_ids, only Load Balancers with these IDs will be returned.
|
|
1739
1829
|
*/
|
|
1740
|
-
lbIds?: string[];
|
|
1830
|
+
lbIds?: string[] | null;
|
|
1741
1831
|
};
|
|
1742
1832
|
export interface ListLbsResponse {
|
|
1743
1833
|
/**
|
|
@@ -1753,23 +1843,23 @@ export type ListRoutesRequest = {
|
|
|
1753
1843
|
/**
|
|
1754
1844
|
* Region to target. If none is passed will use default region from the config.
|
|
1755
1845
|
*/
|
|
1756
|
-
region?: Region;
|
|
1846
|
+
region?: Region | null;
|
|
1757
1847
|
/**
|
|
1758
1848
|
* Sort order of routes in the response.
|
|
1759
1849
|
*/
|
|
1760
|
-
orderBy?: ListRoutesRequestOrderBy;
|
|
1850
|
+
orderBy?: ListRoutesRequestOrderBy | null;
|
|
1761
1851
|
/**
|
|
1762
1852
|
* The number of route objects to return.
|
|
1763
1853
|
*/
|
|
1764
|
-
pageSize?: number;
|
|
1854
|
+
pageSize?: number | null;
|
|
1765
1855
|
/**
|
|
1766
1856
|
* The page number to return, from the paginated results.
|
|
1767
1857
|
*/
|
|
1768
|
-
page?: number;
|
|
1858
|
+
page?: number | null;
|
|
1769
1859
|
/**
|
|
1770
1860
|
* Frontend ID to filter for, only Routes from this Frontend will be returned.
|
|
1771
1861
|
*/
|
|
1772
|
-
frontendId?: string;
|
|
1862
|
+
frontendId?: string | null;
|
|
1773
1863
|
};
|
|
1774
1864
|
export interface ListRoutesResponse {
|
|
1775
1865
|
/**
|
|
@@ -1785,31 +1875,31 @@ export type ListSubscriberRequest = {
|
|
|
1785
1875
|
/**
|
|
1786
1876
|
* Region to target. If none is passed will use default region from the config.
|
|
1787
1877
|
*/
|
|
1788
|
-
region?: Region;
|
|
1878
|
+
region?: Region | null;
|
|
1789
1879
|
/**
|
|
1790
1880
|
* Sort order of subscribers in the response.
|
|
1791
1881
|
*/
|
|
1792
|
-
orderBy?: ListSubscriberRequestOrderBy;
|
|
1882
|
+
orderBy?: ListSubscriberRequestOrderBy | null;
|
|
1793
1883
|
/**
|
|
1794
1884
|
* The page number to return, from the paginated results.
|
|
1795
1885
|
*/
|
|
1796
|
-
page?: number;
|
|
1886
|
+
page?: number | null;
|
|
1797
1887
|
/**
|
|
1798
1888
|
* The number of items to return.
|
|
1799
1889
|
*/
|
|
1800
|
-
pageSize?: number;
|
|
1890
|
+
pageSize?: number | null;
|
|
1801
1891
|
/**
|
|
1802
1892
|
* Subscriber name to search for.
|
|
1803
1893
|
*/
|
|
1804
|
-
name?: string;
|
|
1894
|
+
name?: string | null;
|
|
1805
1895
|
/**
|
|
1806
1896
|
* Filter subscribers by Organization ID.
|
|
1807
1897
|
*/
|
|
1808
|
-
organizationId?: string;
|
|
1898
|
+
organizationId?: string | null;
|
|
1809
1899
|
/**
|
|
1810
1900
|
* Filter subscribers by Project ID.
|
|
1811
1901
|
*/
|
|
1812
|
-
projectId?: string;
|
|
1902
|
+
projectId?: string | null;
|
|
1813
1903
|
};
|
|
1814
1904
|
export interface ListSubscriberResponse {
|
|
1815
1905
|
/**
|
|
@@ -1825,7 +1915,7 @@ export type MigrateLbRequest = {
|
|
|
1825
1915
|
/**
|
|
1826
1916
|
* Region to target. If none is passed will use default region from the config.
|
|
1827
1917
|
*/
|
|
1828
|
-
region?: Region;
|
|
1918
|
+
region?: Region | null;
|
|
1829
1919
|
/**
|
|
1830
1920
|
* Load Balancer ID.
|
|
1831
1921
|
*/
|
|
@@ -1839,7 +1929,7 @@ export type ReleaseIpRequest = {
|
|
|
1839
1929
|
/**
|
|
1840
1930
|
* Region to target. If none is passed will use default region from the config.
|
|
1841
1931
|
*/
|
|
1842
|
-
region?: Region;
|
|
1932
|
+
region?: Region | null;
|
|
1843
1933
|
/**
|
|
1844
1934
|
* IP address ID.
|
|
1845
1935
|
*/
|
|
@@ -1849,7 +1939,7 @@ export type RemoveBackendServersRequest = {
|
|
|
1849
1939
|
/**
|
|
1850
1940
|
* Region to target. If none is passed will use default region from the config.
|
|
1851
1941
|
*/
|
|
1852
|
-
region?: Region;
|
|
1942
|
+
region?: Region | null;
|
|
1853
1943
|
/**
|
|
1854
1944
|
* Backend ID.
|
|
1855
1945
|
*/
|
|
@@ -1873,7 +1963,7 @@ export type SetBackendServersRequest = {
|
|
|
1873
1963
|
/**
|
|
1874
1964
|
* Region to target. If none is passed will use default region from the config.
|
|
1875
1965
|
*/
|
|
1876
|
-
region?: Region;
|
|
1966
|
+
region?: Region | null;
|
|
1877
1967
|
/**
|
|
1878
1968
|
* Backend ID.
|
|
1879
1969
|
*/
|
|
@@ -1887,7 +1977,7 @@ export type SubscribeToLbRequest = {
|
|
|
1887
1977
|
/**
|
|
1888
1978
|
* Region to target. If none is passed will use default region from the config.
|
|
1889
1979
|
*/
|
|
1890
|
-
region?: Region;
|
|
1980
|
+
region?: Region | null;
|
|
1891
1981
|
/**
|
|
1892
1982
|
* Load Balancer ID.
|
|
1893
1983
|
*/
|
|
@@ -1901,7 +1991,7 @@ export type UnsubscribeFromLbRequest = {
|
|
|
1901
1991
|
/**
|
|
1902
1992
|
* Region to target. If none is passed will use default region from the config.
|
|
1903
1993
|
*/
|
|
1904
|
-
region?: Region;
|
|
1994
|
+
region?: Region | null;
|
|
1905
1995
|
/**
|
|
1906
1996
|
* Load Balancer ID.
|
|
1907
1997
|
*/
|
|
@@ -1911,7 +2001,7 @@ export type UpdateAclRequest = {
|
|
|
1911
2001
|
/**
|
|
1912
2002
|
* Region to target. If none is passed will use default region from the config.
|
|
1913
2003
|
*/
|
|
1914
|
-
region?: Region;
|
|
2004
|
+
region?: Region | null;
|
|
1915
2005
|
/**
|
|
1916
2006
|
* ACL ID.
|
|
1917
2007
|
*/
|
|
@@ -1927,7 +2017,7 @@ export type UpdateAclRequest = {
|
|
|
1927
2017
|
/**
|
|
1928
2018
|
* ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
|
|
1929
2019
|
*/
|
|
1930
|
-
match?: AclMatch;
|
|
2020
|
+
match?: AclMatch | null;
|
|
1931
2021
|
/**
|
|
1932
2022
|
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
1933
2023
|
*/
|
|
@@ -1935,13 +2025,13 @@ export type UpdateAclRequest = {
|
|
|
1935
2025
|
/**
|
|
1936
2026
|
* ACL description.
|
|
1937
2027
|
*/
|
|
1938
|
-
description?: string;
|
|
2028
|
+
description?: string | null;
|
|
1939
2029
|
};
|
|
1940
2030
|
export type UpdateBackendRequest = {
|
|
1941
2031
|
/**
|
|
1942
2032
|
* Region to target. If none is passed will use default region from the config.
|
|
1943
2033
|
*/
|
|
1944
|
-
region?: Region;
|
|
2034
|
+
region?: Region | null;
|
|
1945
2035
|
/**
|
|
1946
2036
|
* Backend ID.
|
|
1947
2037
|
*/
|
|
@@ -1973,65 +2063,65 @@ export type UpdateBackendRequest = {
|
|
|
1973
2063
|
/**
|
|
1974
2064
|
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
1975
2065
|
*/
|
|
1976
|
-
sendProxyV2?: boolean;
|
|
2066
|
+
sendProxyV2?: boolean | null;
|
|
1977
2067
|
/**
|
|
1978
2068
|
* Maximum allowed time for a backend server to process a request.
|
|
1979
2069
|
*/
|
|
1980
|
-
timeoutServer?: string;
|
|
2070
|
+
timeoutServer?: string | null;
|
|
1981
2071
|
/**
|
|
1982
2072
|
* Maximum allowed time for establishing a connection to a backend server.
|
|
1983
2073
|
*/
|
|
1984
|
-
timeoutConnect?: string;
|
|
2074
|
+
timeoutConnect?: string | null;
|
|
1985
2075
|
/**
|
|
1986
2076
|
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
1987
2077
|
*/
|
|
1988
|
-
timeoutTunnel?: string;
|
|
2078
|
+
timeoutTunnel?: string | null;
|
|
1989
2079
|
/**
|
|
1990
2080
|
* Action to take when a backend server is marked as down.
|
|
1991
2081
|
*/
|
|
1992
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
2082
|
+
onMarkedDownAction?: OnMarkedDownAction | null;
|
|
1993
2083
|
/**
|
|
1994
2084
|
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
1995
2085
|
*/
|
|
1996
|
-
proxyProtocol?: ProxyProtocol;
|
|
2086
|
+
proxyProtocol?: ProxyProtocol | null;
|
|
1997
2087
|
/**
|
|
1998
2088
|
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
1999
2089
|
*/
|
|
2000
|
-
failoverHost?: string;
|
|
2090
|
+
failoverHost?: string | null;
|
|
2001
2091
|
/**
|
|
2002
2092
|
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
2003
2093
|
*/
|
|
2004
|
-
sslBridging?: boolean;
|
|
2094
|
+
sslBridging?: boolean | null;
|
|
2005
2095
|
/**
|
|
2006
2096
|
* Defines whether the server certificate verification should be ignored.
|
|
2007
2097
|
*/
|
|
2008
|
-
ignoreSslServerVerify?: boolean;
|
|
2098
|
+
ignoreSslServerVerify?: boolean | null;
|
|
2009
2099
|
/**
|
|
2010
2100
|
* Whether to use another backend server on each attempt.
|
|
2011
2101
|
*/
|
|
2012
|
-
redispatchAttemptCount?: number;
|
|
2102
|
+
redispatchAttemptCount?: number | null;
|
|
2013
2103
|
/**
|
|
2014
2104
|
* Number of retries when a backend server connection failed.
|
|
2015
2105
|
*/
|
|
2016
|
-
maxRetries?: number;
|
|
2106
|
+
maxRetries?: number | null;
|
|
2017
2107
|
/**
|
|
2018
2108
|
* Maximum number of connections allowed per backend server.
|
|
2019
2109
|
*/
|
|
2020
|
-
maxConnections?: number;
|
|
2110
|
+
maxConnections?: number | null;
|
|
2021
2111
|
/**
|
|
2022
2112
|
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
2023
2113
|
*/
|
|
2024
|
-
timeoutQueue?: string;
|
|
2114
|
+
timeoutQueue?: string | null;
|
|
2025
2115
|
/**
|
|
2026
2116
|
* When connecting to backend servers, use this value as the HTTP Host header or TLS SNI. This allows routing to specific services on the backend server that are configured to respond to particular hostnames.
|
|
2027
2117
|
*/
|
|
2028
|
-
host?: string;
|
|
2118
|
+
host?: string | null;
|
|
2029
2119
|
};
|
|
2030
2120
|
export type UpdateCertificateRequest = {
|
|
2031
2121
|
/**
|
|
2032
2122
|
* Region to target. If none is passed will use default region from the config.
|
|
2033
2123
|
*/
|
|
2034
|
-
region?: Region;
|
|
2124
|
+
region?: Region | null;
|
|
2035
2125
|
/**
|
|
2036
2126
|
* Certificate ID.
|
|
2037
2127
|
*/
|
|
@@ -2045,7 +2135,7 @@ export type UpdateFrontendRequest = {
|
|
|
2045
2135
|
/**
|
|
2046
2136
|
* Region to target. If none is passed will use default region from the config.
|
|
2047
2137
|
*/
|
|
2048
|
-
region?: Region;
|
|
2138
|
+
region?: Region | null;
|
|
2049
2139
|
/**
|
|
2050
2140
|
* Frontend ID.
|
|
2051
2141
|
*/
|
|
@@ -2065,15 +2155,15 @@ export type UpdateFrontendRequest = {
|
|
|
2065
2155
|
/**
|
|
2066
2156
|
* Maximum allowed inactivity time on the client side.
|
|
2067
2157
|
*/
|
|
2068
|
-
timeoutClient?: string;
|
|
2158
|
+
timeoutClient?: string | null;
|
|
2069
2159
|
/**
|
|
2070
2160
|
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
2071
2161
|
*/
|
|
2072
|
-
certificateId?: string;
|
|
2162
|
+
certificateId?: string | null;
|
|
2073
2163
|
/**
|
|
2074
2164
|
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
2075
2165
|
*/
|
|
2076
|
-
certificateIds?: string[];
|
|
2166
|
+
certificateIds?: string[] | null;
|
|
2077
2167
|
/**
|
|
2078
2168
|
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
2079
2169
|
*/
|
|
@@ -2081,17 +2171,17 @@ export type UpdateFrontendRequest = {
|
|
|
2081
2171
|
/**
|
|
2082
2172
|
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
2083
2173
|
*/
|
|
2084
|
-
connectionRateLimit?: number;
|
|
2174
|
+
connectionRateLimit?: number | null;
|
|
2085
2175
|
/**
|
|
2086
2176
|
* Defines whether to enable access logs on the frontend.
|
|
2087
2177
|
*/
|
|
2088
|
-
enableAccessLogs?: boolean;
|
|
2178
|
+
enableAccessLogs?: boolean | null;
|
|
2089
2179
|
};
|
|
2090
2180
|
export type UpdateHealthCheckRequest = {
|
|
2091
2181
|
/**
|
|
2092
2182
|
* Region to target. If none is passed will use default region from the config.
|
|
2093
2183
|
*/
|
|
2094
|
-
region?: Region;
|
|
2184
|
+
region?: Region | null;
|
|
2095
2185
|
/**
|
|
2096
2186
|
* Backend ID.
|
|
2097
2187
|
*/
|
|
@@ -2103,11 +2193,11 @@ export type UpdateHealthCheckRequest = {
|
|
|
2103
2193
|
/**
|
|
2104
2194
|
* Time to wait between two consecutive health checks.
|
|
2105
2195
|
*/
|
|
2106
|
-
checkDelay?: string;
|
|
2196
|
+
checkDelay?: string | null;
|
|
2107
2197
|
/**
|
|
2108
2198
|
* Maximum time a backend server has to reply to the health check.
|
|
2109
2199
|
*/
|
|
2110
|
-
checkTimeout?: string;
|
|
2200
|
+
checkTimeout?: string | null;
|
|
2111
2201
|
/**
|
|
2112
2202
|
* Number of consecutive unsuccessful health checks after which the server will be considered dead.
|
|
2113
2203
|
*/
|
|
@@ -2121,53 +2211,53 @@ export type UpdateHealthCheckRequest = {
|
|
|
2121
2211
|
*
|
|
2122
2212
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2123
2213
|
*/
|
|
2124
|
-
tcpConfig?: HealthCheckTcpConfig;
|
|
2214
|
+
tcpConfig?: HealthCheckTcpConfig | null;
|
|
2125
2215
|
/**
|
|
2126
2216
|
* Object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
|
|
2127
2217
|
*
|
|
2128
2218
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2129
2219
|
*/
|
|
2130
|
-
mysqlConfig?: HealthCheckMysqlConfig;
|
|
2220
|
+
mysqlConfig?: HealthCheckMysqlConfig | null;
|
|
2131
2221
|
/**
|
|
2132
2222
|
* Object to configure a PostgreSQL health check.
|
|
2133
2223
|
*
|
|
2134
2224
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2135
2225
|
*/
|
|
2136
|
-
pgsqlConfig?: HealthCheckPgsqlConfig;
|
|
2226
|
+
pgsqlConfig?: HealthCheckPgsqlConfig | null;
|
|
2137
2227
|
/**
|
|
2138
2228
|
* Object to configure an LDAP health check. The response is analyzed to find the LDAPv3 response message.
|
|
2139
2229
|
*
|
|
2140
2230
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2141
2231
|
*/
|
|
2142
|
-
ldapConfig?: HealthCheckLdapConfig;
|
|
2232
|
+
ldapConfig?: HealthCheckLdapConfig | null;
|
|
2143
2233
|
/**
|
|
2144
2234
|
* Object to configure a Redis health check. The response is analyzed to find the +PONG response message.
|
|
2145
2235
|
*
|
|
2146
2236
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2147
2237
|
*/
|
|
2148
|
-
redisConfig?: HealthCheckRedisConfig;
|
|
2238
|
+
redisConfig?: HealthCheckRedisConfig | null;
|
|
2149
2239
|
/**
|
|
2150
2240
|
* Object to configure an HTTP health check.
|
|
2151
2241
|
*
|
|
2152
2242
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2153
2243
|
*/
|
|
2154
|
-
httpConfig?: HealthCheckHttpConfig;
|
|
2244
|
+
httpConfig?: HealthCheckHttpConfig | null;
|
|
2155
2245
|
/**
|
|
2156
2246
|
* Object to configure an HTTPS health check.
|
|
2157
2247
|
*
|
|
2158
2248
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
2159
2249
|
*/
|
|
2160
|
-
httpsConfig?: HealthCheckHttpsConfig;
|
|
2250
|
+
httpsConfig?: HealthCheckHttpsConfig | null;
|
|
2161
2251
|
/**
|
|
2162
2252
|
* Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
|
|
2163
2253
|
*/
|
|
2164
|
-
transientCheckDelay?: string;
|
|
2254
|
+
transientCheckDelay?: string | null;
|
|
2165
2255
|
};
|
|
2166
2256
|
export type UpdateIpRequest = {
|
|
2167
2257
|
/**
|
|
2168
2258
|
* Region to target. If none is passed will use default region from the config.
|
|
2169
2259
|
*/
|
|
2170
|
-
region?: Region;
|
|
2260
|
+
region?: Region | null;
|
|
2171
2261
|
/**
|
|
2172
2262
|
* IP address ID.
|
|
2173
2263
|
*/
|
|
@@ -2175,21 +2265,21 @@ export type UpdateIpRequest = {
|
|
|
2175
2265
|
/**
|
|
2176
2266
|
* Reverse DNS (domain name) for the IP address.
|
|
2177
2267
|
*/
|
|
2178
|
-
reverse?: string;
|
|
2268
|
+
reverse?: string | null;
|
|
2179
2269
|
/**
|
|
2180
2270
|
* ID of the server on which to attach the flexible IP.
|
|
2181
2271
|
*/
|
|
2182
|
-
lbId?: string;
|
|
2272
|
+
lbId?: string | null;
|
|
2183
2273
|
/**
|
|
2184
2274
|
* List of tags for the IP.
|
|
2185
2275
|
*/
|
|
2186
|
-
tags?: string[];
|
|
2276
|
+
tags?: string[] | null;
|
|
2187
2277
|
};
|
|
2188
2278
|
export type UpdateLbRequest = {
|
|
2189
2279
|
/**
|
|
2190
2280
|
* Region to target. If none is passed will use default region from the config.
|
|
2191
2281
|
*/
|
|
2192
|
-
region?: Region;
|
|
2282
|
+
region?: Region | null;
|
|
2193
2283
|
/**
|
|
2194
2284
|
* Load Balancer ID.
|
|
2195
2285
|
*/
|
|
@@ -2205,17 +2295,17 @@ export type UpdateLbRequest = {
|
|
|
2205
2295
|
/**
|
|
2206
2296
|
* List of tags for the Load Balancer.
|
|
2207
2297
|
*/
|
|
2208
|
-
tags?: string[];
|
|
2298
|
+
tags?: string[] | null;
|
|
2209
2299
|
/**
|
|
2210
2300
|
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
|
|
2211
2301
|
*/
|
|
2212
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
2302
|
+
sslCompatibilityLevel?: SSLCompatibilityLevel | null;
|
|
2213
2303
|
};
|
|
2214
2304
|
export type UpdateRouteRequest = {
|
|
2215
2305
|
/**
|
|
2216
2306
|
* Region to target. If none is passed will use default region from the config.
|
|
2217
2307
|
*/
|
|
2218
|
-
region?: Region;
|
|
2308
|
+
region?: Region | null;
|
|
2219
2309
|
/**
|
|
2220
2310
|
* Route ID.
|
|
2221
2311
|
*/
|
|
@@ -2227,13 +2317,13 @@ export type UpdateRouteRequest = {
|
|
|
2227
2317
|
/**
|
|
2228
2318
|
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
2229
2319
|
*/
|
|
2230
|
-
match?: RouteMatch;
|
|
2320
|
+
match?: RouteMatch | null;
|
|
2231
2321
|
};
|
|
2232
2322
|
export type UpdateSubscriberRequest = {
|
|
2233
2323
|
/**
|
|
2234
2324
|
* Region to target. If none is passed will use default region from the config.
|
|
2235
2325
|
*/
|
|
2236
|
-
region?: Region;
|
|
2326
|
+
region?: Region | null;
|
|
2237
2327
|
/**
|
|
2238
2328
|
* Subscriber ID.
|
|
2239
2329
|
*/
|
|
@@ -2247,19 +2337,19 @@ export type UpdateSubscriberRequest = {
|
|
|
2247
2337
|
*
|
|
2248
2338
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2249
2339
|
*/
|
|
2250
|
-
emailConfig?: SubscriberEmailConfig;
|
|
2340
|
+
emailConfig?: SubscriberEmailConfig | null;
|
|
2251
2341
|
/**
|
|
2252
2342
|
* Webhook URI configuration.
|
|
2253
2343
|
*
|
|
2254
2344
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2255
2345
|
*/
|
|
2256
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
2346
|
+
webhookConfig?: SubscriberWebhookConfig | null;
|
|
2257
2347
|
};
|
|
2258
2348
|
export type ZonedApiAddBackendServersRequest = {
|
|
2259
2349
|
/**
|
|
2260
2350
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2261
2351
|
*/
|
|
2262
|
-
zone?: Zone;
|
|
2352
|
+
zone?: Zone | null;
|
|
2263
2353
|
/**
|
|
2264
2354
|
* Backend ID.
|
|
2265
2355
|
*/
|
|
@@ -2269,11 +2359,25 @@ export type ZonedApiAddBackendServersRequest = {
|
|
|
2269
2359
|
*/
|
|
2270
2360
|
serverIp: string[];
|
|
2271
2361
|
};
|
|
2362
|
+
export type ZonedApiAttachIpamIPRequest = {
|
|
2363
|
+
/**
|
|
2364
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
2365
|
+
*/
|
|
2366
|
+
zone?: Zone | null;
|
|
2367
|
+
/**
|
|
2368
|
+
* Load Balancer ID.
|
|
2369
|
+
*/
|
|
2370
|
+
lbId: string;
|
|
2371
|
+
/**
|
|
2372
|
+
* ID of an IPAM IP address to attach to the Load Balancer.
|
|
2373
|
+
*/
|
|
2374
|
+
ipamIpIds: string[];
|
|
2375
|
+
};
|
|
2272
2376
|
export type ZonedApiAttachPrivateNetworkRequest = {
|
|
2273
2377
|
/**
|
|
2274
2378
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2275
2379
|
*/
|
|
2276
|
-
zone?: Zone;
|
|
2380
|
+
zone?: Zone | null;
|
|
2277
2381
|
/**
|
|
2278
2382
|
* Load Balancer ID.
|
|
2279
2383
|
*/
|
|
@@ -2287,23 +2391,23 @@ export type ZonedApiAttachPrivateNetworkRequest = {
|
|
|
2287
2391
|
*
|
|
2288
2392
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
2289
2393
|
*/
|
|
2290
|
-
staticConfig?: PrivateNetworkStaticConfig;
|
|
2394
|
+
staticConfig?: PrivateNetworkStaticConfig | null;
|
|
2291
2395
|
/**
|
|
2292
2396
|
* @deprecated Defines whether to let DHCP assign IP addresses.
|
|
2293
2397
|
*
|
|
2294
2398
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
2295
2399
|
*/
|
|
2296
|
-
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
2400
|
+
dhcpConfig?: PrivateNetworkDHCPConfig | null;
|
|
2297
2401
|
/**
|
|
2298
2402
|
* @deprecated For internal use only.
|
|
2299
2403
|
*
|
|
2300
2404
|
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig', 'ipamConfig' could be set.
|
|
2301
2405
|
*/
|
|
2302
|
-
ipamConfig?: PrivateNetworkIpamConfig;
|
|
2406
|
+
ipamConfig?: PrivateNetworkIpamConfig | null;
|
|
2303
2407
|
/**
|
|
2304
2408
|
* IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network. In the future, it will be possible to specify multiple IPs in this field (IPv4 and IPv6), for now only one ID of an IPv4 address is expected. When null, a new private IP address is created for the Load Balancer on this Private Network.
|
|
2305
2409
|
*/
|
|
2306
|
-
ipamIds?: string[];
|
|
2410
|
+
ipamIds?: string[] | null;
|
|
2307
2411
|
};
|
|
2308
2412
|
/**
|
|
2309
2413
|
* Add an ACL to a Load Balancer frontend.
|
|
@@ -2312,7 +2416,7 @@ export type ZonedApiCreateAclRequest = {
|
|
|
2312
2416
|
/**
|
|
2313
2417
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2314
2418
|
*/
|
|
2315
|
-
zone?: Zone;
|
|
2419
|
+
zone?: Zone | null;
|
|
2316
2420
|
/**
|
|
2317
2421
|
* Frontend ID to attach the ACL to.
|
|
2318
2422
|
*/
|
|
@@ -2320,7 +2424,7 @@ export type ZonedApiCreateAclRequest = {
|
|
|
2320
2424
|
/**
|
|
2321
2425
|
* ACL name.
|
|
2322
2426
|
*/
|
|
2323
|
-
name?: string;
|
|
2427
|
+
name?: string | null;
|
|
2324
2428
|
/**
|
|
2325
2429
|
* Action to take when incoming traffic matches an ACL filter.
|
|
2326
2430
|
*/
|
|
@@ -2328,7 +2432,7 @@ export type ZonedApiCreateAclRequest = {
|
|
|
2328
2432
|
/**
|
|
2329
2433
|
* ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
|
|
2330
2434
|
*/
|
|
2331
|
-
match?: AclMatch;
|
|
2435
|
+
match?: AclMatch | null;
|
|
2332
2436
|
/**
|
|
2333
2437
|
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
2334
2438
|
*/
|
|
@@ -2342,7 +2446,7 @@ export type ZonedApiCreateBackendRequest = {
|
|
|
2342
2446
|
/**
|
|
2343
2447
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2344
2448
|
*/
|
|
2345
|
-
zone?: Zone;
|
|
2449
|
+
zone?: Zone | null;
|
|
2346
2450
|
/**
|
|
2347
2451
|
* Load Balancer ID.
|
|
2348
2452
|
*/
|
|
@@ -2350,7 +2454,7 @@ export type ZonedApiCreateBackendRequest = {
|
|
|
2350
2454
|
/**
|
|
2351
2455
|
* Name for the backend.
|
|
2352
2456
|
*/
|
|
2353
|
-
name?: string;
|
|
2457
|
+
name?: string | null;
|
|
2354
2458
|
/**
|
|
2355
2459
|
* Protocol to be used by the backend when forwarding traffic to backend servers.
|
|
2356
2460
|
*/
|
|
@@ -2382,65 +2486,65 @@ export type ZonedApiCreateBackendRequest = {
|
|
|
2382
2486
|
/**
|
|
2383
2487
|
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
2384
2488
|
*/
|
|
2385
|
-
sendProxyV2?: boolean;
|
|
2489
|
+
sendProxyV2?: boolean | null;
|
|
2386
2490
|
/**
|
|
2387
2491
|
* Maximum allowed time for a backend server to process a request.
|
|
2388
2492
|
*/
|
|
2389
|
-
timeoutServer?: string;
|
|
2493
|
+
timeoutServer?: string | null;
|
|
2390
2494
|
/**
|
|
2391
2495
|
* Maximum allowed time for establishing a connection to a backend server.
|
|
2392
2496
|
*/
|
|
2393
|
-
timeoutConnect?: string;
|
|
2497
|
+
timeoutConnect?: string | null;
|
|
2394
2498
|
/**
|
|
2395
2499
|
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
2396
2500
|
*/
|
|
2397
|
-
timeoutTunnel?: string;
|
|
2501
|
+
timeoutTunnel?: string | null;
|
|
2398
2502
|
/**
|
|
2399
2503
|
* Action to take when a backend server is marked as down.
|
|
2400
2504
|
*/
|
|
2401
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
2505
|
+
onMarkedDownAction?: OnMarkedDownAction | null;
|
|
2402
2506
|
/**
|
|
2403
2507
|
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
2404
2508
|
*/
|
|
2405
|
-
proxyProtocol?: ProxyProtocol;
|
|
2509
|
+
proxyProtocol?: ProxyProtocol | null;
|
|
2406
2510
|
/**
|
|
2407
2511
|
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
2408
2512
|
*/
|
|
2409
|
-
failoverHost?: string;
|
|
2513
|
+
failoverHost?: string | null;
|
|
2410
2514
|
/**
|
|
2411
2515
|
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
2412
2516
|
*/
|
|
2413
|
-
sslBridging?: boolean;
|
|
2517
|
+
sslBridging?: boolean | null;
|
|
2414
2518
|
/**
|
|
2415
2519
|
* Defines whether the server certificate verification should be ignored.
|
|
2416
2520
|
*/
|
|
2417
|
-
ignoreSslServerVerify?: boolean;
|
|
2521
|
+
ignoreSslServerVerify?: boolean | null;
|
|
2418
2522
|
/**
|
|
2419
2523
|
* Whether to use another backend server on each attempt.
|
|
2420
2524
|
*/
|
|
2421
|
-
redispatchAttemptCount?: number;
|
|
2525
|
+
redispatchAttemptCount?: number | null;
|
|
2422
2526
|
/**
|
|
2423
2527
|
* Number of retries when a backend server connection failed.
|
|
2424
2528
|
*/
|
|
2425
|
-
maxRetries?: number;
|
|
2529
|
+
maxRetries?: number | null;
|
|
2426
2530
|
/**
|
|
2427
2531
|
* Maximum number of connections allowed per backend server.
|
|
2428
2532
|
*/
|
|
2429
|
-
maxConnections?: number;
|
|
2533
|
+
maxConnections?: number | null;
|
|
2430
2534
|
/**
|
|
2431
2535
|
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
2432
2536
|
*/
|
|
2433
|
-
timeoutQueue?: string;
|
|
2537
|
+
timeoutQueue?: string | null;
|
|
2434
2538
|
/**
|
|
2435
2539
|
* When connecting to backend servers, use this value as the HTTP Host header or TLS SNI. This allows routing to specific services on the backend server that are configured to respond to particular hostnames.
|
|
2436
2540
|
*/
|
|
2437
|
-
host?: string;
|
|
2541
|
+
host?: string | null;
|
|
2438
2542
|
};
|
|
2439
2543
|
export type ZonedApiCreateCertificateRequest = {
|
|
2440
2544
|
/**
|
|
2441
2545
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2442
2546
|
*/
|
|
2443
|
-
zone?: Zone;
|
|
2547
|
+
zone?: Zone | null;
|
|
2444
2548
|
/**
|
|
2445
2549
|
* Load Balancer ID.
|
|
2446
2550
|
*/
|
|
@@ -2448,25 +2552,25 @@ export type ZonedApiCreateCertificateRequest = {
|
|
|
2448
2552
|
/**
|
|
2449
2553
|
* Name for the certificate.
|
|
2450
2554
|
*/
|
|
2451
|
-
name?: string;
|
|
2555
|
+
name?: string | null;
|
|
2452
2556
|
/**
|
|
2453
2557
|
* Object to define a new Let's Encrypt certificate to be generated.
|
|
2454
2558
|
*
|
|
2455
2559
|
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
2456
2560
|
*/
|
|
2457
|
-
letsencrypt?: CreateCertificateRequestLetsencryptConfig;
|
|
2561
|
+
letsencrypt?: CreateCertificateRequestLetsencryptConfig | null;
|
|
2458
2562
|
/**
|
|
2459
2563
|
* Object to define an existing custom certificate to be imported.
|
|
2460
2564
|
*
|
|
2461
2565
|
* One-of ('type'): at most one of 'letsencrypt', 'customCertificate' could be set.
|
|
2462
2566
|
*/
|
|
2463
|
-
customCertificate?: CreateCertificateRequestCustomCertificate;
|
|
2567
|
+
customCertificate?: CreateCertificateRequestCustomCertificate | null;
|
|
2464
2568
|
};
|
|
2465
2569
|
export type ZonedApiCreateFrontendRequest = {
|
|
2466
2570
|
/**
|
|
2467
2571
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2468
2572
|
*/
|
|
2469
|
-
zone?: Zone;
|
|
2573
|
+
zone?: Zone | null;
|
|
2470
2574
|
/**
|
|
2471
2575
|
* Load Balancer ID (ID of the Load Balancer to attach the frontend to).
|
|
2472
2576
|
*/
|
|
@@ -2474,7 +2578,7 @@ export type ZonedApiCreateFrontendRequest = {
|
|
|
2474
2578
|
/**
|
|
2475
2579
|
* Name for the frontend.
|
|
2476
2580
|
*/
|
|
2477
|
-
name?: string;
|
|
2581
|
+
name?: string | null;
|
|
2478
2582
|
/**
|
|
2479
2583
|
* Port the frontend should listen on.
|
|
2480
2584
|
*/
|
|
@@ -2486,15 +2590,15 @@ export type ZonedApiCreateFrontendRequest = {
|
|
|
2486
2590
|
/**
|
|
2487
2591
|
* Maximum allowed inactivity time on the client side.
|
|
2488
2592
|
*/
|
|
2489
|
-
timeoutClient?: string;
|
|
2593
|
+
timeoutClient?: string | null;
|
|
2490
2594
|
/**
|
|
2491
2595
|
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
2492
2596
|
*/
|
|
2493
|
-
certificateId?: string;
|
|
2597
|
+
certificateId?: string | null;
|
|
2494
2598
|
/**
|
|
2495
2599
|
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
2496
2600
|
*/
|
|
2497
|
-
certificateIds?: string[];
|
|
2601
|
+
certificateIds?: string[] | null;
|
|
2498
2602
|
/**
|
|
2499
2603
|
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
2500
2604
|
*/
|
|
@@ -2502,7 +2606,7 @@ export type ZonedApiCreateFrontendRequest = {
|
|
|
2502
2606
|
/**
|
|
2503
2607
|
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
2504
2608
|
*/
|
|
2505
|
-
connectionRateLimit?: number;
|
|
2609
|
+
connectionRateLimit?: number | null;
|
|
2506
2610
|
/**
|
|
2507
2611
|
* Defines whether to enable access logs on the frontend.
|
|
2508
2612
|
*/
|
|
@@ -2512,23 +2616,23 @@ export type ZonedApiCreateIpRequest = {
|
|
|
2512
2616
|
/**
|
|
2513
2617
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2514
2618
|
*/
|
|
2515
|
-
zone?: Zone;
|
|
2619
|
+
zone?: Zone | null;
|
|
2516
2620
|
/**
|
|
2517
2621
|
* @deprecated Organization ID of the Organization where the IP address should be created.
|
|
2518
2622
|
*
|
|
2519
2623
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2520
2624
|
*/
|
|
2521
|
-
organizationId?: string;
|
|
2625
|
+
organizationId?: string | null;
|
|
2522
2626
|
/**
|
|
2523
2627
|
* Project ID of the Project where the IP address should be created.
|
|
2524
2628
|
*
|
|
2525
2629
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2526
2630
|
*/
|
|
2527
|
-
projectId?: string;
|
|
2631
|
+
projectId?: string | null;
|
|
2528
2632
|
/**
|
|
2529
2633
|
* Reverse DNS (domain name) for the IP address.
|
|
2530
2634
|
*/
|
|
2531
|
-
reverse?: string;
|
|
2635
|
+
reverse?: string | null;
|
|
2532
2636
|
/**
|
|
2533
2637
|
* If true, creates a Flexible IP with an ipv6 address.
|
|
2534
2638
|
*/
|
|
@@ -2536,29 +2640,29 @@ export type ZonedApiCreateIpRequest = {
|
|
|
2536
2640
|
/**
|
|
2537
2641
|
* List of tags for the IP.
|
|
2538
2642
|
*/
|
|
2539
|
-
tags?: string[];
|
|
2643
|
+
tags?: string[] | null;
|
|
2540
2644
|
};
|
|
2541
2645
|
export type ZonedApiCreateLbRequest = {
|
|
2542
2646
|
/**
|
|
2543
2647
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2544
2648
|
*/
|
|
2545
|
-
zone?: Zone;
|
|
2649
|
+
zone?: Zone | null;
|
|
2546
2650
|
/**
|
|
2547
2651
|
* @deprecated Scaleway Organization to create the Load Balancer in.
|
|
2548
2652
|
*
|
|
2549
2653
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2550
2654
|
*/
|
|
2551
|
-
organizationId?: string;
|
|
2655
|
+
organizationId?: string | null;
|
|
2552
2656
|
/**
|
|
2553
2657
|
* Scaleway Project to create the Load Balancer in.
|
|
2554
2658
|
*
|
|
2555
2659
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2556
2660
|
*/
|
|
2557
|
-
projectId?: string;
|
|
2661
|
+
projectId?: string | null;
|
|
2558
2662
|
/**
|
|
2559
2663
|
* Name for the Load Balancer.
|
|
2560
2664
|
*/
|
|
2561
|
-
name?: string;
|
|
2665
|
+
name?: string | null;
|
|
2562
2666
|
/**
|
|
2563
2667
|
* Description for the Load Balancer.
|
|
2564
2668
|
*/
|
|
@@ -2566,23 +2670,27 @@ export type ZonedApiCreateLbRequest = {
|
|
|
2566
2670
|
/**
|
|
2567
2671
|
* @deprecated ID of an existing flexible IP address to attach to the Load Balancer.
|
|
2568
2672
|
*/
|
|
2569
|
-
ipId?: string;
|
|
2673
|
+
ipId?: string | null;
|
|
2570
2674
|
/**
|
|
2571
2675
|
* Defines whether to automatically assign a flexible public IP to the Load Balancer. Default value is `true` (assign).
|
|
2572
2676
|
*/
|
|
2573
|
-
assignFlexibleIp?: boolean;
|
|
2677
|
+
assignFlexibleIp?: boolean | null;
|
|
2574
2678
|
/**
|
|
2575
2679
|
* Defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
|
|
2576
2680
|
*/
|
|
2577
|
-
assignFlexibleIpv6?: boolean;
|
|
2681
|
+
assignFlexibleIpv6?: boolean | null;
|
|
2578
2682
|
/**
|
|
2579
2683
|
* List of IP IDs to attach to the Load Balancer.
|
|
2580
2684
|
*/
|
|
2581
|
-
ipIds?: string[];
|
|
2685
|
+
ipIds?: string[] | null;
|
|
2686
|
+
/**
|
|
2687
|
+
* List of IPAM IP IDs to attach to the Load Balancer.
|
|
2688
|
+
*/
|
|
2689
|
+
ipamIpIds?: string[] | null;
|
|
2582
2690
|
/**
|
|
2583
2691
|
* List of tags for the Load Balancer.
|
|
2584
2692
|
*/
|
|
2585
|
-
tags?: string[];
|
|
2693
|
+
tags?: string[] | null;
|
|
2586
2694
|
/**
|
|
2587
2695
|
* Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types.
|
|
2588
2696
|
*/
|
|
@@ -2590,13 +2698,13 @@ export type ZonedApiCreateLbRequest = {
|
|
|
2590
2698
|
/**
|
|
2591
2699
|
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
|
|
2592
2700
|
*/
|
|
2593
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
2701
|
+
sslCompatibilityLevel?: SSLCompatibilityLevel | null;
|
|
2594
2702
|
};
|
|
2595
2703
|
export type ZonedApiCreateRouteRequest = {
|
|
2596
2704
|
/**
|
|
2597
2705
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2598
2706
|
*/
|
|
2599
|
-
zone?: Zone;
|
|
2707
|
+
zone?: Zone | null;
|
|
2600
2708
|
/**
|
|
2601
2709
|
* ID of the source frontend to create the route on.
|
|
2602
2710
|
*/
|
|
@@ -2608,7 +2716,7 @@ export type ZonedApiCreateRouteRequest = {
|
|
|
2608
2716
|
/**
|
|
2609
2717
|
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
2610
2718
|
*/
|
|
2611
|
-
match?: RouteMatch;
|
|
2719
|
+
match?: RouteMatch | null;
|
|
2612
2720
|
};
|
|
2613
2721
|
/**
|
|
2614
2722
|
* Create a new alert subscriber (webhook or email).
|
|
@@ -2617,7 +2725,7 @@ export type ZonedApiCreateSubscriberRequest = {
|
|
|
2617
2725
|
/**
|
|
2618
2726
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2619
2727
|
*/
|
|
2620
|
-
zone?: Zone;
|
|
2728
|
+
zone?: Zone | null;
|
|
2621
2729
|
/**
|
|
2622
2730
|
* Subscriber name.
|
|
2623
2731
|
*/
|
|
@@ -2627,31 +2735,31 @@ export type ZonedApiCreateSubscriberRequest = {
|
|
|
2627
2735
|
*
|
|
2628
2736
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2629
2737
|
*/
|
|
2630
|
-
emailConfig?: SubscriberEmailConfig;
|
|
2738
|
+
emailConfig?: SubscriberEmailConfig | null;
|
|
2631
2739
|
/**
|
|
2632
2740
|
* WebHook URI configuration.
|
|
2633
2741
|
*
|
|
2634
2742
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
2635
2743
|
*/
|
|
2636
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
2744
|
+
webhookConfig?: SubscriberWebhookConfig | null;
|
|
2637
2745
|
/**
|
|
2638
2746
|
* @deprecated Organization ID to create the subscriber in.
|
|
2639
2747
|
*
|
|
2640
2748
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2641
2749
|
*/
|
|
2642
|
-
organizationId?: string;
|
|
2750
|
+
organizationId?: string | null;
|
|
2643
2751
|
/**
|
|
2644
2752
|
* Project ID to create the subscriber in.
|
|
2645
2753
|
*
|
|
2646
2754
|
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
2647
2755
|
*/
|
|
2648
|
-
projectId?: string;
|
|
2756
|
+
projectId?: string | null;
|
|
2649
2757
|
};
|
|
2650
2758
|
export type ZonedApiDeleteAclRequest = {
|
|
2651
2759
|
/**
|
|
2652
2760
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2653
2761
|
*/
|
|
2654
|
-
zone?: Zone;
|
|
2762
|
+
zone?: Zone | null;
|
|
2655
2763
|
/**
|
|
2656
2764
|
* ACL ID.
|
|
2657
2765
|
*/
|
|
@@ -2661,7 +2769,7 @@ export type ZonedApiDeleteBackendRequest = {
|
|
|
2661
2769
|
/**
|
|
2662
2770
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2663
2771
|
*/
|
|
2664
|
-
zone?: Zone;
|
|
2772
|
+
zone?: Zone | null;
|
|
2665
2773
|
/**
|
|
2666
2774
|
* ID of the backend to delete.
|
|
2667
2775
|
*/
|
|
@@ -2671,7 +2779,7 @@ export type ZonedApiDeleteCertificateRequest = {
|
|
|
2671
2779
|
/**
|
|
2672
2780
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2673
2781
|
*/
|
|
2674
|
-
zone?: Zone;
|
|
2782
|
+
zone?: Zone | null;
|
|
2675
2783
|
/**
|
|
2676
2784
|
* Certificate ID.
|
|
2677
2785
|
*/
|
|
@@ -2681,7 +2789,7 @@ export type ZonedApiDeleteFrontendRequest = {
|
|
|
2681
2789
|
/**
|
|
2682
2790
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2683
2791
|
*/
|
|
2684
|
-
zone?: Zone;
|
|
2792
|
+
zone?: Zone | null;
|
|
2685
2793
|
/**
|
|
2686
2794
|
* ID of the frontend to delete.
|
|
2687
2795
|
*/
|
|
@@ -2691,7 +2799,7 @@ export type ZonedApiDeleteLbRequest = {
|
|
|
2691
2799
|
/**
|
|
2692
2800
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2693
2801
|
*/
|
|
2694
|
-
zone?: Zone;
|
|
2802
|
+
zone?: Zone | null;
|
|
2695
2803
|
/**
|
|
2696
2804
|
* ID of the Load Balancer to delete.
|
|
2697
2805
|
*/
|
|
@@ -2700,12 +2808,16 @@ export type ZonedApiDeleteLbRequest = {
|
|
|
2700
2808
|
* Defines whether the Load Balancer's flexible IP should be deleted. Set to true to release the flexible IP, or false to keep it available in your account for future Load Balancers.
|
|
2701
2809
|
*/
|
|
2702
2810
|
releaseIp: boolean;
|
|
2811
|
+
/**
|
|
2812
|
+
* If true and one or several ips of the LB are legacy flexible IP, they will be migrated to IPAM, free to use in other Scaleway products.
|
|
2813
|
+
*/
|
|
2814
|
+
migrateFlexipToIpam?: boolean | null;
|
|
2703
2815
|
};
|
|
2704
2816
|
export type ZonedApiDeleteRouteRequest = {
|
|
2705
2817
|
/**
|
|
2706
2818
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2707
2819
|
*/
|
|
2708
|
-
zone?: Zone;
|
|
2820
|
+
zone?: Zone | null;
|
|
2709
2821
|
/**
|
|
2710
2822
|
* Route ID.
|
|
2711
2823
|
*/
|
|
@@ -2715,7 +2827,7 @@ export type ZonedApiDeleteSubscriberRequest = {
|
|
|
2715
2827
|
/**
|
|
2716
2828
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2717
2829
|
*/
|
|
2718
|
-
zone?: Zone;
|
|
2830
|
+
zone?: Zone | null;
|
|
2719
2831
|
/**
|
|
2720
2832
|
* Subscriber ID.
|
|
2721
2833
|
*/
|
|
@@ -2725,7 +2837,7 @@ export type ZonedApiDetachPrivateNetworkRequest = {
|
|
|
2725
2837
|
/**
|
|
2726
2838
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2727
2839
|
*/
|
|
2728
|
-
zone?: Zone;
|
|
2840
|
+
zone?: Zone | null;
|
|
2729
2841
|
/**
|
|
2730
2842
|
* Load balancer ID.
|
|
2731
2843
|
*/
|
|
@@ -2739,7 +2851,7 @@ export type ZonedApiGetAclRequest = {
|
|
|
2739
2851
|
/**
|
|
2740
2852
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2741
2853
|
*/
|
|
2742
|
-
zone?: Zone;
|
|
2854
|
+
zone?: Zone | null;
|
|
2743
2855
|
/**
|
|
2744
2856
|
* ACL ID.
|
|
2745
2857
|
*/
|
|
@@ -2749,7 +2861,7 @@ export type ZonedApiGetBackendRequest = {
|
|
|
2749
2861
|
/**
|
|
2750
2862
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2751
2863
|
*/
|
|
2752
|
-
zone?: Zone;
|
|
2864
|
+
zone?: Zone | null;
|
|
2753
2865
|
/**
|
|
2754
2866
|
* Backend ID.
|
|
2755
2867
|
*/
|
|
@@ -2759,7 +2871,7 @@ export type ZonedApiGetCertificateRequest = {
|
|
|
2759
2871
|
/**
|
|
2760
2872
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2761
2873
|
*/
|
|
2762
|
-
zone?: Zone;
|
|
2874
|
+
zone?: Zone | null;
|
|
2763
2875
|
/**
|
|
2764
2876
|
* Certificate ID.
|
|
2765
2877
|
*/
|
|
@@ -2769,7 +2881,7 @@ export type ZonedApiGetFrontendRequest = {
|
|
|
2769
2881
|
/**
|
|
2770
2882
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2771
2883
|
*/
|
|
2772
|
-
zone?: Zone;
|
|
2884
|
+
zone?: Zone | null;
|
|
2773
2885
|
/**
|
|
2774
2886
|
* Frontend ID.
|
|
2775
2887
|
*/
|
|
@@ -2779,7 +2891,7 @@ export type ZonedApiGetIpRequest = {
|
|
|
2779
2891
|
/**
|
|
2780
2892
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2781
2893
|
*/
|
|
2782
|
-
zone?: Zone;
|
|
2894
|
+
zone?: Zone | null;
|
|
2783
2895
|
/**
|
|
2784
2896
|
* IP address ID.
|
|
2785
2897
|
*/
|
|
@@ -2789,7 +2901,7 @@ export type ZonedApiGetLbRequest = {
|
|
|
2789
2901
|
/**
|
|
2790
2902
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2791
2903
|
*/
|
|
2792
|
-
zone?: Zone;
|
|
2904
|
+
zone?: Zone | null;
|
|
2793
2905
|
/**
|
|
2794
2906
|
* Load Balancer ID.
|
|
2795
2907
|
*/
|
|
@@ -2802,7 +2914,7 @@ export type ZonedApiGetLbStatsRequest = {
|
|
|
2802
2914
|
/**
|
|
2803
2915
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2804
2916
|
*/
|
|
2805
|
-
zone?: Zone;
|
|
2917
|
+
zone?: Zone | null;
|
|
2806
2918
|
/**
|
|
2807
2919
|
* Load Balancer ID.
|
|
2808
2920
|
*/
|
|
@@ -2810,13 +2922,13 @@ export type ZonedApiGetLbStatsRequest = {
|
|
|
2810
2922
|
/**
|
|
2811
2923
|
* ID of the backend.
|
|
2812
2924
|
*/
|
|
2813
|
-
backendId?: string;
|
|
2925
|
+
backendId?: string | null;
|
|
2814
2926
|
};
|
|
2815
2927
|
export type ZonedApiGetRouteRequest = {
|
|
2816
2928
|
/**
|
|
2817
2929
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2818
2930
|
*/
|
|
2819
|
-
zone?: Zone;
|
|
2931
|
+
zone?: Zone | null;
|
|
2820
2932
|
/**
|
|
2821
2933
|
* Route ID.
|
|
2822
2934
|
*/
|
|
@@ -2826,7 +2938,7 @@ export type ZonedApiGetSubscriberRequest = {
|
|
|
2826
2938
|
/**
|
|
2827
2939
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2828
2940
|
*/
|
|
2829
|
-
zone?: Zone;
|
|
2941
|
+
zone?: Zone | null;
|
|
2830
2942
|
/**
|
|
2831
2943
|
* Subscriber ID.
|
|
2832
2944
|
*/
|
|
@@ -2836,7 +2948,7 @@ export type ZonedApiListAclsRequest = {
|
|
|
2836
2948
|
/**
|
|
2837
2949
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2838
2950
|
*/
|
|
2839
|
-
zone?: Zone;
|
|
2951
|
+
zone?: Zone | null;
|
|
2840
2952
|
/**
|
|
2841
2953
|
* Frontend ID (ACLs attached to this frontend will be returned in the response).
|
|
2842
2954
|
*/
|
|
@@ -2844,25 +2956,25 @@ export type ZonedApiListAclsRequest = {
|
|
|
2844
2956
|
/**
|
|
2845
2957
|
* Sort order of ACLs in the response.
|
|
2846
2958
|
*/
|
|
2847
|
-
orderBy?: ListAclRequestOrderBy;
|
|
2959
|
+
orderBy?: ListAclRequestOrderBy | null;
|
|
2848
2960
|
/**
|
|
2849
2961
|
* The page number to return, from the paginated results.
|
|
2850
2962
|
*/
|
|
2851
|
-
page?: number;
|
|
2963
|
+
page?: number | null;
|
|
2852
2964
|
/**
|
|
2853
2965
|
* The number of ACLs to return.
|
|
2854
2966
|
*/
|
|
2855
|
-
pageSize?: number;
|
|
2967
|
+
pageSize?: number | null;
|
|
2856
2968
|
/**
|
|
2857
2969
|
* ACL name to filter for.
|
|
2858
2970
|
*/
|
|
2859
|
-
name?: string;
|
|
2971
|
+
name?: string | null;
|
|
2860
2972
|
};
|
|
2861
2973
|
export type ZonedApiListBackendStatsRequest = {
|
|
2862
2974
|
/**
|
|
2863
2975
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2864
2976
|
*/
|
|
2865
|
-
zone?: Zone;
|
|
2977
|
+
zone?: Zone | null;
|
|
2866
2978
|
/**
|
|
2867
2979
|
* Load Balancer ID.
|
|
2868
2980
|
*/
|
|
@@ -2870,21 +2982,21 @@ export type ZonedApiListBackendStatsRequest = {
|
|
|
2870
2982
|
/**
|
|
2871
2983
|
* The page number to return, from the paginated results.
|
|
2872
2984
|
*/
|
|
2873
|
-
page?: number;
|
|
2985
|
+
page?: number | null;
|
|
2874
2986
|
/**
|
|
2875
2987
|
* Number of items to return.
|
|
2876
2988
|
*/
|
|
2877
|
-
pageSize?: number;
|
|
2989
|
+
pageSize?: number | null;
|
|
2878
2990
|
/**
|
|
2879
2991
|
* ID of the backend.
|
|
2880
2992
|
*/
|
|
2881
|
-
backendId?: string;
|
|
2993
|
+
backendId?: string | null;
|
|
2882
2994
|
};
|
|
2883
2995
|
export type ZonedApiListBackendsRequest = {
|
|
2884
2996
|
/**
|
|
2885
2997
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2886
2998
|
*/
|
|
2887
|
-
zone?: Zone;
|
|
2999
|
+
zone?: Zone | null;
|
|
2888
3000
|
/**
|
|
2889
3001
|
* Load Balancer ID.
|
|
2890
3002
|
*/
|
|
@@ -2892,25 +3004,25 @@ export type ZonedApiListBackendsRequest = {
|
|
|
2892
3004
|
/**
|
|
2893
3005
|
* Name of the backend to filter for.
|
|
2894
3006
|
*/
|
|
2895
|
-
name?: string;
|
|
3007
|
+
name?: string | null;
|
|
2896
3008
|
/**
|
|
2897
3009
|
* Sort order of backends in the response.
|
|
2898
3010
|
*/
|
|
2899
|
-
orderBy?: ListBackendsRequestOrderBy;
|
|
3011
|
+
orderBy?: ListBackendsRequestOrderBy | null;
|
|
2900
3012
|
/**
|
|
2901
3013
|
* The page number to return, from the paginated results.
|
|
2902
3014
|
*/
|
|
2903
|
-
page?: number;
|
|
3015
|
+
page?: number | null;
|
|
2904
3016
|
/**
|
|
2905
3017
|
* Number of backends to return.
|
|
2906
3018
|
*/
|
|
2907
|
-
pageSize?: number;
|
|
3019
|
+
pageSize?: number | null;
|
|
2908
3020
|
};
|
|
2909
3021
|
export type ZonedApiListCertificatesRequest = {
|
|
2910
3022
|
/**
|
|
2911
3023
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2912
3024
|
*/
|
|
2913
|
-
zone?: Zone;
|
|
3025
|
+
zone?: Zone | null;
|
|
2914
3026
|
/**
|
|
2915
3027
|
* Load Balancer ID.
|
|
2916
3028
|
*/
|
|
@@ -2918,25 +3030,25 @@ export type ZonedApiListCertificatesRequest = {
|
|
|
2918
3030
|
/**
|
|
2919
3031
|
* Sort order of certificates in the response.
|
|
2920
3032
|
*/
|
|
2921
|
-
orderBy?: ListCertificatesRequestOrderBy;
|
|
3033
|
+
orderBy?: ListCertificatesRequestOrderBy | null;
|
|
2922
3034
|
/**
|
|
2923
3035
|
* The page number to return, from the paginated results.
|
|
2924
3036
|
*/
|
|
2925
|
-
page?: number;
|
|
3037
|
+
page?: number | null;
|
|
2926
3038
|
/**
|
|
2927
3039
|
* Number of certificates to return.
|
|
2928
3040
|
*/
|
|
2929
|
-
pageSize?: number;
|
|
3041
|
+
pageSize?: number | null;
|
|
2930
3042
|
/**
|
|
2931
3043
|
* Certificate name to filter for, only certificates of this name will be returned.
|
|
2932
3044
|
*/
|
|
2933
|
-
name?: string;
|
|
3045
|
+
name?: string | null;
|
|
2934
3046
|
};
|
|
2935
3047
|
export type ZonedApiListFrontendsRequest = {
|
|
2936
3048
|
/**
|
|
2937
3049
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2938
3050
|
*/
|
|
2939
|
-
zone?: Zone;
|
|
3051
|
+
zone?: Zone | null;
|
|
2940
3052
|
/**
|
|
2941
3053
|
* Load Balancer ID.
|
|
2942
3054
|
*/
|
|
@@ -2944,59 +3056,63 @@ export type ZonedApiListFrontendsRequest = {
|
|
|
2944
3056
|
/**
|
|
2945
3057
|
* Name of the frontend to filter for.
|
|
2946
3058
|
*/
|
|
2947
|
-
name?: string;
|
|
3059
|
+
name?: string | null;
|
|
2948
3060
|
/**
|
|
2949
3061
|
* Sort order of frontends in the response.
|
|
2950
3062
|
*/
|
|
2951
|
-
orderBy?: ListFrontendsRequestOrderBy;
|
|
3063
|
+
orderBy?: ListFrontendsRequestOrderBy | null;
|
|
2952
3064
|
/**
|
|
2953
3065
|
* The page number to return, from the paginated results.
|
|
2954
3066
|
*/
|
|
2955
|
-
page?: number;
|
|
3067
|
+
page?: number | null;
|
|
2956
3068
|
/**
|
|
2957
3069
|
* Number of frontends to return.
|
|
2958
3070
|
*/
|
|
2959
|
-
pageSize?: number;
|
|
3071
|
+
pageSize?: number | null;
|
|
2960
3072
|
};
|
|
2961
3073
|
export type ZonedApiListIPsRequest = {
|
|
2962
3074
|
/**
|
|
2963
3075
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2964
3076
|
*/
|
|
2965
|
-
zone?: Zone;
|
|
3077
|
+
zone?: Zone | null;
|
|
2966
3078
|
/**
|
|
2967
3079
|
* The page number to return, from the paginated results.
|
|
2968
3080
|
*/
|
|
2969
|
-
page?: number;
|
|
3081
|
+
page?: number | null;
|
|
2970
3082
|
/**
|
|
2971
3083
|
* Number of IP addresses to return.
|
|
2972
3084
|
*/
|
|
2973
|
-
pageSize?: number;
|
|
3085
|
+
pageSize?: number | null;
|
|
2974
3086
|
/**
|
|
2975
3087
|
* IP address to filter for.
|
|
2976
3088
|
*/
|
|
2977
|
-
ipAddress?: string;
|
|
3089
|
+
ipAddress?: string | null;
|
|
2978
3090
|
/**
|
|
2979
3091
|
* Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned.
|
|
2980
3092
|
*/
|
|
2981
|
-
organizationId?: string;
|
|
3093
|
+
organizationId?: string | null;
|
|
2982
3094
|
/**
|
|
2983
3095
|
* Project ID to filter for, only Load Balancer IP addresses from this Project will be returned.
|
|
2984
3096
|
*/
|
|
2985
|
-
projectId?: string;
|
|
3097
|
+
projectId?: string | null;
|
|
2986
3098
|
/**
|
|
2987
3099
|
* IP type to filter for.
|
|
2988
3100
|
*/
|
|
2989
|
-
ipType?: ListIpsRequestIpType;
|
|
3101
|
+
ipType?: ListIpsRequestIpType | null;
|
|
2990
3102
|
/**
|
|
2991
3103
|
* Tag to filter for, only IPs with one or more matching tags will be returned.
|
|
2992
3104
|
*/
|
|
2993
|
-
tags?: string[];
|
|
3105
|
+
tags?: string[] | null;
|
|
3106
|
+
/**
|
|
3107
|
+
* Defines whether to filter only for Flexible IPs which are attached to a Load Balancer.
|
|
3108
|
+
*/
|
|
3109
|
+
attached?: boolean | null;
|
|
2994
3110
|
};
|
|
2995
3111
|
export type ZonedApiListLbPrivateNetworksRequest = {
|
|
2996
3112
|
/**
|
|
2997
3113
|
* Zone to target. If none is passed will use default zone from the config.
|
|
2998
3114
|
*/
|
|
2999
|
-
zone?: Zone;
|
|
3115
|
+
zone?: Zone | null;
|
|
3000
3116
|
/**
|
|
3001
3117
|
* Load Balancer ID.
|
|
3002
3118
|
*/
|
|
@@ -3004,125 +3120,125 @@ export type ZonedApiListLbPrivateNetworksRequest = {
|
|
|
3004
3120
|
/**
|
|
3005
3121
|
* Sort order of Private Network objects in the response.
|
|
3006
3122
|
*/
|
|
3007
|
-
orderBy?: ListPrivateNetworksRequestOrderBy;
|
|
3123
|
+
orderBy?: ListPrivateNetworksRequestOrderBy | null;
|
|
3008
3124
|
/**
|
|
3009
3125
|
* Number of objects to return.
|
|
3010
3126
|
*/
|
|
3011
|
-
pageSize?: number;
|
|
3127
|
+
pageSize?: number | null;
|
|
3012
3128
|
/**
|
|
3013
3129
|
* The page number to return, from the paginated results.
|
|
3014
3130
|
*/
|
|
3015
|
-
page?: number;
|
|
3131
|
+
page?: number | null;
|
|
3016
3132
|
};
|
|
3017
3133
|
export type ZonedApiListLbTypesRequest = {
|
|
3018
3134
|
/**
|
|
3019
3135
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3020
3136
|
*/
|
|
3021
|
-
zone?: Zone;
|
|
3137
|
+
zone?: Zone | null;
|
|
3022
3138
|
/**
|
|
3023
3139
|
* The page number to return, from the paginated results.
|
|
3024
3140
|
*/
|
|
3025
|
-
page?: number;
|
|
3141
|
+
page?: number | null;
|
|
3026
3142
|
/**
|
|
3027
3143
|
* The number of items to return.
|
|
3028
3144
|
*/
|
|
3029
|
-
pageSize?: number;
|
|
3145
|
+
pageSize?: number | null;
|
|
3030
3146
|
};
|
|
3031
3147
|
export type ZonedApiListLbsRequest = {
|
|
3032
3148
|
/**
|
|
3033
3149
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3034
3150
|
*/
|
|
3035
|
-
zone?: Zone;
|
|
3151
|
+
zone?: Zone | null;
|
|
3036
3152
|
/**
|
|
3037
3153
|
* Load Balancer name to filter for.
|
|
3038
3154
|
*/
|
|
3039
|
-
name?: string;
|
|
3155
|
+
name?: string | null;
|
|
3040
3156
|
/**
|
|
3041
3157
|
* Sort order of Load Balancers in the response.
|
|
3042
3158
|
*/
|
|
3043
|
-
orderBy?: ListLbsRequestOrderBy;
|
|
3159
|
+
orderBy?: ListLbsRequestOrderBy | null;
|
|
3044
3160
|
/**
|
|
3045
3161
|
* Number of Load Balancers to return.
|
|
3046
3162
|
*/
|
|
3047
|
-
pageSize?: number;
|
|
3163
|
+
pageSize?: number | null;
|
|
3048
3164
|
/**
|
|
3049
3165
|
* Page number to return, from the paginated results.
|
|
3050
3166
|
*/
|
|
3051
|
-
page?: number;
|
|
3167
|
+
page?: number | null;
|
|
3052
3168
|
/**
|
|
3053
3169
|
* Organization ID to filter for, only Load Balancers from this Organization will be returned.
|
|
3054
3170
|
*/
|
|
3055
|
-
organizationId?: string;
|
|
3171
|
+
organizationId?: string | null;
|
|
3056
3172
|
/**
|
|
3057
3173
|
* Project ID to filter for, only Load Balancers from this Project will be returned.
|
|
3058
3174
|
*/
|
|
3059
|
-
projectId?: string;
|
|
3175
|
+
projectId?: string | null;
|
|
3060
3176
|
/**
|
|
3061
3177
|
* Filter by tag, only Load Balancers with one or more matching tags will be returned.
|
|
3062
3178
|
*/
|
|
3063
|
-
tags?: string[];
|
|
3179
|
+
tags?: string[] | null;
|
|
3064
3180
|
/**
|
|
3065
3181
|
* Filter by lb_ids, only Load Balancers with these IDs will be returned.
|
|
3066
3182
|
*/
|
|
3067
|
-
lbIds?: string[];
|
|
3183
|
+
lbIds?: string[] | null;
|
|
3068
3184
|
};
|
|
3069
3185
|
export type ZonedApiListRoutesRequest = {
|
|
3070
3186
|
/**
|
|
3071
3187
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3072
3188
|
*/
|
|
3073
|
-
zone?: Zone;
|
|
3189
|
+
zone?: Zone | null;
|
|
3074
3190
|
/**
|
|
3075
3191
|
* Sort order of routes in the response.
|
|
3076
3192
|
*/
|
|
3077
|
-
orderBy?: ListRoutesRequestOrderBy;
|
|
3193
|
+
orderBy?: ListRoutesRequestOrderBy | null;
|
|
3078
3194
|
/**
|
|
3079
3195
|
* The number of route objects to return.
|
|
3080
3196
|
*/
|
|
3081
|
-
pageSize?: number;
|
|
3197
|
+
pageSize?: number | null;
|
|
3082
3198
|
/**
|
|
3083
3199
|
* The page number to return, from the paginated results.
|
|
3084
3200
|
*/
|
|
3085
|
-
page?: number;
|
|
3201
|
+
page?: number | null;
|
|
3086
3202
|
/**
|
|
3087
3203
|
* Frontend ID to filter for, only Routes from this Frontend will be returned.
|
|
3088
3204
|
*/
|
|
3089
|
-
frontendId?: string;
|
|
3205
|
+
frontendId?: string | null;
|
|
3090
3206
|
};
|
|
3091
3207
|
export type ZonedApiListSubscriberRequest = {
|
|
3092
3208
|
/**
|
|
3093
3209
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3094
3210
|
*/
|
|
3095
|
-
zone?: Zone;
|
|
3211
|
+
zone?: Zone | null;
|
|
3096
3212
|
/**
|
|
3097
3213
|
* Sort order of subscribers in the response.
|
|
3098
3214
|
*/
|
|
3099
|
-
orderBy?: ListSubscriberRequestOrderBy;
|
|
3215
|
+
orderBy?: ListSubscriberRequestOrderBy | null;
|
|
3100
3216
|
/**
|
|
3101
3217
|
* The page number to return, from the paginated results.
|
|
3102
3218
|
*/
|
|
3103
|
-
page?: number;
|
|
3219
|
+
page?: number | null;
|
|
3104
3220
|
/**
|
|
3105
3221
|
* The number of items to return.
|
|
3106
3222
|
*/
|
|
3107
|
-
pageSize?: number;
|
|
3223
|
+
pageSize?: number | null;
|
|
3108
3224
|
/**
|
|
3109
3225
|
* Subscriber name to search for.
|
|
3110
3226
|
*/
|
|
3111
|
-
name?: string;
|
|
3227
|
+
name?: string | null;
|
|
3112
3228
|
/**
|
|
3113
3229
|
* Filter subscribers by Organization ID.
|
|
3114
3230
|
*/
|
|
3115
|
-
organizationId?: string;
|
|
3231
|
+
organizationId?: string | null;
|
|
3116
3232
|
/**
|
|
3117
3233
|
* Filter subscribers by Project ID.
|
|
3118
3234
|
*/
|
|
3119
|
-
projectId?: string;
|
|
3235
|
+
projectId?: string | null;
|
|
3120
3236
|
};
|
|
3121
3237
|
export type ZonedApiMigrateLbRequest = {
|
|
3122
3238
|
/**
|
|
3123
3239
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3124
3240
|
*/
|
|
3125
|
-
zone?: Zone;
|
|
3241
|
+
zone?: Zone | null;
|
|
3126
3242
|
/**
|
|
3127
3243
|
* Load Balancer ID.
|
|
3128
3244
|
*/
|
|
@@ -3136,7 +3252,7 @@ export type ZonedApiReleaseIpRequest = {
|
|
|
3136
3252
|
/**
|
|
3137
3253
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3138
3254
|
*/
|
|
3139
|
-
zone?: Zone;
|
|
3255
|
+
zone?: Zone | null;
|
|
3140
3256
|
/**
|
|
3141
3257
|
* IP address ID.
|
|
3142
3258
|
*/
|
|
@@ -3146,7 +3262,7 @@ export type ZonedApiRemoveBackendServersRequest = {
|
|
|
3146
3262
|
/**
|
|
3147
3263
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3148
3264
|
*/
|
|
3149
|
-
zone?: Zone;
|
|
3265
|
+
zone?: Zone | null;
|
|
3150
3266
|
/**
|
|
3151
3267
|
* Backend ID.
|
|
3152
3268
|
*/
|
|
@@ -3160,7 +3276,7 @@ export type ZonedApiSetAclsRequest = {
|
|
|
3160
3276
|
/**
|
|
3161
3277
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3162
3278
|
*/
|
|
3163
|
-
zone?: Zone;
|
|
3279
|
+
zone?: Zone | null;
|
|
3164
3280
|
/**
|
|
3165
3281
|
* Frontend ID.
|
|
3166
3282
|
*/
|
|
@@ -3174,7 +3290,7 @@ export type ZonedApiSetBackendServersRequest = {
|
|
|
3174
3290
|
/**
|
|
3175
3291
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3176
3292
|
*/
|
|
3177
|
-
zone?: Zone;
|
|
3293
|
+
zone?: Zone | null;
|
|
3178
3294
|
/**
|
|
3179
3295
|
* Backend ID.
|
|
3180
3296
|
*/
|
|
@@ -3188,7 +3304,7 @@ export type ZonedApiSubscribeToLbRequest = {
|
|
|
3188
3304
|
/**
|
|
3189
3305
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3190
3306
|
*/
|
|
3191
|
-
zone?: Zone;
|
|
3307
|
+
zone?: Zone | null;
|
|
3192
3308
|
/**
|
|
3193
3309
|
* Load Balancer ID.
|
|
3194
3310
|
*/
|
|
@@ -3198,11 +3314,21 @@ export type ZonedApiSubscribeToLbRequest = {
|
|
|
3198
3314
|
*/
|
|
3199
3315
|
subscriberId: string;
|
|
3200
3316
|
};
|
|
3317
|
+
export type ZonedApiTransferToIpamRequest = {
|
|
3318
|
+
/**
|
|
3319
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
3320
|
+
*/
|
|
3321
|
+
zone?: Zone | null;
|
|
3322
|
+
/**
|
|
3323
|
+
* ID of the LB Flexible IP to transfer to IPAM.
|
|
3324
|
+
*/
|
|
3325
|
+
ipId: string;
|
|
3326
|
+
};
|
|
3201
3327
|
export type ZonedApiUnsubscribeFromLbRequest = {
|
|
3202
3328
|
/**
|
|
3203
3329
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3204
3330
|
*/
|
|
3205
|
-
zone?: Zone;
|
|
3331
|
+
zone?: Zone | null;
|
|
3206
3332
|
/**
|
|
3207
3333
|
* Load Balancer ID.
|
|
3208
3334
|
*/
|
|
@@ -3212,7 +3338,7 @@ export type ZonedApiUpdateAclRequest = {
|
|
|
3212
3338
|
/**
|
|
3213
3339
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3214
3340
|
*/
|
|
3215
|
-
zone?: Zone;
|
|
3341
|
+
zone?: Zone | null;
|
|
3216
3342
|
/**
|
|
3217
3343
|
* ACL ID.
|
|
3218
3344
|
*/
|
|
@@ -3228,7 +3354,7 @@ export type ZonedApiUpdateAclRequest = {
|
|
|
3228
3354
|
/**
|
|
3229
3355
|
* ACL match filter object. One of `ip_subnet`, `ips_edge_services` or `http_filter` & `http_filter_value` are required.
|
|
3230
3356
|
*/
|
|
3231
|
-
match?: AclMatch;
|
|
3357
|
+
match?: AclMatch | null;
|
|
3232
3358
|
/**
|
|
3233
3359
|
* Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
|
|
3234
3360
|
*/
|
|
@@ -3236,13 +3362,13 @@ export type ZonedApiUpdateAclRequest = {
|
|
|
3236
3362
|
/**
|
|
3237
3363
|
* ACL description.
|
|
3238
3364
|
*/
|
|
3239
|
-
description?: string;
|
|
3365
|
+
description?: string | null;
|
|
3240
3366
|
};
|
|
3241
3367
|
export type ZonedApiUpdateBackendRequest = {
|
|
3242
3368
|
/**
|
|
3243
3369
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3244
3370
|
*/
|
|
3245
|
-
zone?: Zone;
|
|
3371
|
+
zone?: Zone | null;
|
|
3246
3372
|
/**
|
|
3247
3373
|
* Backend ID.
|
|
3248
3374
|
*/
|
|
@@ -3274,65 +3400,65 @@ export type ZonedApiUpdateBackendRequest = {
|
|
|
3274
3400
|
/**
|
|
3275
3401
|
* @deprecated Deprecated in favor of proxy_protocol field.
|
|
3276
3402
|
*/
|
|
3277
|
-
sendProxyV2?: boolean;
|
|
3403
|
+
sendProxyV2?: boolean | null;
|
|
3278
3404
|
/**
|
|
3279
3405
|
* Maximum allowed time for a backend server to process a request.
|
|
3280
3406
|
*/
|
|
3281
|
-
timeoutServer?: string;
|
|
3407
|
+
timeoutServer?: string | null;
|
|
3282
3408
|
/**
|
|
3283
3409
|
* Maximum allowed time for establishing a connection to a backend server.
|
|
3284
3410
|
*/
|
|
3285
|
-
timeoutConnect?: string;
|
|
3411
|
+
timeoutConnect?: string | null;
|
|
3286
3412
|
/**
|
|
3287
3413
|
* Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).
|
|
3288
3414
|
*/
|
|
3289
|
-
timeoutTunnel?: string;
|
|
3415
|
+
timeoutTunnel?: string | null;
|
|
3290
3416
|
/**
|
|
3291
3417
|
* Action to take when a backend server is marked as down.
|
|
3292
3418
|
*/
|
|
3293
|
-
onMarkedDownAction?: OnMarkedDownAction;
|
|
3419
|
+
onMarkedDownAction?: OnMarkedDownAction | null;
|
|
3294
3420
|
/**
|
|
3295
3421
|
* Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.
|
|
3296
3422
|
*/
|
|
3297
|
-
proxyProtocol?: ProxyProtocol;
|
|
3423
|
+
proxyProtocol?: ProxyProtocol | null;
|
|
3298
3424
|
/**
|
|
3299
3425
|
* Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
|
|
3300
3426
|
*/
|
|
3301
|
-
failoverHost?: string;
|
|
3427
|
+
failoverHost?: string | null;
|
|
3302
3428
|
/**
|
|
3303
3429
|
* Defines whether to enable SSL bridging between the Load Balancer and backend servers.
|
|
3304
3430
|
*/
|
|
3305
|
-
sslBridging?: boolean;
|
|
3431
|
+
sslBridging?: boolean | null;
|
|
3306
3432
|
/**
|
|
3307
3433
|
* Defines whether the server certificate verification should be ignored.
|
|
3308
3434
|
*/
|
|
3309
|
-
ignoreSslServerVerify?: boolean;
|
|
3435
|
+
ignoreSslServerVerify?: boolean | null;
|
|
3310
3436
|
/**
|
|
3311
3437
|
* Whether to use another backend server on each attempt.
|
|
3312
3438
|
*/
|
|
3313
|
-
redispatchAttemptCount?: number;
|
|
3439
|
+
redispatchAttemptCount?: number | null;
|
|
3314
3440
|
/**
|
|
3315
3441
|
* Number of retries when a backend server connection failed.
|
|
3316
3442
|
*/
|
|
3317
|
-
maxRetries?: number;
|
|
3443
|
+
maxRetries?: number | null;
|
|
3318
3444
|
/**
|
|
3319
3445
|
* Maximum number of connections allowed per backend server.
|
|
3320
3446
|
*/
|
|
3321
|
-
maxConnections?: number;
|
|
3447
|
+
maxConnections?: number | null;
|
|
3322
3448
|
/**
|
|
3323
3449
|
* Maximum time for a request to be left pending in queue when `max_connections` is reached.
|
|
3324
3450
|
*/
|
|
3325
|
-
timeoutQueue?: string;
|
|
3451
|
+
timeoutQueue?: string | null;
|
|
3326
3452
|
/**
|
|
3327
3453
|
* When connecting to backend servers, use this value as the HTTP Host header or TLS SNI. This allows routing to specific services on the backend server that are configured to respond to particular hostnames.
|
|
3328
3454
|
*/
|
|
3329
|
-
host?: string;
|
|
3455
|
+
host?: string | null;
|
|
3330
3456
|
};
|
|
3331
3457
|
export type ZonedApiUpdateCertificateRequest = {
|
|
3332
3458
|
/**
|
|
3333
3459
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3334
3460
|
*/
|
|
3335
|
-
zone?: Zone;
|
|
3461
|
+
zone?: Zone | null;
|
|
3336
3462
|
/**
|
|
3337
3463
|
* Certificate ID.
|
|
3338
3464
|
*/
|
|
@@ -3346,7 +3472,7 @@ export type ZonedApiUpdateFrontendRequest = {
|
|
|
3346
3472
|
/**
|
|
3347
3473
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3348
3474
|
*/
|
|
3349
|
-
zone?: Zone;
|
|
3475
|
+
zone?: Zone | null;
|
|
3350
3476
|
/**
|
|
3351
3477
|
* Frontend ID.
|
|
3352
3478
|
*/
|
|
@@ -3366,15 +3492,15 @@ export type ZonedApiUpdateFrontendRequest = {
|
|
|
3366
3492
|
/**
|
|
3367
3493
|
* Maximum allowed inactivity time on the client side.
|
|
3368
3494
|
*/
|
|
3369
|
-
timeoutClient?: string;
|
|
3495
|
+
timeoutClient?: string | null;
|
|
3370
3496
|
/**
|
|
3371
3497
|
* @deprecated Certificate ID, deprecated in favor of certificate_ids array.
|
|
3372
3498
|
*/
|
|
3373
|
-
certificateId?: string;
|
|
3499
|
+
certificateId?: string | null;
|
|
3374
3500
|
/**
|
|
3375
3501
|
* List of SSL/TLS certificate IDs to bind to the frontend.
|
|
3376
3502
|
*/
|
|
3377
|
-
certificateIds?: string[];
|
|
3503
|
+
certificateIds?: string[] | null;
|
|
3378
3504
|
/**
|
|
3379
3505
|
* Defines whether to enable HTTP/3 protocol on the frontend.
|
|
3380
3506
|
*/
|
|
@@ -3382,17 +3508,17 @@ export type ZonedApiUpdateFrontendRequest = {
|
|
|
3382
3508
|
/**
|
|
3383
3509
|
* Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
|
|
3384
3510
|
*/
|
|
3385
|
-
connectionRateLimit?: number;
|
|
3511
|
+
connectionRateLimit?: number | null;
|
|
3386
3512
|
/**
|
|
3387
3513
|
* Defines whether to enable access logs on the frontend.
|
|
3388
3514
|
*/
|
|
3389
|
-
enableAccessLogs?: boolean;
|
|
3515
|
+
enableAccessLogs?: boolean | null;
|
|
3390
3516
|
};
|
|
3391
3517
|
export type ZonedApiUpdateHealthCheckRequest = {
|
|
3392
3518
|
/**
|
|
3393
3519
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3394
3520
|
*/
|
|
3395
|
-
zone?: Zone;
|
|
3521
|
+
zone?: Zone | null;
|
|
3396
3522
|
/**
|
|
3397
3523
|
* Backend ID.
|
|
3398
3524
|
*/
|
|
@@ -3404,11 +3530,11 @@ export type ZonedApiUpdateHealthCheckRequest = {
|
|
|
3404
3530
|
/**
|
|
3405
3531
|
* Time to wait between two consecutive health checks.
|
|
3406
3532
|
*/
|
|
3407
|
-
checkDelay?: string;
|
|
3533
|
+
checkDelay?: string | null;
|
|
3408
3534
|
/**
|
|
3409
3535
|
* Maximum time a backend server has to reply to the health check.
|
|
3410
3536
|
*/
|
|
3411
|
-
checkTimeout?: string;
|
|
3537
|
+
checkTimeout?: string | null;
|
|
3412
3538
|
/**
|
|
3413
3539
|
* Number of consecutive unsuccessful health checks after which the server will be considered dead.
|
|
3414
3540
|
*/
|
|
@@ -3422,53 +3548,53 @@ export type ZonedApiUpdateHealthCheckRequest = {
|
|
|
3422
3548
|
*
|
|
3423
3549
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3424
3550
|
*/
|
|
3425
|
-
tcpConfig?: HealthCheckTcpConfig;
|
|
3551
|
+
tcpConfig?: HealthCheckTcpConfig | null;
|
|
3426
3552
|
/**
|
|
3427
3553
|
* Object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
|
|
3428
3554
|
*
|
|
3429
3555
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3430
3556
|
*/
|
|
3431
|
-
mysqlConfig?: HealthCheckMysqlConfig;
|
|
3557
|
+
mysqlConfig?: HealthCheckMysqlConfig | null;
|
|
3432
3558
|
/**
|
|
3433
3559
|
* Object to configure a PostgreSQL health check.
|
|
3434
3560
|
*
|
|
3435
3561
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3436
3562
|
*/
|
|
3437
|
-
pgsqlConfig?: HealthCheckPgsqlConfig;
|
|
3563
|
+
pgsqlConfig?: HealthCheckPgsqlConfig | null;
|
|
3438
3564
|
/**
|
|
3439
3565
|
* Object to configure an LDAP health check. The response is analyzed to find the LDAPv3 response message.
|
|
3440
3566
|
*
|
|
3441
3567
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3442
3568
|
*/
|
|
3443
|
-
ldapConfig?: HealthCheckLdapConfig;
|
|
3569
|
+
ldapConfig?: HealthCheckLdapConfig | null;
|
|
3444
3570
|
/**
|
|
3445
3571
|
* Object to configure a Redis health check. The response is analyzed to find the +PONG response message.
|
|
3446
3572
|
*
|
|
3447
3573
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3448
3574
|
*/
|
|
3449
|
-
redisConfig?: HealthCheckRedisConfig;
|
|
3575
|
+
redisConfig?: HealthCheckRedisConfig | null;
|
|
3450
3576
|
/**
|
|
3451
3577
|
* Object to configure an HTTP health check.
|
|
3452
3578
|
*
|
|
3453
3579
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3454
3580
|
*/
|
|
3455
|
-
httpConfig?: HealthCheckHttpConfig;
|
|
3581
|
+
httpConfig?: HealthCheckHttpConfig | null;
|
|
3456
3582
|
/**
|
|
3457
3583
|
* Object to configure an HTTPS health check.
|
|
3458
3584
|
*
|
|
3459
3585
|
* One-of ('config'): at most one of 'tcpConfig', 'mysqlConfig', 'pgsqlConfig', 'ldapConfig', 'redisConfig', 'httpConfig', 'httpsConfig' could be set.
|
|
3460
3586
|
*/
|
|
3461
|
-
httpsConfig?: HealthCheckHttpsConfig;
|
|
3587
|
+
httpsConfig?: HealthCheckHttpsConfig | null;
|
|
3462
3588
|
/**
|
|
3463
3589
|
* Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
|
|
3464
3590
|
*/
|
|
3465
|
-
transientCheckDelay?: string;
|
|
3591
|
+
transientCheckDelay?: string | null;
|
|
3466
3592
|
};
|
|
3467
3593
|
export type ZonedApiUpdateIpRequest = {
|
|
3468
3594
|
/**
|
|
3469
3595
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3470
3596
|
*/
|
|
3471
|
-
zone?: Zone;
|
|
3597
|
+
zone?: Zone | null;
|
|
3472
3598
|
/**
|
|
3473
3599
|
* IP address ID.
|
|
3474
3600
|
*/
|
|
@@ -3476,21 +3602,21 @@ export type ZonedApiUpdateIpRequest = {
|
|
|
3476
3602
|
/**
|
|
3477
3603
|
* Reverse DNS (domain name) for the IP address.
|
|
3478
3604
|
*/
|
|
3479
|
-
reverse?: string;
|
|
3605
|
+
reverse?: string | null;
|
|
3480
3606
|
/**
|
|
3481
3607
|
* ID of the server on which to attach the flexible IP.
|
|
3482
3608
|
*/
|
|
3483
|
-
lbId?: string;
|
|
3609
|
+
lbId?: string | null;
|
|
3484
3610
|
/**
|
|
3485
3611
|
* List of tags for the IP.
|
|
3486
3612
|
*/
|
|
3487
|
-
tags?: string[];
|
|
3613
|
+
tags?: string[] | null;
|
|
3488
3614
|
};
|
|
3489
3615
|
export type ZonedApiUpdateLbRequest = {
|
|
3490
3616
|
/**
|
|
3491
3617
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3492
3618
|
*/
|
|
3493
|
-
zone?: Zone;
|
|
3619
|
+
zone?: Zone | null;
|
|
3494
3620
|
/**
|
|
3495
3621
|
* Load Balancer ID.
|
|
3496
3622
|
*/
|
|
@@ -3506,17 +3632,17 @@ export type ZonedApiUpdateLbRequest = {
|
|
|
3506
3632
|
/**
|
|
3507
3633
|
* List of tags for the Load Balancer.
|
|
3508
3634
|
*/
|
|
3509
|
-
tags?: string[];
|
|
3635
|
+
tags?: string[] | null;
|
|
3510
3636
|
/**
|
|
3511
3637
|
* Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems (>= TLS1.2). Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility (= TLS1.3). Old is compatible with a small number of very old clients and should be used only as a last resort (>= TLS1.0).
|
|
3512
3638
|
*/
|
|
3513
|
-
sslCompatibilityLevel?: SSLCompatibilityLevel;
|
|
3639
|
+
sslCompatibilityLevel?: SSLCompatibilityLevel | null;
|
|
3514
3640
|
};
|
|
3515
3641
|
export type ZonedApiUpdateRouteRequest = {
|
|
3516
3642
|
/**
|
|
3517
3643
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3518
3644
|
*/
|
|
3519
|
-
zone?: Zone;
|
|
3645
|
+
zone?: Zone | null;
|
|
3520
3646
|
/**
|
|
3521
3647
|
* Route ID.
|
|
3522
3648
|
*/
|
|
@@ -3528,13 +3654,13 @@ export type ZonedApiUpdateRouteRequest = {
|
|
|
3528
3654
|
/**
|
|
3529
3655
|
* Object defining the match condition for a route to be applied. If an incoming client session matches the specified condition (i.e. it has a matching SNI value or HTTP Host header value), it will be passed to the target backend.
|
|
3530
3656
|
*/
|
|
3531
|
-
match?: RouteMatch;
|
|
3657
|
+
match?: RouteMatch | null;
|
|
3532
3658
|
};
|
|
3533
3659
|
export type ZonedApiUpdateSubscriberRequest = {
|
|
3534
3660
|
/**
|
|
3535
3661
|
* Zone to target. If none is passed will use default zone from the config.
|
|
3536
3662
|
*/
|
|
3537
|
-
zone?: Zone;
|
|
3663
|
+
zone?: Zone | null;
|
|
3538
3664
|
/**
|
|
3539
3665
|
* Subscriber ID.
|
|
3540
3666
|
*/
|
|
@@ -3548,12 +3674,12 @@ export type ZonedApiUpdateSubscriberRequest = {
|
|
|
3548
3674
|
*
|
|
3549
3675
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
3550
3676
|
*/
|
|
3551
|
-
emailConfig?: SubscriberEmailConfig;
|
|
3677
|
+
emailConfig?: SubscriberEmailConfig | null;
|
|
3552
3678
|
/**
|
|
3553
3679
|
* Webhook URI configuration.
|
|
3554
3680
|
*
|
|
3555
3681
|
* One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.
|
|
3556
3682
|
*/
|
|
3557
|
-
webhookConfig?: SubscriberWebhookConfig;
|
|
3683
|
+
webhookConfig?: SubscriberWebhookConfig | null;
|
|
3558
3684
|
};
|
|
3559
3685
|
//#endregion
|