Share via


FileShareProtectionPolicy Class

Definition

AzureStorage backup policy.

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

Constructors

FileShareProtectionPolicy()

Initializes a new instance of FileShareProtectionPolicy.

Properties

ProtectedItemsCount

Number of items associated with this policy.

(Inherited from BackupGenericProtectionPolicy)
ResourceGuardOperationRequests

ResourceGuard Operation Requests.

(Inherited from BackupGenericProtectionPolicy)
RetentionPolicy

Retention policy with the details on backup copy retention ranges. 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.

SchedulePolicy

Backup schedule specified as part of backup policy. Please note BackupSchedulePolicy 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 LogSchedulePolicy, LongTermSchedulePolicy, SimpleSchedulePolicy and SimpleSchedulePolicyV2.

TimeZone

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

VaultRetentionPolicy

Retention policy with the details on hardened backup copy retention ranges.

WorkLoadType

Type of workload for the backup management.

Applies to