Condividi tramite


HyperVReplicaAzurePolicyContent Class

Definition

Hyper-V Replica Azure specific input for creating a protection profile.

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

Constructors

HyperVReplicaAzurePolicyContent()

Initializes a new instance of HyperVReplicaAzurePolicyContent.

Properties

ApplicationConsistentSnapshotFrequencyInHours

The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM.

OnlineReplicationStartTime

The scheduled start time for the initial replication. If this parameter is Null, the initial replication starts immediately.

RecoveryPointHistoryDuration

The duration (in hours) to which point the recovery history needs to be maintained.

ReplicationInterval

The replication interval.

StorageAccounts

The list of storage accounts to which the VMs in the primary cloud can replicate to.

Explicit Interface Implementations

IJsonModel<HyperVReplicaAzurePolicyContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HyperVReplicaAzurePolicyContent>.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<HyperVReplicaAzurePolicyContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HyperVReplicaAzurePolicyContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HyperVReplicaAzurePolicyContent>.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