@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
@@ -9,23 +9,41 @@ export type ServerPrivateNetworkStatus = 'vpc_unknown_status' | 'vpc_enabled' |
9
9
  export type ServerStatus = 'unknown_status' | 'starting' | 'ready' | 'error' | 'rebooting' | 'updating' | 'locking' | 'locked' | 'unlocking' | 'reinstalling' | 'busy';
10
10
  export type ServerTypeStock = 'unknown_stock' | 'no_stock' | 'low_stock' | 'high_stock';
11
11
  export interface OS {
12
- /** Unique ID of the OS. */
12
+ /**
13
+ * Unique ID of the OS.
14
+ */
13
15
  id: string;
14
- /** OS name. */
16
+ /**
17
+ * OS name.
18
+ */
15
19
  name: string;
16
- /** OS name as it should be displayed. */
20
+ /**
21
+ * OS name as it should be displayed.
22
+ */
17
23
  label: string;
18
- /** URL of the image. */
24
+ /**
25
+ * URL of the image.
26
+ */
19
27
  imageUrl: string;
20
- /** The OS family to which this OS belongs, eg. 13 or 14. */
28
+ /**
29
+ * The OS family to which this OS belongs, eg. 13 or 14.
30
+ */
21
31
  family: string;
22
- /** Describes if the OS is in beta. */
32
+ /**
33
+ * Describes if the OS is in beta.
34
+ */
23
35
  isBeta: boolean;
24
- /** The OS version number, eg. Sonoma has version number 14.3. */
36
+ /**
37
+ * The OS version number, eg. Sonoma has version number 14.3.
38
+ */
25
39
  version: string;
26
- /** The current xcode version for this OS. */
40
+ /**
41
+ * The current xcode version for this OS.
42
+ */
27
43
  xcodeVersion: string;
28
- /** List of compatible server types. */
44
+ /**
45
+ * List of compatible server types.
46
+ */
29
47
  compatibleServerTypes: string[];
30
48
  }
31
49
  export interface ServerTypeCPU {
@@ -60,101 +78,161 @@ export interface ConnectivityDiagnosticServerHealth {
60
78
  isVncPortUp: boolean;
61
79
  }
62
80
  export interface ServerPrivateNetwork {
63
- /** ID of the Server-to-Private Network mapping. */
81
+ /**
82
+ * ID of the Server-to-Private Network mapping.
83
+ */
64
84
  id: string;
65
- /** Private Network Project ID. */
85
+ /**
86
+ * Private Network Project ID.
87
+ */
66
88
  projectId: string;
67
- /** Apple silicon server ID. */
89
+ /**
90
+ * Apple silicon server ID.
91
+ */
68
92
  serverId: string;
69
- /** Private Network ID. */
93
+ /**
94
+ * Private Network ID.
95
+ */
70
96
  privateNetworkId: string;
71
- /** ID of the VLAN associated with the Private Network. */
97
+ /**
98
+ * ID of the VLAN associated with the Private Network.
99
+ */
72
100
  vlan?: number;
73
- /** Configuration status of the Private Network. */
101
+ /**
102
+ * Configuration status of the Private Network.
103
+ */
74
104
  status: ServerPrivateNetworkServerStatus;
75
- /** Private Network creation date. */
105
+ /**
106
+ * Private Network creation date.
107
+ */
76
108
  createdAt?: Date;
77
- /** Date the Private Network was last modified. */
109
+ /**
110
+ * Date the Private Network was last modified.
111
+ */
78
112
  updatedAt?: Date;
79
- /** IPAM IP IDs of the server, if it has any. */
113
+ /**
114
+ * IPAM IP IDs of the server, if it has any.
115
+ */
80
116
  ipamIpIds: string[];
81
117
  }
82
118
  export interface ServerType {
83
- /** CPU description. */
119
+ /**
120
+ * CPU description.
121
+ */
84
122
  cpu?: ServerTypeCPU;
85
- /** Size of the local disk of the server. */
123
+ /**
124
+ * Size of the local disk of the server.
125
+ */
86
126
  disk?: ServerTypeDisk;
87
- /** Name of the type. */
127
+ /**
128
+ * Name of the type.
129
+ */
88
130
  name: string;
89
- /** Size of memory available. */
131
+ /**
132
+ * Size of memory available.
133
+ */
90
134
  memory?: ServerTypeMemory;
91
- /** Current stock. */
135
+ /**
136
+ * Current stock.
137
+ */
92
138
  stock: ServerTypeStock;
93
- /** Minimum duration of the lease in seconds (example. 3.4s). */
139
+ /**
140
+ * Minimum duration of the lease in seconds (example. 3.4s).
141
+ */
94
142
  minimumLeaseDuration?: string;
95
- /** GPU description. */
143
+ /**
144
+ * GPU description.
145
+ */
96
146
  gpu?: ServerTypeGPU;
97
- /** Network description. */
147
+ /**
148
+ * Network description.
149
+ */
98
150
  network?: ServerTypeNetwork;
99
- /** The default OS for this server type. */
151
+ /**
152
+ * The default OS for this server type.
153
+ */
100
154
  defaultOs?: OS;
101
155
  }
102
156
  export interface Server {
103
- /** UUID of the server. */
157
+ /**
158
+ * UUID of the server.
159
+ */
104
160
  id: string;
105
- /** Type of the server. */
161
+ /**
162
+ * Type of the server.
163
+ */
106
164
  type: string;
107
- /** Name of the server. */
165
+ /**
166
+ * Name of the server.
167
+ */
108
168
  name: string;
109
- /** Project this server is associated with. */
169
+ /**
170
+ * Project this server is associated with.
171
+ */
110
172
  projectId: string;
111
- /** Organization this server is associated with. */
173
+ /**
174
+ * Organization this server is associated with.
175
+ */
112
176
  organizationId: string;
113
- /** IPv4 address of the server. */
177
+ /**
178
+ * IPv4 address of the server.
179
+ */
114
180
  ip: string;
115
- /** Vnc:// URL to access Apple Remote Desktop. */
181
+ /**
182
+ * Vnc:// URL to access Apple Remote Desktop.
183
+ */
116
184
  vncUrl: string;
117
- /** SSH Username for remote shell. */
185
+ /**
186
+ * SSH Username for remote shell.
187
+ */
118
188
  sshUsername: string;
119
- /** Admin password required to execute commands. */
189
+ /**
190
+ * Admin password required to execute commands.
191
+ */
120
192
  sudoPassword: string;
121
- /** VNC port to use for remote desktop connection. */
193
+ /**
194
+ * VNC port to use for remote desktop connection.
195
+ */
122
196
  vncPort: number;
123
197
  /**
124
- * Initially installed OS, this does not necessarily reflect the current OS
125
- * version.
198
+ * Initially installed OS, this does not necessarily reflect the current OS version.
126
199
  */
127
200
  os?: OS;
128
- /** Current status of the server. */
201
+ /**
202
+ * Current status of the server.
203
+ */
129
204
  status: ServerStatus;
130
- /** Date on which the server was created. */
205
+ /**
206
+ * Date on which the server was created.
207
+ */
131
208
  createdAt?: Date;
132
- /** Date on which the server was last updated. */
209
+ /**
210
+ * Date on which the server was last updated.
211
+ */
133
212
  updatedAt?: Date;
134
- /** Date from which the server can be deleted. */
213
+ /**
214
+ * Date from which the server can be deleted.
215
+ */
135
216
  deletableAt?: Date;
136
217
  /**
137
- * Set to true to mark the server for automatic deletion depending on
138
- * `deletable_at` date. Set to false to cancel an existing deletion schedule.
139
- * Leave unset otherwise.
218
+ * Set to true to mark the server for automatic deletion depending on `deletable_at` date. Set to false to cancel an existing deletion schedule. Leave unset otherwise.
140
219
  */
141
220
  deletionScheduled: boolean;
142
- /** Zone of the server. */
221
+ /**
222
+ * Zone of the server.
223
+ */
143
224
  zone: ScwZone;
144
225
  /**
145
- * Set to true once the server has completed its provisioning steps and is
146
- * ready to use. Some OS configurations might require a reinstallation of the
147
- * server before delivery depending on the available stock. A reinstallation
148
- * after the initial delivery will not change this flag and can be tracked
149
- * using the server status.
226
+ * Set to true once the server has completed its provisioning steps and is ready to use. Some OS configurations might require a reinstallation of the server before delivery depending on the available stock. A reinstallation after the initial delivery will not change this flag and can be tracked using the server status.
150
227
  */
151
228
  delivered: boolean;
152
229
  /**
153
- * Activation status of optional Private Network feature support for this
154
- * server.
230
+ * Activation status of optional Private Network feature support for this server.
155
231
  */
156
232
  vpcStatus: ServerPrivateNetworkStatus;
157
- /** Commitment scheme applied to this server. */
233
+ /**
234
+ * Commitment scheme applied to this server.
235
+ */
158
236
  commitment?: Commitment;
159
237
  }
160
238
  export interface CommitmentTypeValue {
@@ -169,84 +247,112 @@ export interface ConnectivityDiagnostic {
169
247
  errorMessage: string;
170
248
  }
171
249
  export type CreateServerRequest = {
172
- /** Zone to target. If none is passed will use default zone from the config. */
250
+ /**
251
+ * Zone to target. If none is passed will use default zone from the config.
252
+ */
173
253
  zone?: ScwZone;
174
- /** Create a server with this given name. */
254
+ /**
255
+ * Create a server with this given name.
256
+ */
175
257
  name?: string;
176
- /** Create a server in the given project ID. */
258
+ /**
259
+ * Create a server in the given project ID.
260
+ */
177
261
  projectId?: string;
178
- /** Create a server of the given type. */
262
+ /**
263
+ * Create a server of the given type.
264
+ */
179
265
  type: string;
180
266
  /**
181
- * Create a server & install the given os_id, when no os_id provided the
182
- * default OS for this server type is chosen. Requesting a non-default OS will
183
- * induce an extended delivery time.
267
+ * Create a server & install the given os_id, when no os_id provided the default OS for this server type is chosen. Requesting a non-default OS will induce an extended delivery time.
184
268
  */
185
269
  osId?: string;
186
270
  /**
187
- * Activate the Private Network feature for this server. This feature is
188
- * configured through the Apple Silicon - Private Networks API.
271
+ * Activate the Private Network feature for this server. This feature is configured through the Apple Silicon - Private Networks API.
189
272
  */
190
273
  enableVpc: boolean;
191
274
  /**
192
- * Activate commitment for this server. If not specified, there is a 24h
193
- * commitment due to Apple licensing (commitment_type `duration_24h`). It can
194
- * be updated with the Update Server request. Available commitment depends on
195
- * server type.
275
+ * Activate commitment for this server. If not specified, there is a 24h commitment due to Apple licensing (commitment_type `duration_24h`). It can be updated with the Update Server request. Available commitment depends on server type.
196
276
  */
197
277
  commitmentType?: CommitmentType;
198
278
  };
199
279
  export type DeleteServerRequest = {
200
- /** Zone to target. If none is passed will use default zone from the config. */
280
+ /**
281
+ * Zone to target. If none is passed will use default zone from the config.
282
+ */
201
283
  zone?: ScwZone;
202
- /** UUID of the server you want to delete. */
284
+ /**
285
+ * UUID of the server you want to delete.
286
+ */
203
287
  serverId: string;
204
288
  };
205
289
  export type GetConnectivityDiagnosticRequest = {
206
- /** Zone to target. If none is passed will use default zone from the config. */
290
+ /**
291
+ * Zone to target. If none is passed will use default zone from the config.
292
+ */
207
293
  zone?: ScwZone;
208
294
  diagnosticId: string;
209
295
  };
210
296
  export type GetOSRequest = {
211
- /** Zone to target. If none is passed will use default zone from the config. */
297
+ /**
298
+ * Zone to target. If none is passed will use default zone from the config.
299
+ */
212
300
  zone?: ScwZone;
213
- /** UUID of the OS you want to get. */
301
+ /**
302
+ * UUID of the OS you want to get.
303
+ */
214
304
  osId: string;
215
305
  };
216
306
  export type GetServerRequest = {
217
- /** Zone to target. If none is passed will use default zone from the config. */
307
+ /**
308
+ * Zone to target. If none is passed will use default zone from the config.
309
+ */
218
310
  zone?: ScwZone;
219
- /** UUID of the server you want to get. */
311
+ /**
312
+ * UUID of the server you want to get.
313
+ */
220
314
  serverId: string;
221
315
  };
222
316
  export type GetServerTypeRequest = {
223
- /** Zone to target. If none is passed will use default zone from the config. */
317
+ /**
318
+ * Zone to target. If none is passed will use default zone from the config.
319
+ */
224
320
  zone?: ScwZone;
225
- /** Server type identifier. */
321
+ /**
322
+ * Server type identifier.
323
+ */
226
324
  serverType: string;
227
325
  };
228
326
  export type ListOSRequest = {
229
- /** Zone to target. If none is passed will use default zone from the config. */
327
+ /**
328
+ * Zone to target. If none is passed will use default zone from the config.
329
+ */
230
330
  zone?: ScwZone;
231
- /** Positive integer to choose the page to return. */
331
+ /**
332
+ * Positive integer to choose the page to return.
333
+ */
232
334
  page?: number;
233
335
  /**
234
- * Positive integer lower or equal to 100 to select the number of items to
235
- * return.
336
+ * Positive integer lower or equal to 100 to select the number of items to return.
236
337
  */
237
338
  pageSize?: number;
238
- /** List of compatible server types. */
339
+ /**
340
+ * List of compatible server types.
341
+ */
239
342
  serverType?: string;
240
343
  /**
241
- * Filter OS by name (note that "11.1" will return "11.1.2" and "11.1" but not
242
- * "12")).
344
+ * Filter OS by name (note that "11.1" will return "11.1.2" and "11.1" but not "12")).
243
345
  */
244
346
  name?: string;
245
347
  };
246
348
  export interface ListOSResponse {
247
- /** Total number of OS. */
349
+ /**
350
+ * Total number of OS.
351
+ */
248
352
  totalCount: number;
249
- /** List of OS. */
353
+ /**
354
+ * List of OS.
355
+ */
250
356
  os: OS[];
251
357
  }
252
358
  export interface ListServerPrivateNetworksResponse {
@@ -254,108 +360,166 @@ export interface ListServerPrivateNetworksResponse {
254
360
  totalCount: number;
255
361
  }
256
362
  export type ListServerTypesRequest = {
257
- /** Zone to target. If none is passed will use default zone from the config. */
363
+ /**
364
+ * Zone to target. If none is passed will use default zone from the config.
365
+ */
258
366
  zone?: ScwZone;
259
367
  };
260
368
  export interface ListServerTypesResponse {
261
- /** Available server types. */
369
+ /**
370
+ * Available server types.
371
+ */
262
372
  serverTypes: ServerType[];
263
373
  }
264
374
  export type ListServersRequest = {
265
- /** Zone to target. If none is passed will use default zone from the config. */
375
+ /**
376
+ * Zone to target. If none is passed will use default zone from the config.
377
+ */
266
378
  zone?: ScwZone;
267
- /** Sort order of the returned servers. */
379
+ /**
380
+ * Sort order of the returned servers.
381
+ */
268
382
  orderBy?: ListServersRequestOrderBy;
269
- /** Only list servers of this project ID. */
383
+ /**
384
+ * Only list servers of this project ID.
385
+ */
270
386
  projectId?: string;
271
- /** Only list servers of this Organization ID. */
387
+ /**
388
+ * Only list servers of this Organization ID.
389
+ */
272
390
  organizationId?: string;
273
- /** Positive integer to choose the page to return. */
391
+ /**
392
+ * Positive integer to choose the page to return.
393
+ */
274
394
  page?: number;
275
395
  /**
276
- * Positive integer lower or equal to 100 to select the number of items to
277
- * return.
396
+ * Positive integer lower or equal to 100 to select the number of items to return.
278
397
  */
279
398
  pageSize?: number;
280
399
  };
281
400
  export interface ListServersResponse {
282
- /** Total number of servers. */
401
+ /**
402
+ * Total number of servers.
403
+ */
283
404
  totalCount: number;
284
- /** Paginated returned servers. */
405
+ /**
406
+ * Paginated returned servers.
407
+ */
285
408
  servers: Server[];
286
409
  }
287
410
  export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
288
- /** Zone to target. If none is passed will use default zone from the config. */
411
+ /**
412
+ * Zone to target. If none is passed will use default zone from the config.
413
+ */
289
414
  zone?: ScwZone;
290
- /** ID of the server. */
415
+ /**
416
+ * ID of the server.
417
+ */
291
418
  serverId: string;
292
- /** ID of the Private Network. */
419
+ /**
420
+ * ID of the Private Network.
421
+ */
293
422
  privateNetworkId: string;
294
- /** IPAM IDs of IPs to attach to the server. */
423
+ /**
424
+ * IPAM IDs of IPs to attach to the server.
425
+ */
295
426
  ipamIpIds?: string[];
296
427
  };
297
428
  export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
298
- /** Zone to target. If none is passed will use default zone from the config. */
429
+ /**
430
+ * Zone to target. If none is passed will use default zone from the config.
431
+ */
299
432
  zone?: ScwZone;
300
- /** ID of the server. */
433
+ /**
434
+ * ID of the server.
435
+ */
301
436
  serverId: string;
302
- /** ID of the Private Network. */
437
+ /**
438
+ * ID of the Private Network.
439
+ */
303
440
  privateNetworkId: string;
304
441
  };
305
442
  export type PrivateNetworkApiGetServerPrivateNetworkRequest = {
306
- /** Zone to target. If none is passed will use default zone from the config. */
443
+ /**
444
+ * Zone to target. If none is passed will use default zone from the config.
445
+ */
307
446
  zone?: ScwZone;
308
447
  serverId: string;
309
448
  privateNetworkId: string;
310
449
  };
311
450
  export type PrivateNetworkApiListServerPrivateNetworksRequest = {
312
- /** Zone to target. If none is passed will use default zone from the config. */
451
+ /**
452
+ * Zone to target. If none is passed will use default zone from the config.
453
+ */
313
454
  zone?: ScwZone;
314
- /** Sort order for the returned Private Networks. */
455
+ /**
456
+ * Sort order for the returned Private Networks.
457
+ */
315
458
  orderBy?: ListServerPrivateNetworksRequestOrderBy;
316
- /** Page number for the returned Private Networks. */
459
+ /**
460
+ * Page number for the returned Private Networks.
461
+ */
317
462
  page?: number;
318
- /** Maximum number of Private Networks per page. */
463
+ /**
464
+ * Maximum number of Private Networks per page.
465
+ */
319
466
  pageSize?: number;
320
- /** Filter Private Networks by server ID. */
467
+ /**
468
+ * Filter Private Networks by server ID.
469
+ */
321
470
  serverId?: string;
322
- /** Filter Private Networks by Private Network ID. */
471
+ /**
472
+ * Filter Private Networks by Private Network ID.
473
+ */
323
474
  privateNetworkId?: string;
324
- /** Filter Private Networks by Organization ID. */
475
+ /**
476
+ * Filter Private Networks by Organization ID.
477
+ */
325
478
  organizationId?: string;
326
- /** Filter Private Networks by Project ID. */
479
+ /**
480
+ * Filter Private Networks by Project ID.
481
+ */
327
482
  projectId?: string;
328
- /** Filter Private Networks by IPAM IP IDs. */
483
+ /**
484
+ * Filter Private Networks by IPAM IP IDs.
485
+ */
329
486
  ipamIpIds?: string[];
330
487
  };
331
488
  export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
332
- /** Zone to target. If none is passed will use default zone from the config. */
489
+ /**
490
+ * Zone to target. If none is passed will use default zone from the config.
491
+ */
333
492
  zone?: ScwZone;
334
- /** ID of the server. */
493
+ /**
494
+ * ID of the server.
495
+ */
335
496
  serverId: string;
336
497
  /**
337
- * Object where the keys are the IDs of Private Networks and the values are
338
- * arrays of IPAM IDs representing the IPs to assign to this Apple silicon
339
- * server on the Private Network. If the array supplied for a Private Network
340
- * is empty, the next available IP from the Private Network's CIDR block will
341
- * automatically be used for attachment.
498
+ * Object where the keys are the IDs of Private Networks and the values are arrays of IPAM IDs representing the IPs to assign to this Apple silicon server on the Private Network. If the array supplied for a Private Network is empty, the next available IP from the Private Network's CIDR block will automatically be used for attachment.
342
499
  */
343
500
  perPrivateNetworkIpamIpIds: Record<string, string[]>;
344
501
  };
