Partilhar via


HyperVReplicaAzurePolicyDetails Class

Definition

Hyper-V Replica Azure specific protection profile details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.HyperVReplicaAzurePolicyDetailsTypeConverter))]
public class HyperVReplicaAzurePolicyDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IHyperVReplicaAzurePolicyDetails, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.HyperVReplicaAzurePolicyDetailsTypeConverter))>]
type HyperVReplicaAzurePolicyDetails = class
    interface IHyperVReplicaAzurePolicyDetails
    interface IJsonSerializable
    interface IPolicyProviderSpecificDetails
    interface IValidates
Public Class HyperVReplicaAzurePolicyDetails
Implements IHyperVReplicaAzurePolicyDetails, IValidates
Inheritance
HyperVReplicaAzurePolicyDetails
Attributes
Implements

Constructors

HyperVReplicaAzurePolicyDetails()

Creates an new HyperVReplicaAzurePolicyDetails instance.

Properties

ActiveStorageAccountId

The active storage account Id.

ApplicationConsistentSnapshotFrequencyInHour

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

Encryption

A value indicating whether encryption is enabled for virtual machines in this cloud.

InstanceType

Gets the class type. Overridden in derived classes.

OnlineReplicationStartTime

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

RecoveryPointHistoryDurationInHour

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

ReplicationInterval

The replication interval.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVReplicaAzurePolicyDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVReplicaAzurePolicyDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IHyperVReplicaAzurePolicyDetails.

FromJsonString(String)

Creates a new instance of HyperVReplicaAzurePolicyDetails, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVReplicaAzurePolicyDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to