Condividi tramite


HyperVReplicaPolicyContent Class

Definition

Hyper-V Replica specific policy Input. Please note HyperVReplicaPolicyContent 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 HyperVReplicaBluePolicyContent.

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

Constructors

HyperVReplicaPolicyContent()

Initializes a new instance of HyperVReplicaPolicyContent.

Properties

AllowedAuthenticationType

A value indicating the authentication type.

ApplicationConsistentSnapshotFrequencyInHours

A value indicating the application consistent frequency.

Compression

A value indicating whether compression has to be enabled.

InitialReplicationMethod

A value indicating whether IR is online.

OfflineReplicationExportPath

A value indicating the offline IR export path.

OfflineReplicationImportPath

A value indicating the offline IR import path.

OnlineReplicationStartTime

A value indicating the online IR start time.

RecoveryPoints

A value indicating the number of recovery points.

ReplicaDeletion

A value indicating whether the VM has to be auto deleted.

ReplicationPort

A value indicating the recovery HTTPS port.

Explicit Interface Implementations

IJsonModel<HyperVReplicaPolicyContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HyperVReplicaPolicyContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<PolicyProviderSpecificContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from PolicyProviderSpecificContent)
IJsonModel<PolicyProviderSpecificContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from PolicyProviderSpecificContent)
IPersistableModel<HyperVReplicaPolicyContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HyperVReplicaPolicyContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HyperVReplicaPolicyContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<PolicyProviderSpecificContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from PolicyProviderSpecificContent)
IPersistableModel<PolicyProviderSpecificContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from PolicyProviderSpecificContent)
IPersistableModel<PolicyProviderSpecificContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from PolicyProviderSpecificContent)

Applies to