@scaleway/sdk 2.72.0 → 2.73.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.
Files changed (146) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -7,152 +7,242 @@ export type SnapshotStatus = 'unknown_status' | 'creating' | 'available' | 'erro
7
7
  export type StorageClass = 'unknown_storage_class' | 'unspecified' | 'bssd' | 'sbs';
8
8
  export type VolumeStatus = 'unknown_status' | 'creating' | 'available' | 'in_use' | 'deleting' | 'deleted' | 'resizing' | 'error' | 'snapshotting' | 'locked' | 'updating';
9
9
  export interface Reference {
10
- /** UUID of the reference. */
10
+ /**
11
+ * UUID of the reference.
12
+ */
11
13
  id: string;
12
- /** Type of resource to which the reference is associated. */
14
+ /**
15
+ * Type of resource to which the reference is associated.
16
+ */
13
17
  productResourceType: string;
14
18
  /**
15
- * UUID of the product resource it refers to (according to the
16
- * product_resource_type).
19
+ * UUID of the product resource it refers to (according to the product_resource_type).
17
20
  */
18
21
  productResourceId: string;
19
- /** Creation date of the reference. */
22
+ /**
23
+ * Creation date of the reference.
24
+ */
20
25
  createdAt?: Date;
21
- /** Type of reference (link, exclusive, read_only). */
26
+ /**
27
+ * Type of reference (link, exclusive, read_only).
28
+ */
22
29
  type: ReferenceType;
23
30
  /**
24
- * Status of the reference. Statuses include `attaching`, `attached`, and
25
- * `detaching`.
31
+ * Status of the reference. Statuses include `attaching`, `attached`, and `detaching`.
26
32
  */
27
33
  status: ReferenceStatus;
28
34
  }
29
35
  export interface SnapshotParentVolume {
30
- /** Parent volume UUID (volume from which the snapshot originates). */
36
+ /**
37
+ * Parent volume UUID (volume from which the snapshot originates).
38
+ */
31
39
  id: string;
32
- /** Name of the parent volume. */
40
+ /**
41
+ * Name of the parent volume.
42
+ */
33
43
  name: string;
34
- /** Volume type of the parent volume. */
44
+ /**
45
+ * Volume type of the parent volume.
46
+ */
35
47
  type: string;
36
- /** Current status the parent volume. */
48
+ /**
49
+ * Current status the parent volume.
50
+ */
37
51
  status: VolumeStatus;
38
52
  }
39
53
  export interface VolumeSpecifications {
40
54
  /**
41
- * The maximum IO/s expected, according to the different options available in
42
- * stock (`5000 | 15000`).
55
+ * The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`).
43
56
  */
44
57
  perfIops?: number;
45
- /** The storage class of the volume. */
58
+ /**
59
+ * The storage class of the volume.
60
+ */
46
61
  class: StorageClass;
47
62
  }
48
63
  export interface CreateVolumeRequestFromEmpty {
49
- /** Must be compliant with the minimum (1 GB) and maximum (10 TB) allowed size. */
64
+ /**
65
+ * Must be compliant with the minimum (1 GB) and maximum (10 TB) allowed size.
66
+ */
50
67
  size: number;
51
68
  }
52
69
  export interface CreateVolumeRequestFromSnapshot {
53
70
  /**
54
71
  * Must be compliant with the minimum (1 GB) and maximum (10 TB) allowed size.
55
- * Size is optional and is used only if a resize of the volume is requested,
56
- * otherwise original snapshot size will be used.
72
+ Size is optional and is used only if a resize of the volume is requested, otherwise original snapshot size will be used.
57
73
  */
58
74
  size?: number;
59
- /** Source snapshot from which volume will be created. */
75
+ /**
76
+ * Source snapshot from which volume will be created.
77
+ */
60
78
  snapshotId: string;
61
79
  }
