EnableProtectionProviderSpecificContent Class

Definition

Enable protection provider specific input. Please note EnableProtectionProviderSpecificContent 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 A2AEnableProtectionContent, A2ACrossClusterMigrationEnableProtectionContent, HyperVReplicaAzureEnableProtectionContent, InMageEnableProtectionContent, InMageAzureV2EnableProtectionContent and InMageRcmEnableProtectionContent.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.UnknownEnableProtectionProviderSpecificContent))]
public abstract class EnableProtectionProviderSpecificContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableProtectionProviderSpecificContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableProtectionProviderSpecificContent>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.UnknownEnableProtectionProviderSpecificContent))>]
type EnableProtectionProviderSpecificContent = class
    interface IJsonModel<EnableProtectionProviderSpecificContent>
    interface IPersistableModel<EnableProtectionProviderSpecificContent>
Public MustInherit Class EnableProtectionProviderSpecificContent
Implements IJsonModel(Of EnableProtectionProviderSpecificContent), IPersistableModel(Of EnableProtectionProviderSpecificContent)
Inheritance
EnableProtectionProviderSpecificContent
Derived
Attributes
Implements

Constructors

EnableProtectionProviderSpecificContent()

Initializes a new instance of EnableProtectionProviderSpecificContent.

Explicit Interface Implementations

IJsonModel<EnableProtectionProviderSpecificContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EnableProtectionProviderSpecificContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EnableProtectionProviderSpecificContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EnableProtectionProviderSpecificContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EnableProtectionProviderSpecificContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to