@scaleway/sdk 2.63.0 → 2.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +20 -20
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +3 -3
- package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +16 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.js +16 -0
- package/dist/api/iam/v1alpha1/types.gen.d.ts +48 -4
- package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +7 -3
- package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +6 -3
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +7 -3
- package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1beta1/types.gen.d.ts +21 -21
- package/dist/api/instance/v1/api.gen.d.ts +2 -2
- package/dist/api/instance/v1/types.gen.d.ts +87 -87
- package/dist/api/instance/v1/types.private.gen.d.ts +5 -5
- package/dist/api/interlink/v1beta1/api.gen.cjs +5 -1
- package/dist/api/interlink/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.js +5 -1
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +29 -24
- package/dist/api/vpc/v2/api.gen.cjs +5 -21
- package/dist/api/vpc/v2/api.gen.d.ts +3 -13
- package/dist/api/vpc/v2/api.gen.js +6 -22
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +0 -16
- package/dist/api/vpc/v2/marshalling.gen.d.ts +1 -2
- package/dist/api/vpc/v2/marshalling.gen.js +1 -17
- package/dist/api/vpc/v2/types.gen.d.ts +24 -49
- package/dist/api/webhosting/v1/api.gen.cjs +40 -8
- package/dist/api/webhosting/v1/api.gen.d.ts +9 -9
- package/dist/api/webhosting/v1/api.gen.js +40 -8
- package/dist/api/webhosting/v1/types.gen.d.ts +36 -36
- package/dist/api/webhosting/v1alpha1/api.gen.cjs +5 -1
- package/dist/api/webhosting/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/webhosting/v1alpha1/api.gen.js +5 -1
- package/dist/api/webhosting/v1alpha1/types.gen.d.ts +19 -19
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Zone } from '../../../bridge';
|
|
1
|
+
import type { Zone as ScwZone } from '../../../bridge';
|
|
2
2
|
export type Arch = 'unknown_arch' | 'x86_64' | 'arm' | 'arm64';
|
|
3
3
|
export type AttachServerVolumeRequestVolumeType = 'unknown_volume_type' | 'l_ssd' | 'b_ssd' | 'sbs_volume';
|
|
4
4
|
export type BootType = 'local' | 'bootscript' | 'rescue';
|
|
5
5
|
export type ImageState = 'available' | 'creating' | 'error';
|
|
6
6
|
export type IpState = 'unknown_state' | 'detached' | 'attached' | 'pending' | 'error';
|
|
7
|
-
export type IpType = 'unknown_iptype' | '
|
|
7
|
+
export type IpType = 'unknown_iptype' | 'routed_ipv4' | 'routed_ipv6';
|
|
8
8
|
export type ListServersRequestOrder = 'creation_date_desc' | 'creation_date_asc' | 'modification_date_desc' | 'modification_date_asc';
|
|
9
9
|
export type PlacementGroupPolicyMode = 'optional' | 'enforced';
|
|
10
10
|
export type PlacementGroupPolicyType = 'max_availability' | 'low_latency';
|
|
@@ -44,7 +44,7 @@ export interface Bootscript {
|
|
|
44
44
|
title: string;
|
|
45
45
|
project: string;
|
|
46
46
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
47
|
-
zone:
|
|
47
|
+
zone: ScwZone;
|
|
48
48
|
}
|
|
49
49
|
export interface Volume {
|
|
50
50
|
/** Volume unique ID. */
|
|
@@ -72,7 +72,7 @@ export interface Volume {
|
|
|
72
72
|
/** Volume state. */
|
|
73
73
|
state: VolumeState;
|
|
74
74
|
/** Zone in which the volume is located. */
|
|
75
|
-
zone:
|
|
75
|
+
zone: ScwZone;
|
|
76
76
|
}
|
|
77
77
|
export interface VolumeSummary {
|
|
78
78
|
id: string;
|
|
@@ -109,7 +109,7 @@ export interface Image {
|
|
|
109
109
|
project: string;
|
|
110
110
|
tags: string[];
|
|
111
111
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
112
|
-
zone:
|
|
112
|
+
zone: ScwZone;
|
|
113
113
|
}
|
|
114
114
|
export interface PlacementGroup {
|
|
115
115
|
/** Placement group unique ID. */
|
|
@@ -132,10 +132,13 @@ export interface PlacementGroup {
|
|
|
132
132
|
* max_availability (spread).
|
|
133
133
|
*/
|
|
134
134
|
policyType: PlacementGroupPolicyType;
|
|
135
|
-
/**
|
|
135
|
+
/**
|
|
136
|
+
* In the server endpoints the value is always false as it is deprecated. In
|
|
137
|
+
* the placement group endpoints the value is correct.
|
|
138
|
+
*/
|
|
136
139
|
policyRespected: boolean;
|
|
137
140
|
/** Zone in which the placement group is located. */
|
|
138
|
-
zone:
|
|
141
|
+
zone: ScwZone;
|
|
139
142
|
}
|
|
140
143
|
export interface PrivateNIC {
|
|
141
144
|
/** Private NIC unique ID. */
|
|
@@ -211,7 +214,7 @@ export interface VolumeServer {
|
|
|
211
214
|
project?: string;
|
|
212
215
|
boot: boolean;
|
|
213
216
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
214
|
-
zone:
|
|
217
|
+
zone: ScwZone;
|
|
215
218
|
}
|
|
216
219
|
export interface SnapshotBaseVolume {
|
|
217
220
|
/** Volume ID on which the snapshot is based. */
|
|
@@ -323,7 +326,7 @@ export interface Server {
|
|
|
323
326
|
/** Instance private NICs. */
|
|
324
327
|
privateNics: PrivateNIC[];
|
|
325
328
|
/** Zone in which the Instance is located. */
|
|
326
|
-
zone:
|
|
329
|
+
zone: ScwZone;
|
|
327
330
|
/**
|
|
328
331
|
* The public_key value of this key is used to encrypt the admin password.
|
|
329
332
|
* When set to an empty string, reset this value and
|
|
@@ -374,7 +377,7 @@ export interface Ip {
|
|
|
374
377
|
prefix: string;
|
|
375
378
|
ipamId: string;
|
|
376
379
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
377
|
-
zone:
|
|
380
|
+
zone: ScwZone;
|
|
378
381
|
}
|
|
379
382
|
export interface SecurityGroup {
|
|
380
383
|
/** Security group unique ID. */
|
|
@@ -416,7 +419,7 @@ export interface SecurityGroup {
|
|
|
416
419
|
/** Security group state. */
|
|
417
420
|
state: SecurityGroupState;
|
|
418
421
|
/** Zone in which the security group is located. */
|
|
419
|
-
zone:
|
|
422
|
+
zone: ScwZone;
|
|
420
423
|
}
|
|
421
424
|
export interface SecurityGroupRule {
|
|
422
425
|
id: string;
|
|
@@ -429,7 +432,7 @@ export interface SecurityGroupRule {
|
|
|
429
432
|
position: number;
|
|
430
433
|
editable: boolean;
|
|
431
434
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
432
|
-
zone:
|
|
435
|
+
zone: ScwZone;
|
|
433
436
|
}
|
|
434
437
|
export interface VolumeServerTemplate {
|
|
435
438
|
/** UUID of the volume. */
|
|
@@ -473,7 +476,7 @@ export interface Snapshot {
|
|
|
473
476
|
/** Snapshot modification date. */
|
|
474
477
|
modificationDate?: Date;
|
|
475
478
|
/** Snapshot zone. */
|
|
476
|
-
zone:
|
|
479
|
+
zone: ScwZone;
|
|
477
480
|
/** Reason for the failed snapshot import. */
|
|
478
481
|
errorReason?: string;
|
|
479
482
|
}
|
|
@@ -493,7 +496,7 @@ export interface Task {
|
|
|
493
496
|
hrefFrom: string;
|
|
494
497
|
hrefResult: string;
|
|
495
498
|
/** Zone in which the task is excecuted. */
|
|
496
|
-
zone:
|
|
499
|
+
zone: ScwZone;
|
|
497
500
|
}
|
|
498
501
|
export interface Dashboard {
|
|
499
502
|
volumesCount: number;
|
|
@@ -606,7 +609,7 @@ export interface SetSecurityGroupRulesRequestRule {
|
|
|
606
609
|
*/
|
|
607
610
|
editable?: boolean;
|
|
608
611
|
/** Zone of the rule. This field is ignored. */
|
|
609
|
-
zone?:
|
|
612
|
+
zone?: ScwZone;
|
|
610
613
|
}
|
|
611
614
|
export interface VolumeImageUpdateTemplate {
|
|
612
615
|
/** UUID of the snapshot. */
|
|
@@ -618,7 +621,7 @@ export interface SecurityGroupTemplate {
|
|
|
618
621
|
}
|
|
619
622
|
export type ApplyBlockMigrationRequest = {
|
|
620
623
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
621
|
-
zone?:
|
|
624
|
+
zone?: ScwZone;
|
|
622
625
|
/**
|
|
623
626
|
* The volume to migrate, along with potentially other resources, according to
|
|
624
627
|
* the migration plan generated with a call to the [Get a volume or snapshot's
|
|
@@ -647,7 +650,7 @@ export type ApplyBlockMigrationRequest = {
|
|
|
647
650
|
};
|
|
648
651
|
export type AttachServerVolumeRequest = {
|
|
649
652
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
650
|
-
zone?:
|
|
653
|
+
zone?: ScwZone;
|
|
651
654
|
serverId: string;
|
|
652
655
|
volumeId: string;
|
|
653
656
|
volumeType?: AttachServerVolumeRequestVolumeType;
|
|
@@ -658,12 +661,12 @@ export interface AttachServerVolumeResponse {
|
|
|
658
661
|
}
|
|
659
662
|
export type CheckBlockMigrationOrganizationQuotasRequest = {
|
|
660
663
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
661
|
-
zone?:
|
|
664
|
+
zone?: ScwZone;
|
|
662
665
|
organization?: string;
|
|
663
666
|
};
|
|
664
667
|
export type CreateImageRequest = {
|
|
665
668
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
666
|
-
zone?:
|
|
669
|
+
zone?: ScwZone;
|
|
667
670
|
/** Name of the image. */
|
|
668
671
|
name?: string;
|
|
669
672
|
/** UUID of the snapshot. */
|
|
@@ -696,7 +699,7 @@ export interface CreateImageResponse {
|
|
|
696
699
|
}
|
|
697
700
|
export type CreateIpRequest = {
|
|
698
701
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
699
|
-
zone?:
|
|
702
|
+
zone?: ScwZone;
|
|
700
703
|
/**
|
|
701
704
|
* @deprecated Organization ID in which the IP is reserved.
|
|
702
705
|
*
|
|
@@ -715,10 +718,7 @@ export type CreateIpRequest = {
|
|
|
715
718
|
tags?: string[];
|
|
716
719
|
/** UUID of the Instance you want to attach the IP to. */
|
|
717
720
|
server?: string;
|
|
718
|
-
/**
|
|
719
|
-
* IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is
|
|
720
|
-
* deprecated).
|
|
721
|
-
*/
|
|
721
|
+
/** IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). */
|
|
722
722
|
type?: IpType;
|
|
723
723
|
};
|
|
724
724
|
export interface CreateIpResponse {
|
|
@@ -726,7 +726,7 @@ export interface CreateIpResponse {
|
|
|
726
726
|
}
|
|
727
727
|
export type CreatePlacementGroupRequest = {
|
|
728
728
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
729
|
-
zone?:
|
|
729
|
+
zone?: ScwZone;
|
|
730
730
|
/** Name of the placement group. */
|
|
731
731
|
name?: string;
|
|
732
732
|
/**
|
|
@@ -755,7 +755,7 @@ export interface CreatePlacementGroupResponse {
|
|
|
755
755
|
}
|
|
756
756
|
export type CreatePrivateNICRequest = {
|
|
757
757
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
758
|
-
zone?:
|
|
758
|
+
zone?: ScwZone;
|
|
759
759
|
/** UUID of the Instance the private NIC will be attached to. */
|
|
760
760
|
serverId: string;
|
|
761
761
|
/** UUID of the private network where the private NIC will be attached. */
|
|
@@ -775,7 +775,7 @@ export interface CreatePrivateNICResponse {
|
|
|
775
775
|
}
|
|
776
776
|
export type CreateSecurityGroupRequest = {
|
|
777
777
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
778
|
-
zone?:
|
|
778
|
+
zone?: ScwZone;
|
|
779
779
|
/** Name of the security group. */
|
|
780
780
|
name?: string;
|
|
781
781
|
/** Description of the security group. */
|
|
@@ -829,7 +829,7 @@ export interface CreateSecurityGroupResponse {
|
|
|
829
829
|
}
|
|
830
830
|
export type CreateSecurityGroupRuleRequest = {
|
|
831
831
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
832
|
-
zone?:
|
|
832
|
+
zone?: ScwZone;
|
|
833
833
|
/** UUID of the security group. */
|
|
834
834
|
securityGroupId: string;
|
|
835
835
|
protocol: SecurityGroupRuleProtocol;
|
|
@@ -850,7 +850,7 @@ export interface CreateSecurityGroupRuleResponse {
|
|
|
850
850
|
}
|
|
851
851
|
export type CreateServerRequest = {
|
|
852
852
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
853
|
-
zone?:
|
|
853
|
+
zone?: ScwZone;
|
|
854
854
|
/** Instance name. */
|
|
855
855
|
name?: string;
|
|
856
856
|
/** Define if a dynamic IPv4 is required for the Instance. */
|
|
@@ -905,7 +905,7 @@ export interface CreateServerResponse {
|
|
|
905
905
|
}
|
|
906
906
|
export type CreateSnapshotRequest = {
|
|
907
907
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
908
|
-
zone?:
|
|
908
|
+
zone?: ScwZone;
|
|
909
909
|
/** Name of the snapshot. */
|
|
910
910
|
name?: string;
|
|
911
911
|
/** UUID of the volume. */
|
|
@@ -944,7 +944,7 @@ export interface CreateSnapshotResponse {
|
|
|
944
944
|
}
|
|
945
945
|
export type CreateVolumeRequest = {
|
|
946
946
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
947
|
-
zone?:
|
|
947
|
+
zone?: ScwZone;
|
|
948
948
|
/** Volume name. */
|
|
949
949
|
name?: string;
|
|
950
950
|
/**
|
|
@@ -983,25 +983,25 @@ export interface CreateVolumeResponse {
|
|
|
983
983
|
}
|
|
984
984
|
export type DeleteImageRequest = {
|
|
985
985
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
986
|
-
zone?:
|
|
986
|
+
zone?: ScwZone;
|
|
987
987
|
/** UUID of the image you want to delete. */
|
|
988
988
|
imageId: string;
|
|
989
989
|
};
|
|
990
990
|
export type DeleteIpRequest = {
|
|
991
991
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
992
|
-
zone?:
|
|
992
|
+
zone?: ScwZone;
|
|
993
993
|
/** ID or address of the IP to delete. */
|
|
994
994
|
ip: string;
|
|
995
995
|
};
|
|
996
996
|
export type DeletePlacementGroupRequest = {
|
|
997
997
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
998
|
-
zone?:
|
|
998
|
+
zone?: ScwZone;
|
|
999
999
|
/** UUID of the placement group you want to delete. */
|
|
1000
1000
|
placementGroupId: string;
|
|
1001
1001
|
};
|
|
1002
1002
|
export type DeletePrivateNICRequest = {
|
|
1003
1003
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1004
|
-
zone?:
|
|
1004
|
+
zone?: ScwZone;
|
|
1005
1005
|
/** Instance to which the private NIC is attached. */
|
|
1006
1006
|
serverId: string;
|
|
1007
1007
|
/** Private NIC unique ID. */
|
|
@@ -1009,24 +1009,24 @@ export type DeletePrivateNICRequest = {
|
|
|
1009
1009
|
};
|
|
1010
1010
|
export type DeleteSecurityGroupRequest = {
|
|
1011
1011
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1012
|
-
zone?:
|
|
1012
|
+
zone?: ScwZone;
|
|
1013
1013
|
/** UUID of the security group you want to delete. */
|
|
1014
1014
|
securityGroupId: string;
|
|
1015
1015
|
};
|
|
1016
1016
|
export type DeleteSecurityGroupRuleRequest = {
|
|
1017
1017
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1018
|
-
zone?:
|
|
1018
|
+
zone?: ScwZone;
|
|
1019
1019
|
securityGroupId: string;
|
|
1020
1020
|
securityGroupRuleId: string;
|
|
1021
1021
|
};
|
|
1022
1022
|
export type DeleteServerRequest = {
|
|
1023
1023
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1024
|
-
zone?:
|
|
1024
|
+
zone?: ScwZone;
|
|
1025
1025
|
serverId: string;
|
|
1026
1026
|
};
|
|
1027
1027
|
export type DeleteServerUserDataRequest = {
|
|
1028
1028
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1029
|
-
zone?:
|
|
1029
|
+
zone?: ScwZone;
|
|
1030
1030
|
/** UUID of the Instance. */
|
|
1031
1031
|
serverId: string;
|
|
1032
1032
|
/** Key of the user data to delete. */
|
|
@@ -1034,19 +1034,19 @@ export type DeleteServerUserDataRequest = {
|
|
|
1034
1034
|
};
|
|
1035
1035
|
export type DeleteSnapshotRequest = {
|
|
1036
1036
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1037
|
-
zone?:
|
|
1037
|
+
zone?: ScwZone;
|
|
1038
1038
|
/** UUID of the snapshot you want to delete. */
|
|
1039
1039
|
snapshotId: string;
|
|
1040
1040
|
};
|
|
1041
1041
|
export type DeleteVolumeRequest = {
|
|
1042
1042
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1043
|
-
zone?:
|
|
1043
|
+
zone?: ScwZone;
|
|
1044
1044
|
/** UUID of the volume you want to delete. */
|
|
1045
1045
|
volumeId: string;
|
|
1046
1046
|
};
|
|
1047
1047
|
export type DetachServerVolumeRequest = {
|
|
1048
1048
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1049
|
-
zone?:
|
|
1049
|
+
zone?: ScwZone;
|
|
1050
1050
|
serverId: string;
|
|
1051
1051
|
volumeId: string;
|
|
1052
1052
|
};
|
|
@@ -1055,7 +1055,7 @@ export interface DetachServerVolumeResponse {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
export type ExportSnapshotRequest = {
|
|
1057
1057
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1058
|
-
zone?:
|
|
1058
|
+
zone?: ScwZone;
|
|
1059
1059
|
/** Snapshot ID. */
|
|
1060
1060
|
snapshotId: string;
|
|
1061
1061
|
/** Object Storage bucket name. */
|
|
@@ -1068,7 +1068,7 @@ export interface ExportSnapshotResponse {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
export type GetDashboardRequest = {
|
|
1070
1070
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1071
|
-
zone?:
|
|
1071
|
+
zone?: ScwZone;
|
|
1072
1072
|
organization?: string;
|
|
1073
1073
|
project?: string;
|
|
1074
1074
|
};
|
|
@@ -1077,7 +1077,7 @@ export interface GetDashboardResponse {
|
|
|
1077
1077
|
}
|
|
1078
1078
|
export type GetImageRequest = {
|
|
1079
1079
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1080
|
-
zone?:
|
|
1080
|
+
zone?: ScwZone;
|
|
1081
1081
|
/** UUID of the image you want to get. */
|
|
1082
1082
|
imageId: string;
|
|
1083
1083
|
};
|
|
@@ -1086,7 +1086,7 @@ export interface GetImageResponse {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
export type GetIpRequest = {
|
|
1088
1088
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1089
|
-
zone?:
|
|
1089
|
+
zone?: ScwZone;
|
|
1090
1090
|
/** IP ID or address to get. */
|
|
1091
1091
|
ip: string;
|
|
1092
1092
|
};
|
|
@@ -1095,7 +1095,7 @@ export interface GetIpResponse {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
export type GetPlacementGroupRequest = {
|
|
1097
1097
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1098
|
-
zone?:
|
|
1098
|
+
zone?: ScwZone;
|
|
1099
1099
|
/** UUID of the placement group you want to get. */
|
|
1100
1100
|
placementGroupId: string;
|
|
1101
1101
|
};
|
|
@@ -1104,7 +1104,7 @@ export interface GetPlacementGroupResponse {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
export type GetPlacementGroupServersRequest = {
|
|
1106
1106
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1107
|
-
zone?:
|
|
1107
|
+
zone?: ScwZone;
|
|
1108
1108
|
/** UUID of the placement group you want to get. */
|
|
1109
1109
|
placementGroupId: string;
|
|
1110
1110
|
};
|
|
@@ -1114,7 +1114,7 @@ export interface GetPlacementGroupServersResponse {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
export type GetPrivateNICRequest = {
|
|
1116
1116
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1117
|
-
zone?:
|
|
1117
|
+
zone?: ScwZone;
|
|
1118
1118
|
/** Instance to which the private NIC is attached. */
|
|
1119
1119
|
serverId: string;
|
|
1120
1120
|
/** Private NIC unique ID. */
|
|
@@ -1125,7 +1125,7 @@ export interface GetPrivateNICResponse {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
export type GetSecurityGroupRequest = {
|
|
1127
1127
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1128
|
-
zone?:
|
|
1128
|
+
zone?: ScwZone;
|
|
1129
1129
|
/** UUID of the security group you want to get. */
|
|
1130
1130
|
securityGroupId: string;
|
|
1131
1131
|
};
|
|
@@ -1134,7 +1134,7 @@ export interface GetSecurityGroupResponse {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
export type GetSecurityGroupRuleRequest = {
|
|
1136
1136
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1137
|
-
zone?:
|
|
1137
|
+
zone?: ScwZone;
|
|
1138
1138
|
securityGroupId: string;
|
|
1139
1139
|
securityGroupRuleId: string;
|
|
1140
1140
|
};
|
|
@@ -1143,7 +1143,7 @@ export interface GetSecurityGroupRuleResponse {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
export type GetServerRequest = {
|
|
1145
1145
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1146
|
-
zone?:
|
|
1146
|
+
zone?: ScwZone;
|
|
1147
1147
|
/** UUID of the Instance you want to get. */
|
|
1148
1148
|
serverId: string;
|
|
1149
1149
|
};
|
|
@@ -1152,7 +1152,7 @@ export interface GetServerResponse {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
export type GetServerTypesAvailabilityRequest = {
|
|
1154
1154
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1155
|
-
zone?:
|
|
1155
|
+
zone?: ScwZone;
|
|
1156
1156
|
/**
|
|
1157
1157
|
* A positive integer lower or equal to 100 to select the number of items to
|
|
1158
1158
|
* return.
|
|
@@ -1168,7 +1168,7 @@ export interface GetServerTypesAvailabilityResponse {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
export type GetSnapshotRequest = {
|
|
1170
1170
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1171
|
-
zone?:
|
|
1171
|
+
zone?: ScwZone;
|
|
1172
1172
|
/** UUID of the snapshot you want to get. */
|
|
1173
1173
|
snapshotId: string;
|
|
1174
1174
|
};
|
|
@@ -1177,7 +1177,7 @@ export interface GetSnapshotResponse {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
export type GetVolumeRequest = {
|
|
1179
1179
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1180
|
-
zone?:
|
|
1180
|
+
zone?: ScwZone;
|
|
1181
1181
|
/** UUID of the volume you want to get. */
|
|
1182
1182
|
volumeId: string;
|
|
1183
1183
|
};
|
|
@@ -1186,11 +1186,11 @@ export interface GetVolumeResponse {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
export type ListDefaultSecurityGroupRulesRequest = {
|
|
1188
1188
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1189
|
-
zone?:
|
|
1189
|
+
zone?: ScwZone;
|
|
1190
1190
|
};
|
|
1191
1191
|
export type ListImagesRequest = {
|
|
1192
1192
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1193
|
-
zone?:
|
|
1193
|
+
zone?: ScwZone;
|
|
1194
1194
|
organization?: string;
|
|
1195
1195
|
perPage?: number;
|
|
1196
1196
|
page?: number;
|
|
@@ -1208,7 +1208,7 @@ export interface ListImagesResponse {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
export type ListIpsRequest = {
|
|
1210
1210
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1211
|
-
zone?:
|
|
1211
|
+
zone?: ScwZone;
|
|
1212
1212
|
/** Project ID in which the IPs are reserved. */
|
|
1213
1213
|
project?: string;
|
|
1214
1214
|
/** Organization ID in which the IPs are reserved. */
|
|
@@ -1229,7 +1229,7 @@ export type ListIpsRequest = {
|
|
|
1229
1229
|
page?: number;
|
|
1230
1230
|
/**
|
|
1231
1231
|
* Filter on the IP Mobility IP type (whose value should be either
|
|
1232
|
-
* 'routed_ipv4'
|
|
1232
|
+
* 'routed_ipv4' or 'routed_ipv6').
|
|
1233
1233
|
*/
|
|
1234
1234
|
type?: string;
|
|
1235
1235
|
};
|
|
@@ -1241,7 +1241,7 @@ export interface ListIpsResponse {
|
|
|
1241
1241
|
}
|
|
1242
1242
|
export type ListPlacementGroupsRequest = {
|
|
1243
1243
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1244
|
-
zone?:
|
|
1244
|
+
zone?: ScwZone;
|
|
1245
1245
|
/**
|
|
1246
1246
|
* A positive integer lower or equal to 100 to select the number of items to
|
|
1247
1247
|
* return.
|
|
@@ -1272,7 +1272,7 @@ export interface ListPlacementGroupsResponse {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
export type ListPrivateNICsRequest = {
|
|
1274
1274
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1275
|
-
zone?:
|
|
1275
|
+
zone?: ScwZone;
|
|
1276
1276
|
/** Instance to which the private NIC is attached. */
|
|
1277
1277
|
serverId: string;
|
|
1278
1278
|
/** Private NIC tags. */
|
|
@@ -1291,7 +1291,7 @@ export interface ListPrivateNICsResponse {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
export type ListSecurityGroupRulesRequest = {
|
|
1293
1293
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1294
|
-
zone?:
|
|
1294
|
+
zone?: ScwZone;
|
|
1295
1295
|
/** UUID of the security group. */
|
|
1296
1296
|
securityGroupId: string;
|
|
1297
1297
|
/**
|
|
@@ -1310,7 +1310,7 @@ export interface ListSecurityGroupRulesResponse {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
export type ListSecurityGroupsRequest = {
|
|
1312
1312
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1313
|
-
zone?:
|
|
1313
|
+
zone?: ScwZone;
|
|
1314
1314
|
/** Name of the security group. */
|
|
1315
1315
|
name?: string;
|
|
1316
1316
|
/** Security group Organization ID. */
|
|
@@ -1340,7 +1340,7 @@ export interface ListSecurityGroupsResponse {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
export type ListServerActionsRequest = {
|
|
1342
1342
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1343
|
-
zone?:
|
|
1343
|
+
zone?: ScwZone;
|
|
1344
1344
|
serverId: string;
|
|
1345
1345
|
};
|
|
1346
1346
|
export interface ListServerActionsResponse {
|
|
@@ -1348,7 +1348,7 @@ export interface ListServerActionsResponse {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
export type ListServerUserDataRequest = {
|
|
1350
1350
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1351
|
-
zone?:
|
|
1351
|
+
zone?: ScwZone;
|
|
1352
1352
|
/** UUID of the Instance. */
|
|
1353
1353
|
serverId: string;
|
|
1354
1354
|
};
|
|
@@ -1357,7 +1357,7 @@ export interface ListServerUserDataResponse {
|
|
|
1357
1357
|
}
|
|
1358
1358
|
export type ListServersRequest = {
|
|
1359
1359
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1360
|
-
zone?:
|
|
1360
|
+
zone?: ScwZone;
|
|
1361
1361
|
/**
|
|
1362
1362
|
* A positive integer lower or equal to 100 to select the number of items to
|
|
1363
1363
|
* return.
|
|
@@ -1411,7 +1411,7 @@ export interface ListServersResponse {
|
|
|
1411
1411
|
}
|
|
1412
1412
|
export type ListServersTypesRequest = {
|
|
1413
1413
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1414
|
-
zone?:
|
|
1414
|
+
zone?: ScwZone;
|
|
1415
1415
|
perPage?: number;
|
|
1416
1416
|
page?: number;
|
|
1417
1417
|
};
|
|
@@ -1423,7 +1423,7 @@ export interface ListServersTypesResponse {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
export type ListSnapshotsRequest = {
|
|
1425
1425
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1426
|
-
zone?:
|
|
1426
|
+
zone?: ScwZone;
|
|
1427
1427
|
/** List snapshots only for this Organization ID. */
|
|
1428
1428
|
organization?: string;
|
|
1429
1429
|
/** List snapshots only for this Project ID. */
|
|
@@ -1450,7 +1450,7 @@ export interface ListSnapshotsResponse {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
export type ListVolumesRequest = {
|
|
1452
1452
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1453
|
-
zone?:
|
|
1453
|
+
zone?: ScwZone;
|
|
1454
1454
|
/** Filter by volume type. */
|
|
1455
1455
|
volumeType?: VolumeVolumeType;
|
|
1456
1456
|
/**
|
|
@@ -1483,7 +1483,7 @@ export interface ListVolumesResponse {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
export type ListVolumesTypesRequest = {
|
|
1485
1485
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1486
|
-
zone?:
|
|
1486
|
+
zone?: ScwZone;
|
|
1487
1487
|
perPage?: number;
|
|
1488
1488
|
page?: number;
|
|
1489
1489
|
};
|
|
@@ -1514,7 +1514,7 @@ export interface MigrationPlan {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
export type PlanBlockMigrationRequest = {
|
|
1516
1516
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1517
|
-
zone?:
|
|
1517
|
+
zone?: ScwZone;
|
|
1518
1518
|
/**
|
|
1519
1519
|
* The volume for which the migration plan will be generated.
|
|
1520
1520
|
*
|
|
@@ -1530,7 +1530,7 @@ export type PlanBlockMigrationRequest = {
|
|
|
1530
1530
|
};
|
|
1531
1531
|
export type ServerActionRequest = {
|
|
1532
1532
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1533
|
-
zone?:
|
|
1533
|
+
zone?: ScwZone;
|
|
1534
1534
|
/** UUID of the Instance. */
|
|
1535
1535
|
serverId: string;
|
|
1536
1536
|
/** Action to perform on the Instance. */
|
|
@@ -1556,7 +1556,7 @@ export interface ServerActionResponse {
|
|
|
1556
1556
|
}
|
|
1557
1557
|
export type SetImageRequest = {
|
|
1558
1558
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1559
|
-
zone?:
|
|
1559
|
+
zone?: ScwZone;
|
|
1560
1560
|
id: string;
|
|
1561
1561
|
name: string;
|
|
1562
1562
|
arch?: Arch;
|
|
@@ -1575,7 +1575,7 @@ export type SetImageRequest = {
|
|
|
1575
1575
|
};
|
|
1576
1576
|
export type SetPlacementGroupRequest = {
|
|
1577
1577
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1578
|
-
zone?:
|
|
1578
|
+
zone?: ScwZone;
|
|
1579
1579
|
placementGroupId: string;
|
|
1580
1580
|
name: string;
|
|
1581
1581
|
organization?: string;
|
|
@@ -1589,7 +1589,7 @@ export interface SetPlacementGroupResponse {
|
|
|
1589
1589
|
}
|
|
1590
1590
|
export type SetPlacementGroupServersRequest = {
|
|
1591
1591
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1592
|
-
zone?:
|
|
1592
|
+
zone?: ScwZone;
|
|
1593
1593
|
/** UUID of the placement group you want to set. */
|
|
1594
1594
|
placementGroupId: string;
|
|
1595
1595
|
/** An array of the Instances' UUIDs you want to configure. */
|
|
@@ -1601,7 +1601,7 @@ export interface SetPlacementGroupServersResponse {
|
|
|
1601
1601
|
}
|
|
1602
1602
|
export type SetSecurityGroupRulesRequest = {
|
|
1603
1603
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1604
|
-
zone?:
|
|
1604
|
+
zone?: ScwZone;
|
|
1605
1605
|
/** UUID of the security group to update the rules on. */
|
|
1606
1606
|
securityGroupId: string;
|
|
1607
1607
|
/** List of rules to update in the security group. */
|
|
@@ -1612,7 +1612,7 @@ export interface SetSecurityGroupRulesResponse {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
export type UpdateImageRequest = {
|
|
1614
1614
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1615
|
-
zone?:
|
|
1615
|
+
zone?: ScwZone;
|
|
1616
1616
|
/** UUID of the image. */
|
|
1617
1617
|
imageId: string;
|
|
1618
1618
|
/** Name of the image. */
|
|
@@ -1634,12 +1634,12 @@ export interface UpdateImageResponse {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
export type UpdateIpRequest = {
|
|
1636
1636
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1637
|
-
zone?:
|
|
1637
|
+
zone?: ScwZone;
|
|
1638
1638
|
/** IP ID or IP address. */
|
|
1639
1639
|
ip: string;
|
|
1640
1640
|
/** Reverse domain name. */
|
|
1641
1641
|
reverse?: string | null;
|
|
1642
|
-
/**
|
|
1642
|
+
/** Should have no effect. */
|
|
1643
1643
|
type?: IpType;
|
|
1644
1644
|
/** An array of keywords you want to tag this IP with. */
|
|
1645
1645
|
tags?: string[];
|
|
@@ -1650,7 +1650,7 @@ export interface UpdateIpResponse {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
export type UpdatePlacementGroupRequest = {
|
|
1652
1652
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1653
|
-
zone?:
|
|
1653
|
+
zone?: ScwZone;
|
|
1654
1654
|
/** UUID of the placement group. */
|
|
1655
1655
|
placementGroupId: string;
|
|
1656
1656
|
/** Name of the placement group. */
|
|
@@ -1667,7 +1667,7 @@ export interface UpdatePlacementGroupResponse {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
export type UpdatePlacementGroupServersRequest = {
|
|
1669
1669
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1670
|
-
zone?:
|
|
1670
|
+
zone?: ScwZone;
|
|
1671
1671
|
/** UUID of the placement group you want to update. */
|
|
1672
1672
|
placementGroupId: string;
|
|
1673
1673
|
/** An array of the Instances' UUIDs you want to configure. */
|
|
@@ -1679,7 +1679,7 @@ export interface UpdatePlacementGroupServersResponse {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
export type UpdatePrivateNICRequest = {
|
|
1681
1681
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1682
|
-
zone?:
|
|
1682
|
+
zone?: ScwZone;
|
|
1683
1683
|
/** UUID of the Instance the private NIC will be attached to. */
|
|
1684
1684
|
serverId: string;
|
|
1685
1685
|
/** Private NIC unique ID. */
|
|
@@ -1689,7 +1689,7 @@ export type UpdatePrivateNICRequest = {
|
|
|
1689
1689
|
};
|
|
1690
1690
|
export type UpdateSecurityGroupRequest = {
|
|
1691
1691
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1692
|
-
zone?:
|
|
1692
|
+
zone?: ScwZone;
|
|
1693
1693
|
/** UUID of the security group. */
|
|
1694
1694
|
securityGroupId: string;
|
|
1695
1695
|
/** Name of the security group. */
|
|
@@ -1719,7 +1719,7 @@ export interface UpdateSecurityGroupResponse {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
export type UpdateSecurityGroupRuleRequest = {
|
|
1721
1721
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1722
|
-
zone?:
|
|
1722
|
+
zone?: ScwZone;
|
|
1723
1723
|
/** UUID of the security group. */
|
|
1724
1724
|
securityGroupId: string;
|
|
1725
1725
|
/** UUID of the rule. */
|
|
@@ -1750,7 +1750,7 @@ export interface UpdateSecurityGroupRuleResponse {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
export type UpdateServerRequest = {
|
|
1752
1752
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1753
|
-
zone?:
|
|
1753
|
+
zone?: ScwZone;
|
|
1754
1754
|
/** UUID of the Instance. */
|
|
1755
1755
|
serverId: string;
|
|
1756
1756
|
/** Name of the Instance. */
|
|
@@ -1800,7 +1800,7 @@ export interface UpdateServerResponse {
|
|
|
1800
1800
|
}
|
|
1801
1801
|
export type UpdateSnapshotRequest = {
|
|
1802
1802
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1803
|
-
zone?:
|
|
1803
|
+
zone?: ScwZone;
|
|
1804
1804
|
/** UUID of the snapshot. */
|
|
1805
1805
|
snapshotId: string;
|
|
1806
1806
|
/** Name of the snapshot. */
|
|
@@ -1813,7 +1813,7 @@ export interface UpdateSnapshotResponse {
|
|
|
1813
1813
|
}
|
|
1814
1814
|
export type UpdateVolumeRequest = {
|
|
1815
1815
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
1816
|
-
zone?:
|
|
1816
|
+
zone?: ScwZone;
|
|
1817
1817
|
/** UUID of the volume. */
|
|
1818
1818
|
volumeId: string;
|
|
1819
1819
|
/** Volume name. */
|