Share via


A2APolicyCreationContent Class

Definition

A2A Policy creation input.

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

Constructors

A2APolicyCreationContent(SetMultiVmSyncStatus)

Initializes a new instance of A2APolicyCreationContent.

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'.

RecoveryPointHistory

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

Explicit Interface Implementations

IJsonModel<A2APolicyCreationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<A2APolicyCreationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<PolicyProviderSpecificContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from PolicyProviderSpecificContent)
IPersistableModel<A2APolicyCreationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<A2APolicyCreationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<A2APolicyCreationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<PolicyProviderSpecificContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from PolicyProviderSpecificContent)

Applies to