次の方法で共有


EventModel Class

Definition

Event model.

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

Constructors

EventModel()

Creates an new EventModel 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.

Id

Gets or sets the Id of the resource.

Name

Gets or sets the name of the resource.

ResourceName

Gets or sets the resource name.

ResourceType

Gets or sets the resource type.

Severity

Gets or sets the event severity.

SystemDataCreatedAt

Gets or sets the timestamp of resource creation (UTC).

SystemDataCreatedBy

Gets or sets identity that created the resource.

SystemDataCreatedByType

Gets or sets the type of identity that created the resource: user, application, managedIdentity.

SystemDataLastModifiedAt

Gets or sets the timestamp of resource last modification (UTC).

SystemDataLastModifiedBy

Gets or sets the identity that last modified the resource.

SystemDataLastModifiedByType

Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.

TimeOfOccurrence

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

Type

Gets or sets the type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventModel.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to