Share via


ProtectionContainerMappingPatch Class

Definition

Container pairing update input.

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

Constructors

ProtectionContainerMappingPatch()

Initializes a new instance of ProtectionContainerMappingPatch.

Properties

ProviderSpecificContent

Provider specific input for updating protection container mapping. Please note ReplicationProviderSpecificUpdateContainerMappingContent 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 A2AUpdateContainerMappingContent and InMageRcmUpdateContainerMappingContent.

Explicit Interface Implementations

IJsonModel<ProtectionContainerMappingPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ProtectionContainerMappingPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProtectionContainerMappingPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProtectionContainerMappingPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ProtectionContainerMappingPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to