@scaleway/sdk-baremetal 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/license.md +3 -0
- package/dist/metadata.gen.d.ts +12 -0
- package/dist/metadata.gen.js +13 -0
- package/dist/v1/api.gen.d.ts +9 -2
- package/dist/v1/api.gen.js +197 -388
- package/dist/v1/content.gen.js +3 -3
- package/dist/v1/index.gen.d.ts +1 -1
- package/dist/v1/index.gen.js +4 -2
- package/dist/v1/marshalling.gen.d.ts +3 -1
- package/dist/v1/marshalling.gen.js +75 -62
- package/dist/v1/metadata.gen.js +1 -1
- package/dist/v1/types.gen.d.ts +22 -0
- package/dist/v1/validation-rules.gen.d.ts +8 -0
- package/dist/v1/validation-rules.gen.js +16 -11
- package/dist/v3/api.gen.js +36 -58
- package/dist/v3/content.gen.js +1 -1
- package/dist/v3/marshalling.gen.js +5 -5
- package/dist/v3/metadata.gen.js +1 -1
- package/package.json +16 -6
- package/LICENSE +0 -191
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is automatically generated
|
|
3
|
+
* PLEASE DO NOT EDIT HERE
|
|
4
|
+
*/
|
|
5
|
+
export declare const pkgMetadata: {
|
|
6
|
+
readonly name: "@scaleway/sdk-baremetal";
|
|
7
|
+
readonly namespace: "baremetal";
|
|
8
|
+
readonly displayName: "Baremetal";
|
|
9
|
+
readonly versions: readonly ["v1", "v3"];
|
|
10
|
+
};
|
|
11
|
+
export type Metadata = typeof pkgMetadata;
|
|
12
|
+
export default pkgMetadata;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/metadata.gen.ts
|
|
2
|
+
/**
|
|
3
|
+
* This file is automatically generated
|
|
4
|
+
* PLEASE DO NOT EDIT HERE
|
|
5
|
+
*/
|
|
6
|
+
const pkgMetadata = {
|
|
7
|
+
name: "@scaleway/sdk-baremetal",
|
|
8
|
+
namespace: "baremetal",
|
|
9
|
+
displayName: "Baremetal",
|
|
10
|
+
versions: ["v1", "v3"]
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pkgMetadata as default, pkgMetadata };
|
package/dist/v1/api.gen.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
|
|
2
2
|
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
3
|
-
import type { AddOptionServerRequest, BMCAccess, CreateServerRequest, DeleteOptionServerRequest, DeleteServerRequest, GetBMCAccessRequest, GetDefaultPartitioningSchemaRequest, GetOfferRequest, GetOptionRequest, GetOSRequest, GetServerMetricsRequest, GetServerMetricsResponse, GetServerRequest, InstallServerRequest, IP, ListOffersRequest, ListOffersResponse, ListOptionsRequest, ListOptionsResponse, ListOSRequest, ListOSResponse, ListServerEventsRequest, ListServerEventsResponse, ListServerPrivateNetworksResponse, ListServersRequest, ListServersResponse, ListSettingsRequest, ListSettingsResponse, MigrateServerToMonthlyOfferRequest, Offer, Option, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, Schema, Server, ServerPrivateNetwork, SetServerPrivateNetworksResponse, Setting, StartBMCAccessRequest, StartServerRequest, StopBMCAccessRequest, StopServerRequest, UpdateIPRequest, UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest } from './types.gen.js';
|
|
3
|
+
import type { AddOptionServerRequest, BatchCreateServersRequest, BatchCreateServersResponse, BMCAccess, CreateServerRequest, DeleteOptionServerRequest, DeleteServerRequest, GetBMCAccessRequest, GetDefaultPartitioningSchemaRequest, GetOfferRequest, GetOptionRequest, GetOSRequest, GetServerMetricsRequest, GetServerMetricsResponse, GetServerRequest, InstallServerRequest, IP, ListOffersRequest, ListOffersResponse, ListOptionsRequest, ListOptionsResponse, ListOSRequest, ListOSResponse, ListServerEventsRequest, ListServerEventsResponse, ListServerPrivateNetworksResponse, ListServersRequest, ListServersResponse, ListSettingsRequest, ListSettingsResponse, MigrateServerToMonthlyOfferRequest, Offer, Option, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, Schema, Server, ServerPrivateNetwork, SetServerPrivateNetworksResponse, Setting, StartBMCAccessRequest, StartServerRequest, StopBMCAccessRequest, StopServerRequest, UpdateIPRequest, UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest } from './types.gen.js';
|
|
4
4
|
/**
|
|
5
5
|
* Elastic Metal API.
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ export declare class API extends ParentAPI {
|
|
|
37
37
|
* @param options - The waiting options
|
|
38
38
|
* @returns A Promise of Server
|
|
39
39
|
*/
|
|
40
|
-
waitForServer: (request: Readonly<GetServerRequest>, options?: Readonly<WaitForOptions<Server>>) => Promise<Server>;
|
|
40
|
+
waitForServer: (request: Readonly<GetServerRequest>, options?: Readonly<WaitForOptions<Server>> | undefined) => Promise<Server>;
|
|
41
41
|
/**
|
|
42
42
|
* 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
43
|
*
|
|
@@ -45,6 +45,13 @@ export declare class API extends ParentAPI {
|
|
|
45
45
|
* @returns A Promise of Server
|
|
46
46
|
*/
|
|
47
47
|
createServer: (request: Readonly<CreateServerRequest>) => Promise<Server>;
|
|
48
|
+
/**
|
|
49
|
+
* Create multiple Elastic Metal servers. Create multiple new Elastic Metal servers. Once the servers are created, proceed with the [installation of an OS](#post-3e949e).
|
|
50
|
+
*
|
|
51
|
+
* @param request - The request {@link BatchCreateServersRequest}
|
|
52
|
+
* @returns A Promise of BatchCreateServersResponse
|
|
53
|
+
*/
|
|
54
|
+
batchCreateServers: (request?: Readonly<BatchCreateServersRequest>) => Promise<BatchCreateServersResponse>;
|
|
48
55
|
/**
|
|
49
56
|
* Update an Elastic Metal server. Update the server associated with the ID. You can update parameters such as the server's name, tags, description and protection flag. Any parameters left null in the request body are not updated.
|
|
50
57
|
*
|