@scaleway/sdk-baremetal 2.20.0 → 2.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ export type ListSettingsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
10
10
  export type MemoryEccType = 'unknown_ecc_type' | 'none' | 'standard' | 'on_die';
11
11
  export type OfferStock = 'empty' | 'low' | 'available';
12
12
  export type OfferSubscriptionPeriod = 'unknown_subscription_period' | 'hourly' | 'monthly';
13
+ export type OptionType = 'option_type_unknown' | 'private_network' | 'license' | 'remote_access' | 'public_bandwidth' | 'certification';
13
14
  export type SchemaFilesystemFormat = 'unknown_format' | 'fat32' | 'ext4' | 'swap' | 'zfs' | 'xfs';
14
15
  export type SchemaPartitionLabel = 'unknown_partition_label' | 'uefi' | 'legacy' | 'root' | 'boot' | 'swap' | 'data' | 'home' | 'raid' | 'zfs';
15
16
  export type SchemaPoolType = 'unknown_type' | 'no_raid' | 'mirror' | 'raidz1' | 'raidz2';
@@ -55,7 +56,7 @@ export interface Schema {
55
56
  disks: SchemaDisk[];
56
57
  raids: SchemaRAID[];
57
58
  filesystems: SchemaFilesystem[];
58
- zfs?: SchemaZFS;
59
+ zfs?: SchemaZFS | null;
59
60
  }
60
61
  export interface CertificationOption {}
