ProductionQu Query

getControllerPolicyByController

Topics: Devices

Fetch a controller's policy by the controller ID (the natural key). Returns null if no policy is configured (default-deny).

Returns

ControllerPolicyState

Arguments

Controller to look up

Exact field SDL
"""
Fetch a controller's policy by the controller ID (the natural key). Returns null if no policy is configured (default-deny).
"""
getControllerPolicyByController(
  """Controller to look up"""
  controllerId: ControllerID!
): ControllerPolicyState @topic(names: ["devices"])

Declared on Query. Access is checked by the platform for each operation.