Header menu logo Nao

PolicyContext Type

Context passed to policy evaluation

Record fields

Record Field Description

Action

Full Usage: Action

Field type: string
Field type: string

AgentId

Full Usage: AgentId

Field type: AgentId
Field type: AgentId

CurrentUsage

Full Usage: CurrentUsage

Field type: ResourceUsage option
Field type: ResourceUsage option

ExecutionId

Full Usage: ExecutionId

Field type: Guid option
Field type: Guid option

Input

Full Usage: Input

Field type: string option
Field type: string option

Static members

Static member Description

PolicyContext.FromExecutionContext(agentId) (action) (input) (ctx)

Full Usage: PolicyContext.FromExecutionContext(agentId) (action) (input) (ctx)

Parameters:
Returns: PolicyContext

Create a PolicyContext from an ExecutionContext (canonical factory)

agentId : AgentId
action : string
input : string option
ctx : ExecutionContext
Returns: PolicyContext

Type something to start searching.