CosmosDBAccount.BackupPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The object representing the policy for taking backups on an account. Please note Azure.ResourceManager.CosmosDB.Models.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 Azure.ResourceManager.CosmosDB.Models.ContinuousModeBackupPolicy and Azure.ResourceManager.CosmosDB.Models.PeriodicModeBackupPolicy.
public Azure.Provisioning.CosmosDB.CosmosDBAccountBackupPolicy BackupPolicy { get; set; }
public Azure.Provisioning.BicepValue<Azure.Provisioning.CosmosDB.CosmosDBAccountBackupPolicy> BackupPolicy { get; set; }
member this.BackupPolicy : Azure.Provisioning.CosmosDB.CosmosDBAccountBackupPolicy with get, set
member this.BackupPolicy : Azure.Provisioning.BicepValue<Azure.Provisioning.CosmosDB.CosmosDBAccountBackupPolicy> with get, set
Public Property BackupPolicy As CosmosDBAccountBackupPolicy
Public Property BackupPolicy As BicepValue(Of CosmosDBAccountBackupPolicy)
Property Value
Applies to
Azure SDK for .NET