@@ -610,7 +610,7 @@ export interface Setting {
610610 enabled : boolean
611611}
612612
613- export type AddOptionServerRequest = {
613+ export interface AddOptionServerRequest {
614614 /** Zone to target. If none is passed will use default zone from the config. */
615615 zone ?: ScwZone
616616 /** ID of the server. */
@@ -641,7 +641,7 @@ export interface BMCAccess {
641641 expiresAt ?: Date
642642}
643643
644- export type CreateServerRequest = {
644+ export interface CreateServerRequest {
645645 /** Zone to target. If none is passed will use default zone from the config. */
646646 zone ?: ScwZone
647647 /** Offer ID of the new server. */
@@ -675,7 +675,7 @@ export type CreateServerRequest = {
675675 optionIds ?: string [ ]
676676}
677677
678- export type DeleteOptionServerRequest = {
678+ export interface DeleteOptionServerRequest {
679679 /** Zone to target. If none is passed will use default zone from the config. */
680680 zone ?: ScwZone
681681 /** ID of the server. */
@@ -684,21 +684,21 @@ export type DeleteOptionServerRequest = {
684684 optionId : string
685685}
686686
687- export type DeleteServerRequest = {
687+ export interface DeleteServerRequest {
688688 /** Zone to target. If none is passed will use default zone from the config. */
689689 zone ?: ScwZone
690690 /** ID of the server to delete. */
691691 serverId : string
692692}
693693
694- export type GetBMCAccessRequest = {
694+ export interface GetBMCAccessRequest {
695695 /** Zone to target. If none is passed will use default zone from the config. */
696696 zone ?: ScwZone
697697 /** ID of the server. */
698698 serverId : string
699699}
700700
701- export type GetDefaultPartitioningSchemaRequest = {
701+ export interface GetDefaultPartitioningSchemaRequest {
702702 /** Zone to target. If none is passed will use default zone from the config. */
703703 zone ?: ScwZone
704704 /** ID of the offer. */
@@ -707,28 +707,28 @@ export type GetDefaultPartitioningSchemaRequest = {
707707 osId : string
708708}
709709
710- export type GetOSRequest = {
710+ export interface GetOSRequest {
711711 /** Zone to target. If none is passed will use default zone from the config. */
712712 zone ?: ScwZone
713713 /** ID of the OS. */
714714 osId : string
715715}
716716
717- export type GetOfferRequest = {
717+ export interface GetOfferRequest {
718718 /** Zone to target. If none is passed will use default zone from the config. */
719719 zone ?: ScwZone
720720 /** ID of the researched Offer. */
721721 offerId : string
722722}
723723
724- export type GetOptionRequest = {
724+ export interface GetOptionRequest {
725725 /** Zone to target. If none is passed will use default zone from the config. */
726726 zone ?: ScwZone
727727 /** ID of the option. */
728728 optionId : string
729729}
730730
731- export type GetServerMetricsRequest = {
731+ export interface GetServerMetricsRequest {
732732 /** Zone to target. If none is passed will use default zone from the config. */
733733 zone ?: ScwZone
734734 /** Server ID to get the metrics. */
@@ -740,14 +740,14 @@ export interface GetServerMetricsResponse {
740740 pings ?: TimeSeries
741741}
742742
743- export type GetServerRequest = {
743+ export interface GetServerRequest {
744744 /** Zone to target. If none is passed will use default zone from the config. */
745745 zone ?: ScwZone
746746 /** ID of the server. */
747747 serverId : string
748748}
749749
750- export type InstallServerRequest = {
750+ export interface InstallServerRequest {
751751 /** Zone to target. If none is passed will use default zone from the config. */
752752 zone ?: ScwZone
753753 /** Server ID to install. */
@@ -770,7 +770,7 @@ export type InstallServerRequest = {
770770 partitioningSchema ?: Schema
771771}
772772
773- export type ListOSRequest = {
773+ export interface ListOSRequest {
774774 /** Zone to target. If none is passed will use default zone from the config. */
775775 zone ?: ScwZone
776776 /** Page number. */
@@ -788,7 +788,7 @@ export interface ListOSResponse {
788788 os : OS [ ]
789789}
790790
791- export type ListOffersRequest = {
791+ export interface ListOffersRequest {
792792 /** Zone to target. If none is passed will use default zone from the config. */
793793 zone ?: ScwZone
794794 /** Page number. */
@@ -808,7 +808,7 @@ export interface ListOffersResponse {
808808 offers : Offer [ ]
809809}
810810
811- export type ListOptionsRequest = {
811+ export interface ListOptionsRequest {
812812 /** Zone to target. If none is passed will use default zone from the config. */
813813 zone ?: ScwZone
814814 /** Page number. */
@@ -828,7 +828,7 @@ export interface ListOptionsResponse {
828828 options : Option [ ]
829829}
830830
831- export type ListServerEventsRequest = {
831+ export interface ListServerEventsRequest {
832832 /** Zone to target. If none is passed will use default zone from the config. */
833833 zone ?: ScwZone
834834 /** ID of the server events searched. */
@@ -853,7 +853,7 @@ export interface ListServerPrivateNetworksResponse {
853853 totalCount : number
854854}
855855
856- export type ListServersRequest = {
856+ export interface ListServersRequest {
857857 /** Zone to target. If none is passed will use default zone from the config. */
858858 zone ?: ScwZone
859859 /** Page number. */
@@ -883,7 +883,7 @@ export interface ListServersResponse {
883883 servers : Server [ ]
884884}
885885
886- export type ListSettingsRequest = {
886+ export interface ListSettingsRequest {
887887 /** Zone to target. If none is passed will use default zone from the config. */
888888 zone ?: ScwZone
889889 /** Page number. */
@@ -903,14 +903,14 @@ export interface ListSettingsResponse {
903903 settings : Setting [ ]
904904}
905905
906- export type MigrateServerToMonthlyOfferRequest = {
906+ export interface MigrateServerToMonthlyOfferRequest {
907907 /** Zone to target. If none is passed will use default zone from the config. */
908908 zone ?: ScwZone
909909 /** ID of the server. */
910910 serverId : string
911911}
912912
913- export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
913+ export interface PrivateNetworkApiAddServerPrivateNetworkRequest {
914914 /** Zone to target. If none is passed will use default zone from the config. */
915915 zone ?: ScwZone
916916 /** The ID of the server. */
@@ -919,7 +919,7 @@ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
919919 privateNetworkId : string
920920}
921921
922- export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
922+ export interface PrivateNetworkApiDeleteServerPrivateNetworkRequest {
923923 /** Zone to target. If none is passed will use default zone from the config. */
924924 zone ?: ScwZone
925925 /** The ID of the server. */
@@ -928,7 +928,7 @@ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
928928 privateNetworkId : string
929929}
930930
931- export type PrivateNetworkApiListServerPrivateNetworksRequest = {
931+ export interface PrivateNetworkApiListServerPrivateNetworksRequest {
932932 /** Zone to target. If none is passed will use default zone from the config. */
933933 zone ?: ScwZone
934934 /** The sort order for the returned Private Networks. */
@@ -947,7 +947,7 @@ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
947947 projectId ?: string
948948}
949949
950- export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
950+ export interface PrivateNetworkApiSetServerPrivateNetworksRequest {
951951 /** Zone to target. If none is passed will use default zone from the config. */
952952 zone ?: ScwZone
953953 /** The ID of the server. */
@@ -956,7 +956,7 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
956956 privateNetworkIds : string [ ]
957957}
958958
959- export type RebootServerRequest = {
959+ export interface RebootServerRequest {
960960 /** Zone to target. If none is passed will use default zone from the config. */
961961 zone ?: ScwZone
962962 /** ID of the server to reboot. */
@@ -969,7 +969,7 @@ export interface SetServerPrivateNetworksResponse {
969969 serverPrivateNetworks : ServerPrivateNetwork [ ]
970970}
971971
972- export type StartBMCAccessRequest = {
972+ export interface StartBMCAccessRequest {
973973 /** Zone to target. If none is passed will use default zone from the config. */
974974 zone ?: ScwZone
975975 /** ID of the server. */
@@ -978,7 +978,7 @@ export type StartBMCAccessRequest = {
978978 ip : string
979979}
980980
981- export type StartServerRequest = {
981+ export interface StartServerRequest {
982982 /** Zone to target. If none is passed will use default zone from the config. */
983983 zone ?: ScwZone
984984 /** ID of the server to start. */
@@ -987,21 +987,21 @@ export type StartServerRequest = {
987987 bootType ?: ServerBootType
988988}
989989
990- export type StopBMCAccessRequest = {
990+ export interface StopBMCAccessRequest {
991991 /** Zone to target. If none is passed will use default zone from the config. */
992992 zone ?: ScwZone
993993 /** ID of the server. */
994994 serverId : string
995995}
996996
997- export type StopServerRequest = {
997+ export interface StopServerRequest {
998998 /** Zone to target. If none is passed will use default zone from the config. */
999999 zone ?: ScwZone
10001000 /** ID of the server to stop. */
10011001 serverId : string
10021002}
10031003
1004- export type UpdateIPRequest = {
1004+ export interface UpdateIPRequest {
10051005 /** Zone to target. If none is passed will use default zone from the config. */
10061006 zone ?: ScwZone
10071007 /** ID of the server. */
@@ -1012,7 +1012,7 @@ export type UpdateIPRequest = {
10121012 reverse ?: string
10131013}
10141014
1015- export type UpdateServerRequest = {
1015+ export interface UpdateServerRequest {
10161016 /** Zone to target. If none is passed will use default zone from the config. */
10171017 zone ?: ScwZone
10181018 /** ID of the server to update. */
@@ -1028,7 +1028,7 @@ export type UpdateServerRequest = {
10281028 tags ?: string [ ]
10291029}
10301030
1031- export type UpdateSettingRequest = {
1031+ export interface UpdateSettingRequest {
10321032 /** Zone to target. If none is passed will use default zone from the config. */
10331033 zone ?: ScwZone
10341034 /** ID of the setting. */
@@ -1037,7 +1037,7 @@ export type UpdateSettingRequest = {
10371037 enabled ?: boolean
10381038}
10391039
1040- export type ValidatePartitioningSchemaRequest = {
1040+ export interface ValidatePartitioningSchemaRequest {
10411041 /** Zone to target. If none is passed will use default zone from the config. */
10421042 zone ?: ScwZone
10431043 /** Partitioning schema. */
0 commit comments