62
80
  export interface Snapshot {
63
- /** UUID of the snapshot. */
81
+ /**
82
+ * UUID of the snapshot.
83
+ */
64
84
  id: string;
65
- /** Name of the snapshot. */
85
+ /**
86
+ * Name of the snapshot.
87
+ */
66
88
  name: string;
67
- /** If the parent volume was deleted, value is null. */
89
+ /**
90
+ * If the parent volume was deleted, value is null.
91
+ */
68
92
  parentVolume?: SnapshotParentVolume;
69
- /** Size in bytes of the snapshot. */
93
+ /**
94
+ * Size in bytes of the snapshot.
95
+ */
70
96
  size: number;
71
- /** UUID of the project the snapshot belongs to. */
97
+ /**
98
+ * UUID of the project the snapshot belongs to.
99
+ */
72
100
  projectId: string;
73
- /** Creation date of the snapshot. */
101
+ /**
102
+ * Creation date of the snapshot.
103
+ */
74
104
  createdAt?: Date;
75
- /** Last modification date of the properties of a snapshot. */
105
+ /**
106
+ * Last modification date of the properties of a snapshot.
107
+ */
76
108
  updatedAt?: Date;
77
- /** List of the references to the snapshot. */
109
+ /**
110
+ * List of the references to the snapshot.
111
+ */
78
112
  references: Reference[];
79
- /** Current status of the snapshot (available, in_use, ...). */
113
+ /**
114
+ * Current status of the snapshot (available, in_use, ...).
115
+ */
80
116
  status: SnapshotStatus;
81
- /** List of tags assigned to the volume. */
117
+ /**
118
+ * List of tags assigned to the volume.
119
+ */
82
120
  tags: string[];
83
- /** Snapshot zone. */
121
+ /**
122
+ * Snapshot zone.
123
+ */
84
124
  zone: ScwZone;
85
- /** Storage class of the snapshot. */
125
+ /**
126
+ * Storage class of the snapshot.
127
+ */
86
128
  class: StorageClass;
87
129
  }
88
130
  export interface VolumeType {
89
- /** Volume type. */
131
+ /**
132
+ * Volume type.
133
+ */
90
134
  type: string;
91
- /** Price of the volume billed in GB/hour. */
135
+ /**
136
+ * Price of the volume billed in GB/hour.
137
+ */
92
138
  pricing?: Money;
93
- /** Price of the snapshot billed in GB/hour. */
139
+ /**
140
+ * Price of the snapshot billed in GB/hour.
141
+ */
94
142
  snapshotPricing?: Money;
95
- /** Volume specifications of the volume type. */
143
+ /**
144
+ * Volume specifications of the volume type.
145
+ */
96
146
  specs?: VolumeSpecifications;
97
147
  }
98
148
  export interface Volume {
99
- /** UUID of the volume. */
149
+ /**
150
+ * UUID of the volume.
151
+ */
100
152
  id: string;
101
- /** Name of the volume. */
153
+ /**
154
+ * Name of the volume.
155
+ */
102
156
  name: string;
103
- /** Volume type. */
157
+ /**
158
+ * Volume type.
159
+ */
104
160
  type: string;
105
- /** Volume size in bytes. */
161
+ /**
162
+ * Volume size in bytes.
163
+ */
106
164
  size: number;
107
- /** UUID of the project to which the volume belongs. */
165
+ /**
166
+ * UUID of the project to which the volume belongs.
167
+ */
108
168
  projectId: string;
109
- /** Creation date of the volume. */
169
+ /**
170
+ * Creation date of the volume.
171
+ */
110
172
  createdAt?: Date;
111
- /** Last update of the properties of a volume. */
173
+ /**
174
+ * Last update of the properties of a volume.
175
+ */
112
176
  updatedAt?: Date;
113
- /** List of the references to the volume. */
177
+ /**
178
+ * List of the references to the volume.
179
+ */
114
180
  references: Reference[];
115
181
  /**
116
- * When a volume is created from a snapshot, is the UUID of the snapshot from
117
- * which the volume has been created.
182
+ * When a volume is created from a snapshot, is the UUID of the snapshot from which the volume has been created.
118
183
  */
119
184
  parentSnapshotId?: string;
120
- /** Current status of the volume (available, in_use, ...). */
185
+ /**
186
+ * Current status of the volume (available, in_use, ...).
187
+ */
121
188
  status: VolumeStatus;
122
- /** List of tags assigned to the volume. */
189
+ /**
190
+ * List of tags assigned to the volume.
191
+ */
123
192
  tags: string[];
124
- /** Volume zone. */
193
+ /**
194
+ * Volume zone.
195
+ */
125
196
  zone: ScwZone;
126
- /** Specifications of the volume. */
197
+ /**
198
+ * Specifications of the volume.
199
+ */
127
200
  specs?: VolumeSpecifications;
128
- /** Last time the volume was detached. */
201
+ /**
202
+ * Last time the volume was detached.
203
+ */
129
204
  lastDetachedAt?: Date;
130
205
  }
