你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventProperties Class

Definition

The properties of a monitoring event.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.EventPropertiesTypeConverter))]
public class EventProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IEventProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.EventPropertiesTypeConverter))>]
type EventProperties = class
    interface IEventProperties
    interface IJsonSerializable
Public Class EventProperties
Implements IEventProperties
Inheritance
EventProperties
Attributes
Implements

Constructors

EventProperties()

Creates an new EventProperties instance.

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.

EventSpecificDetailInstanceType

Gets the class type. Overridden in derived classes.

EventType

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

FabricId

The ARM ID of the fabric.

HealthError

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

ProviderSpecificDetailInstanceType

Gets the class type. Overridden in derived classes.

Severity

The severity of the event.

TimeOfOccurrence

The time of occurrence of the event.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IEventProperties.

FromJsonString(String)

Creates a new instance of EventProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to