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