BackupPolicy Class

The object representing the policy for taking backups on an account.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: ContinuousModeBackupPolicy, PeriodicModeBackupPolicy

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.cosmosdb._serialization.Model
BackupPolicy

Constructor

BackupPolicy(*, migration_state: _models.BackupPolicyMigrationState | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
migration_state

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

Variables

Name Description
type

Describes the mode of backups. Required. Known values are: "Periodic" and "Continuous".

migration_state

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