Dela via


DataReplicationProtectedItemProperties Class

Definition

Protected item model properties.

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

Constructors

DataReplicationProtectedItemProperties(String, String, DataReplicationProtectedItemCustomProperties)

Initializes a new instance of DataReplicationProtectedItemProperties.

DataReplicationProtectedItemProperties(String, String, ProtectedItemModelCustomProperties)

Initializes a new instance of DataReplicationProtectedItemProperties.

Properties

AllowedJobs

Gets or sets the allowed scenarios on the protected item.

CorrelationId

Gets or sets the protected item correlation Id.

CurrentJob

Gets or sets the current scenario.

CustomProperties

Protected item model custom properties. Please note DataReplicationProtectedItemCustomProperties 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 HyperVToAzStackHciProtectedItemCustomProperties and VMwareToAzStackHciProtectedItemCustomProperties.

DraId

Gets or sets the DRA Id.

FabricAgentId

Gets or sets the fabric agent Id.

FabricId

Gets or sets the fabric Id.

FabricObjectId

Gets or sets the fabric object Id.

FabricObjectName

Gets or sets the fabric object name.

HealthErrors

Gets or sets the list of health errors.

IsResyncRequired

Gets or sets a value indicating whether resynchronization is required or not.

LastFailedEnableProtectionJob

Gets or sets the last failed enabled protection job.

LastFailedPlannedFailoverJob

Gets or sets the last failed planned failover job.

LastSuccessfulPlannedFailoverOn

Gets or sets the Last successful planned failover time.

LastSuccessfulTestFailoverOn

Gets or sets the Last successful test failover time.

LastSuccessfulUnplannedFailoverOn

Gets or sets the Last successful unplanned failover time.

LastTestFailoverJob

Gets or sets the last test failover job.

PolicyName

Gets or sets the policy name.

ProtectionState

Gets or sets the protection state.

ProtectionStateDescription

Gets or sets the protection state description.

ProvisioningState

Gets or sets the provisioning state of the fabric agent.

ReplicationExtensionName

Gets or sets the replication extension name.

ReplicationHealth

Gets or sets protected item replication health.

ResynchronizationState

Gets or sets the resynchronization state.

SourceFabricProviderId

Gets or sets the source fabric provider Id.

TargetDraId

Gets or sets the target DRA Id.

TargetFabricAgentId

Gets or sets the target fabric agent Id.

TargetFabricId

Gets or sets the target fabric Id.

TargetFabricProviderId

Gets or sets the target fabric provider Id.

TestFailoverState

Gets or sets the test failover state.

TestFailoverStateDescription

Gets or sets the Test failover state description.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataReplicationProtectedItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataReplicationProtectedItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataReplicationProtectedItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataReplicationProtectedItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataReplicationProtectedItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to