DeviceType
get
Param
Type
Default
Description
balena.models.deviceType.get('raspberry-pi').then(function(deviceType) {
console.log(deviceType);
});balena.models.deviceType.get('raspberrypi').then(function(deviceType) {
console.log('resolved alias:', deviceType);
});getAll
Param
Type
Default
Description
getAllSupported
Param
Type
Default
Description
getBySlugOrName
Param
Type
Description
getInstallMethod
Param
Type
Description
getInstructions
Param
Type
Description
getInterpolatedPartials
Param
Type
Description
getName
Param
Type
Description
getSlugByName
Param
Type
Description
Last updated
Was this helpful?