@@ -611,7 +611,7 @@ export interface Setting {
611611 enabled : boolean
612612}
613613
614- export type AddOptionServerRequest = {
614+ export interface AddOptionServerRequest {
615615 /** Zone to target. If none is passed will use default zone from the config. */
616616 zone ?: ScwZone
617617 /** ID of the server. */
@@ -642,7 +642,7 @@ export interface BMCAccess {
642642 expiresAt ?: Date
643643}
644644
645- export type CreateServerRequest = {
645+ export interface CreateServerRequest {
646646 /** Zone to target. If none is passed will use default zone from the config. */
647647 zone ?: ScwZone
648648 /** Offer ID of the new server. */
@@ -676,7 +676,7 @@ export type CreateServerRequest = {
676676 optionIds ?: string [ ]
677677}
678678
679- export type DeleteOptionServerRequest = {
679+ export interface DeleteOptionServerRequest {
680680 /** Zone to target. If none is passed will use default zone from the config. */
681681 zone ?: ScwZone
682682 /** ID of the server. */
@@ -685,21 +685,21 @@ export type DeleteOptionServerRequest = {
685685 optionId : string
686686}
687687
688- export type DeleteServerRequest = {
688+ export interface DeleteServerRequest {
689689 /** Zone to target. If none is passed will use default zone from the config. */
690690 zone ?: ScwZone
691691 /** ID of the server to delete. */
692692 serverId : string
693693}
694694
695- export type GetBMCAccessRequest = {
695+ export interface GetBMCAccessRequest {
696696 /** Zone to target. If none is passed will use default zone from the config. */
697697 zone ?: ScwZone
698698 /** ID of the server. */
699699 serverId : string
700700}
701701
702- export type GetDefaultPartitioningSchemaRequest = {
702+ export interface GetDefaultPartitioningSchemaRequest {
703703 /** Zone to target. If none is passed will use default zone from the config. */
704704 zone ?: ScwZone
705705 /** ID of the offer. */
@@ -708,28 +708,28 @@ export type GetDefaultPartitioningSchemaRequest = {
708708 osId : string
709709}
710710
711- export type GetOSRequest = {
711+ export interface GetOSRequest {
712712 /** Zone to target. If none is passed will use default zone from the config. */
713713 zone ?: ScwZone
714714 /** ID of the OS. */
715715 osId : string
716716}
717717
718- export type GetOfferRequest = {
718+ export interface GetOfferRequest {
719719 /** Zone to target. If none is passed will use default zone from the config. */
720720 zone ?: ScwZone
721721 /** ID of the researched Offer. */
722722 offerId : string
723723}
724724
725- export type GetOptionRequest = {
725+ export interface GetOptionRequest {
726726 /** Zone to target. If none is passed will use default zone from the config. */
727727 zone ?: ScwZone
728728 /** ID of the option. */
729729 optionId : string
730730}
731731
732- export type GetServerMetricsRequest = {
732+ export interface GetServerMetricsRequest {
733733 /** Zone to target. If none is passed will use default zone from the config. */
734734 zone ?: ScwZone
735735 /** Server ID to get the metrics. */
@@ -741,14 +741,14 @@ export interface GetServerMetricsResponse {
741741 pings ?: TimeSeries
742742}
743743
744- export type GetServerRequest = {
744+ export interface GetServerRequest {
745745 /** Zone to target. If none is passed will use default zone from the config. */
746746 zone ?: ScwZone
747747 /** ID of the server. */
748748 serverId : string
749749}
750750
751- export type InstallServerRequest = {
751+ export interface InstallServerRequest {
752752 /** Zone to target. If none is passed will use default zone from the config. */
753753 zone ?: ScwZone
754754 /** Server ID to install. */
@@ -771,7 +771,7 @@ export type InstallServerRequest = {
771771 partitioningSchema ?: Schema
772772}
773773
774- export type ListOSRequest = {
774+ export interface ListOSRequest {
775775 /** Zone to target. If none is passed will use default zone from the config. */
776776 zone ?: ScwZone
777777 /** Page number. */
@@ -789,7 +789,7 @@ export interface ListOSResponse {
789789 os : OS [ ]
790790}
791791
792- export type ListOffersRequest = {
792+ export interface ListOffersRequest {
793793 /** Zone to target. If none is passed will use default zone from the config. */
794794 zone ?: ScwZone
795795 /** Page number. */
@@ -809,7 +809,7 @@ export interface ListOffersResponse {
809809 offers : Offer [ ]
810810}
811811
812- export type ListOptionsRequest = {
812+ export interface ListOptionsRequest {
813813 /** Zone to target. If none is passed will use default zone from the config. */
814814 zone ?: ScwZone
815815 /** Page number. */
@@ -829,7 +829,7 @@ export interface ListOptionsResponse {
829829 options : Option [ ]
830830}
831831
832- export type ListServerEventsRequest = {
832+ export interface ListServerEventsRequest {
833833 /** Zone to target. If none is passed will use default zone from the config. */
834834 zone ?: ScwZone
835835 /** ID of the server events searched. */
@@ -854,7 +854,7 @@ export interface ListServerPrivateNetworksResponse {
854854 totalCount : number
855855}
856856
857- export type ListServersRequest = {
857+ export interface ListServersRequest {
858858 /** Zone to target. If none is passed will use default zone from the config. */
859859 zone ?: ScwZone
860860 /** Page number. */
@@ -884,7 +884,7 @@ export interface ListServersResponse {
884884 servers : Server [ ]
885885}
886886
887- export type ListSettingsRequest = {
887+ export interface ListSettingsRequest {
888888 /** Zone to target. If none is passed will use default zone from the config. */
889889 zone ?: ScwZone
890890 /** Page number. */
@@ -904,14 +904,14 @@ export interface ListSettingsResponse {
904904 settings : Setting [ ]
905905}
906906
907- export type MigrateServerToMonthlyOfferRequest = {
907+ export interface MigrateServerToMonthlyOfferRequest {
908908 /** Zone to target. If none is passed will use default zone from the config. */
909909 zone ?: ScwZone
910910 /** ID of the server. */
911911 serverId : string
912912}
913913
914- export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
914+ export interface PrivateNetworkApiAddServerPrivateNetworkRequest {
915915 /** Zone to target. If none is passed will use default zone from the config. */
916916 zone ?: ScwZone
917917 /** The ID of the server. */
@@ -920,7 +920,7 @@ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
920920 privateNetworkId : string
921921}
922922
923- export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
923+ export interface PrivateNetworkApiDeleteServerPrivateNetworkRequest {
924924 /** Zone to target. If none is passed will use default zone from the config. */
925925 zone ?: ScwZone
926926 /** The ID of the server. */
@@ -929,7 +929,7 @@ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
929929 privateNetworkId : string
930930}
931931
932- export type PrivateNetworkApiListServerPrivateNetworksRequest = {
932+ export interface PrivateNetworkApiListServerPrivateNetworksRequest {
933933 /** Zone to target. If none is passed will use default zone from the config. */
934934 zone ?: ScwZone
935935 /** The sort order for the returned Private Networks. */
@@ -948,7 +948,7 @@ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
948948 projectId ?: string
949949}
950950
951- export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
951+ export interface PrivateNetworkApiSetServerPrivateNetworksRequest {
952952 /** Zone to target. If none is passed will use default zone from the config. */
953953 zone ?: ScwZone
954954 /** The ID of the server. */
@@ -957,7 +957,7 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
957957 privateNetworkIds : string [ ]
958958}
959959
960- export type RebootServerRequest = {
960+ export interface RebootServerRequest {
961961 /** Zone to target. If none is passed will use default zone from the config. */
962962 zone ?: ScwZone
963963 /** ID of the server to reboot. */
@@ -970,7 +970,7 @@ export interface SetServerPrivateNetworksResponse {
970970 serverPrivateNetworks : ServerPrivateNetwork [ ]
971971}
972972
973- export type StartBMCAccessRequest = {
973+ export interface StartBMCAccessRequest {
974974 /** Zone to target. If none is passed will use default zone from the config. */
975975 zone ?: ScwZone
976976 /** ID of the server. */
@@ -979,7 +979,7 @@ export type StartBMCAccessRequest = {
979979 ip : string
980980}
981981
982- export type StartServerRequest = {
982+ export interface StartServerRequest {
983983 /** Zone to target. If none is passed will use default zone from the config. */
984984 zone ?: ScwZone
985985 /** ID of the server to start. */
@@ -988,21 +988,21 @@ export type StartServerRequest = {
988988 bootType ?: ServerBootType
989989}
990990
991- export type StopBMCAccessRequest = {
991+ export interface StopBMCAccessRequest {
992992 /** Zone to target. If none is passed will use default zone from the config. */
993993 zone ?: ScwZone
994994 /** ID of the server. */
995995 serverId : string
996996}
997997
998- export type StopServerRequest = {
998+ export interface StopServerRequest {
999999 /** Zone to target. If none is passed will use default zone from the config. */
10001000 zone ?: ScwZone
10011001 /** ID of the server to stop. */
10021002 serverId : string
10031003}
10041004
1005- export type UpdateIPRequest = {
1005+ export interface UpdateIPRequest {
10061006 /** Zone to target. If none is passed will use default zone from the config. */
10071007 zone ?: ScwZone
10081008 /** ID of the server. */
@@ -1013,7 +1013,7 @@ export type UpdateIPRequest = {
10131013 reverse ?: string
10141014}
10151015
1016- export type UpdateServerRequest = {
1016+ export interface UpdateServerRequest {
10171017 /** Zone to target. If none is passed will use default zone from the config. */
10181018 zone ?: ScwZone
10191019 /** ID of the server to update. */
@@ -1029,7 +1029,7 @@ export type UpdateServerRequest = {
10291029 tags ?: string [ ]
10301030}
10311031
1032- export type UpdateSettingRequest = {
1032+ export interface UpdateSettingRequest {
10331033 /** Zone to target. If none is passed will use default zone from the config. */
10341034 zone ?: ScwZone
10351035 /** ID of the setting. */
@@ -1038,7 +1038,7 @@ export type UpdateSettingRequest = {
10381038 enabled ?: boolean
10391039}
10401040
1041- export type ValidatePartitioningSchemaRequest = {
1041+ export interface ValidatePartitioningSchemaRequest {
10421042 /** Zone to target. If none is passed will use default zone from the config. */
10431043 zone ?: ScwZone
10441044 /** Partitioning schema. */
0 commit comments