HyperVReplicaAzurePolicyInput Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Hyper-V Replica Azure specific input for creating a protection profile.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.HyperVReplicaAzurePolicyInputTypeConverter))]
public class HyperVReplicaAzurePolicyInput : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IHyperVReplicaAzurePolicyInput, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.HyperVReplicaAzurePolicyInputTypeConverter))>]
type HyperVReplicaAzurePolicyInput = class
interface IHyperVReplicaAzurePolicyInput
interface IJsonSerializable
interface IPolicyProviderSpecificInput
interface IValidates
Public Class HyperVReplicaAzurePolicyInput
Implements IHyperVReplicaAzurePolicyInput, IValidates
- Inheritance
-
HyperVReplicaAzurePolicyInput
- Attributes
- Implements
Constructors
HyperVReplicaAzurePolicyInput() |
Creates an new HyperVReplicaAzurePolicyInput instance. |
Properties
ApplicationConsistentSnapshotFrequencyInHour |
The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM. |
InstanceType |
The class type. |
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. |
StorageAccount |
The list of storage accounts to which the VMs in the primary cloud can replicate to. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of HyperVReplicaAzurePolicyInput. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of HyperVReplicaAzurePolicyInput. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IHyperVReplicaAzurePolicyInput. |
FromJsonString(String) |
Creates a new instance of HyperVReplicaAzurePolicyInput, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of HyperVReplicaAzurePolicyInput into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |