@@ -93,9 +93,9 @@ const jsonContentHeaders = {
9393}
9494
9595/**
96- * Elastic metal API.
96+ * Elastic Metal API.
9797 *
98- * This API allows to manage your Bare metal server.
98+ * This API allows to manage your Elastic Metal server.
9999 */
100100export class API extends ParentAPI {
101101 /** Lists the available zones of the API. */
@@ -132,7 +132,7 @@ export class API extends ParentAPI {
132132 )
133133
134134 /**
135- * List elastic metal servers for organization.
135+ * List Elastic Metal servers for a specific organization.
136136 *
137137 * @param request - The request {@link ListServersRequest}
138138 * @returns A Promise of ListServersResponse
@@ -141,7 +141,8 @@ export class API extends ParentAPI {
141141 enrichForPagination ( 'servers' , this . pageOfListServers , request )
142142
143143 /**
144- * Get the server associated with the given ID.
144+ * Get full details of an existing Elastic Metal server associated with the
145+ * ID.
145146 *
146147 * @param request - The request {@link GetServerRequest}
147148 * @returns A Promise of Server
@@ -179,8 +180,8 @@ export class API extends ParentAPI {
179180 )
180181
181182 /**
182- * Create a new elastic metal server. Once the server is created, you probably
183- * want to install an OS.
183+ * Create a new Elastic Metal server. Once the server is created, proceed with
184+ * the [installation of an OS](#post-3e949e) .
184185 *
185186 * @param request - The request {@link CreateServerRequest}
186187 * @returns A Promise of Server
@@ -202,7 +203,9 @@ export class API extends ParentAPI {
202203 )
203204
204205 /**
205- * Update the server associated with the given ID.
206+ * Update the server associated with the ID. You can update parameters such as
207+ * the server's name, tags and description. Any parameters left null in the
208+ * request body are not updated.
206209 *
207210 * @param request - The request {@link UpdateServerRequest}
208211 * @returns A Promise of Server
@@ -224,7 +227,8 @@ export class API extends ParentAPI {
224227 )
225228
226229 /**
227- * Install an OS on the server associated with the given ID.
230+ * Install an Operating System (OS) on the Elastic Metal server with a
231+ * specific ID.
228232 *
229233 * @param request - The request {@link InstallServerRequest}
230234 * @returns A Promise of Server
@@ -246,7 +250,7 @@ export class API extends ParentAPI {
246250 )
247251
248252 /**
249- * Give the ping status on the server associated with the given ID.
253+ * Get the ping status of the server associated with the ID.
250254 *
251255 * @param request - The request {@link GetServerMetricsRequest}
252256 * @returns A Promise of GetServerMetricsResponse
@@ -264,7 +268,7 @@ export class API extends ParentAPI {
264268 )
265269
266270 /**
267- * Delete the server associated with the given ID.
271+ * Delete the server associated with the ID.
268272 *
269273 * @param request - The request {@link DeleteServerRequest}
270274 * @returns A Promise of Server
@@ -282,8 +286,8 @@ export class API extends ParentAPI {
282286 )
283287
284288 /**
285- * Reboot the server associated with the given ID, use boot param to reboot in
286- * rescue.
289+ * Reboot the Elastic Metal server associated with the ID, use the `boot_type`
290+ * ` rescue` to reboot the server in rescue mode .
287291 *
288292 * @param request - The request {@link RebootServerRequest}
289293 * @returns A Promise of Server
@@ -305,7 +309,7 @@ export class API extends ParentAPI {
305309 )
306310
307311 /**
308- * Start the server associated with the given ID.
312+ * Start the server associated with the ID.
309313 *
310314 * @param request - The request {@link StartServerRequest}
311315 * @returns A Promise of Server
@@ -327,7 +331,8 @@ export class API extends ParentAPI {
327331 )
328332
329333 /**
330- * Stop the server associated with the given ID.
334+ * Stop the server associated with the ID. The server remains allocated to
335+ * your account and all data remains on the local storage of the server.
331336 *
332337 * @param request - The request {@link StopServerRequest}
333338 * @returns A Promise of Server
@@ -369,7 +374,7 @@ export class API extends ParentAPI {
369374 )
370375
371376 /**
372- * List events associated to the given server ID.
377+ * List event (i.e. start/stop/reboot) associated to the server ID.
373378 *
374379 * @param request - The request {@link ListServerEventsRequest}
375380 * @returns A Promise of ListServerEventsResponse
@@ -378,17 +383,17 @@ export class API extends ParentAPI {
378383 enrichForPagination ( 'events' , this . pageOfListServerEvents , request )
379384
380385 /**
381- * Start BMC (Baseboard Management Controller) access associated with the
382- * given ID. The BMC (Baseboard Management Controller) access is available one
383- * hour after the installation of the server. You need first to create an
384- * option Remote Access. You will find the ID and the price with a call to
385- * listOffers
386+ * Start BMC (Baseboard Management Controller) access associated with the ID.
387+ * The BMC (Baseboard Management Controller) access is available one hour
388+ * after the installation of the server. You need first to create an option
389+ * Remote Access. You will find the ID and the price with a call to listOffers
386390 * (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92).
387- * Then you can add the option
388- * https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd. Do
389- * not forget to delete the Option. After start BMC, you need to Get Remote
390- * Access to get the login/password
391- * https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f.
391+ * Then add the option
392+ * https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd.
393+ * After adding the BMC option, you need to Get Remote Access to get the
394+ * login/password
395+ * https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do
396+ * not forget to delete the Option after use.
392397 *
393398 * @param request - The request {@link StartBMCAccessRequest}
394399 * @returns A Promise of BMCAccess
@@ -414,7 +419,7 @@ export class API extends ParentAPI {
414419
415420 /**
416421 * Get the BMC (Baseboard Management Controller) access associated with the
417- * given ID .
422+ * ID, including the URL and login information needed to connect .
418423 *
419424 * @param request - The request {@link GetBMCAccessRequest}
420425 * @returns A Promise of BMCAccess
@@ -435,8 +440,7 @@ export class API extends ParentAPI {
435440 )
436441
437442 /**
438- * Stop BMC (Baseboard Management Controller) access associated with the given
439- * ID.
443+ * Stop BMC (Baseboard Management Controller) access associated with the ID.
440444 *
441445 * @param request - The request {@link StopBMCAccessRequest}
442446 */
@@ -450,8 +454,8 @@ export class API extends ParentAPI {
450454 } )
451455
452456 /**
453- * Configure ip associated with the given server ID and ipID . You can use this
454- * method to set a reverse dns for an IP.
457+ * Configure the IP address associated with the server ID and IP ID . You can
458+ * use this method to set a reverse DNS for an IP address .
455459 *
456460 * @param request - The request {@link UpdateIPRequest}
457461 * @returns A Promise of IP
@@ -476,7 +480,7 @@ export class API extends ParentAPI {
476480 )
477481
478482 /**
479- * Add an option to a specific server.
483+ * Add an option, such as Private Networks, to a specific server.
480484 *
481485 * @param request - The request {@link AddOptionServerRequest}
482486 * @returns A Promise of Server
@@ -545,7 +549,7 @@ export class API extends ParentAPI {
545549 )
546550
547551 /**
548- * List all available server offers .
552+ * List all available Elastic Metal server configurations .
549553 *
550554 * @param request - The request {@link ListOffersRequest}
551555 * @returns A Promise of ListOffersResponse
@@ -554,7 +558,7 @@ export class API extends ParentAPI {
554558 enrichForPagination ( 'offers' , this . pageOfListOffers , request )
555559
556560 /**
557- * Return specific offer for the given ID.
561+ * Get details of an offer identified by its offer ID.
558562 *
559563 * @param request - The request {@link GetOfferRequest}
560564 * @returns A Promise of Offer
@@ -572,7 +576,7 @@ export class API extends ParentAPI {
572576 )
573577
574578 /**
575- * Return specific option for the given ID.
579+ * Return specific option for the ID.
576580 *
577581 * @param request - The request {@link GetOptionRequest}
578582 * @returns A Promise of Option
@@ -697,7 +701,7 @@ export class API extends ParentAPI {
697701 )
698702
699703 /**
700- * List all available OS that can be install on an elastic metal server .
704+ * List all OSes that are available for installation on Elastic Metal servers .
701705 *
702706 * @param request - The request {@link ListOSRequest}
703707 * @returns A Promise of ListOSResponse
@@ -706,7 +710,7 @@ export class API extends ParentAPI {
706710 enrichForPagination ( 'os' , this . pageOfListOS , request )
707711
708712 /**
709- * Return specific OS for the given ID.
713+ * Return specific OS for the ID.
710714 *
711715 * @param request - The request {@link GetOSRequest}
712716 * @returns A Promise of OS
@@ -730,7 +734,7 @@ export class PrivateNetworkAPI extends ParentAPI {
730734 public static readonly LOCALITIES : Zone [ ] = [ 'fr-par-2' ]
731735
732736 /**
733- * Add a server to a private network
737+ * Add a server to a Private Network
734738 *
735739 * @param request - The request
736740 * {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
@@ -761,7 +765,7 @@ export class PrivateNetworkAPI extends ParentAPI {
761765 )
762766
763767 /**
764- * Set multiple private networks on a server
768+ * Set multiple Private Networks on a server
765769 *
766770 * @param request - The request
767771 * {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
@@ -818,7 +822,7 @@ export class PrivateNetworkAPI extends ParentAPI {
818822 )
819823
820824 /**
821- * List the private networks of a server
825+ * List the Private Networks of a server
822826 *
823827 * @param request - The request
824828 * {@link PrivateNetworkApiListServerPrivateNetworksRequest}
@@ -834,7 +838,7 @@ export class PrivateNetworkAPI extends ParentAPI {
834838 )
835839
836840 /**
837- * Delete a private network
841+ * Delete a Private Network
838842 *
839843 * @param request - The request
840844 * {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
0 commit comments