namespace AutopilotMonitor.Shared.Models
{
/// What a device block does once the agent receives it.
public static class DeviceBlockActions
{
/// The session's uploads pause until the block ends; the agent keeps running.
public const string Block = "Block";
///
/// The agent ends monitoring and removes itself; until the block ends, every agent on the
/// device does the same, new enrollments included.
///
public const string Kill = "Kill";
public static readonly string[] All = { Block, Kill };
}
/// Why the platform blocked a session ().
public static class SessionBlockCauses
{
/// The session exceeded the platform's event limit (maintenance auto-action).
public const string EventLimit = "event_limit";
/// The platform operator blocked the device for this session.
public const string Operator = "operator";
public static readonly string[] All = { EventLimit, Operator };
}
}