@scaleway/sdk-instance 2.2.0 → 2.3.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.
|
@@ -556,7 +556,8 @@ const unmarshalDashboard = (data) => {
|
|
|
556
556
|
volumesBSsdTotalSize: data.volumes_b_ssd_total_size,
|
|
557
557
|
volumesCount: data.volumes_count,
|
|
558
558
|
volumesLSsdCount: data.volumes_l_ssd_count,
|
|
559
|
-
volumesLSsdTotalSize: data.volumes_l_ssd_total_size
|
|
559
|
+
volumesLSsdTotalSize: data.volumes_l_ssd_total_size,
|
|
560
|
+
volumesScratchCount: data.volumes_scratch_count
|
|
560
561
|
};
|
|
561
562
|
};
|
|
562
563
|
const unmarshalGetDashboardResponse = (data) => {
|
|
@@ -904,6 +905,7 @@ const unmarshalServerType = (data) => {
|
|
|
904
905
|
perVolumeConstraint: data.per_volume_constraint ? unmarshalServerTypeVolumeConstraintsByType(data.per_volume_constraint) : void 0,
|
|
905
906
|
ram: data.ram,
|
|
906
907
|
scratchStorageMaxSize: data.scratch_storage_max_size,
|
|
908
|
+
scratchStorageMaxVolumesCount: data.scratch_storage_max_volumes_count,
|
|
907
909
|
volumesConstraint: data.volumes_constraint ? unmarshalServerTypeVolumeConstraintSizes(data.volumes_constraint) : void 0
|
|
908
910
|
};
|
|
909
911
|
};
|
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -810,6 +810,7 @@ export interface Dashboard {
|
|
|
810
810
|
volumesBSsdTotalSize?: number;
|
|
811
811
|
privateNicsCount: number;
|
|
812
812
|
placementGroupsCount: number;
|
|
813
|
+
volumesScratchCount: number;
|
|
813
814
|
}
|
|
814
815
|
export interface PlacementGroupServer {
|
|
815
816
|
/**
|
|
@@ -881,6 +882,10 @@ export interface ServerType {
|
|
|
881
882
|
* Maximum available scratch storage.
|
|
882
883
|
*/
|
|
883
884
|
scratchStorageMaxSize?: number;
|
|
885
|
+
/**
|
|
886
|
+
* Maximum supported number of scratch volumes.
|
|
887
|
+
*/
|
|
888
|
+
scratchStorageMaxVolumesCount: number;
|
|
884
889
|
/**
|
|
885
890
|
* The maximum bandwidth allocated to block storage access (in bytes per second).
|
|
886
891
|
*/
|