Share via


HyperVReplicaBasePolicyDetails Class

Definition

Base class for HyperVReplica policy details.

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

Constructors

HyperVReplicaBasePolicyDetails()

Creates an new HyperVReplicaBasePolicyDetails instance.

Properties

AllowedAuthenticationType

A value indicating the authentication type.

ApplicationConsistentSnapshotFrequencyInHour

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.

InstanceType

Gets the class type. Overridden in derived classes.

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.

RecoveryPoint

A value indicating the number of recovery points.

ReplicaDeletionOption

A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, None, OnRecoveryCloud.

ReplicationPort

A value indicating the recovery HTTPS port.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVReplicaBasePolicyDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVReplicaBasePolicyDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVReplicaBasePolicyDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to