Dela via


DataReplicationEventProperties Class

Definition

Event model properties.

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

Properties

CorrelationId

Gets or sets the event correlation Id.

CustomProperties

Event model custom properties. Please note DataReplicationEventCustomProperties 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 HyperVToAzStackHciEventCustomProperties and VMwareToAzStackHciEventCustomProperties.

Description

Gets or sets the event description.

EventName

Gets or sets the event name.

EventType

Gets or sets the event type.

HealthErrors

Gets or sets the errors associated with this event.

OccurredOn

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

ProvisioningState

Gets or sets the provisioning state of the event.

ResourceName

Gets or sets the resource name.

ResourceType

Gets or sets the resource type.

Severity

Gets or sets the event severity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataReplicationEventProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataReplicationEventProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataReplicationEventProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataReplicationEventProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataReplicationEventProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to