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 , Zone as ScwZone , TimeSeries } from '../../../bridge '
3
+ import type { Money , Zone as ScwZone , TimeSeries } from '@scaleway/sdk-client '
4
4
5
5
export type IPReverseStatus = 'unknown' | 'pending' | 'active' | 'error'
6
6
@@ -611,7 +611,7 @@ export interface Setting {
611
611
enabled : boolean
612
612
}
613
613
614
- export interface AddOptionServerRequest {
614
+ export type AddOptionServerRequest = {
615
615
/** Zone to target. If none is passed will use default zone from the config. */
616
616
zone ?: ScwZone
617
617
/** ID of the server. */
@@ -642,7 +642,7 @@ export interface BMCAccess {
642
642
expiresAt ?: Date
643
643
}
644
644
645
- export interface CreateServerRequest {
645
+ export type CreateServerRequest = {
646
646
/** Zone to target. If none is passed will use default zone from the config. */
647
647
zone ?: ScwZone
648
648
/** Offer ID of the new server. */
@@ -676,7 +676,7 @@ export interface CreateServerRequest {
676
676
optionIds ?: string [ ]
677
677
}
678
678
679
- export interface DeleteOptionServerRequest {
679
+ export type DeleteOptionServerRequest = {
680
680
/** Zone to target. If none is passed will use default zone from the config. */
681
681
zone ?: ScwZone
682
682
/** ID of the server. */
@@ -685,21 +685,21 @@ export interface DeleteOptionServerRequest {
685
685
optionId : string
686
686
}
687
687
688
- export interface DeleteServerRequest {
688
+ export type DeleteServerRequest = {
689
689
/** Zone to target. If none is passed will use default zone from the config. */
690
690
zone ?: ScwZone
691
691
/** ID of the server to delete. */
692
692
serverId : string
693
693
}
694
694
695
- export interface GetBMCAccessRequest {
695
+ export type GetBMCAccessRequest = {
696
696
/** Zone to target. If none is passed will use default zone from the config. */
697
697
zone ?: ScwZone
698
698
/** ID of the server. */
699
699
serverId : string
700
700
}
701
701
702
- export interface GetDefaultPartitioningSchemaRequest {
702
+ export type GetDefaultPartitioningSchemaRequest = {
703
703
/** Zone to target. If none is passed will use default zone from the config. */
704
704
zone ?: ScwZone
705
705
/** ID of the offer. */
@@ -708,28 +708,28 @@ export interface GetDefaultPartitioningSchemaRequest {
708
708
osId : string
709
709
}
710
710
711
- export interface GetOSRequest {
711
+ export type GetOSRequest = {
712
712
/** Zone to target. If none is passed will use default zone from the config. */
713
713
zone ?: ScwZone
714
714
/** ID of the OS. */
715
715
osId : string
716
716
}
717
717
718
- export interface GetOfferRequest {
718
+ export type GetOfferRequest = {
719
719
/** Zone to target. If none is passed will use default zone from the config. */
720
720
zone ?: ScwZone
721
721
/** ID of the researched Offer. */
722
722
offerId : string
723
723
}
724
724
725
- export interface GetOptionRequest {
725
+ export type GetOptionRequest = {
726
726
/** Zone to target. If none is passed will use default zone from the config. */
727
727
zone ?: ScwZone
728
728
/** ID of the option. */
729
729
optionId : string
730
730
}
731
731
732
- export interface GetServerMetricsRequest {
732
+ export type GetServerMetricsRequest = {
733
733
/** Zone to target. If none is passed will use default zone from the config. */
734
734
zone ?: ScwZone
735
735
/** Server ID to get the metrics. */
@@ -741,14 +741,14 @@ export interface GetServerMetricsResponse {
741
741
pings ?: TimeSeries
742
742
}
743
743
744
- export interface GetServerRequest {
744
+ export type GetServerRequest = {
745
745
/** Zone to target. If none is passed will use default zone from the config. */
746
746
zone ?: ScwZone
747
747
/** ID of the server. */
748
748
serverId : string
749
749
}
750
750
751
- export interface InstallServerRequest {
751
+ export type InstallServerRequest = {
752
752
/** Zone to target. If none is passed will use default zone from the config. */
753
753
zone ?: ScwZone
754
754
/** Server ID to install. */
@@ -771,7 +771,7 @@ export interface InstallServerRequest {
771
771
partitioningSchema ?: Schema
772
772
}
773
773
774
- export interface ListOSRequest {
774
+ export type ListOSRequest = {
775
775
/** Zone to target. If none is passed will use default zone from the config. */
776
776
zone ?: ScwZone
777
777
/** Page number. */
@@ -789,7 +789,7 @@ export interface ListOSResponse {
789
789
os : OS [ ]
790
790
}
791
791
792
- export interface ListOffersRequest {
792
+ export type ListOffersRequest = {
793
793
/** Zone to target. If none is passed will use default zone from the config. */
794
794
zone ?: ScwZone
795
795
/** Page number. */
@@ -809,7 +809,7 @@ export interface ListOffersResponse {
809
809
offers : Offer [ ]
810
810
}
811
811
812
- export interface ListOptionsRequest {
812
+ export type ListOptionsRequest = {
813
813
/** Zone to target. If none is passed will use default zone from the config. */
814
814
zone ?: ScwZone
815
815
/** Page number. */
@@ -829,7 +829,7 @@ export interface ListOptionsResponse {
829
829
options : Option [ ]
830
830
}
831
831
832
- export interface ListServerEventsRequest {
832
+ export type ListServerEventsRequest = {
833
833
/** Zone to target. If none is passed will use default zone from the config. */
834
834
zone ?: ScwZone
835
835
/** ID of the server events searched. */
@@ -854,7 +854,7 @@ export interface ListServerPrivateNetworksResponse {
854
854
totalCount : number
855
855
}
856
856
857
- export interface ListServersRequest {
857
+ export type ListServersRequest = {
858
858
/** Zone to target. If none is passed will use default zone from the config. */
859
859
zone ?: ScwZone
860
860
/** Page number. */
@@ -884,7 +884,7 @@ export interface ListServersResponse {
884
884
servers : Server [ ]
885
885
}
886
886
887
- export interface ListSettingsRequest {
887
+ export type ListSettingsRequest = {
888
888
/** Zone to target. If none is passed will use default zone from the config. */
889
889
zone ?: ScwZone
890
890
/** Page number. */
@@ -904,14 +904,14 @@ export interface ListSettingsResponse {
904
904
settings : Setting [ ]
905
905
}
906
906
907
- export interface MigrateServerToMonthlyOfferRequest {
907
+ export type MigrateServerToMonthlyOfferRequest = {
908
908
/** Zone to target. If none is passed will use default zone from the config. */
909
909
zone ?: ScwZone
910
910
/** ID of the server. */
911
911
serverId : string
912
912
}
913
913
914
- export interface PrivateNetworkApiAddServerPrivateNetworkRequest {
914
+ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
915
915
/** Zone to target. If none is passed will use default zone from the config. */
916
916
zone ?: ScwZone
917
917
/** The ID of the server. */
@@ -920,7 +920,7 @@ export interface PrivateNetworkApiAddServerPrivateNetworkRequest {
920
920
privateNetworkId : string
921
921
}
922
922
923
- export interface PrivateNetworkApiDeleteServerPrivateNetworkRequest {
923
+ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
924
924
/** Zone to target. If none is passed will use default zone from the config. */
925
925
zone ?: ScwZone
926
926
/** The ID of the server. */
@@ -929,7 +929,7 @@ export interface PrivateNetworkApiDeleteServerPrivateNetworkRequest {
929
929
privateNetworkId : string
930
930
}
931
931
932
- export interface PrivateNetworkApiListServerPrivateNetworksRequest {
932
+ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
933
933
/** Zone to target. If none is passed will use default zone from the config. */
934
934
zone ?: ScwZone
935
935
/** The sort order for the returned Private Networks. */
@@ -948,7 +948,7 @@ export interface PrivateNetworkApiListServerPrivateNetworksRequest {
948
948
projectId ?: string
949
949
}
950
950
951
- export interface PrivateNetworkApiSetServerPrivateNetworksRequest {
951
+ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
952
952
/** Zone to target. If none is passed will use default zone from the config. */
953
953
zone ?: ScwZone
954
954
/** The ID of the server. */
@@ -957,7 +957,7 @@ export interface PrivateNetworkApiSetServerPrivateNetworksRequest {
957
957
privateNetworkIds : string [ ]
958
958
}
959
959
960
- export interface RebootServerRequest {
960
+ export type RebootServerRequest = {
961
961
/** Zone to target. If none is passed will use default zone from the config. */
962
962
zone ?: ScwZone
963
963
/** ID of the server to reboot. */
@@ -970,7 +970,7 @@ export interface SetServerPrivateNetworksResponse {
970
970
serverPrivateNetworks : ServerPrivateNetwork [ ]
971
971
}
972
972
973
- export interface StartBMCAccessRequest {
973
+ export type StartBMCAccessRequest = {
974
974
/** Zone to target. If none is passed will use default zone from the config. */
975
975
zone ?: ScwZone
976
976
/** ID of the server. */
@@ -979,7 +979,7 @@ export interface StartBMCAccessRequest {
979
979
ip : string
980
980
}
981
981
982
- export interface StartServerRequest {
982
+ export type StartServerRequest = {
983
983
/** Zone to target. If none is passed will use default zone from the config. */
984
984
zone ?: ScwZone
985
985
/** ID of the server to start. */
@@ -988,21 +988,21 @@ export interface StartServerRequest {
988
988
bootType ?: ServerBootType
989
989
}
990
990
991
- export interface StopBMCAccessRequest {
991
+ export type StopBMCAccessRequest = {
992
992
/** Zone to target. If none is passed will use default zone from the config. */
993
993
zone ?: ScwZone
994
994
/** ID of the server. */
995
995
serverId : string
996
996
}
997
997
998
- export interface StopServerRequest {
998
+ export type StopServerRequest = {
999
999
/** Zone to target. If none is passed will use default zone from the config. */
1000
1000
zone ?: ScwZone
1001
1001
/** ID of the server to stop. */
1002
1002
serverId : string
1003
1003
}
1004
1004
1005
- export interface UpdateIPRequest {
1005
+ export type UpdateIPRequest = {
1006
1006
/** Zone to target. If none is passed will use default zone from the config. */
1007
1007
zone ?: ScwZone
1008
1008
/** ID of the server. */
@@ -1013,7 +1013,7 @@ export interface UpdateIPRequest {
1013
1013
reverse ?: string
1014
1014
}
1015
1015
1016
- export interface UpdateServerRequest {
1016
+ export type UpdateServerRequest = {
1017
1017
/** Zone to target. If none is passed will use default zone from the config. */
1018
1018
zone ?: ScwZone
1019
1019
/** ID of the server to update. */
@@ -1029,7 +1029,7 @@ export interface UpdateServerRequest {
1029
1029
tags ?: string [ ]
1030
1030
}
1031
1031
1032
- export interface UpdateSettingRequest {
1032
+ export type UpdateSettingRequest = {
1033
1033
/** Zone to target. If none is passed will use default zone from the config. */
1034
1034
zone ?: ScwZone
1035
1035
/** ID of the setting. */
@@ -1038,7 +1038,7 @@ export interface UpdateSettingRequest {
1038
1038
enabled ?: boolean
1039
1039
}
1040
1040
1041
- export interface ValidatePartitioningSchemaRequest {
1041
+ export type ValidatePartitioningSchemaRequest = {
1042
1042
/** Zone to target. If none is passed will use default zone from the config. */
1043
1043
zone ?: ScwZone
1044
1044
/** Partitioning schema. */
0 commit comments