@scaleway/sdk 2.72.0 → 2.74.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 (209) 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/index.gen.d.ts +1 -1
  5. package/dist/api/account/v3/marshalling.gen.cjs +94 -65
  6. package/dist/api/account/v3/marshalling.gen.js +94 -65
  7. package/dist/api/account/v3/types.gen.d.ts +224 -104
  8. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  9. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  10. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  11. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  12. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  13. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  14. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  15. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  16. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  17. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  18. package/dist/api/baremetal/v1/api.gen.js +28 -61
  19. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  20. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  21. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  22. package/dist/api/baremetal/v3/api.gen.js +7 -14
  23. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  24. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  25. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  26. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  27. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  28. package/dist/api/block/v1/api.gen.cjs +37 -55
  29. package/dist/api/block/v1/api.gen.d.ts +19 -37
  30. package/dist/api/block/v1/api.gen.js +37 -55
  31. package/dist/api/block/v1/types.gen.d.ts +306 -125
  32. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  33. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  34. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  35. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  36. package/dist/api/cockpit/v1/api.gen.cjs +132 -156
  37. package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
  38. package/dist/api/cockpit/v1/api.gen.js +133 -157
  39. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  40. package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
  41. package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
  42. package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
  43. package/dist/api/cockpit/v1/types.gen.d.ts +628 -246
  44. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  45. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  46. package/dist/api/container/v1beta1/api.gen.js +7 -14
  47. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  48. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  49. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  50. package/dist/api/dedibox/v1/api.gen.js +45 -69
  51. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  52. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  53. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  54. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  55. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  56. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  57. package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
  58. package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
  59. package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
  60. package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
  61. package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
  62. package/dist/api/file/index.gen.cjs +4 -0
  63. package/dist/api/file/index.gen.d.ts +5 -0
  64. package/dist/api/file/index.gen.js +4 -0
  65. package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
  66. package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
  67. package/dist/api/file/v1alpha1/api.gen.js +142 -0
  68. package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
  69. package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
  70. package/dist/api/file/v1alpha1/content.gen.js +7 -0
  71. package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
  72. package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
  73. package/dist/api/file/v1alpha1/index.gen.js +8 -0
  74. package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
  75. package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
  76. package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
  77. package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
  78. package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
  79. package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
  80. package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
  81. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  82. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  83. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  84. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  85. package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
  86. package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
  87. package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
  88. package/dist/api/iam/v1alpha1/api.gen.js +4 -4
  89. package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
  90. package/dist/api/index.gen.d.ts +3 -1
  91. package/dist/api/inference/v1/api.gen.cjs +8 -11
  92. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  93. package/dist/api/inference/v1/api.gen.js +8 -11
  94. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  95. package/dist/api/inference/v1beta1/api.gen.cjs +9 -12
  96. package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
  97. package/dist/api/inference/v1beta1/api.gen.js +9 -12
  98. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  99. package/dist/api/instance/v1/api.gen.cjs +64 -113
  100. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  101. package/dist/api/instance/v1/api.gen.js +64 -113
  102. package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
  103. package/dist/api/instance/v1/marshalling.gen.js +4 -1
  104. package/dist/api/instance/v1/types.gen.d.ts +1368 -600
  105. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  106. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  107. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  108. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  109. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  110. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  111. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  112. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  113. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  114. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  115. package/dist/api/iot/v1/api.gen.cjs +37 -70
  116. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  117. package/dist/api/iot/v1/api.gen.js +37 -70
  118. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  119. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  120. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  121. package/dist/api/ipam/v1/api.gen.js +6 -26
  122. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  123. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  124. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  125. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  126. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  127. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  128. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  129. package/dist/api/k8s/v1/api.gen.js +33 -78
  130. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  131. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  132. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  133. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  134. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  135. package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
  136. package/dist/api/lb/v1/marshalling.gen.js +4 -2
  137. package/dist/api/lb/v1/types.gen.d.ts +4 -0
  138. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  139. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  140. package/dist/api/marketplace/v2/api.gen.js +8 -21
  141. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  142. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  143. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  144. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  145. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  146. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  147. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  148. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  149. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  150. package/dist/api/product_catalog/index.gen.cjs +4 -0
  151. package/dist/api/product_catalog/index.gen.d.ts +5 -0
  152. package/dist/api/product_catalog/index.gen.js +4 -0
  153. package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
  154. package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
  155. package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
  156. package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
  157. package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
  158. package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
  159. package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
  160. package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
  161. package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
  162. package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
  163. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
  164. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
  165. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
  166. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  167. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  168. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  169. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  170. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  171. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  172. package/dist/api/rdb/v1/api.gen.js +62 -202
  173. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  174. package/dist/api/redis/v1/api.gen.cjs +23 -83
  175. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  176. package/dist/api/redis/v1/api.gen.js +23 -83
  177. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  178. package/dist/api/registry/v1/api.gen.cjs +12 -40
  179. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  180. package/dist/api/registry/v1/api.gen.js +12 -40
  181. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  182. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  183. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  184. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  185. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  186. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  187. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  188. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  189. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  190. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  191. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  192. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  193. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  194. package/dist/api/test/v1/api.gen.cjs +8 -11
  195. package/dist/api/test/v1/api.gen.d.ts +6 -9
  196. package/dist/api/test/v1/api.gen.js +8 -11
  197. package/dist/api/test/v1/types.gen.d.ts +21 -10
  198. package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
  199. package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
  200. package/dist/api/vpcgw/v1/api.gen.js +37 -0
  201. package/dist/client/dist/package.json.cjs +1 -1
  202. package/dist/client/dist/package.json.js +1 -1
  203. package/dist/index.cjs +36 -32
  204. package/dist/index.js +36 -32
  205. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  206. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  207. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  208. package/package.json +2 -2
  209. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -3,16 +3,15 @@ import type { Zone as ScwZone, WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { AddOptionServerRequest, BMCAccess, CreateServerRequest, DeleteOptionServerRequest, DeleteServerRequest, GetBMCAccessRequest, GetDefaultPartitioningSchemaRequest, GetOSRequest, GetOfferRequest, GetOptionRequest, GetServerMetricsRequest, GetServerMetricsResponse, GetServerRequest, IP, InstallServerRequest, ListOSRequest, ListOSResponse, ListOffersRequest, ListOffersResponse, ListOptionsRequest, ListOptionsResponse, ListServerEventsRequest, ListServerEventsResponse, ListServerPrivateNetworksResponse, ListServersRequest, ListServersResponse, ListSettingsRequest, ListSettingsResponse, MigrateServerToMonthlyOfferRequest, OS, Offer, Option, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, Schema, Server, ServerPrivateNetwork, SetServerPrivateNetworksResponse, Setting, StartBMCAccessRequest, StartServerRequest, StopBMCAccessRequest, StopServerRequest, UpdateIPRequest, UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest } from './types.gen';
4
4
  /**
5
5
  * Elastic Metal API.
6
- *
7
- * This API allows you to manage your Elastic Metal servers.
6
+
7
+ This API allows you to manage your Elastic Metal servers.
8
8
  */
9
9
  export declare class API extends ParentAPI {
10
10
  /** Lists the available zones of the API. */
11
11
  static readonly LOCALITIES: ScwZone[];
12
12
  protected pageOfListServers: (request?: Readonly<ListServersRequest>) => Promise<ListServersResponse>;
13
13
  /**
14
- * List Elastic Metal servers for an Organization. List Elastic Metal servers
15
- * for a specific Organization.
14
+ * List Elastic Metal servers for an Organization. List Elastic Metal servers for a specific Organization.
16
15
  *
17
16
  * @param request - The request {@link ListServersRequest}
18
17
  * @returns A Promise of ListServersResponse
@@ -22,8 +21,7 @@ export declare class API extends ParentAPI {
22
21
  [Symbol.asyncIterator]: () => AsyncGenerator<Server[], void, void>;
23
22
  };
24
23
  /**
25
- * Get a specific Elastic Metal server. Get full details of an existing
26
- * Elastic Metal server associated with the ID.
24
+ * Get a specific Elastic Metal server. Get full details of an existing Elastic Metal server associated with the ID.
27
25
  *
28
26
  * @param request - The request {@link GetServerRequest}
29
27
  * @returns A Promise of Server
@@ -38,33 +36,28 @@ export declare class API extends ParentAPI {
38
36
  */
39
37
  waitForServer: (request: Readonly<GetServerRequest>, options?: Readonly<WaitForOptions<Server>>) => Promise<Server>;
40
38
  /**
41
- * Create an Elastic Metal server. Create a new Elastic Metal server. Once the
42
- * server is created, proceed with the [installation of an OS](#post-3e949e).
39
+ * Create an Elastic Metal server. Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e).
43
40
  *
44
41
  * @param request - The request {@link CreateServerRequest}
45
42
  * @returns A Promise of Server
46
43
  */
47
44
  createServer: (request: Readonly<CreateServerRequest>) => Promise<Server>;
48
45
  /**
49
- * Update an Elastic Metal server. Update the server associated with the ID.
50
- * You can update parameters such as the server's name, tags and description.
51
- * Any parameters left null in the request body are not updated.
46
+ * Update an Elastic Metal server. Update the server associated with the ID. You can update parameters such as the server's name, tags and description. Any parameters left null in the request body are not updated.
52
47
  *
53
48
  * @param request - The request {@link UpdateServerRequest}
54
49
  * @returns A Promise of Server
55
50
  */
56
51
  updateServer: (request: Readonly<UpdateServerRequest>) => Promise<Server>;
57
52
  /**
58
- * Install an Elastic Metal server. Install an Operating System (OS) on the
59
- * Elastic Metal server with a specific ID.
53
+ * Install an Elastic Metal server. Install an Operating System (OS) on the Elastic Metal server with a specific ID.
60
54
  *
61
55
  * @param request - The request {@link InstallServerRequest}
62
56
  * @returns A Promise of Server
63
57
  */
64
58
  installServer: (request: Readonly<InstallServerRequest>) => Promise<Server>;
65
59
  /**
66
- * Return server metrics. Get the ping status of the server associated with
67
- * the ID.
60
+ * Return server metrics. Get the ping status of the server associated with the ID.
68
61
  *
69
62
  * @param request - The request {@link GetServerMetricsRequest}
70
63
  * @returns A Promise of GetServerMetricsResponse
@@ -78,9 +71,7 @@ export declare class API extends ParentAPI {
78
71
  */
79
72
  deleteServer: (request: Readonly<DeleteServerRequest>) => Promise<Server>;
80
73
  /**
81
- * Reboot an Elastic Metal server. Reboot the Elastic Metal server associated
82
- * with the ID, use the `boot_type` `rescue` to reboot the server in rescue
83
- * mode.
74
+ * Reboot an Elastic Metal server. Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
84
75
  *
85
76
  * @param request - The request {@link RebootServerRequest}
86
77
  * @returns A Promise of Server
@@ -94,9 +85,7 @@ export declare class API extends ParentAPI {
94
85
  */
95
86
  startServer: (request: Readonly<StartServerRequest>) => Promise<Server>;
96
87
  /**
97
- * Stop an Elastic Metal server. Stop the server associated with the ID. The
98
- * server remains allocated to your account and all data remains on the local
99
- * storage of the server.
88
+ * Stop an Elastic Metal server. Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.
100
89
  *
101
90
  * @param request - The request {@link StopServerRequest}
102
91
  * @returns A Promise of Server
@@ -104,8 +93,7 @@ export declare class API extends ParentAPI {
104
93
  stopServer: (request: Readonly<StopServerRequest>) => Promise<Server>;
105
94
  protected pageOfListServerEvents: (request: Readonly<ListServerEventsRequest>) => Promise<ListServerEventsResponse>;
106
95
  /**
107
- * List server events. List event (i.e. start/stop/reboot) associated to the
108
- * server ID.
96
+ * List server events. List event (i.e. start/stop/reboot) associated to the server ID.
109
97
  *
110
98
  * @param request - The request {@link ListServerEventsRequest}
111
99
  * @returns A Promise of ListServerEventsResponse
@@ -115,66 +103,50 @@ export declare class API extends ParentAPI {
115
103
  [Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").ServerEvent[], void, void>;
116
104
  };
117
105
  /**
118
- * Get default partitioning schema. Get the default partitioning schema for
119
- * the given offer ID and OS ID.
106
+ * Get default partitioning schema. Get the default partitioning schema for the given offer ID and OS ID.
120
107
  *
121
108
  * @param request - The request {@link GetDefaultPartitioningSchemaRequest}
122
109
  * @returns A Promise of Schema
123
110
  */
124
111
  getDefaultPartitioningSchema: (request: Readonly<GetDefaultPartitioningSchemaRequest>) => Promise<Schema>;
125
112
  /**
126
- * Validate client partitioning schema. Validate the incoming partitioning
127
- * schema from a user before installing the server. Return default ErrorCode
128
- * if invalid.
113
+ * Validate client partitioning schema. Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.
129
114
  *
130
115
  * @param request - The request {@link ValidatePartitioningSchemaRequest}
131
116
  */
132
117
  validatePartitioningSchema: (request: Readonly<ValidatePartitioningSchemaRequest>) => Promise<void>;
133
118
  /**
134
- * Start BMC access. Start BMC (Baseboard Management Controller) access
135
- * associated with the ID. The BMC (Baseboard Management Controller) access is
136
- * available one hour after the installation of the server. You need first to
137
- * create an option Remote Access. You will find the ID and the price with a
138
- * call to listOffers
139
- * (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92).
140
- * Then add the option
141
- * https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd.
142
- * After adding the BMC option, you need to Get Remote Access to get the
143
- * login/password
144
- * https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do
145
- * not forget to delete the Option after use.
119
+ * Start BMC access. Start BMC (Baseboard Management Controller) access associated with the ID.
120
+ The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.
121
+ You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd.
122
+ After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use.
146
123
  *
147
124
  * @param request - The request {@link StartBMCAccessRequest}
148
125
  * @returns A Promise of BMCAccess
149
126
  */
150
127
  startBMCAccess: (request: Readonly<StartBMCAccessRequest>) => Promise<BMCAccess>;
151
128
  /**
152
- * Get BMC access. Get the BMC (Baseboard Management Controller) access
153
- * associated with the ID, including the URL and login information needed to
154
- * connect.
129
+ * Get BMC access. Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect.
155
130
  *
156
131
  * @param request - The request {@link GetBMCAccessRequest}
157
132
  * @returns A Promise of BMCAccess
158
133
  */
159
134
  getBMCAccess: (request: Readonly<GetBMCAccessRequest>) => Promise<BMCAccess>;
160
135
  /**
161
- * Stop BMC access. Stop BMC (Baseboard Management Controller) access
162
- * associated with the ID.
136
+ * Stop BMC access. Stop BMC (Baseboard Management Controller) access associated with the ID.
163
137
  *
164
138
  * @param request - The request {@link StopBMCAccessRequest}
165
139
  */
166
140
  stopBMCAccess: (request: Readonly<StopBMCAccessRequest>) => Promise<void>;
167
141
  /**
168
- * Update IP. Configure the IP address associated with the server ID and IP
169
- * ID. You can use this method to set a reverse DNS for an IP address.
142
+ * Update IP. Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address.
170
143
  *
171
144
  * @param request - The request {@link UpdateIPRequest}
172
145
  * @returns A Promise of IP
173
146
  */
174
147
  updateIP: (request: Readonly<UpdateIPRequest>) => Promise<IP>;
175
148
  /**
176
- * Add server option. Add an option, such as Private Networks, to a specific
177
- * server.
149
+ * Add server option. Add an option, such as Private Networks, to a specific server.
178
150
  *
179
151
  * @param request - The request {@link AddOptionServerRequest}
180
152
  * @returns A Promise of Server
@@ -250,8 +222,7 @@ export declare class API extends ParentAPI {
250
222
  updateSetting: (request: Readonly<UpdateSettingRequest>) => Promise<Setting>;
251
223
  protected pageOfListOS: (request?: Readonly<ListOSRequest>) => Promise<ListOSResponse>;
252
224
  /**
253
- * List available OSes. List all OSes that are available for installation on
254
- * Elastic Metal servers.
225
+ * List available OSes. List all OSes that are available for installation on Elastic Metal servers.
255
226
  *
256
227
  * @param request - The request {@link ListOSRequest}
257
228
  * @returns A Promise of ListOSResponse
@@ -268,23 +239,23 @@ export declare class API extends ParentAPI {
268
239
  */
269
240
  getOS: (request: Readonly<GetOSRequest>) => Promise<OS>;
270
241
  }
271
- /** Elastic Metal - Private Network API. */
242
+ /**
243
+ * Elastic Metal - Private Network API.
244
+ */
272
245
  export declare class PrivateNetworkAPI extends ParentAPI {
273
246
  /** Lists the available zones of the API. */
274
247
  static readonly LOCALITIES: ScwZone[];
275
248
  /**
276
249
  * Add a server to a Private Network.
277
250
  *
278
- * @param request - The request
279
- * {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
251
+ * @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
280
252
  * @returns A Promise of ServerPrivateNetwork
281
253
  */
282
254
  addServerPrivateNetwork: (request: Readonly<PrivateNetworkApiAddServerPrivateNetworkRequest>) => Promise<ServerPrivateNetwork>;
283
255
  /**
284
256
  * Set multiple Private Networks on a server.
285
257
  *
286
- * @param request - The request
287
- * {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
258
+ * @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
288
259
  * @returns A Promise of SetServerPrivateNetworksResponse
289
260
  */
290
261
  setServerPrivateNetworks: (request: Readonly<PrivateNetworkApiSetServerPrivateNetworksRequest>) => Promise<SetServerPrivateNetworksResponse>;
@@ -292,8 +263,7 @@ export declare class PrivateNetworkAPI extends ParentAPI {
292
263
  /**
293
264
  * List the Private Networks of a server.
294
265
  *
295
- * @param request - The request
296
- * {@link PrivateNetworkApiListServerPrivateNetworksRequest}
266
+ * @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
297
267
  * @returns A Promise of ListServerPrivateNetworksResponse
298
268
  */
299
269
  listServerPrivateNetworks: (request?: Readonly<PrivateNetworkApiListServerPrivateNetworksRequest>) => Promise<ListServerPrivateNetworksResponse> & {
@@ -303,8 +273,7 @@ export declare class PrivateNetworkAPI extends ParentAPI {
303
273
  /**
304
274
  * Delete a Private Network.
305
275
  *
306
- * @param request - The request
307
- * {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
276
+ * @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
308
277
  */
309
278
  deleteServerPrivateNetwork: (request: Readonly<PrivateNetworkApiDeleteServerPrivateNetworkRequest>) => Promise<void>;
310
279
  }
@@ -41,16 +41,14 @@ class API extends API$1 {
41
41
  unmarshalListServersResponse
42
42
  );
43
43
  /**
44
- * List Elastic Metal servers for an Organization. List Elastic Metal servers
45
- * for a specific Organization.
44
+ * List Elastic Metal servers for an Organization. List Elastic Metal servers for a specific Organization.
46
45
  *
47
46
  * @param request - The request {@link ListServersRequest}
48
47
  * @returns A Promise of ListServersResponse
49
48
  */
50
49
  listServers = (request = {}) => enrichForPagination("servers", this.pageOfListServers, request);
51
50
  /**
52
- * Get a specific Elastic Metal server. Get full details of an existing
53
- * Elastic Metal server associated with the ID.
51
+ * Get a specific Elastic Metal server. Get full details of an existing Elastic Metal server associated with the ID.
54
52
  *
55
53
  * @param request - The request {@link GetServerRequest}
56
54
  * @returns A Promise of Server
@@ -78,8 +76,7 @@ class API extends API$1 {
78
76
  options
79
77
  );
80
78
  /**
81
- * Create an Elastic Metal server. Create a new Elastic Metal server. Once the
82
- * server is created, proceed with the [installation of an OS](#post-3e949e).
79
+ * Create an Elastic Metal server. Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e).
83
80
  *
84
81
  * @param request - The request {@link CreateServerRequest}
85
82
  * @returns A Promise of Server
@@ -96,9 +93,7 @@ class API extends API$1 {
96
93
  unmarshalServer
97
94
  );
98
95
  /**
99
- * Update an Elastic Metal server. Update the server associated with the ID.
100
- * You can update parameters such as the server's name, tags and description.
101
- * Any parameters left null in the request body are not updated.
96
+ * Update an Elastic Metal server. Update the server associated with the ID. You can update parameters such as the server's name, tags and description. Any parameters left null in the request body are not updated.
102
97
  *
103
98
  * @param request - The request {@link UpdateServerRequest}
104
99
  * @returns A Promise of Server
@@ -115,8 +110,7 @@ class API extends API$1 {
115
110
  unmarshalServer
116
111
  );
117
112
  /**
118
- * Install an Elastic Metal server. Install an Operating System (OS) on the
119
- * Elastic Metal server with a specific ID.
113
+ * Install an Elastic Metal server. Install an Operating System (OS) on the Elastic Metal server with a specific ID.
120
114
  *
121
115
  * @param request - The request {@link InstallServerRequest}
122
116
  * @returns A Promise of Server
@@ -133,8 +127,7 @@ class API extends API$1 {
133
127
  unmarshalServer
134
128
  );
135
129
  /**
136
- * Return server metrics. Get the ping status of the server associated with
137
- * the ID.
130
+ * Return server metrics. Get the ping status of the server associated with the ID.
138
131
  *
139
132
  * @param request - The request {@link GetServerMetricsRequest}
140
133
  * @returns A Promise of GetServerMetricsResponse
@@ -160,9 +153,7 @@ class API extends API$1 {
160
153
  unmarshalServer
161
154
  );
162
155
  /**
163
- * Reboot an Elastic Metal server. Reboot the Elastic Metal server associated
164
- * with the ID, use the `boot_type` `rescue` to reboot the server in rescue
165
- * mode.
156
+ * Reboot an Elastic Metal server. Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
166
157
  *
167
158
  * @param request - The request {@link RebootServerRequest}
168
159
  * @returns A Promise of Server
@@ -196,9 +187,7 @@ class API extends API$1 {
196
187
  unmarshalServer
197
188
  );
198
189
  /**
199
- * Stop an Elastic Metal server. Stop the server associated with the ID. The
200
- * server remains allocated to your account and all data remains on the local
201
- * storage of the server.
190
+ * Stop an Elastic Metal server. Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.
202
191
  *
203
192
  * @param request - The request {@link StopServerRequest}
204
193
  * @returns A Promise of Server
@@ -228,16 +217,14 @@ class API extends API$1 {
228
217
  unmarshalListServerEventsResponse
229
218
  );
230
219
  /**
231
- * List server events. List event (i.e. start/stop/reboot) associated to the
232
- * server ID.
220
+ * List server events. List event (i.e. start/stop/reboot) associated to the server ID.
233
221
  *
234
222
  * @param request - The request {@link ListServerEventsRequest}
235
223
  * @returns A Promise of ListServerEventsResponse
236
224
  */
237
225
  listServerEvents = (request) => enrichForPagination("events", this.pageOfListServerEvents, request);
238
226
  /**
239
- * Get default partitioning schema. Get the default partitioning schema for
240
- * the given offer ID and OS ID.
227
+ * Get default partitioning schema. Get the default partitioning schema for the given offer ID and OS ID.
241
228
  *
242
229
  * @param request - The request {@link GetDefaultPartitioningSchemaRequest}
243
230
  * @returns A Promise of Schema
@@ -254,9 +241,7 @@ class API extends API$1 {
254
241
  unmarshalSchema
255
242
  );
256
243
  /**
257
- * Validate client partitioning schema. Validate the incoming partitioning
258
- * schema from a user before installing the server. Return default ErrorCode
259
- * if invalid.
244
+ * Validate client partitioning schema. Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.
260
245
  *
261
246
  * @param request - The request {@link ValidatePartitioningSchemaRequest}
262
247
  */
@@ -269,22 +254,14 @@ class API extends API$1 {
269
254
  path: `/baremetal/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/partitioning-schemas/validate`
270
255
  });
271
256
  /**
272
- * Start BMC access. Start BMC (Baseboard Management Controller) access
273
- * associated with the ID. The BMC (Baseboard Management Controller) access is
274
- * available one hour after the installation of the server. You need first to
275
- * create an option Remote Access. You will find the ID and the price with a
276
- * call to listOffers
277
- * (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92).
278
- * Then add the option
279
- * https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd.
280
- * After adding the BMC option, you need to Get Remote Access to get the
281
- * login/password
282
- * https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do
283
- * not forget to delete the Option after use.
284
- *
285
- * @param request - The request {@link StartBMCAccessRequest}
286
- * @returns A Promise of BMCAccess
287
- */
257
+ * Start BMC access. Start BMC (Baseboard Management Controller) access associated with the ID.
258
+ The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.
259
+ You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd.
260
+ After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use.
261
+ *
262
+ * @param request - The request {@link StartBMCAccessRequest}
263
+ * @returns A Promise of BMCAccess
264
+ */
288
265
  startBMCAccess = (request) => this.client.fetch(
289
266
  {
290
267
  body: JSON.stringify(
@@ -297,9 +274,7 @@ class API extends API$1 {
297
274
  unmarshalBMCAccess
298
275
  );
299
276
  /**
300
- * Get BMC access. Get the BMC (Baseboard Management Controller) access
301
- * associated with the ID, including the URL and login information needed to
302
- * connect.
277
+ * Get BMC access. Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect.
303
278
  *
304
279
  * @param request - The request {@link GetBMCAccessRequest}
305
280
  * @returns A Promise of BMCAccess
@@ -312,8 +287,7 @@ class API extends API$1 {
312
287
  unmarshalBMCAccess
313
288
  );
314
289
  /**
315
- * Stop BMC access. Stop BMC (Baseboard Management Controller) access
316
- * associated with the ID.
290
+ * Stop BMC access. Stop BMC (Baseboard Management Controller) access associated with the ID.
317
291
  *
318
292
  * @param request - The request {@link StopBMCAccessRequest}
319
293
  */
@@ -322,8 +296,7 @@ class API extends API$1 {
322
296
  path: `/baremetal/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam("serverId", request.serverId)}/bmc-access`
323
297
  });
324
298
  /**
325
- * Update IP. Configure the IP address associated with the server ID and IP
326
- * ID. You can use this method to set a reverse DNS for an IP address.
299
+ * Update IP. Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address.
327
300
  *
328
301
  * @param request - The request {@link UpdateIPRequest}
329
302
  * @returns A Promise of IP
@@ -340,8 +313,7 @@ class API extends API$1 {
340
313
  unmarshalIP
341
314
  );
342
315
  /**
343
- * Add server option. Add an option, such as Private Networks, to a specific
344
- * server.
316
+ * Add server option. Add an option, such as Private Networks, to a specific server.
345
317
  *
346
318
  * @param request - The request {@link AddOptionServerRequest}
347
319
  * @returns A Promise of Server
@@ -514,8 +486,7 @@ class API extends API$1 {
514
486
  unmarshalListOSResponse
515
487
  );
516
488
  /**
517
- * List available OSes. List all OSes that are available for installation on
518
- * Elastic Metal servers.
489
+ * List available OSes. List all OSes that are available for installation on Elastic Metal servers.
519
490
  *
520
491
  * @param request - The request {@link ListOSRequest}
521
492
  * @returns A Promise of ListOSResponse
@@ -541,8 +512,7 @@ class PrivateNetworkAPI extends API$1 {
541
512
  /**
542
513
  * Add a server to a Private Network.
543
514
  *
544
- * @param request - The request
545
- * {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
515
+ * @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
546
516
  * @returns A Promise of ServerPrivateNetwork
547
517
  */
548
518
  addServerPrivateNetwork = (request) => this.client.fetch(
@@ -562,8 +532,7 @@ class PrivateNetworkAPI extends API$1 {
562
532
  /**
563
533
  * Set multiple Private Networks on a server.
564
534
  *
565
- * @param request - The request
566
- * {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
535
+ * @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
567
536
  * @returns A Promise of SetServerPrivateNetworksResponse
568
537
  */
569
538
  setServerPrivateNetworks = (request) => this.client.fetch(
@@ -602,8 +571,7 @@ class PrivateNetworkAPI extends API$1 {
602
571
  /**
603
572
  * List the Private Networks of a server.
604
573
  *
605
- * @param request - The request
606
- * {@link PrivateNetworkApiListServerPrivateNetworksRequest}
574
+ * @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
607
575
  * @returns A Promise of ListServerPrivateNetworksResponse
608
576
  */
609
577
  listServerPrivateNetworks = (request = {}) => enrichForPagination(
@@ -614,8 +582,7 @@ class PrivateNetworkAPI extends API$1 {
614
582
  /**
615
583
  * Delete a Private Network.
616
584
  *
617
- * @param request - The request
618
- * {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
585
+ * @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
619
586
  */
620
587
  deleteServerPrivateNetwork = (request) => this.client.fetch({
621
588
  method: "DELETE",