Share via


InMageBasePolicyDetails Class

Definition

Base class for the policies of providers using InMage replication.

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

Constructors

InMageBasePolicyDetails()

Creates an new InMageBasePolicyDetails instance.

Properties

AppConsistentFrequencyInMinute

The app consistent snapshot frequency in minutes.

InstanceType

Gets the class type. Overridden in derived classes.

MultiVMSyncStatus

A value indicating whether multi-VM sync has to be enabled.

RecoveryPointHistory

The duration in minutes until which the recovery points need to be stored.

RecoveryPointThresholdInMinute

The recovery point threshold in minutes.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of InMageBasePolicyDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InMageBasePolicyDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of InMageBasePolicyDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to