hardwareConstraints

Namespace

hardwareConstraints

Source:

Methods

(static) list() → {Promise.<Object>}

Description:
Source:
Examples

Usage

const hardwareConstraints = await Qarnot.hardwareConstraints.list();
console.log(hardwareConstraints);

Output

{
  "data":[
   {
       "discriminator": "MinimumCoreHardwareConstraint",
       "coreCount": 16
   },
   {
       "discriminator": "MaximumCoreHardwareConstraint",
       "coreCount": 32
   },
   {
       "discriminator": "MinimumRamCoreRatioHardwareConstraint",
       "minimumMemoryGBCoreRatio": 0.4
   },
   {
       "discriminator": "MaximumRamCoreRatioHardwareConstraint",
       "maximumMemoryGBCoreRatio": 0.7
   },
   {
       "discriminator": "SpecificHardwareConstraint",
       "specificationKey": "R7-2700X"
   },
   {
       "discriminator": "MinimumRamHardwareConstraint",
       "minimumMemoryMB": 4000
   },
   {
       "discriminator": "MaximumRamHardwareConstraint",
       "maximumMemoryMB": 32000
   },
   {
       "discriminator": "GpuHardwareConstraint"
   }],
   "offset": 0,
   "limit": 50,
   "total": 8
}
Returns:
Type
Promise.<Object>