SqlProtectionPolicy Class

Definition

Azure SQL workload-specific backup policy.

public class SqlProtectionPolicy : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionPolicy
type SqlProtectionPolicy = class
    inherit BackupGenericProtectionPolicy
Public Class SqlProtectionPolicy
Inherits BackupGenericProtectionPolicy
Inheritance

Constructors

SqlProtectionPolicy()

Initializes a new instance of SqlProtectionPolicy.

Properties

ProtectedItemsCount

Number of items associated with this policy.

(Inherited from BackupGenericProtectionPolicy)
ResourceGuardOperationRequests

ResourceGuard Operation Requests.

(Inherited from BackupGenericProtectionPolicy)
RetentionPolicy

Retention policy details. 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