Share via


SharedDiskReplicationItemProperties Class

Definition

Shared Disk Replication item custom data details.

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

Constructors

SharedDiskReplicationItemProperties()

Initializes a new instance of SharedDiskReplicationItemProperties.

Properties

ActiveLocation

The Current active ___location of the PE.

AllowedOperations

The allowed operations on the Replication protected item.

CurrentScenario

The current scenario.

HealthErrors

List of health errors.

ProtectionState

The protection state of shared disk.

ReplicationHealth

The consolidated protection health for the VM taking any issues with SRS as well as all the replication units associated with the VM's replication group into account. This is a string representation of the ProtectionHealth enumeration.

SharedDiskProviderSpecificDetails

The Replication provider custom settings. Please note SharedDiskReplicationProviderSpecificSettings 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 A2ASharedDiskReplicationDetails.

TestFailoverState

The tfo state of shared disk.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SharedDiskReplicationItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SharedDiskReplicationItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SharedDiskReplicationItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SharedDiskReplicationItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SharedDiskReplicationItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to