@scaleway/sdk-baremetal 2.13.1 → 2.15.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/LICENSE +191 -0
- package/dist/_virtual/_rolldown/runtime.js +11 -6
- package/dist/index.gen.d.ts +3 -6
- package/dist/index.gen.js +2 -1
- package/dist/metadata.gen.d.ts +7 -5
- package/dist/metadata.gen.js +2 -1
- package/dist/v1/api.gen.d.ts +276 -274
- package/dist/v1/api.gen.js +6 -4
- package/dist/v1/constants.gen.d.ts +3 -1
- package/dist/v1/constants.gen.js +2 -1
- package/dist/v1/content.gen.d.ts +3 -1
- package/dist/v1/content.gen.js +2 -1
- package/dist/v1/index.gen.d.ts +11 -6
- package/dist/v1/index.gen.js +3 -1
- package/dist/v1/marshalling.gen.d.ts +4 -2
- package/dist/v1/marshalling.gen.js +4 -1
- package/dist/v1/metadata.gen.d.ts +172 -170
- package/dist/v1/metadata.gen.js +2 -1
- package/dist/v1/types.gen.d.ts +1286 -1282
- package/dist/v1/validation-rules.gen.d.ts +95 -90
- package/dist/v1/validation-rules.gen.js +3 -1
- package/dist/v3/api.gen.d.ts +41 -40
- package/dist/v3/api.gen.js +3 -1
- package/dist/v3/constants.gen.d.ts +3 -1
- package/dist/v3/constants.gen.js +2 -1
- package/dist/v3/content.gen.d.ts +3 -1
- package/dist/v3/content.gen.js +2 -1
- package/dist/v3/index.gen.d.ts +10 -5
- package/dist/v3/index.gen.js +3 -1
- package/dist/v3/marshalling.gen.d.ts +4 -2
- package/dist/v3/marshalling.gen.js +3 -1
- package/dist/v3/metadata.gen.d.ts +21 -19
- package/dist/v3/metadata.gen.js +2 -1
- package/dist/v3/types.gen.d.ts +118 -116
- package/package.json +5 -7
- package/dist/.vite/license.md +0 -3
- package/dist/v1/types.gen.js +0 -0
- package/dist/v3/types.gen.js +0 -0
package/dist/v1/content.gen.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ServerInstallStatus, ServerPrivateNetworkStatus, ServerStatus } from "./types.gen.js";
|
|
2
|
+
//#region src/v1/content.gen.d.ts
|
|
2
3
|
/** Lists transient statutes of the enum {@link ServerInstallStatus}. */
|
|
3
4
|
export declare const SERVER_INSTALL_TRANSIENT_STATUSES: ServerInstallStatus[];
|
|
4
5
|
/** Lists transient statutes of the enum {@link ServerPrivateNetworkStatus}. */
|
|
5
6
|
export declare const SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: ServerPrivateNetworkStatus[];
|
|
6
7
|
/** Lists transient statutes of the enum {@link ServerStatus}. */
|
|
7
8
|
export declare const SERVER_TRANSIENT_STATUSES: ServerStatus[];
|
|
9
|
+
//#endregion
|
package/dist/v1/content.gen.js
CHANGED
|
@@ -13,5 +13,6 @@ const SERVER_TRANSIENT_STATUSES = [
|
|
|
13
13
|
"resetting",
|
|
14
14
|
"migrating"
|
|
15
15
|
];
|
|
16
|
+
|
|
16
17
|
//#endregion
|
|
17
|
-
export { SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES };
|
|
18
|
+
export { SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES };
|
package/dist/v1/index.gen.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { AddOptionServerRequest, BMCAccess, BatchCreateServersRequest, BatchCreateServersRequestServerConfig, BatchCreateServersResponse, CPU, CertificationOption, CreateServerRequest, CreateServerRequestInstall, DeleteOptionServerRequest, DeleteServerRequest, Disk, GPU, GetBMCAccessRequest, GetDefaultPartitioningSchemaRequest, GetOSRequest, GetOfferRequest, GetOptionRequest, GetServerMetricsRequest, GetServerMetricsResponse, GetServerRequest, IP, IPReverseStatus, IPVersion, InstallServerRequest, LicenseOption, ListOSRequest, ListOSResponse, ListOffersRequest, ListOffersResponse, ListOptionsRequest, ListOptionsResponse, ListServerEventsRequest, ListServerEventsRequestOrderBy, ListServerEventsResponse, ListServerPrivateNetworksRequestOrderBy, ListServerPrivateNetworksResponse, ListServersRequest, ListServersRequestOrderBy, ListServersResponse, ListSettingsRequest, ListSettingsRequestOrderBy, ListSettingsResponse, Memory, MemoryEccType, MigrateServerToMonthlyOfferRequest, OS, OSOSField, Offer, OfferOptionOffer, OfferStock, OfferSubscriptionPeriod, Option, PersistentMemory, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, PrivateNetworkOption, PublicBandwidthOption, RaidController, RebootServerRequest, RemoteAccessOption, Schema, SchemaDisk, SchemaFilesystem, SchemaFilesystemFormat, SchemaPartition, SchemaPartitionLabel, SchemaPool, SchemaPoolType, SchemaRAID, SchemaRAIDLevel, SchemaZFS, Server, ServerBootType, ServerEvent, ServerInstall, ServerInstallStatus, ServerOption, ServerOptionOptionStatus, ServerPingStatus, ServerPrivateNetwork, ServerPrivateNetworkStatus, ServerRescueServer, ServerStatus, SetServerPrivateNetworksResponse, Setting, SettingType, StartBMCAccessRequest, StartServerRequest, StopBMCAccessRequest, StopServerRequest, UpdateIPRequest, UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest } from "./types.gen.js";
|
|
2
|
+
import { API, PrivateNetworkAPI } from "./api.gen.js";
|
|
3
|
+
import { SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
4
|
+
import { IP_REVERSE_STATUSES, IP_VERSIONS, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, MEMORY_ECC_TYPES, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_STATUSES, SETTING_TYPES } from "./constants.gen.js";
|
|
5
|
+
import { marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting } from "./marshalling.gen.js";
|
|
6
|
+
import { validation_rules_gen_d_exports } from "./validation-rules.gen.js";
|
|
7
|
+
declare namespace index_gen_d_exports {
|
|
8
|
+
export { API, AddOptionServerRequest, BMCAccess, BatchCreateServersRequest, BatchCreateServersRequestServerConfig, BatchCreateServersResponse, CPU, CertificationOption, CreateServerRequest, CreateServerRequestInstall, DeleteOptionServerRequest, DeleteServerRequest, Disk, GPU, GetBMCAccessRequest, GetDefaultPartitioningSchemaRequest, GetOSRequest, GetOfferRequest, GetOptionRequest, GetServerMetricsRequest, GetServerMetricsResponse, GetServerRequest, IP, IPReverseStatus, IPVersion, IP_REVERSE_STATUSES, IP_VERSIONS, InstallServerRequest, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, LicenseOption, ListOSRequest, ListOSResponse, ListOffersRequest, ListOffersResponse, ListOptionsRequest, ListOptionsResponse, ListServerEventsRequest, ListServerEventsRequestOrderBy, ListServerEventsResponse, ListServerPrivateNetworksRequestOrderBy, ListServerPrivateNetworksResponse, ListServersRequest, ListServersRequestOrderBy, ListServersResponse, ListSettingsRequest, ListSettingsRequestOrderBy, ListSettingsResponse, MEMORY_ECC_TYPES, Memory, MemoryEccType, MigrateServerToMonthlyOfferRequest, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, OS, OSOSField, Offer, OfferOptionOffer, OfferStock, OfferSubscriptionPeriod, Option, PersistentMemory, PrivateNetworkAPI, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, PrivateNetworkOption, PublicBandwidthOption, RaidController, RebootServerRequest, RemoteAccessOption, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_STATUSES, SERVER_TRANSIENT_STATUSES, SETTING_TYPES, Schema, SchemaDisk, SchemaFilesystem, SchemaFilesystemFormat, SchemaPartition, SchemaPartitionLabel, SchemaPool, SchemaPoolType, SchemaRAID, SchemaRAIDLevel, SchemaZFS, Server, ServerBootType, ServerEvent, ServerInstall, ServerInstallStatus, ServerOption, ServerOptionOptionStatus, ServerPingStatus, ServerPrivateNetwork, ServerPrivateNetworkStatus, ServerRescueServer, ServerStatus, SetServerPrivateNetworksResponse, Setting, SettingType, StartBMCAccessRequest, StartServerRequest, StopBMCAccessRequest, StopServerRequest, UpdateIPRequest, UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest, validation_rules_gen_d_exports as ValidationRules, marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { API, type AddOptionServerRequest, type BMCAccess, type BatchCreateServersRequest, type BatchCreateServersRequestServerConfig, type BatchCreateServersResponse, type CPU, type CertificationOption, type CreateServerRequest, type CreateServerRequestInstall, type DeleteOptionServerRequest, type DeleteServerRequest, type Disk, type GPU, type GetBMCAccessRequest, type GetDefaultPartitioningSchemaRequest, type GetOSRequest, type GetOfferRequest, type GetOptionRequest, type GetServerMetricsRequest, type GetServerMetricsResponse, type GetServerRequest, type IP, type IPReverseStatus, type IPVersion, IP_REVERSE_STATUSES, IP_VERSIONS, type InstallServerRequest, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, type LicenseOption, type ListOSRequest, type ListOSResponse, type ListOffersRequest, type ListOffersResponse, type ListOptionsRequest, type ListOptionsResponse, type ListServerEventsRequest, type ListServerEventsRequestOrderBy, type ListServerEventsResponse, type ListServerPrivateNetworksRequestOrderBy, type ListServerPrivateNetworksResponse, type ListServersRequest, type ListServersRequestOrderBy, type ListServersResponse, type ListSettingsRequest, type ListSettingsRequestOrderBy, type ListSettingsResponse, MEMORY_ECC_TYPES, type Memory, type MemoryEccType, type MigrateServerToMonthlyOfferRequest, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, type OS, type OSOSField, type Offer, type OfferOptionOffer, type OfferStock, type OfferSubscriptionPeriod, type Option, type PersistentMemory, PrivateNetworkAPI, type PrivateNetworkApiAddServerPrivateNetworkRequest, type PrivateNetworkApiDeleteServerPrivateNetworkRequest, type PrivateNetworkApiListServerPrivateNetworksRequest, type PrivateNetworkApiSetServerPrivateNetworksRequest, type PrivateNetworkOption, type PublicBandwidthOption, type RaidController, type RebootServerRequest, type RemoteAccessOption, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_STATUSES, SERVER_TRANSIENT_STATUSES, SETTING_TYPES, type Schema, type SchemaDisk, type SchemaFilesystem, type SchemaFilesystemFormat, type SchemaPartition, type SchemaPartitionLabel, type SchemaPool, type SchemaPoolType, type SchemaRAID, type SchemaRAIDLevel, type SchemaZFS, type Server, type ServerBootType, type ServerEvent, type ServerInstall, type ServerInstallStatus, type ServerOption, type ServerOptionOptionStatus, type ServerPingStatus, type ServerPrivateNetwork, type ServerPrivateNetworkStatus, type ServerRescueServer, type ServerStatus, type SetServerPrivateNetworksResponse, type Setting, type SettingType, type StartBMCAccessRequest, type StartServerRequest, type StopBMCAccessRequest, type StopServerRequest, type UpdateIPRequest, type UpdateServerRequest, type UpdateSettingRequest, type ValidatePartitioningSchemaRequest, validation_rules_gen_d_exports as ValidationRules, index_gen_d_exports, marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -4,6 +4,7 @@ import { marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marsha
|
|
|
4
4
|
import { API, PrivateNetworkAPI } from "./api.gen.js";
|
|
5
5
|
import { IP_REVERSE_STATUSES, IP_VERSIONS, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, MEMORY_ECC_TYPES, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_STATUSES, SETTING_TYPES } from "./constants.gen.js";
|
|
6
6
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
7
|
+
|
|
7
8
|
//#region src/v1/index.gen.ts
|
|
8
9
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
9
10
|
API: () => API,
|
|
@@ -66,5 +67,6 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
66
67
|
unmarshalSetServerPrivateNetworksResponse: () => unmarshalSetServerPrivateNetworksResponse,
|
|
67
68
|
unmarshalSetting: () => unmarshalSetting
|
|
68
69
|
});
|
|
70
|
+
|
|
69
71
|
//#endregion
|
|
70
|
-
export { API, IP_REVERSE_STATUSES, IP_VERSIONS, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, MEMORY_ECC_TYPES, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, PrivateNetworkAPI, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_STATUSES, SERVER_TRANSIENT_STATUSES, SETTING_TYPES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
|
72
|
+
export { API, IP_REVERSE_STATUSES, IP_VERSIONS, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, MEMORY_ECC_TYPES, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, PrivateNetworkAPI, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_STATUSES, SERVER_TRANSIENT_STATUSES, SETTING_TYPES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { AddOptionServerRequest, BMCAccess, BatchCreateServersRequest, BatchCreateServersResponse, CreateServerRequest, GetServerMetricsResponse, IP, InstallServerRequest, ListOSResponse, ListOffersResponse, ListOptionsResponse, ListServerEventsResponse, ListServerPrivateNetworksResponse, ListServersResponse, ListSettingsResponse, OS, Offer, Option, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, Schema, Server, ServerPrivateNetwork, SetServerPrivateNetworksResponse, Setting, StartBMCAccessRequest, StartServerRequest, UpdateIPRequest, UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest } from "./types.gen.js";
|
|
2
|
+
import { DefaultValues } from "@scaleway/sdk-client";
|
|
3
|
+
//#region src/v1/marshalling.gen.d.ts
|
|
3
4
|
export declare const unmarshalSchema: (data: unknown) => Schema;
|
|
4
5
|
export declare const unmarshalIP: (data: unknown) => IP;
|
|
5
6
|
export declare const unmarshalServer: (data: unknown) => Server;
|
|
@@ -33,3 +34,4 @@ export declare const marshalUpdateIPRequest: (request: UpdateIPRequest, defaults
|
|
|
33
34
|
export declare const marshalUpdateServerRequest: (request: UpdateServerRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
34
35
|
export declare const marshalUpdateSettingRequest: (request: UpdateSettingRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
35
36
|
export declare const marshalValidatePartitioningSchemaRequest: (request: ValidatePartitioningSchemaRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
37
|
+
//#endregion
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isJSONObject, marshalBlobToScwFile, resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalMoney, unmarshalTimeSeries } from "@scaleway/sdk-client";
|
|
2
|
+
|
|
2
3
|
//#region src/v1/marshalling.gen.ts
|
|
3
4
|
const unmarshalSchemaPartition = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SchemaPartition' failed as data isn't a dictionary.`);
|
|
@@ -249,6 +250,7 @@ const unmarshalOffer = (data) => {
|
|
|
249
250
|
commercialRange: data.commercial_range,
|
|
250
251
|
cpus: unmarshalArrayOfObject(data.cpus, unmarshalCPU),
|
|
251
252
|
disks: unmarshalArrayOfObject(data.disks, unmarshalDisk),
|
|
253
|
+
dualAttach: data.dual_attach,
|
|
252
254
|
enable: data.enable,
|
|
253
255
|
fee: data.fee ? unmarshalMoney(data.fee) : void 0,
|
|
254
256
|
gpus: unmarshalArrayOfObject(data.gpus, unmarshalGPU),
|
|
@@ -496,5 +498,6 @@ const marshalValidatePartitioningSchemaRequest = (request, defaults) => ({
|
|
|
496
498
|
os_id: request.osId,
|
|
497
499
|
partitioning_schema: request.partitioningSchema !== void 0 ? marshalSchema(request.partitioningSchema, defaults) : void 0
|
|
498
500
|
});
|
|
501
|
+
|
|
499
502
|
//#endregion
|
|
500
|
-
export { marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
|
503
|
+
export { marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
|
@@ -1,175 +1,177 @@
|
|
|
1
|
+
//#region src/v1/metadata.gen.d.ts
|
|
1
2
|
export declare const queriesMetadata: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}, {
|
|
21
|
-
readonly methodName: 'getServer';
|
|
22
|
-
readonly protoName: 'GetServer';
|
|
23
|
-
readonly paramsType: 'GetServerRequest';
|
|
24
|
-
readonly returnType: 'Server';
|
|
25
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
26
|
-
readonly isList: false;
|
|
27
|
-
readonly paginationType: 'none';
|
|
28
|
-
readonly isPrivate: false;
|
|
29
|
-
readonly description: '"';
|
|
30
|
-
readonly hasWaiter: true;
|
|
31
|
-
}, {
|
|
32
|
-
readonly methodName: 'getServerMetrics';
|
|
33
|
-
readonly protoName: 'GetServerMetrics';
|
|
34
|
-
readonly paramsType: 'GetServerMetricsRequest';
|
|
35
|
-
readonly returnType: 'GetServerMetricsResponse';
|
|
36
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
37
|
-
readonly isList: false;
|
|
38
|
-
readonly paginationType: 'none';
|
|
39
|
-
readonly isPrivate: false;
|
|
40
|
-
readonly description: '"';
|
|
41
|
-
}, {
|
|
42
|
-
readonly methodName: 'listServerEvents';
|
|
43
|
-
readonly protoName: 'ListServerEvents';
|
|
44
|
-
readonly paramsType: 'ListServerEventsRequest';
|
|
45
|
-
readonly returnType: 'ListServerEventsResponse';
|
|
46
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
47
|
-
readonly isList: true;
|
|
48
|
-
readonly paginationType: 'offset';
|
|
49
|
-
readonly pageParamKey: 'page';
|
|
50
|
-
readonly listItemType: 'ServerEvent';
|
|
51
|
-
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
52
|
-
readonly isPrivate: false;
|
|
53
|
-
readonly description: '"';
|
|
54
|
-
}, {
|
|
55
|
-
readonly methodName: 'getDefaultPartitioningSchema';
|
|
56
|
-
readonly protoName: 'GetDefaultPartitioningSchema';
|
|
57
|
-
readonly paramsType: 'GetDefaultPartitioningSchemaRequest';
|
|
58
|
-
readonly returnType: 'Schema';
|
|
59
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
60
|
-
readonly isList: false;
|
|
61
|
-
readonly paginationType: 'none';
|
|
62
|
-
readonly isPrivate: false;
|
|
63
|
-
readonly description: '"';
|
|
64
|
-
}, {
|
|
65
|
-
readonly methodName: 'getBMCAccess';
|
|
66
|
-
readonly protoName: 'GetBMCAccess';
|
|
67
|
-
readonly paramsType: 'GetBMCAccessRequest';
|
|
68
|
-
readonly returnType: 'BMCAccess';
|
|
69
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
70
|
-
readonly isList: false;
|
|
71
|
-
readonly paginationType: 'none';
|
|
72
|
-
readonly isPrivate: false;
|
|
73
|
-
readonly description: '"';
|
|
74
|
-
}, {
|
|
75
|
-
readonly methodName: 'listOffers';
|
|
76
|
-
readonly protoName: 'ListOffers';
|
|
77
|
-
readonly paramsType: 'ListOffersRequest';
|
|
78
|
-
readonly returnType: 'ListOffersResponse';
|
|
79
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
80
|
-
readonly isList: true;
|
|
81
|
-
readonly paginationType: 'offset';
|
|
82
|
-
readonly pageParamKey: 'page';
|
|
83
|
-
readonly listItemType: 'Offer';
|
|
84
|
-
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
85
|
-
readonly isPrivate: false;
|
|
86
|
-
readonly description: '"';
|
|
87
|
-
}, {
|
|
88
|
-
readonly methodName: 'getOffer';
|
|
89
|
-
readonly protoName: 'GetOffer';
|
|
90
|
-
readonly paramsType: 'GetOfferRequest';
|
|
91
|
-
readonly returnType: 'Offer';
|
|
92
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
93
|
-
readonly isList: false;
|
|
94
|
-
readonly paginationType: 'none';
|
|
95
|
-
readonly isPrivate: false;
|
|
96
|
-
readonly description: '"';
|
|
97
|
-
}, {
|
|
98
|
-
readonly methodName: 'getOption';
|
|
99
|
-
readonly protoName: 'GetOption';
|
|
100
|
-
readonly paramsType: 'GetOptionRequest';
|
|
101
|
-
readonly returnType: 'Option';
|
|
102
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
103
|
-
readonly isList: false;
|
|
104
|
-
readonly paginationType: 'none';
|
|
105
|
-
readonly isPrivate: false;
|
|
106
|
-
readonly description: '"';
|
|
107
|
-
}, {
|
|
108
|
-
readonly methodName: 'listOptions';
|
|
109
|
-
readonly protoName: 'ListOptions';
|
|
110
|
-
readonly paramsType: 'ListOptionsRequest';
|
|
111
|
-
readonly returnType: 'ListOptionsResponse';
|
|
112
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
113
|
-
readonly isList: true;
|
|
114
|
-
readonly paginationType: 'offset';
|
|
115
|
-
readonly pageParamKey: 'page';
|
|
116
|
-
readonly listItemType: 'Option';
|
|
117
|
-
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
118
|
-
readonly isPrivate: false;
|
|
119
|
-
readonly description: '"';
|
|
120
|
-
}, {
|
|
121
|
-
readonly methodName: 'listSettings';
|
|
122
|
-
readonly protoName: 'ListSettings';
|
|
123
|
-
readonly paramsType: 'ListSettingsRequest';
|
|
124
|
-
readonly returnType: 'ListSettingsResponse';
|
|
125
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
126
|
-
readonly isList: true;
|
|
127
|
-
readonly paginationType: 'offset';
|
|
128
|
-
readonly pageParamKey: 'page';
|
|
129
|
-
readonly listItemType: 'Setting';
|
|
130
|
-
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
131
|
-
readonly isPrivate: false;
|
|
132
|
-
readonly description: '"';
|
|
133
|
-
}, {
|
|
134
|
-
readonly methodName: 'listOS';
|
|
135
|
-
readonly protoName: 'ListOS';
|
|
136
|
-
readonly paramsType: 'ListOSRequest';
|
|
137
|
-
readonly returnType: 'ListOSResponse';
|
|
138
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
139
|
-
readonly isList: true;
|
|
140
|
-
readonly paginationType: 'offset';
|
|
141
|
-
readonly pageParamKey: 'page';
|
|
142
|
-
readonly listItemType: 'OS';
|
|
143
|
-
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
144
|
-
readonly isPrivate: false;
|
|
145
|
-
readonly description: '"';
|
|
146
|
-
}, {
|
|
147
|
-
readonly methodName: 'getOS';
|
|
148
|
-
readonly protoName: 'GetOS';
|
|
149
|
-
readonly paramsType: 'GetOSRequest';
|
|
150
|
-
readonly returnType: 'OS';
|
|
151
|
-
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
152
|
-
readonly isList: false;
|
|
153
|
-
readonly paginationType: 'none';
|
|
154
|
-
readonly isPrivate: false;
|
|
155
|
-
readonly description: '"';
|
|
156
|
-
}];
|
|
3
|
+
readonly namespace: 'baremetal';
|
|
4
|
+
readonly version: 'v1';
|
|
5
|
+
readonly folderName: 'baremetalv1';
|
|
6
|
+
readonly services: readonly [{
|
|
7
|
+
readonly apiClass: 'API';
|
|
8
|
+
readonly methods: readonly [{
|
|
9
|
+
readonly methodName: 'listServers';
|
|
10
|
+
readonly protoName: 'ListServers';
|
|
11
|
+
readonly paramsType: 'ListServersRequest';
|
|
12
|
+
readonly returnType: 'ListServersResponse';
|
|
13
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
14
|
+
readonly isList: true;
|
|
15
|
+
readonly paginationType: 'offset';
|
|
16
|
+
readonly pageParamKey: 'page';
|
|
17
|
+
readonly listItemType: 'Server';
|
|
18
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
19
|
+
readonly isPrivate: false;
|
|
20
|
+
readonly description: '"';
|
|
157
21
|
}, {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
22
|
+
readonly methodName: 'getServer';
|
|
23
|
+
readonly protoName: 'GetServer';
|
|
24
|
+
readonly paramsType: 'GetServerRequest';
|
|
25
|
+
readonly returnType: 'Server';
|
|
26
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
27
|
+
readonly isList: false;
|
|
28
|
+
readonly paginationType: 'none';
|
|
29
|
+
readonly isPrivate: false;
|
|
30
|
+
readonly description: '"';
|
|
31
|
+
readonly hasWaiter: true;
|
|
32
|
+
}, {
|
|
33
|
+
readonly methodName: 'getServerMetrics';
|
|
34
|
+
readonly protoName: 'GetServerMetrics';
|
|
35
|
+
readonly paramsType: 'GetServerMetricsRequest';
|
|
36
|
+
readonly returnType: 'GetServerMetricsResponse';
|
|
37
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
38
|
+
readonly isList: false;
|
|
39
|
+
readonly paginationType: 'none';
|
|
40
|
+
readonly isPrivate: false;
|
|
41
|
+
readonly description: '"';
|
|
42
|
+
}, {
|
|
43
|
+
readonly methodName: 'listServerEvents';
|
|
44
|
+
readonly protoName: 'ListServerEvents';
|
|
45
|
+
readonly paramsType: 'ListServerEventsRequest';
|
|
46
|
+
readonly returnType: 'ListServerEventsResponse';
|
|
47
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
48
|
+
readonly isList: true;
|
|
49
|
+
readonly paginationType: 'offset';
|
|
50
|
+
readonly pageParamKey: 'page';
|
|
51
|
+
readonly listItemType: 'ServerEvent';
|
|
52
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
53
|
+
readonly isPrivate: false;
|
|
54
|
+
readonly description: '"';
|
|
55
|
+
}, {
|
|
56
|
+
readonly methodName: 'getDefaultPartitioningSchema';
|
|
57
|
+
readonly protoName: 'GetDefaultPartitioningSchema';
|
|
58
|
+
readonly paramsType: 'GetDefaultPartitioningSchemaRequest';
|
|
59
|
+
readonly returnType: 'Schema';
|
|
60
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
61
|
+
readonly isList: false;
|
|
62
|
+
readonly paginationType: 'none';
|
|
63
|
+
readonly isPrivate: false;
|
|
64
|
+
readonly description: '"';
|
|
65
|
+
}, {
|
|
66
|
+
readonly methodName: 'getBMCAccess';
|
|
67
|
+
readonly protoName: 'GetBMCAccess';
|
|
68
|
+
readonly paramsType: 'GetBMCAccessRequest';
|
|
69
|
+
readonly returnType: 'BMCAccess';
|
|
70
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
71
|
+
readonly isList: false;
|
|
72
|
+
readonly paginationType: 'none';
|
|
73
|
+
readonly isPrivate: false;
|
|
74
|
+
readonly description: '"';
|
|
75
|
+
}, {
|
|
76
|
+
readonly methodName: 'listOffers';
|
|
77
|
+
readonly protoName: 'ListOffers';
|
|
78
|
+
readonly paramsType: 'ListOffersRequest';
|
|
79
|
+
readonly returnType: 'ListOffersResponse';
|
|
80
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
81
|
+
readonly isList: true;
|
|
82
|
+
readonly paginationType: 'offset';
|
|
83
|
+
readonly pageParamKey: 'page';
|
|
84
|
+
readonly listItemType: 'Offer';
|
|
85
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
86
|
+
readonly isPrivate: false;
|
|
87
|
+
readonly description: '"';
|
|
88
|
+
}, {
|
|
89
|
+
readonly methodName: 'getOffer';
|
|
90
|
+
readonly protoName: 'GetOffer';
|
|
91
|
+
readonly paramsType: 'GetOfferRequest';
|
|
92
|
+
readonly returnType: 'Offer';
|
|
93
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
94
|
+
readonly isList: false;
|
|
95
|
+
readonly paginationType: 'none';
|
|
96
|
+
readonly isPrivate: false;
|
|
97
|
+
readonly description: '"';
|
|
98
|
+
}, {
|
|
99
|
+
readonly methodName: 'getOption';
|
|
100
|
+
readonly protoName: 'GetOption';
|
|
101
|
+
readonly paramsType: 'GetOptionRequest';
|
|
102
|
+
readonly returnType: 'Option';
|
|
103
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
104
|
+
readonly isList: false;
|
|
105
|
+
readonly paginationType: 'none';
|
|
106
|
+
readonly isPrivate: false;
|
|
107
|
+
readonly description: '"';
|
|
108
|
+
}, {
|
|
109
|
+
readonly methodName: 'listOptions';
|
|
110
|
+
readonly protoName: 'ListOptions';
|
|
111
|
+
readonly paramsType: 'ListOptionsRequest';
|
|
112
|
+
readonly returnType: 'ListOptionsResponse';
|
|
113
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
114
|
+
readonly isList: true;
|
|
115
|
+
readonly paginationType: 'offset';
|
|
116
|
+
readonly pageParamKey: 'page';
|
|
117
|
+
readonly listItemType: 'Option';
|
|
118
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
119
|
+
readonly isPrivate: false;
|
|
120
|
+
readonly description: '"';
|
|
121
|
+
}, {
|
|
122
|
+
readonly methodName: 'listSettings';
|
|
123
|
+
readonly protoName: 'ListSettings';
|
|
124
|
+
readonly paramsType: 'ListSettingsRequest';
|
|
125
|
+
readonly returnType: 'ListSettingsResponse';
|
|
126
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
127
|
+
readonly isList: true;
|
|
128
|
+
readonly paginationType: 'offset';
|
|
129
|
+
readonly pageParamKey: 'page';
|
|
130
|
+
readonly listItemType: 'Setting';
|
|
131
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
132
|
+
readonly isPrivate: false;
|
|
133
|
+
readonly description: '"';
|
|
134
|
+
}, {
|
|
135
|
+
readonly methodName: 'listOS';
|
|
136
|
+
readonly protoName: 'ListOS';
|
|
137
|
+
readonly paramsType: 'ListOSRequest';
|
|
138
|
+
readonly returnType: 'ListOSResponse';
|
|
139
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
140
|
+
readonly isList: true;
|
|
141
|
+
readonly paginationType: 'offset';
|
|
142
|
+
readonly pageParamKey: 'page';
|
|
143
|
+
readonly listItemType: 'OS';
|
|
144
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
145
|
+
readonly isPrivate: false;
|
|
146
|
+
readonly description: '"';
|
|
147
|
+
}, {
|
|
148
|
+
readonly methodName: 'getOS';
|
|
149
|
+
readonly protoName: 'GetOS';
|
|
150
|
+
readonly paramsType: 'GetOSRequest';
|
|
151
|
+
readonly returnType: 'OS';
|
|
152
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
153
|
+
readonly isList: false;
|
|
154
|
+
readonly paginationType: 'none';
|
|
155
|
+
readonly isPrivate: false;
|
|
156
|
+
readonly description: '"';
|
|
157
|
+
}];
|
|
158
|
+
}, {
|
|
159
|
+
readonly apiClass: 'PrivateNetworkAPI';
|
|
160
|
+
readonly methods: readonly [{
|
|
161
|
+
readonly methodName: 'listServerPrivateNetworks';
|
|
162
|
+
readonly protoName: 'ListServerPrivateNetworks';
|
|
163
|
+
readonly paramsType: 'PrivateNetworkApiListServerPrivateNetworksRequest';
|
|
164
|
+
readonly returnType: 'ListServerPrivateNetworksResponse';
|
|
165
|
+
readonly returnTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
166
|
+
readonly isList: true;
|
|
167
|
+
readonly paginationType: 'offset';
|
|
168
|
+
readonly pageParamKey: 'page';
|
|
169
|
+
readonly listItemType: 'ServerPrivateNetwork';
|
|
170
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-baremetal/v1';
|
|
171
|
+
readonly isPrivate: false;
|
|
172
|
+
readonly description: '"';
|
|
173
173
|
}];
|
|
174
|
+
}];
|
|
174
175
|
};
|
|
175
176
|
export type QueriesMetadata = typeof queriesMetadata;
|
|
177
|
+
//#endregion
|