Share via


CosmosDBAccountBackupPolicy Class

Definition

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 class CosmosDBAccountBackupPolicy : Azure.Provisioning.Primitives.ProvisioningConstruct
type CosmosDBAccountBackupPolicy = class
    inherit ProvisioningConstruct
Public Class CosmosDBAccountBackupPolicy
Inherits ProvisioningConstruct
Inheritance
CosmosDBAccountBackupPolicy
Derived

Constructors

CosmosDBAccountBackupPolicy()

Creates a new CosmosDBAccountBackupPolicy.

Properties

MigrationState

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

Methods

Compile()

Compile the resource into a set of Bicep statements.

(Inherited from ProvisioningConstruct)
GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
OverrideWithExpression(Expression)

Set this construct to represent the result of an expression. This is primarily meant to be called via FromExpression static methods on specific resources or constructs.

(Inherited from ProvisioningConstruct)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisioningConstruct)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from ProvisioningConstruct)

Applies to