131
206
  export type CreateSnapshotRequest = {
132
- /** Zone to target. If none is passed will use default zone from the config. */
207
+ /**
208
+ * Zone to target. If none is passed will use default zone from the config.
209
+ */
133
210
  zone?: ScwZone;
134
- /** UUID of the volume to snapshot. */
211
+ /**
212
+ * UUID of the volume to snapshot.
213
+ */
135
214
  volumeId: string;
136
- /** Name of the snapshot. */
215
+ /**
216
+ * Name of the snapshot.
217
+ */
137
218
  name?: string;
138
- /** UUID of the project to which the volume and the snapshot belong. */
219
+ /**
220
+ * UUID of the project to which the volume and the snapshot belong.
221
+ */
139
222
  projectId?: string;
140
- /** List of tags assigned to the snapshot. */
223
+ /**
224
+ * List of tags assigned to the snapshot.
225
+ */
141
226
  tags?: string[];
142
227
  };
143
228
  export type CreateVolumeRequest = {
144
- /** Zone to target. If none is passed will use default zone from the config. */
229
+ /**
230
+ * Zone to target. If none is passed will use default zone from the config.
231
+ */
145
232
  zone?: ScwZone;
146
- /** Name of the volume. */
233
+ /**
234
+ * Name of the volume.
235
+ */
147
236
  name?: string;
148
237
  /**
149
- * The maximum IO/s expected, according to the different options available in
150
- * stock (`5000 | 15000`).
238
+ * The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`).
151
239
  *
152
240
  * One-of ('requirements'): at most one of 'perfIops' could be set.
153
241
  */
154
242
  perfIops?: number;
155
- /** UUID of the project the volume belongs to. */
243
+ /**
244
+ * UUID of the project the volume belongs to.
245
+ */
156
246
  projectId?: string;
157
247
  /**
158
248
  * Specify the size of the new volume if creating a new one from scratch.
@@ -166,186 +256,291 @@ export type CreateVolumeRequest = {
166
256
  * One-of ('from'): at most one of 'fromEmpty', 'fromSnapshot' could be set.
167
257
  */
168
258
  fromSnapshot?: CreateVolumeRequestFromSnapshot;
169
- /** List of tags assigned to the volume. */
259
+ /**
260
+ * List of tags assigned to the volume.
261
+ */
170
262
  tags?: string[];
171
263
  };
172
264
  export type DeleteSnapshotRequest = {
173
- /** Zone to target. If none is passed will use default zone from the config. */
265
+ /**
266
+ * Zone to target. If none is passed will use default zone from the config.
267
+ */
174
268
  zone?: ScwZone;
175
- /** UUID of the snapshot. */
269
+ /**
270
+ * UUID of the snapshot.
271
+ */
176
272
  snapshotId: string;
177
273
  };
178
274
  export type DeleteVolumeRequest = {
179
- /** Zone to target. If none is passed will use default zone from the config. */
275
+ /**
276
+ * Zone to target. If none is passed will use default zone from the config.
277
+ */
180
278
  zone?: ScwZone;
181
- /** UUID of the volume. */
279
+ /**
280
+ * UUID of the volume.
281
+ */
182
282
  volumeId: string;
183
283
  };
