1
1
// This file was automatically generated. DO NOT EDIT.
2
2
// If you have any remark or suggestion do not hesitate to open an issue.
3
- import type { Money , TimeSeries , Zone } from '../../../bridge'
3
+ import type { Money , Zone as ScwZone , TimeSeries } from '../../../bridge'
4
4
5
5
export type IPReverseStatus = 'unknown' | 'pending' | 'active' | 'error'
6
6
@@ -585,7 +585,7 @@ export interface Server {
585
585
/** Boot type of the server. */
586
586
bootType : ServerBootType
587
587
/** Zone in which is the server located. */
588
- zone : Zone
588
+ zone : ScwZone
589
589
/** Configuration of the installation. */
590
590
install ?: ServerInstall
591
591
/** Status of server ping. */
@@ -609,7 +609,7 @@ export interface Setting {
609
609
610
610
export type AddOptionServerRequest = {
611
611
/** Zone to target. If none is passed will use default zone from the config. */
612
- zone ?: Zone
612
+ zone ?: ScwZone
613
613
/** ID of the server. */
614
614
serverId : string
615
615
/** ID of the option to add. */
@@ -640,7 +640,7 @@ export interface BMCAccess {
640
640
641
641
export type CreateServerRequest = {
642
642
/** Zone to target. If none is passed will use default zone from the config. */
643
- zone ?: Zone
643
+ zone ?: ScwZone
644
644
/** Offer ID of the new server. */
645
645
offerId : string
646
646
/**
@@ -674,7 +674,7 @@ export type CreateServerRequest = {
674
674
675
675
export type DeleteOptionServerRequest = {
676
676
/** Zone to target. If none is passed will use default zone from the config. */
677
- zone ?: Zone
677
+ zone ?: ScwZone
678
678
/** ID of the server. */
679
679
serverId : string
680
680
/** ID of the option to delete. */
@@ -683,21 +683,21 @@ export type DeleteOptionServerRequest = {
683
683
684
684
export type DeleteServerRequest = {
685
685
/** Zone to target. If none is passed will use default zone from the config. */
686
- zone ?: Zone
686
+ zone ?: ScwZone
687
687
/** ID of the server to delete. */
688
688
serverId : string
689
689
}
690
690
691
691
export type GetBMCAccessRequest = {
692
692
/** Zone to target. If none is passed will use default zone from the config. */
693
- zone ?: Zone
693
+ zone ?: ScwZone
694
694
/** ID of the server. */
695
695
serverId : string
696
696
}
697
697
698
698
export type GetDefaultPartitioningSchemaRequest = {
699
699
/** Zone to target. If none is passed will use default zone from the config. */
700
- zone ?: Zone
700
+ zone ?: ScwZone
701
701
/** ID of the offer. */
702
702
offerId : string
703
703
/** ID of the OS. */
@@ -706,28 +706,28 @@ export type GetDefaultPartitioningSchemaRequest = {
706
706
707
707
export type GetOSRequest = {
708
708
/** Zone to target. If none is passed will use default zone from the config. */
709
- zone ?: Zone
709
+ zone ?: ScwZone
710
710
/** ID of the OS. */
711
711
osId : string
712
712
}
713
713
714
714
export type GetOfferRequest = {
715
715
/** Zone to target. If none is passed will use default zone from the config. */
716
- zone ?: Zone
716
+ zone ?: ScwZone
717
717
/** ID of the researched Offer. */
718
718
offerId : string
719
719
}
720
720
721
721
export type GetOptionRequest = {
722
722
/** Zone to target. If none is passed will use default zone from the config. */
723
- zone ?: Zone
723
+ zone ?: ScwZone
724
724
/** ID of the option. */
725
725
optionId : string
726
726
}
727
727
728
728
export type GetServerMetricsRequest = {
729
729
/** Zone to target. If none is passed will use default zone from the config. */
730
- zone ?: Zone
730
+ zone ?: ScwZone
731
731
/** Server ID to get the metrics. */
732
732
serverId : string
733
733
}
@@ -739,14 +739,14 @@ export interface GetServerMetricsResponse {
739
739
740
740
export type GetServerRequest = {
741
741
/** Zone to target. If none is passed will use default zone from the config. */
742
- zone ?: Zone
742
+ zone ?: ScwZone
743
743
/** ID of the server. */
744
744
serverId : string
745
745
}
746
746
747
747
export type InstallServerRequest = {
748
748
/** Zone to target. If none is passed will use default zone from the config. */
749
- zone ?: Zone
749
+ zone ?: ScwZone
750
750
/** Server ID to install. */
751
751
serverId : string
752
752
/** ID of the OS to installation on the server. */
@@ -769,7 +769,7 @@ export type InstallServerRequest = {
769
769
770
770
export type ListOSRequest = {
771
771
/** Zone to target. If none is passed will use default zone from the config. */
772
- zone ?: Zone
772
+ zone ?: ScwZone
773
773
/** Page number. */
774
774
page ?: number
775
775
/** Number of OS per page. */
@@ -787,7 +787,7 @@ export interface ListOSResponse {
787
787
788
788
export type ListOffersRequest = {
789
789
/** Zone to target. If none is passed will use default zone from the config. */
790
- zone ?: Zone
790
+ zone ?: ScwZone
791
791
/** Page number. */
792
792
page ?: number
793
793
/** Number of offers per page. */
@@ -807,7 +807,7 @@ export interface ListOffersResponse {
807
807
808
808
export type ListOptionsRequest = {
809
809
/** Zone to target. If none is passed will use default zone from the config. */
810
- zone ?: Zone
810
+ zone ?: ScwZone
811
811
/** Page number. */
812
812
page ?: number
813
813
/** Number of options per page. */
@@ -827,7 +827,7 @@ export interface ListOptionsResponse {
827
827
828
828
export type ListServerEventsRequest = {
829
829
/** Zone to target. If none is passed will use default zone from the config. */
830
- zone ?: Zone
830
+ zone ?: ScwZone
831
831
/** ID of the server events searched. */
832
832
serverId : string
833
833
/** Page number. */
@@ -852,7 +852,7 @@ export interface ListServerPrivateNetworksResponse {
852
852
853
853
export type ListServersRequest = {
854
854
/** Zone to target. If none is passed will use default zone from the config. */
855
- zone ?: Zone
855
+ zone ?: ScwZone
856
856
/** Page number. */
857
857
page ?: number
858
858
/** Number of servers per page. */
@@ -882,7 +882,7 @@ export interface ListServersResponse {
882
882
883
883
export type ListSettingsRequest = {
884
884
/** Zone to target. If none is passed will use default zone from the config. */
885
- zone ?: Zone
885
+ zone ?: ScwZone
886
886
/** Page number. */
887
887
page ?: number
888
888
/** Set the maximum list size. */
@@ -902,7 +902,7 @@ export interface ListSettingsResponse {
902
902
903
903
export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
904
904
/** Zone to target. If none is passed will use default zone from the config. */
905
- zone ?: Zone
905
+ zone ?: ScwZone
906
906
/** The ID of the server. */
907
907
serverId : string
908
908
/** The ID of the Private Network. */
@@ -911,7 +911,7 @@ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
911
911
912
912
export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
913
913
/** Zone to target. If none is passed will use default zone from the config. */
914
- zone ?: Zone
914
+ zone ?: ScwZone
915
915
/** The ID of the server. */
916
916
serverId : string
917
917
/** The ID of the Private Network. */
@@ -920,7 +920,7 @@ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
920
920
921
921
export type PrivateNetworkApiListServerPrivateNetworksRequest = {
922
922
/** Zone to target. If none is passed will use default zone from the config. */
923
- zone ?: Zone
923
+ zone ?: ScwZone
924
924
/** The sort order for the returned Private Networks. */
925
925
orderBy ?: ListServerPrivateNetworksRequestOrderBy
926
926
/** The page number for the returned Private Networks. */
@@ -939,7 +939,7 @@ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
939
939
940
940
export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
941
941
/** Zone to target. If none is passed will use default zone from the config. */
942
- zone ?: Zone
942
+ zone ?: ScwZone
943
943
/** The ID of the server. */
944
944
serverId : string
945
945
/** The IDs of the Private Networks. */
@@ -948,7 +948,7 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
948
948
949
949
export type RebootServerRequest = {
950
950
/** Zone to target. If none is passed will use default zone from the config. */
951
- zone ?: Zone
951
+ zone ?: ScwZone
952
952
/** ID of the server to reboot. */
953
953
serverId : string
954
954
/** The type of boot. */
@@ -961,7 +961,7 @@ export interface SetServerPrivateNetworksResponse {
961
961
962
962
export type StartBMCAccessRequest = {
963
963
/** Zone to target. If none is passed will use default zone from the config. */
964
- zone ?: Zone
964
+ zone ?: ScwZone
965
965
/** ID of the server. */
966
966
serverId : string
967
967
/** The IP authorized to connect to the server. */
@@ -970,7 +970,7 @@ export type StartBMCAccessRequest = {
970
970
971
971
export type StartServerRequest = {
972
972
/** Zone to target. If none is passed will use default zone from the config. */
973
- zone ?: Zone
973
+ zone ?: ScwZone
974
974
/** ID of the server to start. */
975
975
serverId : string
976
976
/** The type of boot. */
@@ -979,21 +979,21 @@ export type StartServerRequest = {
979
979
980
980
export type StopBMCAccessRequest = {
981
981
/** Zone to target. If none is passed will use default zone from the config. */
982
- zone ?: Zone
982
+ zone ?: ScwZone
983
983
/** ID of the server. */
984
984
serverId : string
985
985
}
986
986
987
987
export type StopServerRequest = {
988
988
/** Zone to target. If none is passed will use default zone from the config. */
989
- zone ?: Zone
989
+ zone ?: ScwZone
990
990
/** ID of the server to stop. */
991
991
serverId : string
992
992
}
993
993
994
994
export type UpdateIPRequest = {
995
995
/** Zone to target. If none is passed will use default zone from the config. */
996
- zone ?: Zone
996
+ zone ?: ScwZone
997
997
/** ID of the server. */
998
998
serverId : string
999
999
/** ID of the IP to update. */
@@ -1004,7 +1004,7 @@ export type UpdateIPRequest = {
1004
1004
1005
1005
export type UpdateServerRequest = {
1006
1006
/** Zone to target. If none is passed will use default zone from the config. */
1007
- zone ?: Zone
1007
+ zone ?: ScwZone
1008
1008
/** ID of the server to update. */
1009
1009
serverId : string
1010
1010
/** Name of the server (≠hostname), not updated if null. */
@@ -1020,7 +1020,7 @@ export type UpdateServerRequest = {
1020
1020
1021
1021
export type UpdateSettingRequest = {
1022
1022
/** Zone to target. If none is passed will use default zone from the config. */
1023
- zone ?: Zone
1023
+ zone ?: ScwZone
1024
1024
/** ID of the setting. */
1025
1025
settingId : string
1026
1026
/** Defines whether the setting is enabled. */
@@ -1029,7 +1029,7 @@ export type UpdateSettingRequest = {
1029
1029
1030
1030
export type ValidatePartitioningSchemaRequest = {
1031
1031
/** Zone to target. If none is passed will use default zone from the config. */
1032
- zone ?: Zone
1032
+ zone ?: ScwZone
1033
1033
/** Partitioning schema. */
1034
1034
partitioningSchema ?: Schema
1035
1035
/** Offer ID of the server. */
0 commit comments