@scaleway/sdk-edge-services 2.27.3 → 2.29.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.
@@ -43,16 +43,16 @@ export interface ScalewayLb {
43
43
  /**
44
44
  * Defines whether the Load Balancer's frontend handles SSL connections.
45
45
  */
46
- isSsl?: boolean;
46
+ isSsl?: boolean | null;
47
47
  /**
48
48
  * Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer.
49
49
  */
50
- domainName?: string;
50
+ domainName?: string | null;
51
51
  /**
52
52
  * Defines whether to forward websocket requests to the load balancer.
53
53
  */
54
- hasWebsocket?: boolean;
55
- privateNetworkId?: string;
54
+ hasWebsocket?: boolean | null;
55
+ privateNetworkId?: string | null;
56
56
  }
57
57
  export interface RuleHttpMatchHostFilter {
58
58
  hostFilterType: RuleHttpMatchHostFilterHostFilterType;
@@ -78,15 +78,15 @@ export interface ScalewayS3BackendConfig {
78
78
  /**
79
79
  * Name of the Bucket.
80
80
  */
81
- bucketName?: string;
81
+ bucketName?: string | null;
82
82
  /**
83
83
  * Region of the Bucket.
84
84
  */
85
- bucketRegion?: string;
85
+ bucketRegion?: string | null;
86
86
  /**
87
87
  * Defines whether the bucket website feature is enabled.
88
88
  */
89
- isWebsite?: boolean;
89
+ isWebsite?: boolean | null;
90
90
  }
91
91
  export interface ScalewayServerlessContainerBackendConfig {
92
92
  /**
@@ -130,11 +130,11 @@ export interface RuleHttpMatch {
130
130
  /**
131
131
  * HTTP URL path to filter for. A request whose path matches the given filter will be considered to match the rule. All paths will match if none is provided.
132
132
  */
133
- pathFilter?: RuleHttpMatchPathFilter;
133
+ pathFilter?: RuleHttpMatchPathFilter | null;
134
134
  /**
135
135
  * Host to filter for. A request whose host matches the given filter will be considered to match the rule. All hosts will match if none is provided.
136
136
  */
137
- hostFilter?: RuleHttpMatchHostFilter;
137
+ hostFilter?: RuleHttpMatchHostFilter | null;
138
138
  }
139
139
  export interface BackendStage {
140
140
  /**
@@ -152,35 +152,35 @@ export interface BackendStage {
152
152
  /**
153
153
  * Date the backend stage was created.
154
154
  */
155
- createdAt?: Date;
155
+ createdAt?: Date | null;
156
156
  /**
157
157
  * Date the backend stage was last updated.
158
158
  */
159
- updatedAt?: Date;
159
+ updatedAt?: Date | null;
160
160
  /**
161
161
  * Scaleway Object Storage origin bucket (S3) linked to the backend stage.
162
162
  *
163
163
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
164
164
  */
165
- scalewayS3?: ScalewayS3BackendConfig;
165
+ scalewayS3?: ScalewayS3BackendConfig | null;
166
166
  /**
167
167
  * Scaleway Load Balancer origin linked to the backend stage.
168
168
  *
169
169
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
170
170
  */
171
- scalewayLb?: ScalewayLbBackendConfig;
171
+ scalewayLb?: ScalewayLbBackendConfig | null;
172
172
  /**
173
173
  * Scaleway Serverless container origin linked to the backend stage.
174
174
  *
175
175
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
176
176
  */
177
- scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig;
177
+ scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig | null;
178
178
  /**
179
179
  * Scaleway Serverless function origin linked to the backend stage.
180
180
  *
181
181
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
182
182
  */
183
- scalewayServerlessFunction?: ScalewayServerlessFunctionBackendConfig;
183
+ scalewayServerlessFunction?: ScalewayServerlessFunctionBackendConfig | null;
184
184
  }
185
185
  export interface CacheStage {
186
186
  /**
@@ -194,7 +194,7 @@ export interface CacheStage {
194
194
  /**
195
195
  * Time To Live (TTL) in seconds. Defines how long content is cached.
196
196
  */
197
- fallbackTtl?: string;
197
+ fallbackTtl?: string | null;
198
198
  /**
199
199
  * Defines whether responses to requests with cookies must be stored in the cache.
200
200
  */
@@ -206,27 +206,27 @@ export interface CacheStage {
206
206
  /**
207
207
  * Date the cache stage was created.
208
208
  */
209
- createdAt?: Date;
209
+ createdAt?: Date | null;
210
210
  /**
211
211
  * Date the cache stage was last updated.
212
212
  */
213
- updatedAt?: Date;
213
+ updatedAt?: Date | null;
214
214
  /**
215
215
  *
216
216
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId', 'routeStageId' could be set.
217
217
  */
218
- wafStageId?: string;
218
+ wafStageId?: string | null;
219
219
  /**
220
220
  * Backend stage ID the cache stage is linked to.
221
221
  *
222
222
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId', 'routeStageId' could be set.
223
223
  */
224
- backendStageId?: string;
224
+ backendStageId?: string | null;
225
225
  /**
226
226
  *
227
227
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId', 'routeStageId' could be set.
228
228
  */
229
- routeStageId?: string;
229
+ routeStageId?: string | null;
230
230
  }
231
231
  export interface DNSStage {
232
232
  /**
@@ -257,29 +257,29 @@ export interface DNSStage {
257
257
  /**
258
258
  * Date the DNS stage was created.
259
259
  */
260
- createdAt?: Date;
260
+ createdAt?: Date | null;
261
261
  /**
262
262
  * Date the DNS stage was last updated.
263
263
  */
264
- updatedAt?: Date;
264
+ updatedAt?: Date | null;
265
265
  /**
266
266
  * TLS stage ID the DNS stage is linked to.
267
267
  *
268
268
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
269
269
  */
270
- tlsStageId?: string;
270
+ tlsStageId?: string | null;
271
271
  /**
272
272
  * Cache stage ID the DNS stage is linked to.
273
273
  *
274
274
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
275
275
  */
276
- cacheStageId?: string;
276
+ cacheStageId?: string | null;
277
277
  /**
278
278
  * Backend stage ID the DNS stage is linked to.
279
279
  *
280
280
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
281
281
  */
282
- backendStageId?: string;
282
+ backendStageId?: string | null;
283
283
  /**
284
284
  * Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
285
285
  */
@@ -321,11 +321,11 @@ export interface Pipeline {
321
321
  /**
322
322
  * Date the pipeline was created.
323
323
  */
324
- createdAt?: Date;
324
+ createdAt?: Date | null;
325
325
  /**
326
326
  * Date the pipeline was last updated.
327
327
  */
328
- updatedAt?: Date;
328
+ updatedAt?: Date | null;
329
329
  vpcEndpointIds: string[];
330
330
  }
331
331
  export interface RouteStage {
@@ -342,13 +342,13 @@ export interface RouteStage {
342
342
  *
343
343
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId' could be set.
344
344
  */
345
- wafStageId?: string;
345
+ wafStageId?: string | null;
346
346
  /**
347
347
  * ID of the backend stage HTTP requests should be forwarded to when no rules are matched.
348
348
  *
349
349
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId' could be set.
350
350
  */
351
- backendStageId?: string;
351
+ backendStageId?: string | null;
352
352
  /**
353
353
  * Current status of the stage.
354
354
  */
@@ -356,11 +356,11 @@ export interface RouteStage {
356
356
  /**
357
357
  * Date the route stage was created.
358
358
  */
359
- createdAt?: Date;
359
+ createdAt?: Date | null;
360
360
  /**
361
361
  * Date the route stage was last updated.
362
362
  */
363
- updatedAt?: Date;
363
+ updatedAt?: Date | null;
364
364
  }
365
365
  export interface TLSStage {
366
366
  /**
@@ -382,7 +382,7 @@ export interface TLSStage {
382
382
  /**
383
383
  * Expiration date of the certificate.
384
384
  */
385
- certificateExpiresAt?: Date;
385
+ certificateExpiresAt?: Date | null;
386
386
  /**
387
387
  * Current status of the stage.
388
388
  */
@@ -390,33 +390,33 @@ export interface TLSStage {
390
390
  /**
391
391
  * Date the TLS stage was created.
392
392
  */
393
- createdAt?: Date;
393
+ createdAt?: Date | null;
394
394
  /**
395
395
  * Date the TLS stage was last updated.
396
396
  */
397
- updatedAt?: Date;
397
+ updatedAt?: Date | null;
398
398
  /**
399
399
  * Cache stage ID the TLS stage is linked to.
400
400
  *
401
401
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
402
402
  */
403
- cacheStageId?: string;
403
+ cacheStageId?: string | null;
404
404
  /**
405
405
  * Backend stage ID the TLS stage is linked to.
406
406
  *
407
407
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
408
408
  */
409
- backendStageId?: string;
409
+ backendStageId?: string | null;
410
410
  /**
411
411
  *
412
412
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
413
413
  */
414
- wafStageId?: string;
414
+ wafStageId?: string | null;
415
415
  /**
416
416
  *
417
417
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'wafStageId', 'routeStageId' could be set.
418
418
  */
419
- routeStageId?: string;
419
+ routeStageId?: string | null;
420
420
  }
421
421
  export interface WafStage {
422
422
  /**
@@ -442,17 +442,17 @@ export interface WafStage {
442
442
  /**
443
443
  * Date the WAF stage was created.
444
444
  */
445
- createdAt?: Date;
445
+ createdAt?: Date | null;
446
446
  /**
447
447
  * Date the WAF stage was last updated.
448
448
  */
449
- updatedAt?: Date;
449
+ updatedAt?: Date | null;
450
450
  /**
451
451
  * ID of the backend stage to forward requests to after the WAF stage.
452
452
  *
453
453
  * One-of ('next'): at most one of 'backendStageId' could be set.
454
454
  */
455
- backendStageId?: string;
455
+ backendStageId?: string | null;
456
456
  /**
457
457
  * List of OWASP® CRS rule IDs excluded from WAF.
458
458
  */
@@ -464,19 +464,19 @@ export interface SetRouteRulesRequestRouteRule {
464
464
  *
465
465
  * One-of ('match'): at most one of 'ruleHttpMatch' could be set.
466
466
  */
467
- ruleHttpMatch?: RuleHttpMatch;
467
+ ruleHttpMatch?: RuleHttpMatch | null;
468
468
  /**
469
469
  * ID of the backend stage that requests matching the rule should be forwarded to.
470
470
  *
471
471
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
472
472
  */
473
- backendStageId?: string;
473
+ backendStageId?: string | null;
474
474
  /**
475
475
  * ID of the WAF stage that requests matching the rule should be forwarded to.
476
476
  *
477
477
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
478
478
  */
479
- wafStageId?: string;
479
+ wafStageId?: string | null;
480
480
  }
481
481
  export interface RouteRule {
482
482
  /**
@@ -484,13 +484,13 @@ export interface RouteRule {
484
484
  *
485
485
  * One-of ('match'): at most one of 'ruleHttpMatch' could be set.
486
486
  */
487
- ruleHttpMatch?: RuleHttpMatch;
487
+ ruleHttpMatch?: RuleHttpMatch | null;
488
488
  /**
489
489
  * ID of the backend stage that requests matching the rule should be forwarded to.
490
490
  *
491
491
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
492
492
  */
493
- backendStageId?: string;
493
+ backendStageId?: string | null;
494
494
  /**
495
495
  * Position of the rule which determines the order of processing within the route stage.
496
496
  */
@@ -504,7 +504,7 @@ export interface RouteRule {
504
504
  *
505
505
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
506
506
  */
507
- wafStageId?: string;
507
+ wafStageId?: string | null;
508
508
  }
509
509
  export interface CheckPEMChainRequestSecretChain {
510
510
  secretId: string;
@@ -543,27 +543,27 @@ export interface PlanUsageDetails {
543
543
  /**
544
544
  * Cost to date (this month) for the corresponding Edge Services subscription plan.
545
545
  */
546
- planCost?: Money;
546
+ planCost?: Money | null;
547
547
  }
548
548
  export interface HeadStageResponseHeadStage {
549
549
  /**
550
550
  *
551
551
  * One-of ('head'): at most one of 'dnsStageId' could be set.
552
552
  */
553
- dnsStageId?: string;
553
+ dnsStageId?: string | null;
554
554
  }
555
555
  export interface ListHeadStagesResponseHeadStage {
556
556
  /**
557
557
  *
558
558
  * One-of ('head'): at most one of 'dnsStageId' could be set.
559
559
  */
560
- dnsStageId?: string;
560
+ dnsStageId?: string | null;
561
561
  }
562
562
  export interface Node {
563
563
  ip: string;
564
564
  }
565
565
  export interface PipelineStages {
566
- pipeline?: Pipeline;
566
+ pipeline?: Pipeline | null;
567
567
  dnsStages: DNSStage[];
568
568
  tlsStages: TLSStage[];
569
569
  cacheStages: CacheStage[];
@@ -589,21 +589,21 @@ export interface PurgeRequest {
589
589
  *
590
590
  * One-of ('target'): at most one of 'assets', 'all' could be set.
591
591
  */
592
- assets?: string[];
592
+ assets?: string[] | null;
593
593
  /**
594
594
  * Defines whether to purge all content.
595
595
  *
596
596
  * One-of ('target'): at most one of 'assets', 'all' could be set.
597
597
  */
598
- all?: boolean;
598
+ all?: boolean | null;
599
599
  /**
600
600
  * Date the purge request was created.
601
601
  */
602
- createdAt?: Date;
602
+ createdAt?: Date | null;
603
603
  /**
604
604
  * Date the purge request was last updated.
605
605
  */
606
- updatedAt?: Date;
606
+ updatedAt?: Date | null;
607
607
  }
608
608
  export interface VPCEndpoint {
609
609
  /**
@@ -625,11 +625,11 @@ export interface VPCEndpoint {
625
625
  /**
626
626
  * Date the VPC Endpoint was created.
627
627
  */
628
- createdAt?: Date;
628
+ createdAt?: Date | null;
629
629
  /**
630
630
  * Date the VPC Endpoint was last updated.
631
631
  */
632
- updatedAt?: Date;
632
+ updatedAt?: Date | null;
633
633
  }
634
634
  export interface SetHeadStageRequestAddNewHeadStage {
635
635
  newStageId: string;
@@ -655,19 +655,19 @@ export type AddRouteRulesRequest = {
655
655
  /**
656
656
  * List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
657
657
  */
658
- routeRules?: SetRouteRulesRequestRouteRule[];
658
+ routeRules?: SetRouteRulesRequestRouteRule[] | null;
659
659
  /**
660
660
  * Add rules after the given position.
661
661
  *
662
662
  * One-of ('position'): at most one of 'afterPosition', 'beforePosition' could be set.
663
663
  */
664
- afterPosition?: number;
664
+ afterPosition?: number | null;
665
665
  /**
666
666
  * Add rules before the given position.
667
667
  *
668
668
  * One-of ('position'): at most one of 'afterPosition', 'beforePosition' could be set.
669
669
  */
670
- beforePosition?: number;
670
+ beforePosition?: number | null;
671
671
  };
672
672
  export interface AddRouteRulesResponse {
673
673
  /**
@@ -676,7 +676,7 @@ export interface AddRouteRulesResponse {
676
676
  routeRules: RouteRule[];
677
677
  }
678
678
  export type CheckDomainRequest = {
679
- projectId?: string;
679
+ projectId?: string | null;
680
680
  fqdn: string;
681
681
  cname: string;
682
682
  };
@@ -684,25 +684,25 @@ export interface CheckDomainResponse {
684
684
  isValid: boolean;
685
685
  }
686
686
  export type CheckLbOriginRequest = {
687
- lb?: ScalewayLb;
687
+ lb?: ScalewayLb | null;
688
688
  };
689
689
  export interface CheckLbOriginResponse {
690
690
  isValid: boolean;
691
691
  errorType: LbOriginError;
692
692
  }
693
693
  export type CheckPEMChainRequest = {
694
- projectId?: string;
694
+ projectId?: string | null;
695
695
  fqdn: string;
696
696
  /**
697
697
  *
698
698
  * One-of ('chain'): at most one of 'secret', 'raw' could be set.
699
699
  */
700
- secret?: CheckPEMChainRequestSecretChain;
700
+ secret?: CheckPEMChainRequestSecretChain | null;
701
701
  /**
702
702
  *
703
703
  * One-of ('chain'): at most one of 'secret', 'raw' could be set.
704
704
  */
705
- raw?: string;
705
+ raw?: string | null;
706
706
  };
707
707
  export interface CheckPEMChainResponse {
708
708
  isValid: boolean;
@@ -717,25 +717,25 @@ export type CreateBackendStageRequest = {
717
717
  *
718
718
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
719
719
  */
720
- scalewayS3?: ScalewayS3BackendConfig;
720
+ scalewayS3?: ScalewayS3BackendConfig | null;
721
721
  /**
722
722
  * Scaleway Load Balancer origin linked to the backend stage.
723
723
  *
724
724
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
725
725
  */
726
- scalewayLb?: ScalewayLbBackendConfig;
726
+ scalewayLb?: ScalewayLbBackendConfig | null;
727
727
  /**
728
728
  * Scaleway Serverless container origin linked to the backend stage.
729
729
  *
730
730
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
731
731
  */
732
- scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig;
732
+ scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig | null;
733
733
  /**
734
734
  * Scaleway Serverless function origin linked to the backend stage.
735
735
  *
736
736
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
737
737
  */
738
- scalewayServerlessFunction?: ScalewayServerlessFunctionBackendConfig;
738
+ scalewayServerlessFunction?: ScalewayServerlessFunctionBackendConfig | null;
739
739
  };
740
740
  export type CreateCacheStageRequest = {
741
741
  /**
@@ -745,27 +745,27 @@ export type CreateCacheStageRequest = {
745
745
  /**
746
746
  * Time To Live (TTL) in seconds. Defines how long content is cached.
747
747
  */
748
- fallbackTtl?: string;
748
+ fallbackTtl?: string | null;
749
749
  /**
750
750
  * Defines whether responses to requests with cookies must be stored in the cache.
751
751
  */
752
- includeCookies?: boolean;
752
+ includeCookies?: boolean | null;
753
753
  /**
754
754
  * Backend stage ID the cache stage will be linked to.
755
755
  *
756
756
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
757
757
  */
758
- backendStageId?: string;
758
+ backendStageId?: string | null;
759
759
  /**
760
760
  *
761
761
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
762
762
  */
763
- wafStageId?: string;
763
+ wafStageId?: string | null;
764
764
  /**
765
765
  *
766
766
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
767
767
  */
768
- routeStageId?: string;
768
+ routeStageId?: string | null;
769
769
  };
770
770
  export type CreateDNSStageRequest = {
771
771
  /**
@@ -775,39 +775,39 @@ export type CreateDNSStageRequest = {
775
775
  /**
776
776
  * Custom Fully Qualified Domain Name to be configured (only 1 FQDN can be setup for now).
777
777
  */
778
- fqdns?: string[];
778
+ fqdns?: string[] | null;
779
779
  /**
780
780
  * TLS stage ID the DNS stage will be linked to.
781
781
  *
782
782
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
783
783
  */
784
- tlsStageId?: string;
784
+ tlsStageId?: string | null;
785
785
  /**
786
786
  * Cache stage ID the DNS stage will be linked to.
787
787
  *
788
788
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
789
789
  */
790
- cacheStageId?: string;
790
+ cacheStageId?: string | null;
791
791
  /**
792
792
  * Backend stage ID the DNS stage will be linked to.
793
793
  *
794
794
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
795
795
  */
796
- backendStageId?: string;
796
+ backendStageId?: string | null;
797
797
  /**
798
798
  * Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
799
799
  */
800
- wildcardDomain?: boolean;
800
+ wildcardDomain?: boolean | null;
801
801
  /**
802
802
  * When true, Fully Qualified Domain Names are accessible exclusively within the VPC.
803
803
  */
804
- fullPrivate?: boolean;
804
+ fullPrivate?: boolean | null;
805
805
  };
806
806
  export type CreatePipelineRequest = {
807
807
  /**
808
808
  * Project ID in which the pipeline will be created.
809
809
  */
810
- projectId?: string;
810
+ projectId?: string | null;
811
811
  /**
812
812
  * Name of the pipeline.
813
813
  */
@@ -827,13 +827,13 @@ export type CreatePurgeRequestRequest = {
827
827
  *
828
828
  * One-of ('target'): at most one of 'assets', 'all' could be set.
829
829
  */
830
- assets?: string[];
830
+ assets?: string[] | null;
831
831
  /**
832
832
  * Defines whether to purge all content.
833
833
  *
834
834
  * One-of ('target'): at most one of 'assets', 'all' could be set.
835
835
  */
836
- all?: boolean;
836
+ all?: boolean | null;
837
837
  };
838
838
  export type CreateRouteStageRequest = {
839
839
  /**
@@ -845,13 +845,13 @@ export type CreateRouteStageRequest = {
845
845
  *
846
846
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId' could be set.
847
847
  */
848
- wafStageId?: string;
848
+ wafStageId?: string | null;
849
849
  /**
850
850
  * ID of the backend stage HTTP requests should be forwarded to when no rules are matched.
851
851
  *
852
852
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId' could be set.
853
853
  */
854
- backendStageId?: string;
854
+ backendStageId?: string | null;
855
855
  };
856
856
  export type CreateTLSStageRequest = {
857
857
  /**
@@ -861,43 +861,43 @@ export type CreateTLSStageRequest = {
861
861
  /**
862
862
  * Secret (from Scaleway Secret Manager) containing your custom certificate.
863
863
  */
864
- secrets?: TLSSecret[];
864
+ secrets?: TLSSecret[] | null;
865
865
  /**
866
866
  * True when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
867
867
  */
868
- managedCertificate?: boolean;
868
+ managedCertificate?: boolean | null;
869
869
  /**
870
870
  * Cache stage ID the TLS stage will be linked to.
871
871
  *
872
872
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
873
873
  */
874
- cacheStageId?: string;
874
+ cacheStageId?: string | null;
875
875
  /**
876
876
  * Backend stage ID the TLS stage will be linked to.
877
877
  *
878
878
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
879
879
  */
880
- backendStageId?: string;
880
+ backendStageId?: string | null;
881
881
  /**
882
882
  *
883
883
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
884
884
  */
885
- routeStageId?: string;
885
+ routeStageId?: string | null;
886
886
  /**
887
887
  *
888
888
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
889
889
  */
890
- wafStageId?: string;
890
+ wafStageId?: string | null;
891
891
  };
892
892
  export type CreateVPCEndpointRequest = {
893
893
  /**
894
894
  * Project ID of the VPC Endpoint.
895
895
  */
896
- projectId?: string;
896
+ projectId?: string | null;
897
897
  /**
898
898
  * Zone of the VPC Endpoint.
899
899
  */
900
- region?: Region;
900
+ region?: Region | null;
901
901
  /**
902
902
  * Private Network ID of the VPC Endpoint.
903
903
  */
@@ -911,7 +911,7 @@ export type CreateWafStageRequest = {
911
911
  /**
912
912
  * Mode defining WAF behavior (`disable`/`log_only`/`enable`).
913
913
  */
914
- mode?: WafStageMode;
914
+ mode?: WafStageMode | null;
915
915
  /**
916
916
  * Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
917
917
  */
@@ -919,13 +919,13 @@ export type CreateWafStageRequest = {
919
919
  /**
920
920
  * List of OWASP® CRS rule IDs excluded from WAF.
921
921
  */
922
- exclusionRules?: WafExclusionRules;
922
+ exclusionRules?: WafExclusionRules | null;
923
923
  /**
924
924
  * ID of the backend stage to forward requests to after the WAF stage.
925
925
  *
926
926
  * One-of ('next'): at most one of 'backendStageId' could be set.
927
927
  */
928
- backendStageId?: string;
928
+ backendStageId?: string | null;
929
929
  };
930
930
  export type DeleteBackendStageRequest = {
931
931
  /**
@@ -940,7 +940,7 @@ export type DeleteCacheStageRequest = {
940
940
  cacheStageId: string;
941
941
  };
942
942
  export type DeleteCurrentPlanRequest = {
943
- projectId?: string;
943
+ projectId?: string | null;
944
944
  };
945
945
  export type DeleteDNSStageRequest = {
946
946
  /**
@@ -985,17 +985,17 @@ export type GetBackendStageRequest = {
985
985
  backendStageId: string;
986
986
  };
987
987
  export type GetBillingRequest = {
988
- projectId?: string;
988
+ projectId?: string | null;
989
989
  };
990
990
  export interface GetBillingResponse {
991
991
  /**
992
992
  * Information on the currently-selected, active Edge Services subscription plan.
993
993
  */
994
- currentPlan?: PlanDetails;
994
+ currentPlan?: PlanDetails | null;
995
995
  /**
996
996
  * Cost to date (this month) for Edge Service subscription plans. This comprises the pro-rata cost of the current subscription plan, and any previous subscription plans that were active earlier in the month.
997
997
  */
998
- planCost?: Money;
998
+ planCost?: Money | null;
999
999
  /**
1000
1000
  * Total number of pipelines currently configured.
1001
1001
  */
@@ -1003,7 +1003,7 @@ export interface GetBillingResponse {
1003
1003
  /**
1004
1004
  * Cost to date (this month) of pipelines not included in the subscription plans.
1005
1005
  */
1006
- extraPipelinesCost?: Money;
1006
+ extraPipelinesCost?: Money | null;
1007
1007
  /**
1008
1008
  * Total amount of data egressed from the cache in gigabytes from the beginning of the month, for the active subscription plan.
1009
1009
  */
@@ -1015,7 +1015,7 @@ export interface GetBillingResponse {
1015
1015
  /**
1016
1016
  * Cost to date (this month) of the data egressed from the cache that is not included in the subscription plans.
1017
1017
  */
1018
- extraCacheCost?: Money;
1018
+ extraCacheCost?: Money | null;
1019
1019
  /**
1020
1020
  * Total number of requests processed by the WAF since the beginning of the current month, for the active subscription plan.
1021
1021
  */
@@ -1027,11 +1027,11 @@ export interface GetBillingResponse {
1027
1027
  /**
1028
1028
  * Cost to date (this month) of the extra requests processed by the WAF that were not included in the subscription plans.
1029
1029
  */
1030
- extraWafCost?: Money;
1030
+ extraWafCost?: Money | null;
1031
1031
  /**
1032
1032
  * Cost of activating WAF add-on (where subscription plan does not include WAF).
1033
1033
  */
1034
- wafAddOn?: Money;
1034
+ wafAddOn?: Money | null;
1035
1035
  /**
1036
1036
  * Detailed costs and usage for all Edge Services subscription plans that were activated during the month.
1037
1037
  */
@@ -1039,7 +1039,7 @@ export interface GetBillingResponse {
1039
1039
  /**
1040
1040
  * Total cost to date (this month) of all Edge Services resources including active subscription plan, previously active plans, extra pipelines and extra egress cache data.
1041
1041
  */
1042
- totalCost?: Money;
1042
+ totalCost?: Money | null;
1043
1043
  }
1044
1044
  export type GetCacheStageRequest = {
1045
1045
  /**
@@ -1048,7 +1048,7 @@ export type GetCacheStageRequest = {
1048
1048
  cacheStageId: string;
1049
1049
  };
1050
1050
  export type GetCurrentPlanRequest = {
1051
- projectId?: string;
1051
+ projectId?: string | null;
1052
1052
  };
1053
1053
  export type GetDNSStageRequest = {
1054
1054
  /**
@@ -1096,7 +1096,7 @@ export interface HeadStageResponse {
1096
1096
  /**
1097
1097
  * Modified or created head stage.
1098
1098
  */
1099
- headStage?: HeadStageResponseHeadStage;
1099
+ headStage?: HeadStageResponseHeadStage | null;
1100
1100
  }
1101
1101
  export type ListBackendStagesRequest = {
1102
1102
  /**
@@ -1106,27 +1106,27 @@ export type ListBackendStagesRequest = {
1106
1106
  /**
1107
1107
  * Sort order of backend stages in the response.
1108
1108
  */
1109
- orderBy?: ListBackendStagesRequestOrderBy;
1109
+ orderBy?: ListBackendStagesRequestOrderBy | null;
1110
1110
  /**
1111
1111
  * Page number to return, from the paginated results.
1112
1112
  */
1113
- page?: number;
1113
+ page?: number | null;
1114
1114
  /**
1115
1115
  * Number of backend stages to return per page.
1116
1116
  */
1117
- pageSize?: number;
1117
+ pageSize?: number | null;
1118
1118
  /**
1119
1119
  * Bucket name to filter for. Only backend stages from this Bucket will be returned.
1120
1120
  */
1121
- bucketName?: string;
1121
+ bucketName?: string | null;
1122
1122
  /**
1123
1123
  * Bucket region to filter for. Only backend stages with buckets in this region will be returned.
1124
1124
  */
1125
- bucketRegion?: string;
1125
+ bucketRegion?: string | null;
1126
1126
  /**
1127
1127
  * Load Balancer ID to filter for. Only backend stages with this Load Balancer will be returned.
1128
1128
  */
1129
- lbId?: string;
1129
+ lbId?: string | null;
1130
1130
  };
1131
1131
  export interface ListBackendStagesResponse {
1132
1132
  /**
@@ -1146,15 +1146,15 @@ export type ListCacheStagesRequest = {
1146
1146
  /**
1147
1147
  * Sort order of cache stages in the response.
1148
1148
  */
1149
- orderBy?: ListCacheStagesRequestOrderBy;
1149
+ orderBy?: ListCacheStagesRequestOrderBy | null;
1150
1150
  /**
1151
1151
  * Page number to return, from the paginated results.
1152
1152
  */
1153
- page?: number;
1153
+ page?: number | null;
1154
1154
  /**
1155
1155
  * Number of cache stages to return per page.
1156
1156
  */
1157
- pageSize?: number;
1157
+ pageSize?: number | null;
1158
1158
  };
1159
1159
  export interface ListCacheStagesResponse {
1160
1160
  /**
@@ -1174,19 +1174,19 @@ export type ListDNSStagesRequest = {
1174
1174
  /**
1175
1175
  * Sort order of DNS stages in the response.
1176
1176
  */
1177
- orderBy?: ListDNSStagesRequestOrderBy;
1177
+ orderBy?: ListDNSStagesRequestOrderBy | null;
1178
1178
  /**
1179
1179
  * Page number to return, from the paginated results.
1180
1180
  */
1181
- page?: number;
1181
+ page?: number | null;
1182
1182
  /**
1183
1183
  * Number of DNS stages to return per page.
1184
1184
  */
1185
- pageSize?: number;
1185
+ pageSize?: number | null;
1186
1186
  /**
1187
1187
  * Fully Qualified Domain Name to filter for (in the format subdomain.example.com). Only DNS stages with this FQDN will be returned.
1188
1188
  */
1189
- fqdn?: string;
1189
+ fqdn?: string | null;
1190
1190
  };
1191
1191
  export interface ListDNSStagesResponse {
1192
1192
  /**
@@ -1206,11 +1206,11 @@ export type ListHeadStagesRequest = {
1206
1206
  /**
1207
1207
  * Page number to return, from the paginated results.
1208
1208
  */
1209
- page?: number;
1209
+ page?: number | null;
1210
1210
  /**
1211
1211
  * Number of head stages to return per page.
1212
1212
  */
1213
- pageSize?: number;
1213
+ pageSize?: number | null;
1214
1214
  };
1215
1215
  export interface ListHeadStagesResponse {
1216
1216
  /**
@@ -1230,31 +1230,31 @@ export type ListPipelinesRequest = {
1230
1230
  /**
1231
1231
  * Sort order of pipelines in the response.
1232
1232
  */
1233
- orderBy?: ListPipelinesRequestOrderBy;
1233
+ orderBy?: ListPipelinesRequestOrderBy | null;
1234
1234
  /**
1235
1235
  * Page number to return, from the paginated results.
1236
1236
  */
1237
- page?: number;
1237
+ page?: number | null;
1238
1238
  /**
1239
1239
  * Number of pipelines to return per page.
1240
1240
  */
1241
- pageSize?: number;
1241
+ pageSize?: number | null;
1242
1242
  /**
1243
1243
  * Pipeline name to filter for. Only pipelines with this string within their name will be returned.
1244
1244
  */
1245
- name?: string;
1245
+ name?: string | null;
1246
1246
  /**
1247
1247
  * Organization ID to filter for. Only pipelines from this Organization will be returned.
1248
1248
  */
1249
- organizationId?: string;
1249
+ organizationId?: string | null;
1250
1250
  /**
1251
1251
  * Project ID to filter for. Only pipelines from this Project will be returned.
1252
1252
  */
1253
- projectId?: string;
1253
+ projectId?: string | null;
1254
1254
  /**
1255
1255
  * Filter on backend stage. Only pipelines with a Load Balancer origin will be returned.
1256
1256
  */
1257
- hasBackendStageLb?: boolean;
1257
+ hasBackendStageLb?: boolean | null;
1258
1258
  };
1259
1259
  export interface ListPipelinesResponse {
1260
1260
  /**
@@ -1267,12 +1267,12 @@ export interface ListPipelinesResponse {
1267
1267
  totalCount: number;
1268
1268
  }
1269
1269
  export type ListPipelinesWithStagesRequest = {
1270
- orderBy?: ListPipelinesWithStagesRequestOrderBy;
1271
- page?: number;
1272
- pageSize?: number;
1273
- name?: string;
1274
- organizationId?: string;
1275
- projectId?: string;
1270
+ orderBy?: ListPipelinesWithStagesRequestOrderBy | null;
1271
+ page?: number | null;
1272
+ pageSize?: number | null;
1273
+ name?: string | null;
1274
+ organizationId?: string | null;
1275
+ projectId?: string | null;
1276
1276
  };
1277
1277
  export interface ListPipelinesWithStagesResponse {
1278
1278
  pipelines: PipelineStages[];
@@ -1286,27 +1286,27 @@ export type ListPurgeRequestsRequest = {
1286
1286
  /**
1287
1287
  * Sort order of purge requests in the response.
1288
1288
  */
1289
- orderBy?: ListPurgeRequestsRequestOrderBy;
1289
+ orderBy?: ListPurgeRequestsRequestOrderBy | null;
1290
1290
  /**
1291
1291
  * Page number to return, from the paginated results.
1292
1292
  */
1293
- page?: number;
1293
+ page?: number | null;
1294
1294
  /**
1295
1295
  * Number of purge requests to return per page.
1296
1296
  */
1297
- pageSize?: number;
1297
+ pageSize?: number | null;
1298
1298
  /**
1299
1299
  * Organization ID to filter for. Only purge requests from this Organization will be returned.
1300
1300
  */
1301
- organizationId?: string;
1301
+ organizationId?: string | null;
1302
1302
  /**
1303
1303
  * Project ID to filter for. Only purge requests from this Project will be returned.
1304
1304
  */
1305
- projectId?: string;
1305
+ projectId?: string | null;
1306
1306
  /**
1307
1307
  * Pipeline ID to filter for. Only purge requests from this pipeline will be returned.
1308
1308
  */
1309
- pipelineId?: string;
1309
+ pipelineId?: string | null;
1310
1310
  };
1311
1311
  export interface ListPurgeRequestsResponse {
1312
1312
  /**
@@ -1342,15 +1342,15 @@ export type ListRouteStagesRequest = {
1342
1342
  /**
1343
1343
  * Sort order of route stages in the response.
1344
1344
  */
1345
- orderBy?: ListRouteStagesRequestOrderBy;
1345
+ orderBy?: ListRouteStagesRequestOrderBy | null;
1346
1346
  /**
1347
1347
  * Page number to return, from the paginated results.
1348
1348
  */
1349
- page?: number;
1349
+ page?: number | null;
1350
1350
  /**
1351
1351
  * Number of route stages to return per page.
1352
1352
  */
1353
- pageSize?: number;
1353
+ pageSize?: number | null;
1354
1354
  };
1355
1355
  export interface ListRouteStagesResponse {
1356
1356
  /**
@@ -1370,23 +1370,23 @@ export type ListTLSStagesRequest = {
1370
1370
  /**
1371
1371
  * Sort order of TLS stages in the response.
1372
1372
  */
1373
- orderBy?: ListTLSStagesRequestOrderBy;
1373
+ orderBy?: ListTLSStagesRequestOrderBy | null;
1374
1374
  /**
1375
1375
  * Page number to return, from the paginated results.
1376
1376
  */
1377
- page?: number;
1377
+ page?: number | null;
1378
1378
  /**
1379
1379
  * Number of TLS stages to return per page.
1380
1380
  */
1381
- pageSize?: number;
1381
+ pageSize?: number | null;
1382
1382
  /**
1383
1383
  * Secret ID to filter for. Only TLS stages with this Secret ID will be returned.
1384
1384
  */
1385
- secretId?: string;
1385
+ secretId?: string | null;
1386
1386
  /**
1387
1387
  * Secret region to filter for. Only TLS stages with a Secret in this region will be returned.
1388
1388
  */
1389
- secretRegion?: string;
1389
+ secretRegion?: string | null;
1390
1390
  };
1391
1391
  export interface ListTLSStagesResponse {
1392
1392
  /**
@@ -1402,23 +1402,23 @@ export type ListVPCEndpointsRequest = {
1402
1402
  /**
1403
1403
  * Sort order of VPC Endpoints in the response.
1404
1404
  */
1405
- orderBy?: ListVPCEndpointsRequestOrderBy;
1405
+ orderBy?: ListVPCEndpointsRequestOrderBy | null;
1406
1406
  /**
1407
1407
  * Page number to return, from the paginated results.
1408
1408
  */
1409
- page?: number;
1409
+ page?: number | null;
1410
1410
  /**
1411
1411
  * Number of VPC Endpoints to return per page.
1412
1412
  */
1413
- pageSize?: number;
1413
+ pageSize?: number | null;
1414
1414
  /**
1415
1415
  * Project ID to filter for. Only VPC Endpoints from this project will be returned.
1416
1416
  */
1417
- projectId?: string;
1417
+ projectId?: string | null;
1418
1418
  /**
1419
1419
  * Organization ID to filter for. Only VPC Endpoints from this Organization will be returned.
1420
1420
  */
1421
- organizationId?: string;
1421
+ organizationId?: string | null;
1422
1422
  };
1423
1423
  export interface ListVPCEndpointsResponse {
1424
1424
  /**
@@ -1438,15 +1438,15 @@ export type ListWafStagesRequest = {
1438
1438
  /**
1439
1439
  * Sort order of WAF stages in the response.
1440
1440
  */
1441
- orderBy?: ListWafStagesRequestOrderBy;
1441
+ orderBy?: ListWafStagesRequestOrderBy | null;
1442
1442
  /**
1443
1443
  * Page number to return, from the paginated results.
1444
1444
  */
1445
- page?: number;
1445
+ page?: number | null;
1446
1446
  /**
1447
1447
  * Number of WAF stages to return per page.
1448
1448
  */
1449
- pageSize?: number;
1449
+ pageSize?: number | null;
1450
1450
  };
1451
1451
  export interface ListWafStagesResponse {
1452
1452
  /**
@@ -1462,30 +1462,30 @@ export interface Plan {
1462
1462
  planName: PlanName;
1463
1463
  }
1464
1464
  export type SearchBackendStagesRequest = {
1465
- orderBy?: SearchBackendStagesRequestOrderBy;
1466
- page?: number;
1467
- pageSize?: number;
1468
- projectId?: string;
1469
- bucketName?: string;
1470
- bucketRegion?: string;
1471
- lbId?: string;
1465
+ orderBy?: SearchBackendStagesRequestOrderBy | null;
1466
+ page?: number | null;
1467
+ pageSize?: number | null;
1468
+ projectId?: string | null;
1469
+ bucketName?: string | null;
1470
+ bucketRegion?: string | null;
1471
+ lbId?: string | null;
1472
1472
  };
1473
1473
  export type SearchRouteRulesRequest = {
1474
- orderBy?: SearchRouteRulesRequestOrderBy;
1475
- page?: number;
1476
- pageSize?: number;
1477
- organizationId?: string;
1478
- projectId?: string;
1474
+ orderBy?: SearchRouteRulesRequestOrderBy | null;
1475
+ page?: number | null;
1476
+ pageSize?: number | null;
1477
+ organizationId?: string | null;
1478
+ projectId?: string | null;
1479
1479
  };
1480
1480
  export type SearchWafStagesRequest = {
1481
- orderBy?: SearchWafStagesRequestOrderBy;
1482
- page?: number;
1483
- pageSize?: number;
1484
- projectId?: string;
1481
+ orderBy?: SearchWafStagesRequestOrderBy | null;
1482
+ page?: number | null;
1483
+ pageSize?: number | null;
1484
+ projectId?: string | null;
1485
1485
  };
1486
1486
  export type SelectPlanRequest = {
1487
- projectId?: string;
1488
- planName?: PlanName;
1487
+ projectId?: string | null;
1488
+ planName?: PlanName | null;
1489
1489
  };
1490
1490
  export type SetHeadStageRequest = {
1491
1491
  /**
@@ -1497,19 +1497,19 @@ export type SetHeadStageRequest = {
1497
1497
  *
1498
1498
  * One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage', 'swapHeadStage' could be set.
1499
1499
  */
1500
- addNewHeadStage?: SetHeadStageRequestAddNewHeadStage;
1500
+ addNewHeadStage?: SetHeadStageRequestAddNewHeadStage | null;
1501
1501
  /**
1502
1502
  * Remove a head stage.
1503
1503
  *
1504
1504
  * One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage', 'swapHeadStage' could be set.
1505
1505
  */
1506
- removeHeadStage?: SetHeadStageRequestRemoveHeadStage;
1506
+ removeHeadStage?: SetHeadStageRequestRemoveHeadStage | null;
1507
1507
  /**
1508
1508
  * Replace a head stage with a new one.
1509
1509
  *
1510
1510
  * One-of ('action'): at most one of 'addNewHeadStage', 'removeHeadStage', 'swapHeadStage' could be set.
1511
1511
  */
1512
- swapHeadStage?: SetHeadStageRequestSwapHeadStage;
1512
+ swapHeadStage?: SetHeadStageRequestSwapHeadStage | null;
1513
1513
  };
1514
1514
  export type SetPipelineVPCEndpointsRequest = {
1515
1515
  /**
@@ -1519,7 +1519,7 @@ export type SetPipelineVPCEndpointsRequest = {
1519
1519
  /**
1520
1520
  * List of VPC Endpoints to attach.
1521
1521
  */
1522
- vpcEndpointIds?: string[];
1522
+ vpcEndpointIds?: string[] | null;
1523
1523
  };
1524
1524
  export interface SetPipelineVPCEndpointsResponse {
1525
1525
  /**
@@ -1543,7 +1543,7 @@ export type SetRouteRulesRequest = {
1543
1543
  /**
1544
1544
  * List of rules to be checked against every HTTP request. The first matching rule will forward the request to its specified backend stage. If no rules are matched, the request is forwarded to the stage defined by `waf_stage_id` or `backend_stage_id`.
1545
1545
  */
1546
- routeRules?: SetRouteRulesRequestRouteRule[];
1546
+ routeRules?: SetRouteRulesRequestRouteRule[] | null;
1547
1547
  };
1548
1548
  export interface SetRouteRulesResponse {
1549
1549
  /**
@@ -1561,25 +1561,25 @@ export type UpdateBackendStageRequest = {
1561
1561
  *
1562
1562
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
1563
1563
  */
1564
- scalewayS3?: ScalewayS3BackendConfig;
1564
+ scalewayS3?: ScalewayS3BackendConfig | null;
1565
1565
  /**
1566
1566
  * Scaleway Load Balancer origin linked to the backend stage.
1567
1567
  *
1568
1568
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
1569
1569
  */
1570
- scalewayLb?: ScalewayLbBackendConfig;
1570
+ scalewayLb?: ScalewayLbBackendConfig | null;
1571
1571
  /**
1572
1572
  * Scaleway Serverless container origin linked to the backend stage.
1573
1573
  *
1574
1574
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
1575
1575
  */
1576
- scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig;
1576
+ scalewayServerlessContainer?: ScalewayServerlessContainerBackendConfig | null;
1577
1577
  /**
1578
1578
  * Scaleway Serverless function origin linked to the backend stage.
1579
1579
  *
1580
1580
  * One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
1581
1581
  */
1582
- scalewayServerlessFunction?: ScalewayServerlessFunctionBackendConfig;
1582
+ scalewayServerlessFunction?: ScalewayServerlessFunctionBackendConfig | null;
1583
1583
  /**
1584
1584
  * Pipeline ID the Backend stage belongs to.
1585
1585
  */
@@ -1593,27 +1593,27 @@ export type UpdateCacheStageRequest = {
1593
1593
  /**
1594
1594
  * Time To Live (TTL) in seconds. Defines how long content is cached.
1595
1595
  */
1596
- fallbackTtl?: string;
1596
+ fallbackTtl?: string | null;
1597
1597
  /**
1598
1598
  * Defines whether responses to requests with cookies must be stored in the cache.
1599
1599
  */
1600
- includeCookies?: boolean;
1600
+ includeCookies?: boolean | null;
1601
1601
  /**
1602
1602
  * Backend stage ID the cache stage will be linked to.
1603
1603
  *
1604
1604
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
1605
1605
  */
1606
- backendStageId?: string;
1606
+ backendStageId?: string | null;
1607
1607
  /**
1608
1608
  *
1609
1609
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
1610
1610
  */
1611
- wafStageId?: string;
1611
+ wafStageId?: string | null;
1612
1612
  /**
1613
1613
  *
1614
1614
  * One-of ('next'): at most one of 'backendStageId', 'wafStageId', 'routeStageId' could be set.
1615
1615
  */
1616
- routeStageId?: string;
1616
+ routeStageId?: string | null;
1617
1617
  };
1618
1618
  export type UpdateDNSStageRequest = {
1619
1619
  /**
@@ -1623,33 +1623,33 @@ export type UpdateDNSStageRequest = {
1623
1623
  /**
1624
1624
  * Custom Fully Qualified Domain Name to be configured (only 1 FQDN can be setup for now).
1625
1625
  */
1626
- fqdns?: string[];
1626
+ fqdns?: string[] | null;
1627
1627
  /**
1628
1628
  * TLS stage ID the DNS stage will be linked to.
1629
1629
  *
1630
1630
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
1631
1631
  */
1632
- tlsStageId?: string;
1632
+ tlsStageId?: string | null;
1633
1633
  /**
1634
1634
  * Cache stage ID the DNS stage will be linked to.
1635
1635
  *
1636
1636
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
1637
1637
  */
1638
- cacheStageId?: string;
1638
+ cacheStageId?: string | null;
1639
1639
  /**
1640
1640
  * Backend stage ID the DNS stage will be linked to.
1641
1641
  *
1642
1642
  * One-of ('next'): at most one of 'tlsStageId', 'cacheStageId', 'backendStageId' could be set.
1643
1643
  */
1644
- backendStageId?: string;
1644
+ backendStageId?: string | null;
1645
1645
  /**
1646
1646
  * Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
1647
1647
  */
1648
- wildcardDomain?: boolean;
1648
+ wildcardDomain?: boolean | null;
1649
1649
  /**
1650
1650
  * When true, Fully Qualified Domain Names are accessible exclusively within the VPC.
1651
1651
  */
1652
- fullPrivate?: boolean;
1652
+ fullPrivate?: boolean | null;
1653
1653
  };
1654
1654
  export type UpdatePipelineRequest = {
1655
1655
  /**
@@ -1659,11 +1659,11 @@ export type UpdatePipelineRequest = {
1659
1659
  /**
1660
1660
  * Name of the pipeline.
1661
1661
  */
1662
- name?: string;
1662
+ name?: string | null;
1663
1663
  /**
1664
1664
  * Description of the pipeline.
1665
1665
  */
1666
- description?: string;
1666
+ description?: string | null;
1667
1667
  };
1668
1668
  export type UpdateRouteStageRequest = {
1669
1669
  /**
@@ -1675,13 +1675,13 @@ export type UpdateRouteStageRequest = {
1675
1675
  *
1676
1676
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId' could be set.
1677
1677
  */
1678
- wafStageId?: string;
1678
+ wafStageId?: string | null;
1679
1679
  /**
1680
1680
  * ID of the backend stage HTTP requests should be forwarded to when no rules are matched.
1681
1681
  *
1682
1682
  * One-of ('next'): at most one of 'wafStageId', 'backendStageId' could be set.
1683
1683
  */
1684
- backendStageId?: string;
1684
+ backendStageId?: string | null;
1685
1685
  };
1686
1686
  export type UpdateTLSStageRequest = {
1687
1687
  /**
@@ -1691,33 +1691,33 @@ export type UpdateTLSStageRequest = {
1691
1691
  /**
1692
1692
  * Secret (from Scaleway Secret-Manager) containing your custom certificate.
1693
1693
  */
1694
- tlsSecretsConfig?: TLSSecretsConfig;
1694
+ tlsSecretsConfig?: TLSSecretsConfig | null;
1695
1695
  /**
1696
1696
  * True when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
1697
1697
  */
1698
- managedCertificate?: boolean;
1698
+ managedCertificate?: boolean | null;
1699
1699
  /**
1700
1700
  * Cache stage ID the TLS stage will be linked to.
1701
1701
  *
1702
1702
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
1703
1703
  */
1704
- cacheStageId?: string;
1704
+ cacheStageId?: string | null;
1705
1705
  /**
1706
1706
  * Backend stage ID the TLS stage will be linked to.
1707
1707
  *
1708
1708
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
1709
1709
  */
1710
- backendStageId?: string;
1710
+ backendStageId?: string | null;
1711
1711
  /**
1712
1712
  *
1713
1713
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
1714
1714
  */
1715
- routeStageId?: string;
1715
+ routeStageId?: string | null;
1716
1716
  /**
1717
1717
  *
1718
1718
  * One-of ('next'): at most one of 'cacheStageId', 'backendStageId', 'routeStageId', 'wafStageId' could be set.
1719
1719
  */
1720
- wafStageId?: string;
1720
+ wafStageId?: string | null;
1721
1721
  };
1722
1722
  export type UpdateWafStageRequest = {
1723
1723
  /**
@@ -1727,20 +1727,20 @@ export type UpdateWafStageRequest = {
1727
1727
  /**
1728
1728
  * Mode defining WAF behavior (`disable`/`log_only`/`enable`).
1729
1729
  */
1730
- mode?: WafStageMode;
1730
+ mode?: WafStageMode | null;
1731
1731
  /**
1732
1732
  * Sensitivity level (`1`,`2`,`3`,`4`) to use when classifying requests as malicious. With a high level, requests are more likely to be classed as malicious, and false positives are expected. With a lower level, requests are more likely to be classed as benign.
1733
1733
  */
1734
- paranoiaLevel?: number;
1734
+ paranoiaLevel?: number | null;
1735
1735
  /**
1736
1736
  * List of OWASP® CRS rule IDs excluded from WAF.
1737
1737
  */
1738
- exclusionRules?: WafExclusionRules;
1738
+ exclusionRules?: WafExclusionRules | null;
1739
1739
  /**
1740
1740
  * ID of the backend stage to forward requests to after the WAF stage.
1741
1741
  *
1742
1742
  * One-of ('next'): at most one of 'backendStageId' could be set.
1743
1743
  */
1744
- backendStageId?: string;
1744
+ backendStageId?: string | null;
1745
1745
  };
1746
1746
  //#endregion