184
284
  export type ExportSnapshotToObjectStorageRequest = {
185
- /** Zone to target. If none is passed will use default zone from the config. */
285
+ /**
286
+ * Zone to target. If none is passed will use default zone from the config.
287
+ */
186
288
  zone?: ScwZone;
187
- /** UUID of the snapshot. */
289
+ /**
290
+ * UUID of the snapshot.
291
+ */
188
292
  snapshotId: string;
189
- /** Scaleway Object Storage bucket where the object is stored. */
293
+ /**
294
+ * Scaleway Object Storage bucket where the object is stored.
295
+ */
190
296
  bucket: string;
191
- /** The object key inside the given bucket. */
297
+ /**
298
+ * The object key inside the given bucket.
299
+ */
192
300
  key: string;
193
301
  };
194
302
  export type GetSnapshotRequest = {
195
- /** Zone to target. If none is passed will use default zone from the config. */
303
+ /**
304
+ * Zone to target. If none is passed will use default zone from the config.
305
+ */
196
306
  zone?: ScwZone;
197
- /** UUID of the snapshot. */
307
+ /**
308
+ * UUID of the snapshot.
309
+ */
198
310
  snapshotId: string;
199
311
  };
200
312
  export type GetVolumeRequest = {
201
- /** Zone to target. If none is passed will use default zone from the config. */
313
+ /**
314
+ * Zone to target. If none is passed will use default zone from the config.
315
+ */
202
316
  zone?: ScwZone;
203
- /** UUID of the volume. */
317
+ /**
318
+ * UUID of the volume.
319
+ */
204
320
  volumeId: string;
205
321
  };
206
322
  export type ImportSnapshotFromObjectStorageRequest = {
207
- /** Zone to target. If none is passed will use default zone from the config. */
323
+ /**
324
+ * Zone to target. If none is passed will use default zone from the config.
325
+ */
208
326
  zone?: ScwZone;
209
- /** Scaleway Object Storage bucket where the object is stored. */
327
+ /**
328
+ * Scaleway Object Storage bucket where the object is stored.
329
+ */
210
330
  bucket: string;
211
- /** The object key inside the given bucket. */
331
+ /**
332
+ * The object key inside the given bucket.
333
+ */
212
334
  key: string;
213
- /** Name of the snapshot. */
335
+ /**
336
+ * Name of the snapshot.
337
+ */
214
338
  name: string;
215
- /** UUID of the Project to which the volume and the snapshot belong. */
339
+ /**
340
+ * UUID of the Project to which the volume and the snapshot belong.
341
+ */
216
342
  projectId?: string;
217
- /** List of tags assigned to the snapshot. */
343
+ /**
344
+ * List of tags assigned to the snapshot.
345
+ */
218
346
  tags?: string[];
219
- /** Size of the snapshot. */
347
+ /**
348
+ * Size of the snapshot.
349
+ */
220
350
  size?: number;
221
351
  };
222
352
  export type ImportSnapshotFromS3Request = {
223
- /** Zone to target. If none is passed will use default zone from the config. */
353
+ /**
354
+ * Zone to target. If none is passed will use default zone from the config.
355
+ */
224
356
  zone?: ScwZone;
225
- /** Scaleway Object Storage bucket where the object is stored. */
357
+ /**
358
+ * Scaleway Object Storage bucket where the object is stored.
359
+ */
226
360
  bucket: string;
227
- /** The object key inside the given bucket. */
361
+ /**
362
+ * The object key inside the given bucket.
363
+ */
228
364
  key: string;
229
- /** Name of the snapshot. */
365
+ /**
366
+ * Name of the snapshot.
367
+ */
230
368
  name: string;
231
- /** UUID of the Project to which the volume and the snapshot belong. */
369
+ /**
370
+ * UUID of the Project to which the volume and the snapshot belong.
371
+ */
232
372
  projectId?: string;
233
- /** List of tags assigned to the snapshot. */
373
+ /**
374
+ * List of tags assigned to the snapshot.
375
+ */
234
376
  tags?: string[];
235
- /** Size of the snapshot. */
377
+ /**
378
+ * Size of the snapshot.
379
+ */
236
380
  size?: number;
237
381
  };
