← All types
Ob Object

ControllerState

An IoT controller that manages devices

Fields

Unique identifier

Associated network ID

handle

String!Non-null

Unique handle for the controller

name

StringNullable

Display name

Controller description

host

StringNullable

Host address

port

IntNullable

Port number

Whether the controller is active

Creation timestamp (ISO8601)

Last update timestamp (ISO8601)

Referenced by (4)
Exact type SDL
"""An IoT controller that manages devices"""
type ControllerState @iac_resource(name: "controller") @iac_ops(create: "createController", read: "getController", update: "updateController", delete: "deleteController") @iac_replace(strategy: DESTROY_BEFORE_CREATE) {
  """Unique identifier"""
  id: ControllerID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Associated network ID"""
  networkId: NetworkID @iac_ref(resource: "network")
  """Unique handle for the controller"""
  handle: String! @iac_forcesReplace
  """Display name"""
  name: String
  """Controller description"""
  description: String
  """Host address"""
  host: String
  """Port number"""
  port: Int
  """Whether the controller is active"""
  isActive: Boolean!
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}