CassandraClusterBackupSchedule Class

Definition

The CassandraClusterBackupSchedule.

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

Constructors

CassandraClusterBackupSchedule()

Initializes a new instance of CassandraClusterBackupSchedule.

Properties

CronExpression

The cron expression that defines when you want to back up your data.

RetentionInHours

The retention period (hours) of the backups. If you want to retain data forever, set retention to 0.

ScheduleName

The unique identifier of backup schedule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraClusterBackupSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CassandraClusterBackupSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraClusterBackupSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraClusterBackupSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CassandraClusterBackupSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to