238
382
  export type ListSnapshotsRequest = {
239
- /** Zone to target. If none is passed will use default zone from the config. */
383
+ /**
384
+ * Zone to target. If none is passed will use default zone from the config.
385
+ */
240
386
  zone?: ScwZone;
241
- /** Criteria to use when ordering the list. */
387
+ /**
388
+ * Criteria to use when ordering the list.
389
+ */
242
390
  orderBy?: ListSnapshotsRequestOrderBy;
243
- /** Filter by Project ID. */
391
+ /**
392
+ * Filter by Project ID.
393
+ */
244
394
  projectId?: string;
245
- /** Filter by Organization ID. */
395
+ /**
396
+ * Filter by Organization ID.
397
+ */
246
398
  organizationId?: string;
247
- /** Page number. */
399
+ /**
400
+ * Page number.
401
+ */
248
402
  page?: number;
249
403
  /**
250
- * Page size, defines how many entries are returned in one page, must be lower
251
- * or equal to 100.
404
+ * Page size, defines how many entries are returned in one page, must be lower or equal to 100.
252
405
  */
253
406
  pageSize?: number;
254
- /** Filter snapshots by the ID of the original volume. */
407
+ /**
408
+ * Filter snapshots by the ID of the original volume.
409
+ */
255
410
  volumeId?: string;
256
- /** Filter snapshots by their names. */
411
+ /**
412
+ * Filter snapshots by their names.
413
+ */
257
414
  name?: string;
258
415
  /**
259
- * Filter by tags. Only snapshots with one or more matching tags will be
260
- * returned.
416
+ * Filter by tags. Only snapshots with one or more matching tags will be returned.
261
417
  */
262
418
  tags?: string[];
263
419
  };
264
420
  export interface ListSnapshotsResponse {
265
- /** Paginated returned list of snapshots. */
421
+ /**
422
+ * Paginated returned list of snapshots.
423
+ */
266
424
  snapshots: Snapshot[];
267
- /** Total number of snpashots in the project. */
425
+ /**
426
+ * Total number of snpashots in the project.
427
+ */
268
428
  totalCount: number;
269
429
  }
270
430
  export type ListVolumeTypesRequest = {
271
- /** Zone to target. If none is passed will use default zone from the config. */
431
+ /**
432
+ * Zone to target. If none is passed will use default zone from the config.
433
+ */
272
434
  zone?: ScwZone;
273
- /** Page number. */
435
+ /**
436
+ * Page number.
437
+ */
274
438
  page?: number;
275
439
  /**
276
- * Page size, defines how many entries are returned in one page, must be lower
277
- * or equal to 100.
440
+ * Page size, defines how many entries are returned in one page, must be lower or equal to 100.
278
441
  */
279
442
  pageSize?: number;
280
443
  };
281
444
  export interface ListVolumeTypesResponse {
282
- /** Returns paginated list of volume-types. */
445
+ /**
446
+ * Returns paginated list of volume-types.
447
+ */
283
448
  volumeTypes: VolumeType[];
284
- /** Total number of volume-types currently available in stock. */
449
+ /**
450
+ * Total number of volume-types currently available in stock.
451
+ */
285
452
  totalCount: number;
286
453
  }
