Share via


ReplicationProtectionIntentCreateOrUpdateContent Class

Definition

Create protection intent input.

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

Constructors

ReplicationProtectionIntentCreateOrUpdateContent()

Initializes a new instance of ReplicationProtectionIntentCreateOrUpdateContent.

Properties

SiteRecoveryCreateProtectionIntentProviderSpecificDetails

The ReplicationProviderInput. For A2A provider, it will be A2ACreateProtectionIntentInput object. Please note SiteRecoveryCreateProtectionIntentProviderDetail 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 A2ACreateProtectionIntentContent.

Explicit Interface Implementations

IJsonModel<ReplicationProtectionIntentCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReplicationProtectionIntentCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReplicationProtectionIntentCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReplicationProtectionIntentCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReplicationProtectionIntentCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to