Condividi tramite


SiteRecoveryProtectionContainerCreateOrUpdateContent Class

Definition

Create protection container input.

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

Constructors

SiteRecoveryProtectionContainerCreateOrUpdateContent()

Initializes a new instance of SiteRecoveryProtectionContainerCreateOrUpdateContent.

Properties

SiteRecoveryCreateProtectionContainerProviderSpecificContent

Provider specific inputs for container creation. Please note ReplicationProviderSpecificContainerCreationContent 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 A2AContainerCreationContent, A2ACrossClusterMigrationContainerCreationContent and VMwareCbtContainerCreationContent.

Explicit Interface Implementations

IJsonModel<SiteRecoveryProtectionContainerCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryProtectionContainerCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryProtectionContainerCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryProtectionContainerCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryProtectionContainerCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to