ComplianceItem class

Information about the compliance as defined by the resource type. For example, for a patch resource type, Items includes information about the PatchSeverity, Classification, and so on.

Constructors

ComplianceItem({String? complianceType, Map<String, String>? details, ComplianceExecutionSummary? executionSummary, String? id, String? resourceId, String? resourceType, ComplianceSeverity? severity, ComplianceStatus? status, String? title})
ComplianceItem.fromJson(Map<String, dynamic> json)
factory

Properties

complianceType String?
The compliance type. For example, Association (for a State Manager association), Patch, or Custom:string are all valid compliance types.
final
details Map<String, String>?
A "Key": "Value" tag combination for the compliance item.
final
executionSummary ComplianceExecutionSummary?
A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
An ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article; for example: KB4010320.
final
resourceId String?
An ID for the resource. For a managed instance, this is the instance ID.
final
resourceType String?
The type of resource. ManagedInstance is currently the only supported resource type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity ComplianceSeverity?
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
final
status ComplianceStatus?
The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).
final
title String?
A title for the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited