# Class CIM_DiagnosticRecord
extends CIM_LogEntry

Data related to Diagnostics may be recorded in various DiagnosticRecord objects. The type of information that is recorded in a log is specified via the LogOptions property in DiagnosticSettingData.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_RecordForLog
|
+--CIM_LogEntry
|
+--CIM_DiagnosticRecord

## Direct Known Subclasses

CIM_DiagnosticServiceRecord
CIM_DiagnosticSettingDataRecord
CIM_DiagnosticSettingRecord

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | Data related to Diagnostics may be recorded in various DiagnosticRecord objects. The type of information that is recorded in a log is specified via the LogOptions property in DiagnosticSettingData.
UMLPackagePath | string | CIM::System::Diagnostics
Version | string | 2.11.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
ExpirationDate | datetime |
Description | string | The date and time that the record instance should be deleted. The expiration datetime SHOULD be set when the record is fully populated with record data. The value SHOULD be calculated using the ResultPersistence property of the DiagnosticSettingData class. Once the Expiration Date has been reached, record instances SHOULD be deleted as soon as possible. If a ResultPersistence value is not provided, records MAY be deleted at any time.
ModelCorrespondence | string | CIM_DiagnosticSettingData.ResultPersistence
ManagedElementName | string |
Description | string | This property SHOULD reflect the value of the underlying ManagedElement.ElementName property.
ModelCorrespondence | string | CIM_ManagedElement.ElementName
Required | boolean | true
OtherRecordTypeDescription | string |
Description | string | When "Other" (value=1) is entered in the RecordType property, OtherRecordTypeDescription can be used to describe the message type.
ModelCorrespondence | string | CIM_DiagnosticSettingData.OtherLogOptionsDescriptions, CIM_DiagnosticRecord.RecordType
RecordType | uint16 |
Description | string | The RecordType property specifies the nature of the data being entered into the ServiceRecord. The value in this property should match one of the values indicated by the DiagnosticSettingData.LogOptions property. A brief summary of the various log options can be found in CIM_DiagnosticSettingData.LogOptions.
ModelCorrespondence | string | CIM_DiagnosticSettingData.LogOptions, CIM_DiagnosticRecord.OtherRecordTypeDescription
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Values | string | Unknown, Other, Results, Subtests, Actions, Warnings, Status, Device Errors, Service Errors, Setting Data, Statistics, Hardware Configuration, Software Configuration, References, Debug
ServiceName | string |
Description | string | This property should reflect the value of the underlying DiagnosticService.Name property.
ModelCorrespondence | string | CIM_DiagnosticService.Name
Required | boolean | true

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CreationTimeStamp | datetime | CIM_LogEntry
Description | string | CIM_ManagedElement
ElementName | string | CIM_ManagedElement
Generation | uint64 | CIM_ManagedElement
InstanceID | string | CIM_LogEntry
Locale | string | CIM_RecordForLog
LogInstanceID | string | CIM_LogEntry
LogName | string | CIM_LogEntry
Message | string | CIM_LogEntry
MessageID | string | CIM_LogEntry
OwningEntity | string | CIM_LogEntry
PerceivedSeverity | uint16 | CIM_RecordForLog
RecordData | string | CIM_RecordForLog
RecordFormat | string | CIM_RecordForLog
RecordID | string | CIM_LogEntry
MessageArguments | string[] | CIM_LogEntry

## Class Methods