Dela via


VaultRetentionPolicy Class

Definition

Vault retention policy for AzureFileShare.

public class VaultRetentionPolicy
type VaultRetentionPolicy = class
Public Class VaultRetentionPolicy
Inheritance
VaultRetentionPolicy

Constructors

VaultRetentionPolicy(BackupRetentionPolicy, Int32)

Initializes a new instance of VaultRetentionPolicy.

Properties

SnapshotRetentionInDays

Gets or sets the snapshot retention in days.

VaultRetention

Base class for retention policy. Please note BackupRetentionPolicy 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 LongTermRetentionPolicy and SimpleRetentionPolicy.

Applies to