345
502
  export type RebootServerRequest = {
346
- /** 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
+ */
347
506
  zone?: ScwZone;
348
- /** UUID of the server you want to reboot. */
507
+ /**
508
+ * UUID of the server you want to reboot.
509
+ */
349
510
  serverId: string;
350
511
  };
351
512
  export type ReinstallServerRequest = {
352
- /** Zone to target. If none is passed will use default zone from the config. */
513
+ /**
514
+ * Zone to target. If none is passed will use default zone from the config.
515
+ */
353
516
  zone?: ScwZone;
354
- /** UUID of the server you want to reinstall. */
517
+ /**
518
+ * UUID of the server you want to reinstall.
519
+ */
355
520
  serverId: string;
356
521
  /**
357
- * Reinstall the server with the target OS, when no os_id provided the default
358
- * OS for the server type is used.
522
+ * Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
359
523
  */
360
524
  osId?: string;
361
525
  };
@@ -363,7 +527,9 @@ export interface SetServerPrivateNetworksResponse {
363
527
  serverPrivateNetworks: ServerPrivateNetwork[];
364
528
  }
365
529
  export type StartConnectivityDiagnosticRequest = {
366
- /** Zone to target. If none is passed will use default zone from the config. */
530
+ /**
531
+ * Zone to target. If none is passed will use default zone from the config.
532
+ */
367
533
  zone?: ScwZone;
368
534
  serverId: string;
369
535
  };
