Delen via


PeriodicModeBackupPolicy Class

Definition

The object representing periodic mode backup policy.

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

Constructors

PeriodicModeBackupPolicy()

Initializes a new instance of PeriodicModeBackupPolicy.

Properties

MigrationState

The object representing the state of the migration between the backup policies.

(Inherited from CosmosDBAccountBackupPolicy)
PeriodicModeProperties

Configuration values for periodic mode backup.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CosmosDBAccountBackupPolicy)

Explicit Interface Implementations

IJsonModel<CosmosDBAccountBackupPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from CosmosDBAccountBackupPolicy)
IJsonModel<PeriodicModeBackupPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PeriodicModeBackupPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBAccountBackupPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from CosmosDBAccountBackupPolicy)
IPersistableModel<PeriodicModeBackupPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PeriodicModeBackupPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PeriodicModeBackupPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to