HyperVReplicaPolicyInput Class

Definition

Hyper-V Replica specific policy Input.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.HyperVReplicaPolicyInputTypeConverter))]
public class HyperVReplicaPolicyInput : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IHyperVReplicaPolicyInput, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.HyperVReplicaPolicyInputTypeConverter))>]
type HyperVReplicaPolicyInput = class
    interface IHyperVReplicaPolicyInput
    interface IJsonSerializable
    interface IPolicyProviderSpecificInput
    interface IValidates
Public Class HyperVReplicaPolicyInput
Implements IHyperVReplicaPolicyInput, IValidates
Inheritance
HyperVReplicaPolicyInput
Attributes
Implements

Constructors

Name Description
HyperVReplicaPolicyInput()

Creates an new HyperVReplicaPolicyInput instance.

Properties

Name Description
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

The class type.

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.

ReplicaDeletion

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

ReplicationPort

A value indicating the recovery HTTPS port.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVReplicaPolicyInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVReplicaPolicyInput.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IHyperVReplicaPolicyInput. Note: the Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IHyperVReplicaPolicyInput interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVReplicaPolicyInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to