@@ -371,19 +537,28 @@ export interface StartConnectivityDiagnosticResponse {
371
537
  diagnosticId: string;
372
538
  }
373
539
  export type UpdateServerRequest = {
374
- /** Zone to target. If none is passed will use default zone from the config. */
540
+ /**
541
+ * Zone to target. If none is passed will use default zone from the config.
542
+ */
375
543
  zone?: ScwZone;
376
- /** UUID of the server you want to update. */
544
+ /**
545
+ * UUID of the server you want to update.
546
+ */
377
547
  serverId: string;
378
- /** Updated name for your server. */
548
+ /**
549
+ * Updated name for your server.
550
+ */
379
551
  name?: string;
380
- /** Specify whether the server should be flagged for automatic deletion. */
552
+ /**
553
+ * Specify whether the server should be flagged for automatic deletion.
554
+ */
381
555
  scheduleDeletion?: boolean;
382
- /** Activate or deactivate Private Network support for this server. */
556
+ /**
557
+ * Activate or deactivate Private Network support for this server.
558
+ */
383
559
  enableVpc?: boolean;
384
560
  /**
385
- * Change commitment. Use 'none' to automatically cancel a renewing
386
- * commitment.
561
+ * Change commitment. Use 'none' to automatically cancel a renewing commitment.
387
562
  */
388
563
  commitmentType?: CommitmentTypeValue;
389
564
  };
@@ -9,9 +9,7 @@ class API extends api.API {
9
9
  /** Lists the available regions of the API. */
10
10
  static LOCALITIES = ["fr-par", "nl-ams"];
11
11
  /**
12
- * List events. Retrieve the list of Audit Trail events for a Scaleway
13
- * Organization and/or Project. You must specify the `organization_id` and
14
- * optionally, the `project_id`.
12
+ * List events. Retrieve the list of Audit Trail events for a Scaleway Organization and/or Project. You must specify the `organization_id` and optionally, the `project_id`.
15
13
  *
16
14
  * @param request - The request {@link ListEventsRequest}
17
15
  * @returns A Promise of ListEventsResponse
@@ -44,8 +42,7 @@ class API extends api.API {
44
42
  marshalling_gen.unmarshalListEventsResponse
45
43
  );
46
44
  /**
47
- * Retrieve the list of Scaleway resources for which you have Audit Trail
48
- * events.
45
+ * Retrieve the list of Scaleway resources for which you have Audit Trail events.
49
46
  *
50
47
  * @param request - The request {@link ListProductsRequest}
51
48
  * @returns A Promise of ListProductsResponse