共用方式為


NewProtectionProfile Class

Definition

New Protection profile input.

public class NewProtectionProfile : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionProfileCustomDetails, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.NewProtectionProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.NewProtectionProfile>
type NewProtectionProfile = class
    inherit ProtectionProfileCustomDetails
    interface IJsonModel<NewProtectionProfile>
    interface IPersistableModel<NewProtectionProfile>
Public Class NewProtectionProfile
Inherits ProtectionProfileCustomDetails
Implements IJsonModel(Of NewProtectionProfile), IPersistableModel(Of NewProtectionProfile)
Inheritance
NewProtectionProfile
Implements

Constructors

NewProtectionProfile(String, SetMultiVmSyncStatus)

Initializes a new instance of NewProtectionProfile.

Properties

AppConsistentFrequencyInMinutes

The app consistent snapshot frequency (in minutes).

CrashConsistentFrequencyInMinutes

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.

Explicit Interface Implementations

IJsonModel<NewProtectionProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NewProtectionProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ProtectionProfileCustomDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ProtectionProfileCustomDetails)
IJsonModel<ProtectionProfileCustomDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ProtectionProfileCustomDetails)
IPersistableModel<NewProtectionProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NewProtectionProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NewProtectionProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ProtectionProfileCustomDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ProtectionProfileCustomDetails)
IPersistableModel<ProtectionProfileCustomDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ProtectionProfileCustomDetails)
IPersistableModel<ProtectionProfileCustomDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ProtectionProfileCustomDetails)

Applies to