다음을 통해 공유


ReplicationProtectedItemProperties Class

Definition

Replication protected item custom data details.

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

Properties

ActiveLocation

The Current active location of the PE.

AllowedOperations

The allowed operations on the Replication protected item.

CurrentScenario

The current scenario.

EventCorrelationId

The correlation Id for events associated with this protected item.

FailoverHealth

The consolidated failover health for the VM.

FailoverRecoveryPointId

The recovery point ARM Id to which the Vm was failed over.

FriendlyName

The name.

HealthErrors

List of health errors.

LastSuccessfulFailoverOn

The Last successful failover time.

LastSuccessfulTestFailoverOn

The Last successful test failover time.

PolicyFriendlyName

The name of Policy governing this PE.

PolicyId

The ID of Policy governing this PE.

PrimaryFabricFriendlyName

The friendly name of the primary fabric.

PrimaryFabricProvider

The fabric provider of the primary fabric.

PrimaryProtectionContainerFriendlyName

The name of primary protection container friendly name.

ProtectableItemId

The protected item ARM Id.

ProtectedItemType

The type of protected item type.

ProtectionState

The protection status.

ProtectionStateDescription

The protection state description.

ProviderSpecificDetails

The Replication provider custom settings. Please note ReplicationProviderSpecificSettings 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 A2AReplicationDetails, A2ACrossClusterMigrationReplicationDetails, HyperVReplicaReplicationDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseReplicationDetails, InMageReplicationDetails, InMageAzureV2ReplicationDetails, InMageRcmReplicationDetails and InMageRcmFailbackReplicationDetails.

RecoveryContainerId

The recovery container Id.

RecoveryFabricFriendlyName

The friendly name of recovery fabric.

RecoveryFabricId

The Arm Id of recovery fabric.

RecoveryProtectionContainerFriendlyName

The name of recovery container friendly name.

RecoveryServicesProviderId

The recovery provider ARM Id.

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.

SwitchProviderState

The switch provider state.

SwitchProviderStateDescription

The switch provider state description.

TestFailoverState

The Test failover state.

TestFailoverStateDescription

The Test failover state description.

Explicit Interface Implementations

IJsonModel<ReplicationProtectedItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReplicationProtectedItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReplicationProtectedItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReplicationProtectedItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReplicationProtectedItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to