共用方式為


EventProperties interface

The properties of a monitoring event.

Properties

affectedObjectCorrelationId

The affected object correlationId for the event.

affectedObjectFriendlyName

The friendly name of the source of the event on which it is raised (for example, VM, VMM etc).

description

The event name.

eventCode

The Id of the monitoring event.

eventSpecificDetails

The event specific settings.

eventType

The type of the event. for example: VM Health, Server Health, Job Failure etc.

fabricId

The ARM ID of the fabric.

healthErrors

The list of errors / warnings capturing details associated with the issue(s).

providerSpecificDetails

The provider specific settings.

severity

The severity of the event.

timeOfOccurrence

The time of occurrence of the event.

Property Details

affectedObjectCorrelationId

The affected object correlationId for the event.

affectedObjectCorrelationId?: string

Property Value

string

affectedObjectFriendlyName

The friendly name of the source of the event on which it is raised (for example, VM, VMM etc).

affectedObjectFriendlyName?: string

Property Value

string

description

The event name.

description?: string

Property Value

string

eventCode

The Id of the monitoring event.

eventCode?: string

Property Value

string

eventSpecificDetails

The event specific settings.

eventSpecificDetails?: EventSpecificDetailsUnion

Property Value

eventType

The type of the event. for example: VM Health, Server Health, Job Failure etc.

eventType?: string

Property Value

string

fabricId

The ARM ID of the fabric.

fabricId?: string

Property Value

string

healthErrors

The list of errors / warnings capturing details associated with the issue(s).

healthErrors?: HealthError[]

Property Value

providerSpecificDetails

The provider specific settings.

providerSpecificDetails?: EventProviderSpecificDetailsUnion

Property Value

severity

The severity of the event.

severity?: string

Property Value

string

timeOfOccurrence

The time of occurrence of the event.

timeOfOccurrence?: Date

Property Value

Date