Event Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the Event class.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.EventTypeConverter))]
public class Event : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IEvent, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.EventTypeConverter))>]
type Event = class
interface IEvent
interface IJsonSerializable
interface IResource
interface IValidates
Public Class Event
Implements IEvent, IValidates
- Inheritance
-
Event
- Attributes
- Implements
Constructors
Event() |
Creates an new Event 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). |
Code |
The Id of the monitoring event. |
Description |
The event name. |
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). |
Id |
Resource Id |
Location |
Resource Location |
Name |
Resource Name |
ProviderSpecificDetailInstanceType |
Gets the class type. Overridden in derived classes. |
Severity |
The severity of the event. |
SpecificDetailInstanceType |
Gets the class type. Overridden in derived classes. |
TimeOfOccurrence |
The time of occurrence of the event. |
Type |
Resource Type |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Event. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IEvent. |
FromJsonString(String) |
Creates a new instance of Event, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |