Share via


NewProtectionProfile Class

Definition

New Protection profile input.

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

Constructors

NewProtectionProfile()

Creates an new NewProtectionProfile instance.

Properties

AppConsistentFrequencyInMinute

The app consistent snapshot frequency (in minutes).

CrashConsistentFrequencyInMinute

The crash consistent snapshot frequency (in minutes).

MultiVMSyncStatus

A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'.

PolicyName

The protection profile input.

RecoveryPointHistory

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

ResourceType

The class type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NewProtectionProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NewProtectionProfile.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NewProtectionProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to