61
62
  export interface LicenseOption {
@@ -84,31 +85,31 @@ export interface CreateServerRequestInstall {
84
85
  /**
85
86
  * User for the installation.
86
87
  */
87
- user?: string;
88
+ user?: string | null;
88
89
  /**
89
90
  * Password for the installation.
90
91
  */
91
- password?: string;
92
+ password?: string | null;
92
93
  /**
93
94
  * Regular user that runs the service to be installed on the server.
94
95
  */
95
- serviceUser?: string;
96
+ serviceUser?: string | null;
96
97
  /**
97
98
  * Password used for the service to install.
98
99
  */
99
- servicePassword?: string;
100
+ servicePassword?: string | null;
100
101
  /**
101
102
  * Partitioning schema.
102
103
  */
103
- partitioningSchema?: Schema;
104
+ partitioningSchema?: Schema | null;
104
105
  /**
105
106
  * URL of the network service to which the server should forward its boot request.
106
107
  */
107
- networkBootUrl?: string;
108
+ networkBootUrl?: string | null;
108
109
  /**
109
110
  * Defines whether the network boot forwarding should be applied at every reboot or only once.
110
111
  */
111
- networkBootPersistent?: boolean;
112
+ networkBootPersistent?: boolean | null;
112
113
  }
113
114
  export interface IP {
114
115
  /**
@@ -144,15 +145,15 @@ export interface ServerCommitment {
144
145
  /**
145
146
  * Start of commitment subscribed.
146
147
  */
147
- startedAt?: Date;
148
+ startedAt?: Date | null;
148
149
  /**
149
150
  * Next renew of commitment subscribed.
150
151
  */
151
- renewAt?: Date;
152
+ renewAt?: Date | null;
152
153
  /**
153
154
  * End of commitment subscribed.
154
155
  */
155
- endAt?: Date;
156
+ endAt?: Date | null;
156
157
  /**
157
158
  * Discount rate for the commitment period.
158
159
  */
@@ -194,7 +195,7 @@ export interface ServerInstall {
194
195
  /**
195
196
  * Partitioning schema.
196
197
  */
197
- partitioningSchema?: Schema;
198
+ partitioningSchema?: Schema | null;
198
199
  /**
199
200
  * URL of the network service to which the server should forward its boot request.
200
201
  */
@@ -224,37 +225,41 @@ export interface ServerOption {
224
225
  /**
225
226
  * Auto expiration date for compatible options.
226
227
  */
227
- expiresAt?: Date;
228
+ expiresAt?: Date | null;
228
229
  /**
229
230
  * License option, contains the ID of the OS linked to the option.
230
231
  *
231
232
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
232
233
  */
233
- license?: LicenseOption;
234
+ license?: LicenseOption | null;
234
235
  /**
235
236
  * Public_bandwidth option, contains the bandwidth_in_bps.
236
237
  *
237
238
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
238
239
  */
239
- publicBandwidth?: PublicBandwidthOption;
240
+ publicBandwidth?: PublicBandwidthOption | null;
240
241
  /**
241
242
  * Private_network option, contains the bandwidth_in_bps.
242
243
  *
243
244
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
244
245
  */
245
- privateNetwork?: PrivateNetworkOption;
246
+ privateNetwork?: PrivateNetworkOption | null;
246
247
  /**
247
248
  * Remote_access option.
248
249
  *
249
250
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
250
251
  */
251
- remoteAccess?: RemoteAccessOption;
252
+ remoteAccess?: RemoteAccessOption | null;
252
253
  /**
253
254
  * Certification option.
254
255
  *
255
256
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
256
257
  */
257
- certification?: CertificationOption;
258
+ certification?: CertificationOption | null;
259
+ /**
260
+ * Type of the option on this server.
261
+ */
262
+ type: OptionType;
258
263
  }
259
264
  export interface ServerRescueServer {
260
265
  /**
@@ -269,7 +274,7 @@ export interface ServerRescueServer {
269
274
  export interface OSOSField {
270
275
  editable: boolean;
271
276
  required: boolean;
272
- defaultValue?: string;
277
+ defaultValue?: string | null;
273
278
  }
274
279
  export interface CPU {
275
280
  /**
@@ -370,7 +375,7 @@ export interface OfferOptionOffer {
370
375
  /**
371
376
  * Price of the option.
372
377
  */
373
- price?: Money;
378
+ price?: Money | null;
374
379
  /**
375
380
  * Boolean to know if option could be managed.
376
381
  */
@@ -378,37 +383,41 @@ export interface OfferOptionOffer {
378
383
  /**
379
384
  * @deprecated Deprecated, use LicenseOptionVars.os_id instead.
380
385
  */
381
- osId?: string;
386
+ osId?: string | null;
382
387
  /**
383
388
  * License option, contains the ID of the OS linked to the option.
384
389
  *
385
390
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
386
391
  */
387
- license?: LicenseOption;
392
+ license?: LicenseOption | null;
388
393
  /**
389
394
  * Public_bandwidth option, contains the bandwidth_in_bps.
390
395
  *
391
396
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
392
397
  */
393
- publicBandwidth?: PublicBandwidthOption;
398
+ publicBandwidth?: PublicBandwidthOption | null;
394
399
  /**
395
400
  * Private_network option, contains the bandwidth_in_bps.
396
401
  *
397
402
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
398
403
  */
399
- privateNetwork?: PrivateNetworkOption;
404
+ privateNetwork?: PrivateNetworkOption | null;
400
405
  /**
401
406
  * Remote_access option.
402
407
  *
403
408
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
404
409
  */
405
- remoteAccess?: RemoteAccessOption;
410
+ remoteAccess?: RemoteAccessOption | null;
406
411
  /**
407
412
  * Certification option.
408
413
  *
409
414
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
410
415
  */
411
- certification?: CertificationOption;
416
+ certification?: CertificationOption | null;
417
+ /**
418
+ * Type of the option offered.
419
+ */
420
+ type: OptionType;
412
421
  }
413
422
  export interface PersistentMemory {
414
423
  /**
@@ -437,7 +446,7 @@ export type CreateServerRequest = {
437
446
  /**
438
447
  * Zone to target. If none is passed will use default zone from the config.
439
448
  */
440
- zone?: Zone;
449
+ zone?: Zone | null;
441
450
  /**
442
451
  * Offer ID of the new server.
443
452
  */
@@ -447,13 +456,13 @@ export type CreateServerRequest = {
447
456
  *
448
457
  * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
449
458
  */
450
- organizationId?: string;
459
+ organizationId?: string | null;
451
460
  /**
452
461
  * Project ID with which the server will be created.
453
462
  *
454
463
  * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
455
464
  */
456
- projectId?: string;
465
+ projectId?: string | null;
457
466
  /**
458
467
  * Name of the server (≠hostname).
459
468
  */
@@ -465,15 +474,15 @@ export type CreateServerRequest = {
465
474
  /**
466
475
  * Tags to associate to the server.
467
476
  */
468
- tags?: string[];
477
+ tags?: string[] | null;
469
478
  /**
470
479
  * Object describing the configuration details of the OS installation on the server.
471
480
  */
472
- install?: CreateServerRequestInstall;
481
+ install?: CreateServerRequestInstall | null;
473
482
  /**
474
483
  * IDs of options to enable on server.
475
484
  */
476
- optionIds?: string[];
485
+ optionIds?: string[] | null;
477
486
  /**
478
487
  * If enabled, the server can not be deleted.
479
488
  */
@@ -481,11 +490,11 @@ export type CreateServerRequest = {
481
490
  /**
482
491
  * Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script.
483
492
  */
484
- userData?: string;
493
+ userData?: string | null;
485
494
  /**
486
495
  * Commitment period to subscribe.
487
496
  */
488
- commitmentPeriod?: CommitmentPeriod;
497
+ commitmentPeriod?: CommitmentPeriod | null;
489
498
  };
490
499
  export interface Server {
491
500
  /**
@@ -511,11 +520,11 @@ export interface Server {
511
520
  /**
512
521
  * Last modification date of the server.
513
522
  */
514
- updatedAt?: Date;
523
+ updatedAt?: Date | null;
515
524
  /**
516
525
  * Creation date of the server.
517
526
  */
518
- createdAt?: Date;
527
+ createdAt?: Date | null;
519
528
  /**
520
529
  * Status of the server.
521
530
  */
@@ -551,7 +560,7 @@ export interface Server {
551
560
  /**
552
561
  * Configuration of the installation.
553
562
  */
554
- install?: ServerInstall;
563
+ install?: ServerInstall | null;
555
564
  /**
556
565
  * Status of server ping.
557
566
  */
@@ -563,7 +572,7 @@ export interface Server {
563
572
  /**
564
573
  * Configuration of rescue boot.
565
574
  */
566
- rescueServer?: ServerRescueServer;
575
+ rescueServer?: ServerRescueServer | null;
567
576
  /**
568
577
  * If enabled, the server can not be deleted.
569
578
  */
@@ -571,15 +580,15 @@ export interface Server {
571
580
  /**
572
581
  * Optional configuration data passed to cloud-init.
573
582
  */
574
- userData?: string;
583
+ userData?: string | null;
575
584
  /**
576
585
  * Commitment subscribed for the server.
577
586
  */
578
- commitment?: ServerCommitment;
587
+ commitment?: ServerCommitment | null;
579
588
  /**
580
589
  * Date on which the server will be deleted.
581
590
  */
582
- scheduledDeletionAt?: Date;
591
+ scheduledDeletionAt?: Date | null;
583
592
  /**
584
593
  * True if a deletion is scheduled.
585
594
  */
@@ -609,23 +618,23 @@ export interface OS {
609
618
  /**
610
619
  * Object defining the SSH requirements to install the OS.
611
620
  */
612
- ssh?: OSOSField;
621
+ ssh?: OSOSField | null;
613
622
  /**
614
623
  * Object defining the username requirements to install the OS.
615
624
  */
616
- user?: OSOSField;
625
+ user?: OSOSField | null;
617
626
  /**
618
627
  * Object defining the password requirements to install the OS.
619
628
  */
620
- password?: OSOSField;
629
+ password?: OSOSField | null;
621
630
  /**
622
631
  * Object defining the username requirements to install the service.
623
632
  */
624
- serviceUser?: OSOSField;
633
+ serviceUser?: OSOSField | null;
625
634
  /**
626
635
  * Object defining the password requirements to install the service.
627
636
  */
628
- servicePassword?: OSOSField;
637
+ servicePassword?: OSOSField | null;
629
638
  /**
630
639
  * Defines if the operating system is enabled or not.
631
640
  */
@@ -649,11 +658,11 @@ export interface OS {
649
658
  /**
650
659
  * Defines the cloud-init API version used by this OS.
651
660
  */
652
- cloudInitVersion?: string;
661
+ cloudInitVersion?: string | null;
653
662
  /**
654
663
  * Object defining the network boot requirements for booting server.
655
664
  */
656
- networkBoot?: OSOSField;
665
+ networkBoot?: OSOSField | null;
657
666
  /**
658
667
  * Defines if the network boot can be persisted or not.
659
668
  */
@@ -695,11 +704,11 @@ export interface Offer {
695
704
  /**
696
705
  * Price of the offer for the next 60 minutes (a server order at 11h32 will be paid until 12h32).
697
706
  */
698
- pricePerHour?: Money;
707
+ pricePerHour?: Money | null;
699
708
  /**
700
709
  * Monthly price of the offer, if subscribing on a monthly basis.
701
710
  */
702
- pricePerMonth?: Money;
711
+ pricePerMonth?: Money | null;
703
712
  /**
704
713
  * Disks specifications of the offer.
705
714
  */
@@ -743,7 +752,7 @@ export interface Offer {
743
752
  /**
744
753
  * One time fee invoiced by Scaleway for the setup and activation of the server.
745
754
  */
746
- fee?: Money;
755
+ fee?: Money | null;
747
756
  /**
748
757
  * Available options for customization of the server.
749
758
  */
@@ -767,7 +776,7 @@ export interface Offer {
767
776
  /**
768
777
  * Exist only for hourly offers, to migrate to the monthly offer.
769
778
  */
770
- monthlyOfferId?: string;
779
+ monthlyOfferId?: string | null;
771
780
  /**
772
781
  * List all available commitments on the offer.
773
782
  */
@@ -779,7 +788,7 @@ export interface Offer {
779
788
  /**
780
789
  * Describe the network topology of the offer.
781
790
  */
782
- dualAttach?: boolean;
791
+ dualAttach?: boolean | null;
783
792
  /**
784
793
  * The SRN of the offer.
785
794
  */
@@ -798,36 +807,40 @@ export interface Option {
798
807
  * Defines whether the option is manageable (could be added or removed).
799
808
  */
800
809
  manageable: boolean;
810
+ /**
811
+ * Type of the option.
812
+ */
813
+ type: OptionType;
801
814
  /**
802
815
  * License option, contains the ID of the OS linked to the option.
803
816
  *
804
817
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
805
818
  */
806
- license?: LicenseOption;
819
+ license?: LicenseOption | null;
807
820
  /**
808
821
  * Public_bandwidth option, contains the bandwidth_in_bps.
809
822
  *
810
823
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
811
824
  */
812
- publicBandwidth?: PublicBandwidthOption;
825
+ publicBandwidth?: PublicBandwidthOption | null;
813
826
  /**
814
827
  * Private_network option, contains the bandwidth_in_bps.
815
828
  *
816
829
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
817
830
  */
818
- privateNetwork?: PrivateNetworkOption;
831
+ privateNetwork?: PrivateNetworkOption | null;
819
832
  /**
820
833
  * Remote_access option.
821
834
  *
822
835
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
823
836
  */
824
- remoteAccess?: RemoteAccessOption;
837
+ remoteAccess?: RemoteAccessOption | null;
825
838
  /**
826
839
  * Certification option.
827
840
  *
828
841
  * One-of ('option'): at most one of 'license', 'publicBandwidth', 'privateNetwork', 'remoteAccess', 'certification' could be set.
829
842
  */
830
- certification?: CertificationOption;
843
+ certification?: CertificationOption | null;
831
844
  /**
832
845
  * Zone in which is the option is available.
833
846
  */
@@ -849,11 +862,11 @@ export interface ServerEvent {
849
862
  /**
850
863
  * Date of last modification of the action.
851
864
  */
852
- updatedAt?: Date;
865
+ updatedAt?: Date | null;
853
866
  /**
854
867
  * Date of creation of the action.
855
868
  */
856
- createdAt?: Date;
869
+ createdAt?: Date | null;
857
870
  }
858
871
  export interface ServerPrivateNetwork {
859
872
  /**
@@ -875,7 +888,7 @@ export interface ServerPrivateNetwork {
875
888
  /**
876
889
  * The VLAN ID associated to the Private Network.
877
890
  */
878
- vlan?: number;
891
+ vlan?: number | null;
879
892
  /**
880
893
  * The configuration status of the Private Network.
881
894
  */
@@ -883,11 +896,11 @@ export interface ServerPrivateNetwork {
883
896
  /**
884
897
  * The Private Network creation date.
885
898
  */
886
- createdAt?: Date;
899
+ createdAt?: Date | null;
887
900
  /**
888
901
  * The date the Private Network was last modified.
889
902
  */
890
- updatedAt?: Date;
903
+ updatedAt?: Date | null;
891
904
  }
892
905
  export interface Setting {
893
906
  /**
@@ -919,7 +932,7 @@ export type AddOptionServerRequest = {
919
932
  /**
920
933
  * Zone to target. If none is passed will use default zone from the config.
921
934
  */
922
- zone?: Zone;
935
+ zone?: Zone | null;
923
936
  /**
924
937
  * ID of the server.
925
938
  */
@@ -931,7 +944,7 @@ export type AddOptionServerRequest = {
931
944
  /**
932
945
  * Auto expire the option after this date.
933
946
  */
934
- expiresAt?: Date;
947
+ expiresAt?: Date | null;
935
948
  };
936
949
  export interface BMCAccess {
937
950
  /**
@@ -949,7 +962,7 @@ export interface BMCAccess {
949
962
  /**
950
963
  * The date after which the BMC (Baseboard Management Controller) access will be closed.
951
964
  */
952
- expiresAt?: Date;
965
+ expiresAt?: Date | null;
953
966
  /**
954
967
  * ID of the server.
955
968
  */
@@ -967,15 +980,15 @@ export type BatchCreateServersRequest = {
967
980
  /**
968
981
  * Zone to target. If none is passed will use default zone from the config.
969
982
  */
970
- zone?: Zone;
983
+ zone?: Zone | null;
971
984
  /**
972
985
  * Configuration wanted for the servers to create.
973
986
  */
974
- commonConfiguration?: CreateServerRequest;
987
+ commonConfiguration?: CreateServerRequest | null;
975
988
  /**
976
989
  * List of servers to create.
977
990
  */
978
- servers?: BatchCreateServersRequestServerConfig[];
991
+ servers?: BatchCreateServersRequestServerConfig[] | null;
979
992
  };
980
993
  export interface BatchCreateServersResponse {
981
994
  servers: Server[];
@@ -984,7 +997,7 @@ export type DeleteOptionServerRequest = {
984
997
  /**
985
998
  * Zone to target. If none is passed will use default zone from the config.
986
999
  */
987
- zone?: Zone;
1000
+ zone?: Zone | null;
988
1001
  /**
989
1002
  * ID of the server.
990
1003
  */
@@ -998,7 +1011,7 @@ export type DeleteServerRequest = {
998
1011
  /**
999
1012
  * Zone to target. If none is passed will use default zone from the config.
1000
1013
  */
1001
- zone?: Zone;
1014
+ zone?: Zone | null;
1002
1015
  /**
1003
1016
  * ID of the server to delete.
1004
1017
  */
@@ -1008,7 +1021,7 @@ export type GetBMCAccessRequest = {
1008
1021
  /**
1009
1022
  * Zone to target. If none is passed will use default zone from the config.
1010
1023
  */
1011
- zone?: Zone;
1024
+ zone?: Zone | null;
1012
1025
  /**
1013
1026
  * ID of the server.
1014
1027
  */
@@ -1018,7 +1031,7 @@ export type GetDefaultPartitioningSchemaRequest = {
1018
1031
  /**
1019
1032
  * Zone to target. If none is passed will use default zone from the config.
1020
1033
  */
1021
- zone?: Zone;
1034
+ zone?: Zone | null;
1022
1035
  /**
1023
1036
  * ID of the offer.
1024
1037
  */
@@ -1032,7 +1045,7 @@ export type GetOSRequest = {
1032
1045
  /**
1033
1046
  * Zone to target. If none is passed will use default zone from the config.
1034
1047
  */
1035
- zone?: Zone;
1048
+ zone?: Zone | null;
1036
1049
  /**
1037
1050
  * ID of the OS.
1038
1051
  */
@@ -1042,7 +1055,7 @@ export type GetOfferRequest = {
1042
1055
  /**
1043
1056
  * Zone to target. If none is passed will use default zone from the config.
1044
1057
  */
1045
- zone?: Zone;
1058
+ zone?: Zone | null;
1046
1059
  /**
1047
1060
  * ID of the researched Offer.
1048
1061
  */
@@ -1052,7 +1065,7 @@ export type GetOptionRequest = {
1052
1065
  /**
1053
1066
  * Zone to target. If none is passed will use default zone from the config.
1054
1067
  */
1055
- zone?: Zone;
1068
+ zone?: Zone | null;
1056
1069
  /**
1057
1070
  * ID of the option.
1058
1071
  */
@@ -1062,7 +1075,7 @@ export type GetServerMetricsRequest = {
1062
1075
  /**
1063
1076
  * Zone to target. If none is passed will use default zone from the config.
1064
1077
  */
1065
- zone?: Zone;
1078
+ zone?: Zone | null;
1066
1079
  /**
1067
1080
  * Server ID to get the metrics.
1068
1081
  */
@@ -1072,13 +1085,13 @@ export interface GetServerMetricsResponse {
1072
1085
  /**
1073
1086
  * Timeseries object representing pings on the server.
1074
1087
  */
1075
- pings?: TimeSeries;
1088
+ pings?: TimeSeries | null;
1076
1089
  }
1077
1090
  export type GetServerRequest = {
1078
1091
  /**
1079
1092
  * Zone to target. If none is passed will use default zone from the config.
1080
1093
  */
1081
- zone?: Zone;
1094
+ zone?: Zone | null;
1082
1095
  /**
1083
1096
  * ID of the server.
1084
1097
  */
@@ -1088,7 +1101,7 @@ export type InstallServerRequest = {
1088
1101
  /**
1089
1102
  * Zone to target. If none is passed will use default zone from the config.
1090
1103
  */
1091
- zone?: Zone;
1104
+ zone?: Zone | null;
1092
1105
  /**
1093
1106
  * Server ID to install.
1094
1107
  */
@@ -1108,53 +1121,53 @@ export type InstallServerRequest = {
1108
1121
  /**
1109
1122
  * User used for the installation.
1110
1123
  */
1111
- user?: string;
1124
+ user?: string | null;
1112
1125
  /**
1113
1126
  * Password used for the installation.
1114
1127
  */
1115
- password?: string;
1128
+ password?: string | null;
1116
1129
  /**
1117
1130
  * User used for the service to install.
1118
1131
  */
1119
- serviceUser?: string;
1132
+ serviceUser?: string | null;
1120
1133
  /**
1121
1134
  * Password used for the service to install.
1122
1135
  */
1123
- servicePassword?: string;
1136
+ servicePassword?: string | null;
1124
1137
  /**
1125
1138
  * Partitioning schema.
1126
1139
  */
1127
- partitioningSchema?: Schema;
1140
+ partitioningSchema?: Schema | null;
1128
1141
  /**
1129
1142
  * @deprecated Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script.
1130
1143
  */
1131
- userData?: Blob;
1144
+ userData?: Blob | null;
1132
1145
  /**
1133
1146
  * URL of the network service to which the server should forward its boot request.
1134
1147
  */
1135
- networkBootUrl?: string;
1148
+ networkBootUrl?: string | null;
1136
1149
  /**
1137
1150
  * Defines whether the network boot forwarding should be applied at every reboot or only once.
1138
1151
  */
1139
- networkBootPersistent?: boolean;
1152
+ networkBootPersistent?: boolean | null;
1140
1153
  };
1141
1154
  export type ListOSRequest = {
1142
1155
  /**
1143
1156
  * Zone to target. If none is passed will use default zone from the config.
1144
1157
  */
1145
- zone?: Zone;
1158
+ zone?: Zone | null;
1146
1159
  /**
1147
1160
  * Page number.
1148
1161
  */
1149
- page?: number;
1162
+ page?: number | null;
1150
1163
  /**
1151
1164
  * Number of OS per page.
1152
1165
  */
1153
- pageSize?: number;
1166
+ pageSize?: number | null;
1154
1167
  /**
1155
1168
  * Offer IDs to filter OSes for.
1156
1169
  */
1157
- offerId?: string;
1170
+ offerId?: string | null;
1158
1171
  };
1159
1172
  export interface ListOSResponse {
1160
1173
  /**
@@ -1170,23 +1183,23 @@ export type ListOffersRequest = {
1170
1183
  /**
1171
1184
  * Zone to target. If none is passed will use default zone from the config.
1172
1185
  */
1173
- zone?: Zone;
1186
+ zone?: Zone | null;
1174
1187
  /**
1175
1188
  * Page number.
1176
1189
  */
1177
- page?: number;
1190
+ page?: number | null;
1178
1191
  /**
1179
1192
  * Number of offers per page.
1180
1193
  */
1181
- pageSize?: number;
1194
+ pageSize?: number | null;
1182
1195
  /**
1183
1196
  * Subscription period type to filter offers by.
1184
1197
  */
1185
- subscriptionPeriod?: OfferSubscriptionPeriod;
1198
+ subscriptionPeriod?: OfferSubscriptionPeriod | null;
1186
1199
  /**
1187
1200
  * Offer name to filter offers by.
1188
1201
  */
1189
- name?: string;
1202
+ name?: string | null;
1190
1203
  };
1191
1204
  export interface ListOffersResponse {
1192
1205
  /**
@@ -1202,23 +1215,23 @@ export type ListOptionsRequest = {
1202
1215
  /**
1203
1216
  * Zone to target. If none is passed will use default zone from the config.
1204
1217
  */
1205
- zone?: Zone;
1218
+ zone?: Zone | null;
1206
1219
  /**
1207
1220
  * Page number.
1208
1221
  */
1209
- page?: number;
1222
+ page?: number | null;
1210
1223
  /**
1211
1224
  * Number of options per page.
1212
1225
  */
1213
- pageSize?: number;
1226
+ pageSize?: number | null;
1214
1227
  /**
1215
1228
  * Offer ID to filter options for.
1216
1229
  */
1217
- offerId?: string;
1230
+ offerId?: string | null;
1218
1231
  /**
1219
1232
  * Name to filter options for.
1220
1233
  */
1221
- name?: string;
1234
+ name?: string | null;
1222
1235
  };
1223
1236
  export interface ListOptionsResponse {
1224
1237
  /**
@@ -1234,7 +1247,7 @@ export type ListServerEventsRequest = {
1234
1247
  /**
1235
1248
  * Zone to target. If none is passed will use default zone from the config.
1236
1249
  */
1237
- zone?: Zone;
1250
+ zone?: Zone | null;
1238
1251
  /**
1239
1252
  * ID of the server events searched.
1240
1253
  */
@@ -1242,15 +1255,15 @@ export type ListServerEventsRequest = {
1242
1255
  /**
1243
1256
  * Page number.
1244
1257
  */
1245
- page?: number;
1258
+ page?: number | null;
1246
1259
  /**
1247
1260
  * Number of server events per page.
1248
1261
  */
1249
- pageSize?: number;
1262
+ pageSize?: number | null;
1250
1263
  /**
1251
1264
  * Order of the server events.
1252
1265
  */
1253
- orderBy?: ListServerEventsRequestOrderBy;
1266
+ orderBy?: ListServerEventsRequestOrderBy | null;
1254
1267
  };
1255
1268
  export interface ListServerEventsResponse {
1256
1269
  /**
@@ -1270,43 +1283,43 @@ export type ListServersRequest = {
1270
1283
  /**
1271
1284
  * Zone to target. If none is passed will use default zone from the config.
1272
1285
  */
1273
- zone?: Zone;
1286
+ zone?: Zone | null;
1274
1287
  /**
1275
1288
  * Page number.
1276
1289
  */
1277
- page?: number;
1290
+ page?: number | null;
1278
1291
  /**
1279
1292
  * Number of servers per page.
1280
1293
  */
1281
- pageSize?: number;
1294
+ pageSize?: number | null;
1282
1295
  /**
1283
1296
  * Order of the servers.
1284
1297
  */
1285
- orderBy?: ListServersRequestOrderBy;
1298
+ orderBy?: ListServersRequestOrderBy | null;
1286
1299
  /**
1287
1300
  * Tags to filter for.
1288
1301
  */
1289
- tags?: string[];
1302
+ tags?: string[] | null;
1290
1303
  /**
1291
1304
  * Status to filter for.
1292
1305
  */
1293
- status?: string[];
1306
+ status?: string[] | null;
1294
1307
  /**
1295
1308
  * Names to filter for.
1296
1309
  */
1297
- name?: string;
1310
+ name?: string | null;
1298
1311
  /**
1299
1312
  * Organization ID to filter for.
1300
1313
  */
1301
- organizationId?: string;
1314
+ organizationId?: string | null;
1302
1315
  /**
1303
1316
  * Project ID to filter for.
1304
1317
  */
1305
- projectId?: string;
1318
+ projectId?: string | null;
1306
1319
  /**
1307
1320
  * Option ID to filter for.
1308
1321
  */
1309
- optionId?: string;
1322
+ optionId?: string | null;
1310
1323
  };
1311
1324
  export interface ListServersResponse {
1312
1325
  /**
@@ -1322,23 +1335,23 @@ export type ListSettingsRequest = {
1322
1335
  /**
1323
1336
  * Zone to target. If none is passed will use default zone from the config.
1324
1337
  */
1325
- zone?: Zone;
1338
+ zone?: Zone | null;
1326
1339
  /**
1327
1340
  * Page number.
1328
1341
  */
1329
- page?: number;
1342
+ page?: number | null;
1330
1343
  /**
1331
1344
  * Set the maximum list size.
1332
1345
  */
1333
- pageSize?: number;
1346
+ pageSize?: number | null;
1334
1347
  /**
1335
1348
  * Sort order for items in the response.
1336
1349
  */
1337
- orderBy?: ListSettingsRequestOrderBy;
1350
+ orderBy?: ListSettingsRequestOrderBy | null;
1338
1351
  /**
1339
1352
  * ID of the Project.
1340
1353
  */
1341
- projectId?: string;
1354
+ projectId?: string | null;
1342
1355
  };
1343
1356
  export interface ListSettingsResponse {
1344
1357
  /**
@@ -1354,7 +1367,7 @@ export type MigrateServerToMonthlyOfferRequest = {
1354
1367
  /**
1355
1368
  * Zone to target. If none is passed will use default zone from the config.
1356
1369
  */
1357
- zone?: Zone;
1370
+ zone?: Zone | null;
1358
1371
  /**
1359
1372
  * ID of the server.
1360
1373
  */
@@ -1364,7 +1377,7 @@ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
1364
1377
  /**
1365
1378
  * Zone to target. If none is passed will use default zone from the config.
1366
1379
  */
1367
- zone?: Zone;
1380
+ zone?: Zone | null;
1368
1381
  /**
1369
1382
  * The ID of the server.
1370
1383
  */
@@ -1378,7 +1391,7 @@ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
1378
1391
  /**
1379
1392
  * Zone to target. If none is passed will use default zone from the config.
1380
1393
  */
1381
- zone?: Zone;
1394
+ zone?: Zone | null;
1382
1395
  /**
1383
1396
  * The ID of the server.
1384
1397
  */
@@ -1392,41 +1405,41 @@ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
1392
1405
  /**
1393
1406
  * Zone to target. If none is passed will use default zone from the config.
1394
1407
  */
1395
- zone?: Zone;
1408
+ zone?: Zone | null;
1396
1409
  /**
1397
1410
  * The sort order for the returned Private Networks.
1398
1411
  */
1399
- orderBy?: ListServerPrivateNetworksRequestOrderBy;
1412
+ orderBy?: ListServerPrivateNetworksRequestOrderBy | null;
1400
1413
  /**
1401
1414
  * The page number for the returned Private Networks.
1402
1415
  */
1403
- page?: number;
1416
+ page?: number | null;
1404
1417
  /**
1405
1418
  * The maximum number of Private Networks per page.
1406
1419
  */
1407
- pageSize?: number;
1420
+ pageSize?: number | null;
1408
1421
  /**
1409
1422
  * Filter Private Networks by server ID.
1410
1423
  */
1411
- serverId?: string;
1424
+ serverId?: string | null;
1412
1425
  /**
1413
1426
  * Filter Private Networks by Private Network ID.
1414
1427
  */
1415
- privateNetworkId?: string;
1428
+ privateNetworkId?: string | null;
1416
1429
  /**
1417
1430
  * Filter Private Networks by Organization ID.
1418
1431
  */
1419
- organizationId?: string;
1432
+ organizationId?: string | null;
1420
1433
  /**
1421
1434
  * Filter Private Networks by Project ID.
1422
1435
  */
1423
- projectId?: string;
1436
+ projectId?: string | null;
1424
1437
  };
1425
1438
  export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
1426
1439
  /**
1427
1440
  * Zone to target. If none is passed will use default zone from the config.
1428
1441
  */
1429
- zone?: Zone;
1442
+ zone?: Zone | null;
1430
1443
  /**
1431
1444
  * The ID of the server.
1432
1445
  */
@@ -1440,7 +1453,7 @@ export type RebootServerRequest = {
1440
1453
  /**
1441
1454
  * Zone to target. If none is passed will use default zone from the config.
1442
1455
  */
1443
- zone?: Zone;
1456
+ zone?: Zone | null;
1444
1457
  /**
1445
1458
  * ID of the server to reboot.
1446
1459
  */
@@ -1448,11 +1461,11 @@ export type RebootServerRequest = {
1448
1461
  /**
1449
1462
  * The type of boot.
1450
1463
  */
1451
- bootType?: ServerBootType;
1464
+ bootType?: ServerBootType | null;
1452
1465
  /**
1453
1466
  * Additional SSH public key IDs to configure on rescue image.
1454
1467
  */
1455
- sshKeyIds?: string[];
1468
+ sshKeyIds?: string[] | null;
1456
1469
  };
1457
1470
  export interface SetServerPrivateNetworksResponse {
1458
1471
  serverPrivateNetworks: ServerPrivateNetwork[];
@@ -1461,7 +1474,7 @@ export type StartBMCAccessRequest = {
1461
1474
  /**
1462
1475
  * Zone to target. If none is passed will use default zone from the config.
1463
1476
  */
1464
- zone?: Zone;
1477
+ zone?: Zone | null;
1465
1478
  /**
1466
1479
  * ID of the server.
1467
1480
  */
@@ -1475,7 +1488,7 @@ export type StartServerRequest = {
1475
1488
  /**
1476
1489
  * Zone to target. If none is passed will use default zone from the config.
1477
1490
  */
1478
- zone?: Zone;
1491
+ zone?: Zone | null;
1479
1492
  /**
1480
1493
  * ID of the server to start.
1481
1494
  */
@@ -1483,17 +1496,17 @@ export type StartServerRequest = {
1483
1496
  /**
1484
1497
  * The type of boot.
1485
1498
  */
1486
- bootType?: ServerBootType;
1499
+ bootType?: ServerBootType | null;
1487
1500
  /**
1488
1501
  * Additional SSH public key IDs to configure on rescue image.
1489
1502
  */
1490
- sshKeyIds?: string[];
1503
+ sshKeyIds?: string[] | null;
1491
1504
  };
1492
1505
  export type StopBMCAccessRequest = {
1493
1506
  /**
1494
1507
  * Zone to target. If none is passed will use default zone from the config.
1495
1508
  */
1496
- zone?: Zone;
1509
+ zone?: Zone | null;
1497
1510
  /**
1498
1511
  * ID of the server.
1499
1512
  */
@@ -1503,7 +1516,7 @@ export type StopServerRequest = {
1503
1516
  /**
1504
1517
  * Zone to target. If none is passed will use default zone from the config.
1505
1518
  */
1506
- zone?: Zone;
1519
+ zone?: Zone | null;
1507
1520
  /**
1508
1521
  * ID of the server to stop.
1509
1522
  */
@@ -1513,7 +1526,7 @@ export type UpdateIPRequest = {
1513
1526
  /**
1514
1527
  * Zone to target. If none is passed will use default zone from the config.
1515
1528
  */
1516
- zone?: Zone;
1529
+ zone?: Zone | null;
1517
1530
  /**
1518
1531
  * ID of the server.
1519
1532
  */
@@ -1525,13 +1538,13 @@ export type UpdateIPRequest = {
1525
1538
  /**
1526
1539
  * New reverse IP to update, not updated if null.
1527
1540
  */
1528
- reverse?: string;
1541
+ reverse?: string | null;
1529
1542
  };
1530
1543
  export type UpdateServerCommitmentRequest = {
1531
1544
  /**
1532
1545
  * Zone to target. If none is passed will use default zone from the config.
1533
1546
  */
1534
- zone?: Zone;
1547
+ zone?: Zone | null;
1535
1548
  serverId: string;
1536
1549
  autoRenewal: boolean;
1537
1550
  };
@@ -1539,7 +1552,7 @@ export type UpdateServerRequest = {
1539
1552
  /**
1540
1553
  * Zone to target. If none is passed will use default zone from the config.
1541
1554
  */
1542
- zone?: Zone;
1555
+ zone?: Zone | null;
1543
1556
  /**
1544
1557
  * ID of the server to update.
1545
1558
  */
@@ -1547,33 +1560,33 @@ export type UpdateServerRequest = {
1547
1560
  /**
1548
1561
  * Name of the server (≠hostname), not updated if null.
1549
1562
  */
1550
- name?: string;
1563
+ name?: string | null;
1551
1564
  /**
1552
1565
  * Description associated with the server, max 255 characters, not updated if null.
1553
1566
  */
1554
- description?: string;
1567
+ description?: string | null;
1555
1568
  /**
1556
1569
  * Tags associated with the server, not updated if null.
1557
1570
  */
1558
- tags?: string[];
1571
+ tags?: string[] | null;
1559
1572
  /**
1560
1573
  * If enabled, the server can not be deleted.
1561
1574
  */
1562
- protected?: boolean;
1575
+ protected?: boolean | null;
1563
1576
  /**
1564
1577
  * Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script.
1565
1578
  */
1566
- userData?: string;
1579
+ userData?: string | null;
1567
1580
  /**
1568
1581
  * Set false to cancel the scheduled deletion of the server.
1569
1582
  */
1570
- scheduledDeletion?: boolean;
1583
+ scheduledDeletion?: boolean | null;
1571
1584
  };
1572
1585
  export type UpdateSettingRequest = {
1573
1586
  /**
1574
1587
  * Zone to target. If none is passed will use default zone from the config.
1575
1588
  */
1576
- zone?: Zone;
1589
+ zone?: Zone | null;
1577
1590
  /**
1578
1591
  * ID of the setting.
1579
1592
  */
@@ -1581,25 +1594,25 @@ export type UpdateSettingRequest = {
1581
1594
  /**
1582
1595
  * Defines whether the setting is enabled.
1583
1596
  */
1584
- enabled?: boolean;
1597
+ enabled?: boolean | null;
1585
1598
  };
1586
1599
  export type UpgradeServerCommitmentRequest = {
1587
1600
  /**
1588
1601
  * Zone to target. If none is passed will use default zone from the config.
1589
1602
  */
1590
- zone?: Zone;
1603
+ zone?: Zone | null;
1591
1604
  serverId: string;
1592
- period?: CommitmentPeriod;
1605
+ period?: CommitmentPeriod | null;
1593
1606
  };
1594
1607
  export type ValidatePartitioningSchemaRequest = {
1595
1608
  /**
1596
1609
  * Zone to target. If none is passed will use default zone from the config.
1597
1610
  */
1598
- zone?: Zone;
1611
+ zone?: Zone | null;
1599
1612
  /**
1600
1613
  * Partitioning schema.
1601
1614
  */
1602
- partitioningSchema?: Schema;
1615
+ partitioningSchema?: Schema | null;
1603
1616
  /**
1604
1617
  * Offer ID of the server.
1605
1618
  */