287
454
  export type ListVolumesRequest = {
288
- /** Zone to target. If none is passed will use default zone from the config. */
455
+ /**
456
+ * Zone to target. If none is passed will use default zone from the config.
457
+ */
289
458
  zone?: ScwZone;
290
- /** Criteria to use when ordering the list. */
459
+ /**
460
+ * Criteria to use when ordering the list.
461
+ */
291
462
  orderBy?: ListVolumesRequestOrderBy;
292
- /** Filter by Project ID. */
463
+ /**
464
+ * Filter by Project ID.
465
+ */
293
466
  projectId?: string;
294
- /** Filter by Organization ID. */
467
+ /**
468
+ * Filter by Organization ID.
469
+ */
295
470
  organizationId?: string;
296
- /** Page number. */
471
+ /**
472
+ * Page number.
473
+ */
297
474
  page?: number;
298
475
  /**
299
- * Page size, defines how many entries are returned in one page, must be lower
300
- * or equal to 100.
476
+ * Page size, defines how many entries are returned in one page, must be lower or equal to 100.
301
477
  */
302
478
  pageSize?: number;
303
- /** Filter the return volumes by their names. */
479
+ /**
480
+ * Filter the return volumes by their names.
481
+ */
304
482
  name?: string;
305
483
  /**
306
- * Filter by a product resource ID linked to this volume (such as an Instance
307
- * ID).
484
+ * Filter by a product resource ID linked to this volume (such as an Instance ID).
308
485
  */
309
486
  productResourceId?: string;
310
487
  /**
311
- * Filter by tags. Only volumes with one or more matching tags will be
312
- * returned.
488
+ * Filter by tags. Only volumes with one or more matching tags will be returned.
313
489
  */
314
490
  tags?: string[];
315
491
  };
316
492
  export interface ListVolumesResponse {
317
- /** Paginated returned list of volumes. */
493
+ /**
494
+ * Paginated returned list of volumes.
495
+ */
318
496
  volumes: Volume[];
319
- /** Total number of volumes in the project. */
497
+ /**
498
+ * Total number of volumes in the project.
499
+ */
320
500
  totalCount: number;
321
501
  }
322
502
  export type UpdateSnapshotRequest = {
323
- /** Zone to target. If none is passed will use default zone from the config. */
503
+ /**
504
+ * Zone to target. If none is passed will use default zone from the config.
505
+ */
324
506
  zone?: ScwZone;
325
- /** UUID of the snapshot. */
507
+ /**
508
+ * UUID of the snapshot.
509
+ */
326
510
  snapshotId: string;
327
- /** When defined, is the name of the snapshot. */
511
+ /**
512
+ * When defined, is the name of the snapshot.
513
+ */
328
514
  name?: string;
329
- /** List of tags assigned to the snapshot. */
515
+ /**
516
+ * List of tags assigned to the snapshot.
517
+ */
330
518
  tags?: string[];
331
519
  };
332
520
  export type UpdateVolumeRequest = {
333
- /** Zone to target. If none is passed will use default zone from the config. */
521
+ /**
522
+ * Zone to target. If none is passed will use default zone from the config.
523
+ */
334
524
  zone?: ScwZone;
335
- /** UUID of the volume. */
525
+ /**
526
+ * UUID of the volume.
527
+ */
336
528
  volumeId: string;
337
- /** When defined, is the new name of the volume. */
529
+ /**
530
+ * When defined, is the new name of the volume.
531
+ */
338
532
  name?: string;
339
533
  /**
340
- * Size in bytes of the volume, with a granularity of 1 GB (10^9 bytes). Must
341
- * be compliant with the minimum (1GB) and maximum (10TB) allowed size.
534
+ * Size in bytes of the volume, with a granularity of 1 GB (10^9 bytes).
535
+ Must be compliant with the minimum (1GB) and maximum (10TB) allowed size.
342
536
  */
343
537
  size?: number;
344
- /** List of tags assigned to the volume. */
538
+ /**
539
+ * List of tags assigned to the volume.
540
+ */
345
541
  tags?: string[];
346
542
  /**
347
- * The selected value must be available for the volume's current storage
348
- * class.
543
+ * The selected value must be available for the volume's current storage class.
349
544
  */
350
545
  perfIops?: number;
351
546
  };