Udostępnij za pośrednictwem


HyperVToAzStackHciEventModelCustomProperties Class

Definition

HyperV to AzStackHCI event model custom properties. This class provides provider specific details for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and DataContract.HealthEvents.HealthEventType.AgentHealth.

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

Properties

EventSourceFriendlyName

Gets or sets the friendly name of the source which has raised this health event.

ProtectedItemFriendlyName

Gets or sets the protected item friendly name.

ServerType

Gets or sets the server type.

SourceApplianceName

Gets or sets the source appliance name.

TargetApplianceName

Gets or sets the source target name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventModelCustomProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from EventModelCustomProperties)
IJsonModel<EventModelCustomProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from EventModelCustomProperties)
IJsonModel<HyperVToAzStackHciEventModelCustomProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HyperVToAzStackHciEventModelCustomProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventModelCustomProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from EventModelCustomProperties)
IPersistableModel<EventModelCustomProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from EventModelCustomProperties)
IPersistableModel<EventModelCustomProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from EventModelCustomProperties)
IPersistableModel<HyperVToAzStackHciEventModelCustomProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HyperVToAzStackHciEventModelCustomProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HyperVToAzStackHciEventModelCustomProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to