Share via


CosmosDBAccountCreateOrUpdateContent.BackupPolicy Property

Definition

The object representing the policy for taking backups on an account. Please note CosmosDBAccountBackupPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContinuousModeBackupPolicy and PeriodicModeBackupPolicy.

public Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy BackupPolicy { get; set; }
member this.BackupPolicy : Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy with get, set
Public Property BackupPolicy As CosmosDBAccountBackupPolicy

Property Value

Applies to