Skip to main content

DeviceConfig

The device config that is applied to the device

type DeviceConfig {
id: String!
device: Device!
config: JSON!
version: Int!
hasBeenAppliedByDeviceAt: DateTime
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

DeviceConfig.id ● String! non-null scalar

The ID of the device config

DeviceConfig.device ● Device! non-null object

The device that the config belongs to

DeviceConfig.config ● JSON! non-null scalar

The configuration file to be applied to the device

DeviceConfig.version ● Int! non-null scalar

The version of the device config

DeviceConfig.hasBeenAppliedByDeviceAt ● DateTime scalar

The date and time when the device config was applied to the device

DeviceConfig.createdAt ● DateTime! non-null scalar

The date and time when the device config was created

DeviceConfig.updatedAt ● DateTime! non-null scalar

The date and time when the device config was last updated

Returned By

applyDeviceConfigTemplateToDevice mutation ● getDeviceConfigsByDeviceId query ● getLastDeviceConfigByDeviceId query

Member Of

Device object ● UpgradeDeviceConfigOutput object ● UpgradeDeviceConfigTemplateOutput object