Share via


SiteRecoveryEventProperties Class

Definition

The properties of a monitoring event.

public class SiteRecoveryEventProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEventProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEventProperties>
type SiteRecoveryEventProperties = class
    interface IJsonModel<SiteRecoveryEventProperties>
    interface IPersistableModel<SiteRecoveryEventProperties>
Public Class SiteRecoveryEventProperties
Implements IJsonModel(Of SiteRecoveryEventProperties), IPersistableModel(Of SiteRecoveryEventProperties)
Inheritance
SiteRecoveryEventProperties
Implements

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. Please note SiteRecoveryEventSpecificDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SiteRecoveryJobStatusEventDetails.

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).

OccurredOn

The time of occurrence of the event.

ProviderSpecificDetails

The provider specific settings. Please note SiteRecoveryEventProviderSpecificDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include A2AEventDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaBaseEventDetails, InMageAzureV2EventDetails, InMageRcmEventDetails, InMageRcmFailbackEventDetails and VMwareCbtEventDetails.

Severity

The severity of the event.

Explicit Interface Implementations

IJsonModel<SiteRecoveryEventProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SiteRecoveryEventProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryEventProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryEventProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SiteRecoveryEventProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to