Share via


ReplicationProtectionIntentProperties Class

Definition

Replication protection intent custom data details.

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

Properties

CreatedOn

The creation time in UTC.

FriendlyName

The name.

IsActive

A value indicating whether the intent object is active.

JobId

The job Id.

JobState

The job state.

ProviderSpecificDetails

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

Explicit Interface Implementations

IJsonModel<ReplicationProtectionIntentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReplicationProtectionIntentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReplicationProtectionIntentProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReplicationProtectionIntentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReplicationProtectionIntentProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to