EventModelProperties interface
事件模型屬性。
屬性
correlation |
取得或設定事件相互關聯識別碼。注意:此屬性不會序列化。 它只能由伺服器填入。 |
custom |
事件模型自訂屬性。 |
description | 取得或設定事件描述。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
event |
取得或設定事件名稱。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
event |
取得或設定事件類型。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
health |
取得或設定與這個事件相關聯的錯誤。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
resource |
取得或設定資源名稱。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
resource |
取得或設定資源類型。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
severity | 取得或設定事件嚴重性。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
time |
取得或設定來源發生事件的時間。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
屬性詳細資料
correlationId
取得或設定事件相互關聯識別碼。注意:此屬性不會序列化。 它只能由伺服器填入。
correlationId?: string
屬性值
string
customProperties
description
取得或設定事件描述。 注意:此屬性不會序列化。 它只能由伺服器填入。
description?: string
屬性值
string
eventName
取得或設定事件名稱。 注意:此屬性不會序列化。 它只能由伺服器填入。
eventName?: string
屬性值
string
eventType
取得或設定事件類型。 注意:此屬性不會序列化。 它只能由伺服器填入。
eventType?: string
屬性值
string
healthErrors
resourceName
取得或設定資源名稱。 注意:此屬性不會序列化。 它只能由伺服器填入。
resourceName?: string
屬性值
string
resourceType
取得或設定資源類型。 注意:此屬性不會序列化。 它只能由伺服器填入。
resourceType?: string
屬性值
string
severity
取得或設定事件嚴重性。 注意:此屬性不會序列化。 它只能由伺服器填入。
severity?: string
屬性值
string
timeOfOccurrence
取得或設定來源發生事件的時間。 注意:此屬性不會序列化。 它只能由伺服器填入。
timeOfOccurrence?: Date
屬性值
Date