Skip to main content

DeviceConfig

device-config

type DeviceConfig implements Node {
id: ID!
name: String!
version: Int!
config: GQLTJson!
createdAt: GQLTDate!
updatedAt: GQLTDate!
devices(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceOrderBy] = []
where: GQLTQueryDeviceWhere
include: [GQLTDeviceIncludeObject] = []
): DeviceBelongsToManyDevicesList
deviceTypes(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceTypeOrderBy] = []
where: GQLTQueryDeviceTypeWhere
include: [GQLTDeviceTypeIncludeObject] = []
): DeviceTypeHasManyDeviceTypesList
deviceTemplates(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceTemplateOrderBy] = []
where: GQLTQueryDeviceTemplateWhere
include: [GQLTDeviceTemplateIncludeObject] = []
): DeviceTemplateHasManyDeviceTemplatesList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

defines the name of the device configuration

version (Int!)#

number that determines what version the device configuration based from how many deployments are already made

config (GQLTJson!)#

is a set of instructions to be executed by a network device

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

devices (DeviceBelongsToManyDevicesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

deviceTypes (DeviceTypeHasManyDeviceTypesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

deviceTemplates (DeviceTemplateHasManyDeviceTemplatesList)#

Shows the default template configuration that the devices used

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

Interfaces#

Node#

An object with an ID