Module Values_0.DetectMitigationActionExecutionSource

Describes which mitigation actions should be executed.

Sourcetype nonrec t = {
  1. taskId : MitigationActionsTaskId.t option;
    (*

    The unique identifier of the task.

    *)
  2. violationId : ViolationId.t option;
    (*

    The unique identifier of the violation.

    *)
  3. actionName : MitigationActionName.t option;
    (*

    The friendly name that uniquely identifies the mitigation action.

    *)
  4. thingName : DeviceDefenderThingName.t option;
    (*

    The name of the thing.

    *)
  5. executionStartDate : Timestamp.t option;
    (*

    The date a mitigation action was started.

    *)
  6. executionEndDate : Timestamp.t option;
    (*

    The date a mitigation action ended.

    *)
  7. status : DetectMitigationActionExecutionStatus.t option;
    (*

    The status of a mitigation action.

    *)
  8. errorCode : DetectMitigationActionExecutionErrorCode.t option;
    (*

    The error code of a mitigation action.

    *)
  9. message : ErrorMessage.t option;
    (*

    The message of a mitigation action.

    *)
}
Sourceval make : ?taskId:MitigationActionsTaskId.t -> ?violationId:ViolationId.t -> ?actionName:MitigationActionName.t -> ?thingName:DeviceDefenderThingName.t -> ?executionStartDate:Timestamp.t -> ?executionEndDate:Timestamp.t -> ?status:DetectMitigationActionExecutionStatus.t -> ?errorCode:DetectMitigationActionExecutionErrorCode.t -> ?message:ErrorMessage.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of MitigationActionsTaskId.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t