Share via


EventModelProperties Class

Definition

Event model properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.EventModelPropertiesTypeConverter))]
public class EventModelProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IEventModelProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.EventModelPropertiesTypeConverter))>]
type EventModelProperties = class
    interface IEventModelProperties
    interface IJsonSerializable
Public Class EventModelProperties
Implements IEventModelProperties
Inheritance
EventModelProperties
Attributes
Implements

Constructors

EventModelProperties()

Creates an new EventModelProperties instance.

Properties

CorrelationId

Gets or sets the event correlation Id.

CustomPropertyInstanceType

Gets or sets the instance type.

Description

Gets or sets the event description.

EventName

Gets or sets the event name.

EventType

Gets or sets the event type.

HealthError

Gets or sets the errors associated with this event.

ResourceName

Gets or sets the resource name.

ResourceType

Gets or sets the resource type.

Severity

Gets or sets the event severity.

TimeOfOccurrence

Gets or sets the time at which the event occurred at source.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventModelProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventModelProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IEventModelProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventModelProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to