Udostępnij za pośrednictwem


PeriodicModeProperties Class

Definition

Configuration values for periodic mode backup.

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

Constructors

PeriodicModeProperties()

Initializes a new instance of PeriodicModeProperties.

Properties

BackupIntervalInMinutes

An integer representing the interval in minutes between two backups.

BackupRetentionIntervalInHours

An integer representing the time (in hours) that each backup is retained.

BackupStorageRedundancy

Enum to indicate type of backup residency.

Explicit Interface Implementations

IJsonModel<PeriodicModeProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PeriodicModeProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PeriodicModeProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PeriodicModeProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PeriodicModeProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to