11// This file was automatically generated. DO NOT EDIT.
22// 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'
44
55export type IPReverseStatus = 'unknown' | 'pending' | 'active' | 'error'
66
@@ -585,7 +585,7 @@ export interface Server {
585585 /** Boot type of the server. */
586586 bootType : ServerBootType
587587 /** Zone in which is the server located. */
588- zone : Zone
588+ zone : ScwZone
589589 /** Configuration of the installation. */
590590 install ?: ServerInstall
591591 /** Status of server ping. */
@@ -609,7 +609,7 @@ export interface Setting {
609609
610610export type AddOptionServerRequest = {
611611 /** Zone to target. If none is passed will use default zone from the config. */
612- zone ?: Zone
612+ zone ?: ScwZone
613613 /** ID of the server. */
614614 serverId : string
615615 /** ID of the option to add. */
@@ -640,7 +640,7 @@ export interface BMCAccess {
640640
641641export type CreateServerRequest = {
642642 /** Zone to target. If none is passed will use default zone from the config. */
643- zone ?: Zone
643+ zone ?: ScwZone
644644 /** Offer ID of the new server. */
645645 offerId : string
646646 /**
@@ -674,7 +674,7 @@ export type CreateServerRequest = {
674674
675675export type DeleteOptionServerRequest = {
676676 /** Zone to target. If none is passed will use default zone from the config. */
677- zone ?: Zone
677+ zone ?: ScwZone
678678 /** ID of the server. */
679679 serverId : string
680680 /** ID of the option to delete. */
@@ -683,21 +683,21 @@ export type DeleteOptionServerRequest = {
683683
684684export type DeleteServerRequest = {
685685 /** Zone to target. If none is passed will use default zone from the config. */
686- zone ?: Zone
686+ zone ?: ScwZone
687687 /** ID of the server to delete. */
688688 serverId : string
689689}
690690
691691export type GetBMCAccessRequest = {
692692 /** Zone to target. If none is passed will use default zone from the config. */
693- zone ?: Zone
693+ zone ?: ScwZone
694694 /** ID of the server. */
695695 serverId : string
696696}
697697
698698export type GetDefaultPartitioningSchemaRequest = {
699699 /** Zone to target. If none is passed will use default zone from the config. */
700- zone ?: Zone
700+ zone ?: ScwZone
701701 /** ID of the offer. */
702702 offerId : string
703703 /** ID of the OS. */
@@ -706,28 +706,28 @@ export type GetDefaultPartitioningSchemaRequest = {
706706
707707export type GetOSRequest = {
708708 /** Zone to target. If none is passed will use default zone from the config. */
709- zone ?: Zone
709+ zone ?: ScwZone
710710 /** ID of the OS. */
711711 osId : string
712712}
713713
714714export type GetOfferRequest = {
715715 /** Zone to target. If none is passed will use default zone from the config. */
716- zone ?: Zone
716+ zone ?: ScwZone
717717 /** ID of the researched Offer. */
718718 offerId : string
719719}
720720
721721export type GetOptionRequest = {
722722 /** Zone to target. If none is passed will use default zone from the config. */
723- zone ?: Zone
723+ zone ?: ScwZone
724724 /** ID of the option. */
725725 optionId : string
726726}
727727
728728export type GetServerMetricsRequest = {
729729 /** Zone to target. If none is passed will use default zone from the config. */
730- zone ?: Zone
730+ zone ?: ScwZone
731731 /** Server ID to get the metrics. */
732732 serverId : string
733733}
@@ -739,14 +739,14 @@ export interface GetServerMetricsResponse {
739739
740740export type GetServerRequest = {
741741 /** Zone to target. If none is passed will use default zone from the config. */
742- zone ?: Zone
742+ zone ?: ScwZone
743743 /** ID of the server. */
744744 serverId : string
745745}
746746
747747export type InstallServerRequest = {
748748 /** Zone to target. If none is passed will use default zone from the config. */
749- zone ?: Zone
749+ zone ?: ScwZone
750750 /** Server ID to install. */
751751 serverId : string
752752 /** ID of the OS to installation on the server. */
@@ -769,7 +769,7 @@ export type InstallServerRequest = {
769769
770770export type ListOSRequest = {
771771 /** Zone to target. If none is passed will use default zone from the config. */
772- zone ?: Zone
772+ zone ?: ScwZone
773773 /** Page number. */
774774 page ?: number
775775 /** Number of OS per page. */
@@ -787,7 +787,7 @@ export interface ListOSResponse {
787787
788788export type ListOffersRequest = {
789789 /** Zone to target. If none is passed will use default zone from the config. */
790- zone ?: Zone
790+ zone ?: ScwZone
791791 /** Page number. */
792792 page ?: number
793793 /** Number of offers per page. */
@@ -807,7 +807,7 @@ export interface ListOffersResponse {
807807
808808export type ListOptionsRequest = {
809809 /** Zone to target. If none is passed will use default zone from the config. */
810- zone ?: Zone
810+ zone ?: ScwZone
811811 /** Page number. */
812812 page ?: number
813813 /** Number of options per page. */
@@ -827,7 +827,7 @@ export interface ListOptionsResponse {
827827
828828export type ListServerEventsRequest = {
829829 /** Zone to target. If none is passed will use default zone from the config. */
830- zone ?: Zone
830+ zone ?: ScwZone
831831 /** ID of the server events searched. */
832832 serverId : string
833833 /** Page number. */
@@ -852,7 +852,7 @@ export interface ListServerPrivateNetworksResponse {
852852
853853export type ListServersRequest = {
854854 /** Zone to target. If none is passed will use default zone from the config. */
855- zone ?: Zone
855+ zone ?: ScwZone
856856 /** Page number. */
857857 page ?: number
858858 /** Number of servers per page. */
@@ -882,7 +882,7 @@ export interface ListServersResponse {
882882
883883export type ListSettingsRequest = {
884884 /** Zone to target. If none is passed will use default zone from the config. */
885- zone ?: Zone
885+ zone ?: ScwZone
886886 /** Page number. */
887887 page ?: number
888888 /** Set the maximum list size. */
@@ -902,7 +902,7 @@ export interface ListSettingsResponse {
902902
903903export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
904904 /** Zone to target. If none is passed will use default zone from the config. */
905- zone ?: Zone
905+ zone ?: ScwZone
906906 /** The ID of the server. */
907907 serverId : string
908908 /** The ID of the Private Network. */
@@ -911,7 +911,7 @@ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
911911
912912export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
913913 /** Zone to target. If none is passed will use default zone from the config. */
914- zone ?: Zone
914+ zone ?: ScwZone
915915 /** The ID of the server. */
916916 serverId : string
917917 /** The ID of the Private Network. */
@@ -920,7 +920,7 @@ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
920920
921921export type PrivateNetworkApiListServerPrivateNetworksRequest = {
922922 /** Zone to target. If none is passed will use default zone from the config. */
923- zone ?: Zone
923+ zone ?: ScwZone
924924 /** The sort order for the returned Private Networks. */
925925 orderBy ?: ListServerPrivateNetworksRequestOrderBy
926926 /** The page number for the returned Private Networks. */
@@ -939,7 +939,7 @@ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
939939
940940export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
941941 /** Zone to target. If none is passed will use default zone from the config. */
942- zone ?: Zone
942+ zone ?: ScwZone
943943 /** The ID of the server. */
944944 serverId : string
945945 /** The IDs of the Private Networks. */
@@ -948,7 +948,7 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
948948
949949export type RebootServerRequest = {
950950 /** Zone to target. If none is passed will use default zone from the config. */
951- zone ?: Zone
951+ zone ?: ScwZone
952952 /** ID of the server to reboot. */
953953 serverId : string
954954 /** The type of boot. */
@@ -961,7 +961,7 @@ export interface SetServerPrivateNetworksResponse {
961961
962962export type StartBMCAccessRequest = {
963963 /** Zone to target. If none is passed will use default zone from the config. */
964- zone ?: Zone
964+ zone ?: ScwZone
965965 /** ID of the server. */
966966 serverId : string
967967 /** The IP authorized to connect to the server. */
@@ -970,7 +970,7 @@ export type StartBMCAccessRequest = {
970970
971971export type StartServerRequest = {
972972 /** Zone to target. If none is passed will use default zone from the config. */
973- zone ?: Zone
973+ zone ?: ScwZone
974974 /** ID of the server to start. */
975975 serverId : string
976976 /** The type of boot. */
@@ -979,21 +979,21 @@ export type StartServerRequest = {
979979
980980export type StopBMCAccessRequest = {
981981 /** Zone to target. If none is passed will use default zone from the config. */
982- zone ?: Zone
982+ zone ?: ScwZone
983983 /** ID of the server. */
984984 serverId : string
985985}
986986
987987export type StopServerRequest = {
988988 /** Zone to target. If none is passed will use default zone from the config. */
989- zone ?: Zone
989+ zone ?: ScwZone
990990 /** ID of the server to stop. */
991991 serverId : string
992992}
993993
994994export type UpdateIPRequest = {
995995 /** Zone to target. If none is passed will use default zone from the config. */
996- zone ?: Zone
996+ zone ?: ScwZone
997997 /** ID of the server. */
998998 serverId : string
999999 /** ID of the IP to update. */
@@ -1004,7 +1004,7 @@ export type UpdateIPRequest = {
10041004
10051005export type UpdateServerRequest = {
10061006 /** Zone to target. If none is passed will use default zone from the config. */
1007- zone ?: Zone
1007+ zone ?: ScwZone
10081008 /** ID of the server to update. */
10091009 serverId : string
10101010 /** Name of the server (≠hostname), not updated if null. */
@@ -1020,7 +1020,7 @@ export type UpdateServerRequest = {
10201020
10211021export type UpdateSettingRequest = {
10221022 /** Zone to target. If none is passed will use default zone from the config. */
1023- zone ?: Zone
1023+ zone ?: ScwZone
10241024 /** ID of the setting. */
10251025 settingId : string
10261026 /** Defines whether the setting is enabled. */
@@ -1029,7 +1029,7 @@ export type UpdateSettingRequest = {
10291029
10301030export type ValidatePartitioningSchemaRequest = {
10311031 /** Zone to target. If none is passed will use default zone from the config. */
1032- zone ?: Zone
1032+ zone ?: ScwZone
10331033 /** Partitioning schema. */
10341034 partitioningSchema ?: Schema
10351035 /** Offer ID of the server. */
0 commit comments