Module Values_1.DescribeAuditTaskResponseSource

Gets information about a Device Defender audit. Requires permission to access the DescribeAuditTask action.

Sourcetype nonrec t = {
  1. taskStatus : Values_0.AuditTaskStatus.t option;
    (*

    The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

    *)
  2. taskType : Values_0.AuditTaskType.t option;
    (*

    The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

    *)
  3. taskStartTime : Values_0.Timestamp.t option;
    (*

    The time the audit started.

    *)
  4. taskStatistics : Values_0.TaskStatistics.t option;
    (*

    Statistical information about the audit.

    *)
  5. scheduledAuditName : Values_0.ScheduledAuditName.t option;
    (*

    The name of the scheduled audit (only if the audit was a scheduled audit).

    *)
  6. auditDetails : Values_0.AuditDetails.t option;
    (*

    Detailed information about each check performed during this audit.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  4. | `ThrottlingException of Values_0.ThrottlingException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?taskStatus:??? -> ?taskType:??? -> ?taskStartTime:??? -> ?taskStatistics:??? -> ?scheduledAuditName:??? -> ?auditDetails:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `Structure of (string * [> `Boolean of bool | `Enum of string | `Long of Awso.Import.Int64.t | `String of string ]) list ]) list | `String of Values_0.ScheduledAuditName.t | `Structure of (string * [> `Integer of int ]) list | `Timestamp of Values_0.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